LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: cbnsjtu

打开硬盘DMA失败?

[复制链接]
 楼主| 发表于 2003-12-21 01:10:29 | 显示全部楼层
具体怎么做,有点糊涂了
发表于 2003-12-21 01:19:00 | 显示全部楼层
# CONFIG_BLK_DEV_VIA82CXXX is not set <--- 兄弟應為如何?
 楼主| 发表于 2003-12-21 01:28:15 | 显示全部楼层
多谢多谢,我打开via支援之后,我就能打开DMA吗?打开的时候需要什么参数,跟哪个33/66有关的?
发表于 2003-12-21 01:35:48 | 显示全部楼层
主要是留意這個 -X68 可能不行~~ 先別用這個好些
-X     Set  the  IDE  transfer  mode for newer (E)IDE/ATA2
              drives.  This is typically used in combination with
              -d1  when  enabling  DMA  to/from a drive on a sup-
              ported interface chipset (such as the  Intel  430FX
              Triton), where -X34 is used to select multiword DMA
              mode2 transfers.  Apart from that, use of this flag
              is  seldom  necessary  since  most/all  modern  IDE
              drives default to their fastest PIO  transfer  mode
              at  power-on.  Fiddling with this can be both need-
              less and risky.  On drives which support  alternate
              transfer  modes,  -X can be used to switch the mode
              of the drive only.  Prior to changing the  transfer
              mode,  the IDE interface should be jumpered or pro-
              grammed (see -p flag) for the new mode  setting  to
              prevent  loss  and/or corruption of data.  Use this
              with extreme  caution!   For  the  PIO  (Programmed
              Input/Output)  transfer  modes  used by Linux, this
              value is simply the desired PIO mode number plus 8.
              Thus,  a value of 09 sets PIO mode1, 10 enables PIO
              mode2,  and  11  selects  PIO  mode3.   Setting  00
              restores  the  drive's  "default"  PIO mode, and 01
              disables IORDY.
 楼主| 发表于 2003-12-21 03:58:47 | 显示全部楼层
终于成功了,谢谢版主,!!!!!!!!!
只是提到14m/s也没有多大的感觉啊.
是修改/etc/sysconf/harddisks来自动打开吗?好像如果在rc.local里面加载命令的话,会提示id0-reset


用什么命令能知道已经打开咯阿DMA功能呢?
发表于 2003-12-21 04:19:13 | 显示全部楼层
hdparm /dev/hda
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表