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. 基于slf4j的log4j实战

    参考文档如下: http://blog.csdn.net/anialy/article/details/8529188 slf4j是接口,基于门面模式,可以实现log4j和logback 参考文档如下 ...

  2. vs在winform中不给力哈-错误不提示

    我的操作系统是windows Server 2008 x64,运行winform的时候,对Dictionary累加值.运行的时候,项目一闪而过,于是我在Project的Properties上选择运行的 ...

  3. linux常用命令之tail

    从指定点开始将文件写到标准输出.使用tail命令的-f选项可以方便的查阅正在改变的日志文件,tail -f filename会把filename里最尾部的内容显示在屏幕上,并且不但刷新,使你看到最新的 ...

  4. power desinger 学习笔记<六>

    原帖地址:http://blog.csdn.net/spt110/article/details/8640849 PowerDesigner中Table视图同时显示Code和Name,像下图这样的效果 ...

  5. [转]一个备份MySQL数据库的简单Shell脚本

    本文翻译自 iSystemAdmin 的 <A Simple Shell Script to Backup MySQL Database> Shell脚本是我们写不同类型命令的一种脚本,这 ...

  6. javascript基础学习(四)

    javascript之流程控制语句 学习要点: 表达式语句含义 选择语句:if.if...else.switch 循环语句:while.do...while.for.for...in 跳转语句:bre ...

  7. 【POJ2104】【整体二分+树状数组】区间第k大

    Description You are working for Macrohard company in data structures department. After failing your ...

  8. removing right click context menu options on recycle bin

    Humpty is correct as always  First you might want to make a backup of the reg key then remove the Wa ...

  9. CPU风扇故障导致自动关机

    今天在使用电脑时,突然自动关机,重启后过一段时间又自动关机,于是打开机箱后盖,插上电源观察各个部位运行情况,发现CPU风扇不转,判断问题就是由于CPU温度太高了.于是换个风扇,再开机情况就正常了.

  10. jquery.js 库中的 选择器

    <html><head><script type="text/javascript" src="jquery.js">< ...