Subject: port-i386/5349: ep ethernet card not recognized during multiuser boot if in lower slot
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ignatios@cs.uni-bonn.de>
List: netbsd-bugs
Date: 04/22/1998 13:47:32
>Number:         5349
>Category:       port-i386
>Synopsis:       ep ethernet card not recognized during multiuser boot if in lower slot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 22 05:20:01 1998
>Last-Modified:
>Originator:     Ignatios Souvatzis
>Organization:
	
>Release:        NetBSD-1.3.1
>Environment:
	
System: NetBSD laplace 1.3.1 NetBSD 1.3.1 (LAPLACE) #2: Wed Apr 22 12:40:01 CEST 1998 ignatios@sinus:/usr/obj/kernel/LAPLACE i386


>Description:
	When booting multiuser with the Ethernet card (3c589C) in the lower
	slot and the modem card (LASAT CREDIT 288) in the upper slot of this
	no-namish 486DX2 laptop, the Ethernet card isn't recognized by the
	kernel. It is recognized when

	booting single user OR
	booting when the modem card is out OR
	booting with Ethernet in the upper and modem in the lower OR
	ejecting and re-inserting it after the kernel has booted.

	The latter would require user intervention to configure the card,
	however.

The behaviour is the same when using the generic 1.3.1 kernel.

	Here is the msgbuf from this boot (with ethernet in the upper slot):

Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.3.1 (LAPLACE) #2: Wed Apr 22 12:40:01 CEST 1998
    ignatios@sinus:/usr/obj/kernel/LAPLACE
cpu0: Intel 486DX (486-class)
real mem  = 7991296
avail mem = 6602752
using 123 buffers containing 503808 bytes of memory
mainbus0 (root)
isa0 at mainbus0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns8250 or ns16450, no fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: <TOSHIBA MK2326FCH>
wd0: 324MB, 969 cyl, 14 head, 49 sec, 512 bytes/sec
wd0: using 16-sector 16-bit pio transfers, chs addressing
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
spkr0 at pc0 port 0x61
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 5
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
com2 at pcmcia0 function 0 port 0x330-0x337: ns16550a, working fifo
pcmcia0: card irq 9
pcmcia1 at pcic0 controller 0 socket 1
ep0 at pcmcia1 function 0 port 0x340-0x34f: 3Com 3C589 Ethernet
ep0: MAC address 00:60:97:4a:5f:90
ep0: 8KB byte-wide FIFO, 5:3 Rx:Tx split, utp/aui/bnc (default utp)
biomask 4040 netmask 4040 ttymask 40e2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
pcmcia1: card irq 11

>How-To-Repeat:
	Boot multiuser. Wonder why you cant mount over nfs. Dont find any 
	ethernet devices. Check /kern/msgbuf. Curse.
>Fix:
	Fix is n/a.
	Workaround for me: remove the serial card, or swap serial and ethernet.
>Audit-Trail:
>Unformatted: