IDE DMA failure w/ 2.3.99

From: Andrew Morton (andrewm@uow.edu.au)
Date: Sat Apr 29 2000 - 10:43:28 EST


I've been getting IDE DMA timeouts on a laptop. They cause a rather
unpleasant oops as well. I'll cover the oops in a separate email.

Kernels 2.3.99-pre4(ish) up to 2.3.99-pre7-1

Machine is a Toshiba Satellite 4100XDVD. It's a P.O.S, BTW. Brand new,
A$5,000 400MHz PII. It can't compile kernels. After sixty seconds we
start getting sig11's in cc1. Sure sign of overheating. It also
randomly inserts 4k blocks of 0xff's into files on 4k boundaries - does
this about five times when doing a CVS checkout of a kernel tree.
Fortunately it is a loaner. Unfortunately I'll be rid of it in a few
days and can't promise to try patches.

The machine sort-of works in PIO. With DMA it fails every few
megabytes.

ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hda: irq timeout: status=0x58 {DriveReady SeekComplete DataRequest }
hda: timeout waiting for DMA.

This repeats four times with ~10 second interval, then:

hda: DMA disabled
ide0: reset success

then about one second of disk activity then the oops. I've tried it
with and without CONFIG_PIIX_TUNING. The .config is at
http://www.uow.edu.au/~andrewm/toshiba.config

dmesg says:

Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 29
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfe60-0xfe67, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfe68-0xfe6f, BIOS settings: hdc:DMA, hdd:pio
hda: IBM-DBCA-206480, ATA DISK drive
hdc: TOSHIBA DVD-ROM SD-C2202, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 12685680 sectors (6495 MB) w/420KiB Cache, CHS=789/255/63
hdc: ATAPI 24X DVD-ROM drive, 128kB Cache

# hdparm -i /dev/hda

/dev/hda:

 Model=IBM-DBCA-206480, FwRev=BC4OA87F, SerialNo=HR0RRR42907
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=13424/15/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=3(DualPortCache), BuffSize=420kB, MaxMultSect=16, MultSect=off
 DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
 CurCHS=13424/15/63, CurSects=-1854930751, LBA=yes
 LBA CHS=789/255/63 Remapping, LBA=yes, LBAsects=12685680
 tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1
mword2
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4
 UDMA modes: mode0 mode1 *mode2

-- 
-akpm-

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:16 EST