2.2.18, Intel i815 chipset and DMA
I've got a Gateway here with a Intel 815 chipset running 2.2.18. Inside it's a PIII 733 with 512MB and a Quantum lct15 drive.
The problem is that the IDE driver doesn't recognize the IDE conroller, so DMA isn't enabled leading to some poor drive performance. Here's the relevant sections from lspci -v and the boot logs, any chance of getting DMA working? Is it safe to use hdparm to turn it on? The drive should be capable of 10-20MB/s, but I'm only getting about 4MB/s with hdparm. :-(
-Dave
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
Flags: bus master, fast devsel, latency 0
Memory at f8000000 (32-bit, prefetchable)
Capabilities: <available only to root>
00:01.0 PCI bridge: Intel Corporation: Unknown device 1131 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
Memory behind bridge: fca00000-feafffff
Prefetchable memory behind bridge: f0700000-f47fffff
00:1e.0 PCI bridge: Intel Corporation: Unknown device 244e (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fc900000-fc9fffff
Prefetchable memory behind bridge: f0600000-f06fffff
00:1f.0 ISA bridge: Intel Corporation: Unknown device 2440 (rev 01)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corporation: Unknown device 244b (rev 01) (prog-if 80 [Master])
Subsystem: Gateway 2000: Unknown device 0058
Flags: bus master, medium devsel, latency 0
I/O ports at ffa0
00:1f.2 USB Controller: Intel Corporation: Unknown device 2442 (rev 01) (prog-if 00 [UHCI])
Subsystem: Gateway 2000: Unknown device 0058
Flags: bus master, medium devsel, latency 0, IRQ 3
I/O ports at ef40
00:1f.3 SMBus: Intel Corporation: Unknown device 2443 (rev 01)
Subsystem: Gateway 2000: Unknown device 0058
Flags: medium devsel, IRQ 10
I/O ports at efa0
00:1f.4 USB Controller: Intel Corporation: Unknown device 2444 (rev 01) (prog-if 00 [UHCI])
Subsystem: Gateway 2000: Unknown device 0058
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at ef80
------------
PCI_IDE: unknown IDE controller on PCI bus 00 device f9, VID=8086, DID=244bPCI_IDE: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:piohda: QUANTUM FIREBALLlct15 15, ATA DISK drive
hdb: QUANTUM FIREBALLlct20 20, ATA DISK drive
hdc: _NEC DV-5700A, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: QUANTUM FIREBALLlct15 15, 14324MB w/418kB Cache, CHS=1826/255/63
hdb: QUANTUM FIREBALLlct20 20, 19470MB w/418kB Cache, CHS=2482/255/63
hdc: ATAPI 40X DVD-ROM drive, 256kB Cache
------------
# 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 = 1826/255/63, sectors = 29336832, start = 0
# hdparm -i /dev/hda
/dev/hda:
Model=QUANTUM FIREBALLlct15 15, FwRev=A01.0F00, SerialNo=612020812285 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4 BuffType=DualPortCache, BuffSize=418kB, MaxMultSect=16, MultSect=off CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=29336832 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
# hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.90 seconds =142.22 MB/sec
Timing buffered disk reads: 64 MB in 15.84 seconds = 4.04 MB/sec
Quoted 2 lines
I've got a Gateway here with a Intel 815 chipset running 2.2.18. Inside it's a PIII 733 with 512MB and a Quantum lct15 drive.
The UDMA100 on the i810/815 is supported by 2.4
Quoted 2 lines
turn it on? The drive should be capable of 10-20MB/s, but I'm only getting about 4MB/s with hdparm. :-(
/dev/hda:
Timing buffered disk reads: 64 MB in 2.62 seconds = 24.43 MB/sec
[2.4.2ac17]
Quoted 3 lines · Mark Hahn
Quoted 1 line
I've got a Gateway here with a Intel 815 chipset running 2.2.18. Inside
why? 2.2 is obsolete, and will not receive new drivers.
Hmm, so the Intel 815 and DMA doesn't mix with 2.2.x? What about Andre's IDE patches?
Quoted 4 lines
Quoted 2 lines
The problem is that the IDE driver doesn't recognize the IDE conroller, so DMA isn't enabled leading to some poor drive
the controller is fine in the current 2.4.
I was hoping to stay off the 2.4 series until it stabilises a bit more, although I may have to upgrade to get any sort of decent performance out of this machine. There's a reason no distributions aren't shipping a 2.4.x kernel yet.
Thanks,
Dave
Quoted 5 lines · Alan Cox
Quoted 2 lines
I've got a Gateway here with a Intel 815 chipset running 2.2.18. Inside it's a PIII 733 with 512MB and a Quantum lct15 drive.
The UDMA100 on the i810/815 is supported by 2.4
Quoted 7 lines
Quoted 2 lines
turn it on? The drive should be capable of 10-20MB/s, but I'm only getting about 4MB/s with hdparm. :-(
/dev/hda:
Timing buffered disk reads: 64 MB in 2.62 seconds = 24.43 MB/sec[2.4.2ac17]
OK, I moved the machine to 2.4.2, hdparm is now reading 20MB/sec from each disk as expected.
Thanks for the tips,
Dave