Subject: pciide problems on PIIX3 with older drive
To: None <current-users@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: current-users
Date: 12/09/1998 13:28:29
Heyla,
running pciide on a VX MB w/PIIX3 and a slightly older drive
(Quantum Maverick) is not working for me, nor has it the last couple
of months.  Using the old wdc code has worked fine with it for the
last couple of years.  I get masses of errors (similar to):
    pciide0:0:1: lost interrupt
	    type: ata
	    c_bcount: 512
	    c_skip: 0
    pciide0:0:1: intr with DRQ (st=0x58)
    pciide0:0:1: Bus-Master DMA error: missing interrupt, status=0x60
    wd1d: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
    wd1: soft error (corrected)
making the system unusable.  All the other drives run along happily.  If
anyone has any suggestions, I'll be glad to hear them, otherwise I'll
send-pr it.
TIA.

Relevant parts of dmesg * 2 (pciide and non-pciide):
----------------------------------------
NetBSD 1.3I (.....) #0: Wed Dec  9 21:46:29 EST 1998
.....
cpu0: family 5 model 2 step c
cpu0: Intel Pentium (P54C) (586-class)
real mem  = 133824512
avail mem = 122028032
using 1659 buffers containing 6795264 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82437VX System Controller (TVX) (rev. 0x02)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x01)
pciide0 at pci0 dev 7 function 1: Intel 82371SB IDE Interface (PIIX3)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALL SE8.4A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 8063MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 16514064 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd1 at pciide0 channel 0 drive 1: <QUANTUM MAVERICK 540A>
wd1: drive supports 8-sector pio transfers, lba addressing
wd1: 516MB, 1049 cyl, 16 head, 63 sec, 512 bytes/sect x 1057392 sectors
wd1: 32-bits data port
wd1: drive supports PIO mode 3, DMA mode 1
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 1: <HITACHI CDR-7830, , 2012> type 5 cdrom removable
cd0: 32-bits data port
cd0: drive supports PIO mode 3, DMA mode 1
wd2 at pciide0 channel 1 drive 0: <QUANTUM FIREBALL SE4.3A>
wd2: drive supports 16-sector pio transfers, lba addressing
wd2: 4110MB, 14848 cyl, 9 head, 63 sec, 512 bytes/sect x 8418816 sectors
wd2: 32-bits data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd1(pciide0:0:1): using PIO mode 0, DMA mode 1 (using DMA data transfers)
wd2(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
cd0(pciide0:1:1): using PIO mode 0, DMA mode 1 (using DMA data transfers)
.....
pciide0:0:1: lost interrupt
	type: ata
	c_bcount: 512
	c_skip: 0
pciide0:0:1: intr with DRQ (st=0x58)
pciide0:0:1: Bus-Master DMA error: missing interrupt, status=0x60
wd1d: device timeout reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0), retrying
wd1: soft error (corrected)
pciide0:0:1: lost interrupt
	type: ata
	c_bcount: 512
	c_skip: 0
pciide0:0:1: intr with DRQ (st=0x58)
pciide0:0:1: Bus-Master DMA error: missing interrupt, status=0x60
wd1d: device timeout reading fsbn 1 (wd1 bn 1; cn 0 tn 0 sn 1), retrying
wd1: soft error (corrected)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
----------------------------------------
NetBSD 1.3I (.....) #0: Thu Nov 19 21:47:06 EST 1998
.....
cpu0: family 5 model 2 step c
cpu0: Intel Pentium (P54C) (586-class)
real mem  = 133824512
avail mem = 122056704
using 1659 buffers containing 6795264 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82437VX System Controller (TVX) (rev. 0x02)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x01)
Intel 82371SB IDE Interface (PIIX3) (IDE mass storage, interface 0x80) at pci0 dev 7 function 1 not configured
.....
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <QUANTUM FIREBALL SE8.4A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 8063MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 16514064 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, UDMA mode 2
wd1 at wdc0 channel 0 drive 1: <QUANTUM MAVERICK 540A>
wd1: drive supports 8-sector pio transfers, lba addressing
wd1: 516MB, 1049 cyl, 16 head, 63 sec, 512 bytes/sect x 1057392 sectors
wd1: 32-bits data port
wd1: drive supports PIO mode 3, DMA mode 1
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus0 at wdc1 channel 0
cd0 at atapibus0 drive 1: <HITACHI CDR-7830, , 2012> type 5 cdrom removable
cd0: 32-bits data port
cd0: drive supports PIO mode 3, DMA mode 1
wd2 at wdc1 channel 0 drive 0: <QUANTUM FIREBALL SE4.3A>
wd2: drive supports 16-sector pio transfers, lba addressing
wd2: 4110MB, 14848 cyl, 9 head, 63 sec, 512 bytes/sect x 8418816 sectors
wd2: 32-bits data port
wd2: drive supports PIO mode 4, DMA mode 2, UDMA mode 2
.....
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs

-- 
Geoff Wing   <gcw@pobox.com>            Mobile : 0412 162 441
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/