LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: Kinwa

我的硬盘怎么没法打开DMA ,请高手指点!

[复制链接]
 楼主| 发表于 2004-12-6 20:42:20 | 显示全部楼层
我没有Knoppix LiveCD -a1024是什么意思?这个好像有问题
 楼主| 发表于 2004-12-7 08:22:33 | 显示全部楼层
我在我同事的电脑上也装的是7.2,但他的可以打开DMA,看来不是hdparm这个命令的问题。
发表于 2004-12-7 09:14:57 | 显示全部楼层
内核应该支持该主板IDE接口。我上次就是吃的这个亏。
发表于 2004-12-7 10:50:25 | 显示全部楼层
最初由 Kinwa 发表
我没有Knoppix LiveCD -a1024是什么意思?这个好像有问题

-a is to get or set the readahead buffer of your hard disk, default value is 256 kbytes. -a1024 increase it to 1024kbytes, in other words, increase your readahead buffer.

You can do a simply benchmark.  You can compare the results before and after the change by;

hdparm -tT /dev/hda

If you don't have Knoppix, then you should download one.  It is very very useful.  Sometimes, it may help you to rescue your system.  Don't tell me you do not know what is Knoppix.
发表于 2004-12-9 10:32:58 | 显示全部楼层
重新编译内核,在device drivers>ata/atapi/mfm/rll support>pci ide chipset support里找到自己的芯片,然后编进内核(一般芯片可以在generic pci bus-master dma support里找到)
发表于 2004-12-9 10:34:30 | 显示全部楼层
再问一个问题,我用的是debian的linux,设置的硬盘参数总不能保存,不知道应该在哪里设置保存?或者是要自己写脚本开机自动运行?
 楼主| 发表于 2004-12-13 19:17:01 | 显示全部楼层
我用Knoppix LiveCD(Kernel2.6.8) 启动后,DMA是打开的,测试了一下第一个硬盘是45M/S 第二个是56M/S这是不是说明我的内核太老不支持我的主板
发表于 2004-12-13 23:09:13 | 显示全部楼层
最初由 wanshi83 发表
再问一个问题,我用的是debian的linux,设置的硬盘参数总不能保存,不知道应该在哪里设置保存?或者是要自己写脚本开机自动运行?

Debian startup scripts are stored in /etc/init.d and /etc/rc?.d
发表于 2004-12-13 23:15:43 | 显示全部楼层
最初由 Kinwa 发表
我用Knoppix LiveCD(Kernel2.6.8) 启动后,DMA是打开的,测试了一下第一个硬盘是45M/S 第二个是56M/S这是不是说明我的内核太老不支持我的主板

Great, at least it tells me it is not a problem on your hardware.  Indeed, your RH is rather old.
 楼主| 发表于 2004-12-26 18:54:05 | 显示全部楼层
我重新编译内核,终于打开了,速度明显快了。在此感谢所有帮助我的人,尤其是d00m3d,衷心的感谢你!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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