|
IDE interface: PCI device 8086:24ca (Intel Corp.) (rev 3)
The RH9 out-of-the-box kernel (2.4.20-8) does not recognise the IDE chipset and this means that although your disk will work, it won't use (U)DMA. Without DMA, you get somewhere between 2 and 5Mb/s depending on hdparm options! Arggh. This is painful.
I dived into the kernel sources, started looking on Intel's website and searching around for info on this chipset. As packaged, kernel 2.4.20-8 supports:
8086:248a - ICH3M
8086:248b - ICH3
8086:24cb - ICH4
I took a guess that the I8500 used an ICH4M (82801DB). However, the specs suggested an i845MP chipset that has an ICH3M. Anyhow, I hacked a few files to incorporate it. The ICH3/3M/4/5 all use the same settings so I replicated them for the ICH4M. Here's the patch. You'll need to install the kernel sources RPM, apply the patch, configure as appropriate and rebuild the kernel and modules.
Update 11/04/03 - kernel 2.5.67 has a similar patch already applied
Update 02/05/03 - kernel 2.4.21-rc1 has a similar patch already applied
Update 03/06/03 - RedHat kernel 2.4.20-13.x is pre-patched
Once you've booted the custom kernel, you can expect to see a respectable 28Mb/s (hdparm -t /dev/hda).
上面的是我在一个网站看到的关于内核是2.4.20-8RH9内核如何支持DMA的一个PATCH,但是我不懂如何使用这个PATCH在我的现在的内核上,哪位朋友可以帮我一下吗?因为我升级内核几次都不成功,有点累了,还是想就在原2.4.20-8RH9内核上下点功夫,所以请高手帮我一下吧,因为没有DMA功能,我的机子好慢呀! |
|