Subject: port-i386/3475: Probe problems with mcd and wds
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/11/1997 10:46:16
>Number:         3475
>Category:       port-i386
>Synopsis:       GENERIC kernel contains wds and mcd with bogus probes
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 11 02:05:02 1997
>Originator:     Martin Husemann
>Release:        sup from Apr 10 1997
System: NetBSD 1.2D NetBSD 1.2D (RUMOLT) #0: Mon Apr 7 13:05:03 MEST 1997 i386
Any i386 with secondary IDE controller and NE2000 compatible at IO 300


I'm in the progress of creating a bootable CD-ROM with NetBSD-current
and build a GENERIC kernel for it (with ATAPI included). I tried booting
this kernel on my developement machine and it failed. It eroneously attached
wds0 and wds1, giving LOTS of errors when trying to find SCSI devices :-(
and mcd0, which prevented my network card to be found.

After removing wds and mcd from GENERIC I could boot and connect to the
network. The odds for finding a mcd device or a wds controller vs. the
hardware I happen to have are quite minimal, so I suggest removing them
if fixing is not possible. They should not prevent the installation of
NetBSD on quite common hardware!

For reference, here is the boot message of the GENERIC kernel with
mcd and wds removed:

NetBSD 1.2D (GENERIC) #2: Fri Apr 11 12:33:16 MEST 1997
cpu0: family 6 model 3 step 2
cpu0: Intel Pentium Pro (686-class) with MMX
real mem  = 64798720
avail mem = 58048512
using 816 buffers containing 3342336 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82440FX (Natoma) PCI and Memory Controller (rev. 0x02)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371SB (Triton II) PCI-ISA Bridge (rev. 0x01)
Intel 82371SB (Triton II) IDE controller (IDE mass storage, interface 0x80) at pci0 dev 7 function 1 not configured
unknown vendor 0x121a product 0x0001 (video multimedia, revision 0x02) at pci0 dev 11 function 0 not configured
ATI Technologies product 0x5654 (VGA display, revision 0x48) at pci0 dev 17 function 0 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com2 at isa0 port 0x3e8-0x3ef irq 5: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
wd0 at wdc0 drive 0: <WDC AC21600H>
wd0: 1549MB, 3148 cyl, 16 head, 63 sec, 512 bytes/sec
wd0: using 16-sector 16-bit pio transfers, lba addressing
wd1 at wdc0 drive 1: <Maxtor 83500 A8>
wd1: 3346MB, 6800 cyl, 16 head, 63 sec, 512 bytes/sec
wd1: using 16-sector 16-bit pio transfers, lba addressing
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus1 at wdc1
acd0 at atapibus1 drive 0: <MATSHITADVD-ROM SR-8581 PP1@06/27/96, , 048A> type 5/cdrom removable
acd0: medium type unknown
acd1 at atapibus1 drive 1: <CD-ROM CDU311, , 3.0i> type 5/cdrom removable
acd1: drive empty
ed2 at isa0 port 0x300-0x31f irq 10
ed2: address 00:00:b4:32:29:61, type NE2000 (16-bit)
sb0 at isa0 port 0x220-0x237 irq 7 drq 1: dsp v3.02
wss0 at isa0 port 0x530-0x537 irq 10 drq 0: broken (vers 63)
wss: could not attach to audio pseudo-device driver (22)
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x207
isapnp0: card 1 violates PnP spec; byte 2
isapnp0: <CS4232, CSC0000, WSS/SB> port 0x608/4,0x388/4,0x240/16 irq 5 drq 1,0 not configured
joy0 at isapnp0 port 0x208/8
joy0: CS4232 Game
joy0: joystick not connected
isapnp0: <CS4232, CSC0010, Ctrl> port 0xf00/8 not configured
isapnp0: <CS4232, CSC0003, MPU> port 0x330/2 irq 9 not configured
apm0 at mainbus0: Power Management spec V1.1 (BIOS mgmt disabled) (BIOS managing devices)
apm0: A/C state: on
apm0: battery charge state: no battery
biomask c040 netmask c440 ttymask c4c2
boot device: wd1
root on wd1a swap on wd1b
root file system type: ffs

Build GENERIC kernel and boot on system with secondary IDE controller
and NE2000 compatible at IO 300


Fix probe routines of wds and mcd. Until then: remove both from GENERIC!