Re: IDE/PIIX: Trouble with DMA - OOPS without

From: David Ford (david@kalifornia.com)
Date: Tue Apr 25 2000 - 03:15:28 EST


Andre Hedrick wrote:

> On Mon, 24 Apr 2000, Lorenzo Marcantonio wrote:
>
> > CONFIG_BLK_DEV_PIIX=y
> > CONFIG_PIIX_TUNING=y
>
> You do not know that for a fact........"CONFIG_PIIX_TUNING" fixes
> everything.

(jumping into the middle)
hmm, on my laptop, enabling tuning causes lost interrupt on boot and the
machine hangs.

# lspci -v
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev
03)
        Flags: bus master, medium devsel, latency 64
        Memory at e0000000 (32-bit, prefetchable) [size=256M]
        Capabilities: [a0] AGP version 1.0

00:07.0 Bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
        Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if
80 [Master])
        Flags: bus master, medium devsel, latency 32
        I/O ports at ffa0 [size=16]

# hdparm -I /dev/hda

/dev/hda:

 Model=UFIJST UHM2G01A2 T , FwRev=0B51 ,
SerialNo= 10100368
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=0(?), BuffSize=512kB, MaxMultSect=16, MultSect=8
 DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=0(slow)
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes
 LBA CHS=1023/256/63 Remapping, LBA=yes, LBAsects=19640880
 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
 IORDY=yes, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4
 UDMA modes: mode0 mode1 mode2

# hdparm -i /dev/hda

/dev/hda:

 Model=FUJITSU MHG2102AT, FwRev=B015, SerialNo=01013086
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=0(?), BuffSize=512kB, MaxMultSect=16, MultSect=8
 DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=0(slow)
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes
 LBA CHS=1023/256/63 Remapping, LBA=yes, LBAsects=19640880
 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
 IORDY=yes, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4
 UDMA modes: mode0 mode1 mode2

-d

-
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:09 EST