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的更多相关文章

  1. linux新内核的freeze框架以及意义【转】

    转自:https://blog.csdn.net/dog250/article/details/5303442 linux的电源管理发展非常迅速,比如在挂起到内存的时候,系统会冻结住所有的进程,也就是 ...

  2. linux新内核的时钟机制代码

    http://blog.chinaunix.net/uid-22810130-id-384173.html 如果说cfs是linux的一个很有创意的机制的话,那么linux中另一个创意就是nohz,我 ...

  3. linux 保留内核中sas驱动的加载导致crash问题

    [root@localhost ~]# uname -a Linux localhost.localdomain -.el7.x86_64 问题描述,在crash的时候,小内核因为分配中断号失败而触发 ...

  4. linux x86内核中的分页机制

    Linux采用了通用的四级分页机制,所谓通用就是指Linux使用这种分页机制管理所有架构的分页模型,即便某些架构并不支持四级分页.对于常见的x86架构,如果系统是32位,二级分页模型就可满足系统需求: ...

  5. Linux新内核:提升系统性能 --Linux运维的博客

    http://blog.csdn.net/linuxnews/article/details/52864182

  6. linux如何编译安装新内核支持NTFS文件系统?(以redhat7.2x64为例)

    内核,是一个操作系统的核心.它负责管理系统的进程.内存.设备驱动程序.文件和网络系统,决定着系统的性能和稳定性.Linux作为一个自由软件,在广大爱好者的支持下,内核版本不断更新.新的内核修订了旧内核 ...

  7. Linux升级内核总结

    Linux内核升级总结. 一.编译内核步骤 1.#uname –r 确定系统的原内核版本,然后下载较新版本的Linux内核源码包 http://www.kernel.org/pub/linux/ker ...

  8. Day 7 Linux之系统监控、硬盘分区等

    Linux之系统监控.硬盘分区等 系统监控 系统监视和进程控制工具—top和free 1) 掌握top命令的功能:top命令是Linux下常用的性能分析工具,能够实时显示系统中各个进程的资源占用状况, ...

  9. Linux 3.2中回写机制的变革

    原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 .作者信息和本声明.否则将追究法律责任.http://alanwu.blog.51cto.com/3652632/1109952 wri ...

随机推荐

  1. Uncaught SecurityError: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.

    canvas绘制图片,由于浏览器的安全考虑,如果在使用canvas绘图的过程中,使用到了外域的图片资源,那么在toDataURL()时会抛出安全异常: Uncaught SecurityError: ...

  2. 测测你适合从事Web前端开发吗

    一般初创的互联网公司最烧钱的时候往往都是刚刚获得风投或融资的时候,因为他们要把钱砸向前端,因为那时候没有客户访问,对于企业来说只有先做好前端技 术.做好客户体验一切才有可能.用户体验做好,才有人访问, ...

  3. AFNETWORKING tabelView没有reloadData,报错unsupported URL

    Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo=0x7f9dc278aa60 {NSUnde ...

  4. JSP JS 日期控件的下载、使用及注意事项

    网上流行的时间日期控件比较多,个人觉得My97DatePicker的日期控件不错,值得推荐. 具体的使用过程如下: 1.下载My97DatePicker.rar或 My97DatePickerBeta ...

  5. SGU 145.Strange People(无环K短路)

    时间:0.25s空间:4m 题意: 其实就是求无环第K短路. 输入: 给出n,m,k,分别代表,n个点,m条边,第k长路. 接下来m行,三个整数x,y,z,分别代表x,y之间有条费用为x的双向路.保证 ...

  6. 【POJ2761】【fhq treap】A Simple Problem with Integers

    Description You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. On ...

  7. javascript——闭包

    <script type="text/javascript"> //什么是闭包: //是指语法域位于某个特定的区域,具有持续参照(读写)位于该区域内自身范围之外的执行域 ...

  8. Java学习笔记——动态代理

    所谓动态,也就是说这个东西是可变的,或者说不是一生下来就有的.提到动态就不得不说静态,静态代理,个人觉得是指一个代理在程序中是事先写好的,不能变的,就像上一篇"Java学习笔记——RMI&q ...

  9. TestNG扩展

    1. TestNG API 本章节将讨论如何使用TestNG API来创建自己的TestNG对象.TestNG的API基本由接口组成,这样做是为了容易模拟TestNG返回的对象. 1.1 org.te ...

  10. Bootstrap_Javascript_手风琴

    触发手风琴可以通过自定义的 data-toggle 属性来触发.其中data-toggle值设置为 collapse,data-target="#折叠区标识符". 第一步,设计一个 ...