Subject: Re: pciide0:0:1: lost interrupt problem...
To: None <port-i386@netbsd.org>
From: Antti Kantee <pooka@iki.fi>
List: port-i386
Date: 06/23/1999 20:45:58
On Sun Jun 20 1999 at 22:26:35 +0200, Manuel Bouyer wrote:

> > I've noticed that this problem does not occur with wdc (or perhaps I've
> > just been in luck), so using wdc instead of pciide should help in using
> > the disk until the problem gets fixed.
> 
> When you use wdc instead of pciide, you don't use DMA. This is the difference.
> What else did you have on the same IDE bus ? 

Here's the whole deal I have with the problematic disk plugged in:

pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82439HX System Controller (TXC) (rev. 0x03)
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_TM3840A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 3681MB, 7480 cyl, 16 head, 63 sec, 512 bytes/sect x 7539840 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2
wd2 at pciide0 channel 0 drive 1: <ST51080A>
wd2: drive supports 32-sector pio transfers, lba addressing
wd2: 1033MB, 2100 cyl, 16 head, 63 sec, 512 bytes/sect x 2116800 sectors
wd2: 32-bits data port
wd2: drive supports PIO mode 4, DMA mode 2
pciide0: primary channel interrupting at irq 14
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <IDE/ATAPI CD-ROM, , M4C6> type 5 cdrom removable
cd0: 32-bits data port
cd0: drive supports PIO mode 4, DMA mode 1, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 1: <WDC AC33100H>
wd1: drive supports 16-sector pio transfers, lba addressing
wd1: 3020MB, 6136 cyl, 16 head, 63 sec, 512 bytes/sect x 6185088 sectors
wd1: 32-bits data port
wd1: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd2(pciide0:0:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
cd0(pciide0:1:0): using PIO mode 0, DMA mode 1 (using DMA data transfers)
wd1(pciide0:1:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)

Note that the deal was that this happens with the same disk also on a
completely different box, so I have trouble beleiving it is anything else
than a problem between pciide and the drive.

-- 
  "Never underestimate the power of the Lite side of the \Source/"
 Antti Kantee   /       NetBSD        \  Citius, Altius,  \    / o
<pooka@iki.fi> / http://www.netbsd.org \     Levytys       \  /  |
______________/ Free Multiplatform UN*X \___________________\/__ |