Subject: port-i386/4560: 1.3 Alpha hangs with SMC 8434BT dual card
To: None <gnats-bugs@gnats.netbsd.org>
From: Michael C. Richardson <mcr@ssh.fi>
List: netbsd-bugs
Date: 11/22/1997 02:04:43
>Number:         4560
>Category:       port-i386
>Synopsis:       this card worked with 1.2, but 1.3 crashes with it.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 21 16:35:02 1997
>Last-Modified:
>Originator:     Michael Richardson
>Organization:
SSH Community Security Oy
>Release:        1.3
>Environment:
NetBSD 1.3_ALPHA (GENERIC) #2: Thu Nov 20 15:53:59 EET 1997
    mcr@ovi.ssh.fi:/m/taulu/1/netbsd13/usr/src/sys/arch/i386/compile/GENERIC
>Description:
	1.3_ALPHA kernel hangs, or fails to boot with SMC dual
	ethernet card in it.

	Boot messages:

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_ALPHA (GENERIC) #2: Thu Nov 20 15:53:59 EET 1997
    mcr@ovi.ssh.fi:/m/taulu/1/netbsd13/usr/src/sys/arch/i386/compile/GENERIC
cpu0: family 5 model 2 step b
cpu0: Intel Pentium (P54C) (586-class)
real mem  = 33161216
avail mem = 28209152
using 430 buffers containing 1761280 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82437FX System Controller (TSC) (rev. 0x02)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371FB PCI-to-ISA Bridge (PIIX) (rev. 0x02)
Intel 82371FB IDE controller (PIIX) (IDE mass storage, interface 0x80, revision 0x02) at pci0 dev 7 function 1 not configured
S3 86C968-0 ("Vision968") (VGA display) at pci0 dev 18 function 0 not configured
ppb0 at pci0 dev 19 function 0: Digital Equipment DECchip 21050 PCI-PCI Bridge (rev. 0x02)
pci1 at ppb0 bus 1
de0 at pci1 dev 4 function 0
de0: interrupting at irq 11
de0: SMC 8434BT-CH1 21040 [10Mb/s] pass 2.3
de0: address 00:00:c0:22:00:c0
de1 at pci1 dev 5 function 0
de1: interrupting at irq 12
de1: SMC 8434BT-CH2 21040 [10Mb/s] pass 2.3
de1: address 00:00:c0:97:02:c0
isa0 at pcib0
ne0 at isa0 port 0x280-0x29f irq 9
ne0: NE2000 Ethernet
ne0: Ethernet address 48:54:33:00:eb:eb
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt2 at isa0 port 0x3bc-0x3bf: polled
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
wd0 at wdc0 drive 0: <WDC AC31000F>
wd0: 1033MB, 2100 cyl, 16 head, 63 sec, 512 bytes/sec
wd0: using 16-sector 16-bit pio transfers, lba addressing
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
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
biomask 4040 netmask 5a40 ttymask 5a42
boot device: wd0
root device (default wd0a): 
dump device (default wd0b): 
file system (default generic): 
root on wd0a dumps on wd0b
root file system type: ffs
>How-To-Repeat:
	Boot a 1.3 GENERIC kernel (either compiled, or from the
	FTP site). Configure the card with an IP address. As soon
	as a packet arrives on the port, the system freezes.
	 
	The system has a high chance of failing to get beyond the
	"root file system type: ffs" with the card in the computer.
	It makes it sometimes, but crashes as soon as /etc/netstart
	runs. Removing the card from the computer results in a 
	stable, consistent boot. We were hoping to go to 1.3 to
	get support for the entire SMC/DEC network card range, which
	1.2 does not support.

	Note: we do have /dev/console, and the system *does* boot
	if one tries enough, but it does crash if de0/de1 is configured.

	The identical setup ran 1.2G.
>Fix:

>Audit-Trail:
>Unformatted: