Hi,
I'm new to rhel (gentoo user
). My drives are pretty slow (even after
setting 32-bit IO_support flag to 3):
Code:
# hdparm -tT /dev/hdd
/dev/hdd:
Timing cached reads: 13708 MB in 2.00 seconds = 6869.92 MB/sec
Timing buffered disk reads: 22 MB in 3.24 seconds = 6.79 MB/sec
Can't set DMA:
Code:
# hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
Here is some info on the controllers
Code:
# lspci | grep -i ide
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
04:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
and the drive:
Code:
# hdparm -i /dev/hdd
/dev/hdd:
Model=WDC WD1500AHFD-00RAR5, FwRev=21.07QR5, SerialNo=WD-WMAP42009977
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=48
BuffType=DualPortCache, BuffSize=16384kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=no WriteCache=enabled
Drive conforms to: ATA/ATAPI-7 published, ANSI INCITS 397-2005: ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7
* signifies the current active mode
I'm pretty sure that the only thing that I need to do is recompile the kernel with the pata_jmicron module. Anybody have a better solution?
I've been trying to recompile the default kernel (2.6.18-120.el5PAE) to set CONFIG_PATA_JMICRON=m but I'm not very familiar with the rhel kernel compilation process. I did install kernel-PAE-devel, but trying to
make in
/usr
/src/kernels/2.6.18-120.el5PAE-i686 gives me the following error:
Code:
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[1]: *** No rule to make target `init/main.o', needed by `init/built-in.o'. Stop.
make: *** [init] Error 2
I could grab the sources from kernel.org and compile everything from scratch, but then I would've just installed Gentoo on this box
Anybody have a short step-by-step on just (preparing and) recompiling the current kernel?
Thanks!