I installed RH7.1 last night and everything seems to be working fine....except my hard drive. It's a Western Digital 20GB UDMA66 drive. I'm not using my controller card. It goes directly to the primary controller on the mother board (Tyan 1854..which also has UDMA66 capabilities).
It seems extremely slow! I've recompiled the kernel to use DMA by default but it didn't seem to help much. I've also tried adding a line in my lilo.conf:
image=/boot/vmlinuz-2.4.2-3
label=2.4.2-3
read-only
root=/dev/hda2
append="idebus=66 ide0=ata66"
Here's what I got after I ran lilo and rebooted:
Linux version 2.4.2-2 (root@147-198.waldenweb.com) (gcc version 2.96 20000731 (R
ed Hat Linux 7.1 2.96-81)) #1 Wed Jul 4 23:41:41 CDT 2001
BIOS-provided physical RAM map:
BIOS-e820: 000000000009fc00 @ 0000000000000000 (usable)
BIOS-e820: 0000000000000400 @ 000000000009fc00 (usable)
BIOS-e820: 0000000000010000 @ 00000000000f0000 (reserved)
BIOS-e820: 0000000000010000 @ 00000000ffff0000 (reserved)
BIOS-e820: 000000001fef0000 @ 0000000000100000 (usable)
BIOS-e820: 000000000000d000 @ 000000001fff3000 (ACPI data)
BIOS-e820: 0000000000003000 @ 000000001fff0000 (ACPI NVS)
On node 0 totalpages: 131056
zone(0): 4096 pages.
zone DMA has max 32 cached pages.
zone(1): 126960 pages.
zone Normal has max 991 cached pages.
zone(2): 0 pages.
zone HighMem has max 1 cached pages.
Kernel command line: auto BOOT_IMAGE=2.4.2-3 ro root=302 BOOT_FILE=/boot/vmlinuz
-2.4.2-3 idebus=66 ide0=ata66
ide_setup: idebus=66
ide_setup: ide0=ata66
Initializing CPU#0
Detected 400.912 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 799.53 BogoMIPS
Memory: 513188k/524224k available (1347k kernel code, 10648k reserved, 77k data,
192k init, 0k highmem)
Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
CPU: Before vendor init, caps: 0183f9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 0183f9ff 00000000 00000000 00000000
CPU: After generic, caps: 0183f9ff 00000000 00000000 00000000
CPU: Common caps: 0183f9ff 00000000 00000000 00000000
CPU: Intel Pentium II (Deschutes) stepping 01
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb290, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Disabled enhanced CPU to PCI posting #2
Unknown bridge resource 0: assuming transparent
Unknown bridge resource 1: assuming transparent
Unknown bridge resource 2: assuming transparent
PCI: Using IRQ router VIA [1106/0596] at 00:07.0
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
block: queued sectors max/low 340762kB/209690kB, 1024 slots per queue
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 66MHz system bus speed for PIO modes
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: User given PCI clock speed impossible (66), using 33 MHz instead.
VP_IDE: Use ide0=ata66 if you want to force UDMA66/UDMA100.
VP_IDE: VIA vt82c596b (rev 23) IDE UDMA66 controller on pci00:07.1
VP_IDE: ATA-66/100 forced bit set (WARNING)!!
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda
MA, hdb
io
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc
MA, hdd
io
hda: WDC WD200BB-00AUA1, ATA DISK drive
hdc: TOSHIBA DVD-ROM SD-M1102, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=2434/255/63, UDMA(66)
hdc: ATAPI 24X DVD-ROM drive, 256kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda:hda: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hda: irq timeout: status=0xd0 { Busy }
hda: DMA disabled
ide0: reset: success
hda1 hda2 hda3 hda4
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NTFS version 010116
loop: loaded (max 8 devices)
Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISA
PNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
PCI: Found IRQ 11 for device 00:13.0
3c59x.c:LK1.1.13 27 Jan 2001 Donald Becker and others.
http://www.scyld.com/net
work/vortex.html
See Documentation/networking/vortex.txt
eth0: 3Com PCI 3c905C Tornado at 0xec00, 00:50:da:b3:7e:90, IRQ 11
product code 4242 rev 00.13 date 11-21-99
8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
MII transceiver found at address 24, status 782d.
Enabling bus-master transmits and whole-frame receives.
eth0: scatter/gather enabled. h/w checksums enabled
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected Via Apollo Pro chipset
agpgart: AGP aperture is 128M @ 0xd0000000
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 192k freed
Adding Swap: 128480k swap-space (priority -1)
hda: irq timeout: status=0xd0 { Busy }
ide0: reset: success
eth0: using NWAY device table, not 8
hda: irq timeout: status=0xd0 { Busy }
ide0: reset: success
hda: irq timeout: status=0xd0 { Busy }
ide0: reset: success
hda: irq timeout: status=0xd0 { Busy }
ide0: reset: master: error (0x00?)
That didn't help either. Here are the numbers I'm getting from hdparm:
[root@147-198 /etc]# hdparm -i /dev/hda
/dev/hda:
Model=WDC WD200BB-00AUA1, FwRev=18.20D18, SerialNo=WD-WMA6Y2969510
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=39102336
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 udma0 udma1 udma2 udma3 *udma4 udma5
This is what really confuses me. The above hdparm says I'm using UDMA66 yet, the below says I'm not using it:
[root@147-198 /etc]# hdparm /dev/hda
/dev/hda:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 2434/255/63, sectors = 39102336, start = 0
The hdparm test is what really bothers me. It literally takes about 5 minutes for it to spit out a timed buffered disk read....and when it does, it's not very impressive:
[root@147-198 /etc]# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 1.18 seconds =108.47 MB/sec
Timing buffered disk reads: 64 MB in 623.91 seconds =105.04 kB/sec
How can I increase the speed of the disk reads? If anyone could help me out I'd really appreciate it!