Subject: kern/7269: stop-ship bug: pciide fails to attach atapibus for CD (panics instead)
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 03/28/1999 17:00:28
>Number: 7269
>Category: kern
>Synopsis: pciide fails to attach atapibus for CD (panics instead)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 28 14:05:00 1999
>Last-Modified:
>Originator: John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release: NetBSD-current as of 1999-03-28
>Environment:
System: NetBSD kolvir.arlington.ma.us 1.3K NetBSD 1.3K (KOLVIR) #26: Sat Mar 13 08:42:21 EST 1999 jtk@kolvir.arlington.ma.us:/usr/u4/sandbox/src/sys/arch/i386/compile/KOLVIR i386
>Description:
The latest -current kernels do not boot on my machine (Dell Dimension
XPS-R400).
It spits out this (10-finger copy):
...
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: primary channel interrupting at irq 14
pciide0: secondary channel wired to compatibility mode
panic: wdc_exec_command: polled command not done
Last known working kernel (previous one I built, I was away on vacation
for 2 weeks) is -current as of "Sat Mar 13 08:42:21 EST 1999". That one
has this to say about pciide:
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <Maxtor 91296D6>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 12360MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 25313904 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-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: <TOSHIBA DVD-ROM SD-M1202, X800703039, 1020> type 5 cdrom removable
cd0: 32-bits data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
>How-To-Repeat:
Compile a kernel with cd & wd support attached to pciide, boot it on my
machine.
>Fix:
>Audit-Trail:
>Unformatted: