linux新内核中关闭硬盘的DMA
vortex86 SIS550 Minit-5250E瘦客户机,
使用CF卡启动,显示不支持DMA。
搜索得新内核已基本不再使用ide=nodma参数了,查到这篇文章:“Debian下关闭CF卡的DMA模式”
在grub的启动参数中了一条 “libata.dma=0”就关闭DMA了。
原来的dmesg可以看到内核不断尝试DMA方式,直到最后PIO方式才能正确访问。
[ 10.687047] ata1.00: configured for UDMA/33
[ 10.689746] scsi 0:0:0:0: Direct-Access ATA ELITE PRO CF CAR 2009 PQ: 0 ANSI: 5
[ 12.128626] sd 0:0:0:0: [sda] 15662304 512-byte logical blocks: (8.01 GB/7.46 GiB)
[ 12.138999] sd 0:0:0:0: [sda] Write Protect is off
[ 12.139144] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 12.147593] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 42.848609] ata1: lost interrupt (Status 0x50)
[ 42.848830] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 42.848609] ata1: lost interrupt (Status 0x50)
[ 42.848830] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 42.848967] ata1.00: failed command: READ DMA
[ 42.849118] ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
[ 42.849138] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 42.849327] ata1.00: status: { DRDY }
[ 42.849581] ata1: soft resetting link
[ 43.028910] ata1.00: configured for UDMA/33
[ 43.029081] ata1.00: device reported invalid CHS sector 0
[ 43.029317] ata1: EH complete
[ 73.826377] ata1: lost interrupt (Status 0x50)
[ 73.826604] ata1.00: limiting speed to UDMA/25:PIO4
[ 73.826748] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 73.826884] ata1.00: failed command: READ DMA
[ 73.827041] ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
[ 73.827060] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 73.828159] ata1.00: status: { DRDY }
[ 73.828425] ata1: soft resetting link
[ 74.014659] ata1.00: configured for UDMA/25
[ 74.014826] ata1.00: device reported invalid CHS sector 0
[ 74.015062] ata1: EH complete
[ 104.932150] ata1: lost interrupt (Status 0x50)
[ 104.932376] ata1.00: limiting speed to PIO4
[ 104.932518] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 104.932653] ata1.00: failed command: READ DMA
[ 104.932811] ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
[ 104.932831] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 104.933024] ata1.00: status: { DRDY }
[ 104.933285] ata1: soft resetting link
[ 105.112426] ata1.00: configured for PIO4
[ 105.112594] ata1.00: device reported invalid CHS sector 0
[ 105.112828] ata1: EH complete
[ 105.118050] sda: sda1 sda2 < sda5 > sda3
[ 105.146093] sd 0:0:0:0: [sda] Attached SCSI disk
[ 105.192368] sda: detected capacity change from 0 to 8019099648
[ 105.335586] sd 0:0:0:0: Attached scsi generic sg0 type 0
linux新内核中关闭硬盘的DMA的更多相关文章
- linux新内核的freeze框架以及意义【转】
转自:https://blog.csdn.net/dog250/article/details/5303442 linux的电源管理发展非常迅速,比如在挂起到内存的时候,系统会冻结住所有的进程,也就是 ...
- linux新内核的时钟机制代码
http://blog.chinaunix.net/uid-22810130-id-384173.html 如果说cfs是linux的一个很有创意的机制的话,那么linux中另一个创意就是nohz,我 ...
- linux 保留内核中sas驱动的加载导致crash问题
[root@localhost ~]# uname -a Linux localhost.localdomain -.el7.x86_64 问题描述,在crash的时候,小内核因为分配中断号失败而触发 ...
- linux x86内核中的分页机制
Linux采用了通用的四级分页机制,所谓通用就是指Linux使用这种分页机制管理所有架构的分页模型,即便某些架构并不支持四级分页.对于常见的x86架构,如果系统是32位,二级分页模型就可满足系统需求: ...
- Linux新内核:提升系统性能 --Linux运维的博客
http://blog.csdn.net/linuxnews/article/details/52864182
- linux如何编译安装新内核支持NTFS文件系统?(以redhat7.2x64为例)
内核,是一个操作系统的核心.它负责管理系统的进程.内存.设备驱动程序.文件和网络系统,决定着系统的性能和稳定性.Linux作为一个自由软件,在广大爱好者的支持下,内核版本不断更新.新的内核修订了旧内核 ...
- Linux升级内核总结
Linux内核升级总结. 一.编译内核步骤 1.#uname –r 确定系统的原内核版本,然后下载较新版本的Linux内核源码包 http://www.kernel.org/pub/linux/ker ...
- Day 7 Linux之系统监控、硬盘分区等
Linux之系统监控.硬盘分区等 系统监控 系统监视和进程控制工具—top和free 1) 掌握top命令的功能:top命令是Linux下常用的性能分析工具,能够实时显示系统中各个进程的资源占用状况, ...
- Linux 3.2中回写机制的变革
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 .作者信息和本声明.否则将追究法律责任.http://alanwu.blog.51cto.com/3652632/1109952 wri ...
随机推荐
- Oracle11g数据库导入到oracle10g的解决方法
我想有很多人在工作和学习中遇到这样的一个问题,Oracle数据库服务器版本和本机版本不一致问题,你的本机要是比服务器的版本要高的话还好,如果你本机是10g服务器是11g的话,从11g导出来的数据库是导 ...
- ^(bitwise exclusive Or).
一个数,进行异或同一个数两次,将得到原来的数,例如: 6 ^ 4 ^ 4 = 6; 0000-0000-0000-0110 ^ 0000-0000-0000-0100 ---------------- ...
- jQuery 停止动画
jQuery stop() 方法用于在动画或效果完成前对它们进行停止. 停止滑动 点击这里,向上/向下滑动面板 实例 jQuery stop() 滑动演示 jQuery stop() 方法. jQue ...
- [转]Delphi中ShellExecute的妙用
Delphi中ShellExecute的妙用 ShellExecute的功能是运行一个外部程序(或者是打开一个已注册的文件.打开一个目录.打印一个文件等等),并对外部程序有一定的控制. ...
- javascript基础学习(四)
javascript之流程控制语句 学习要点: 表达式语句含义 选择语句:if.if...else.switch 循环语句:while.do...while.for.for...in 跳转语句:bre ...
- 主成份分析PCA
Data Mining 主成分分析PCA 降维的必要性 1.多重共线性--预测变量之间相互关联.多重共线性会导致解空间的不稳定,从而可能导致结果的不连贯. 2.高维空间本身具有稀疏性.一维正态分布有6 ...
- tr命令的使用
tr是translate的简写,亦即翻译,但是遗憾的是,它不能翻译句子,只能翻译单个字符. 1 tr的工作原理是什么? 先记住一点,tr命令不接受指定的文件参数,而只是对标准输入进行翻译.好了,记住这 ...
- dedecms模版制作活动的折叠菜单
需要做成这种样式 url请求为这样: http://m03.com/plus/list.php?tid=19 这些菜单项都有对应的tid项,页面刷新后,应该将所有的菜单折叠起来,对于tid=19的菜单 ...
- 用PHP添加购物商品
<?php session_start(); header ( "Content-type: text/html; charset=UTF-8" ); //设置文件编码格式 ...
- jquery 获取元素的 实际宽度和高度
jquery outerHeight方法 outerWidth方法 转: http://www.cnblogs.com/zhja/archive/2012/11/07/2758665.html jqu ...