[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel/1426: OpenBSD -current dual 905B NIC support broken




>Number:         1426
>Category:       kernel
>Synopsis:       OpenBSD -current dual 905B NIC support broken
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct  1 10:10:02 MDT 2000
>Last-Modified:
>Originator:     Jeff
>Organization:
Jeff Bachtel  (NOC,CIS,TAMU)    http://www.cepheid.org/~jeff
				[finger jeff@cepheid.org for PGP key]
Mountain Dew and doughnuts...
because breakfast is the most important meal of the day.
>Release:        2.8-current (Sep 29 snapshot)
>Environment:
	
	System      : OpenBSD 2.8
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
	This box runs as a bridging firewall, thus it has had dual
	3com 905b NIC's since OpenBSD 2.5. They have always work, and
	in fact work in 2.7-release, but do not work on more current
	kernels.
>How-To-Repeat:
	Put in two 905B's. Watch kernel do this on boot:
xl0 at pci0 dev 9 function 0 "3Com 3c905B 100Base-TX" rev 0x30: irq 9xl0:
  command never completed!
  address 00:50:04:8a:9f:69
exphy0 at xl0 phy 24: 3Com internal media interface
xl0: command never completed!
xl1 at pci0 dev 10 function 0 "3Com 3c905B 100Base-TX" rev 0x30: irq 10xl1:
  command never completed!
  address 00:19:5a:1d:84:84
exphy1 at xl1 phy 24: 3Com internal media interface
kernel: page fault trap, code=0
Stopped at _ifmedia_add+0x4e		movl %edx,0(%eax)

>Fix:
	Remove second NIC, watch system boot fine (dmesg follows)


OpenBSD 2.8-beta (GENERIC) #336: Fri Sep 29 15:20:05 MDT 2000
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD K6-2 ("AuthenticAMD" 586-class) 298 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 66695168 (65132K)
avail mem = 56971264 (55636K)
using 839 buffers containing 3436544 bytes (3356K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(3b) BIOS, date 05/28/98, BIOS32 rev. 0 @ 0xfb530
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 found at 0xf0000[0xb9a8]
pcibios0: PCI IRQ Routing Table rev. 1.0 found at 0xfdea0, size 112 bytes (5 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C586 (Apollo VP) PCI-ISA" rev 0x00)
pcibios0: PCI Exclusive IRQs: 0
pcibios0: PCI bus #1 is the last bus
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "VIA VT82C597 (Apollo VP3) Host-PCI" rev 0x04
ppb0 at pci0 dev 1 function 0 "VIA VT82C598 (Apollo MVP3) PCI-AGP" rev 0x00
pci1 at ppb0 bus 1
"Texas Instruments 3DLabs Permedia 2" rev 0x01 at pci1 dev 0 function 0 not configured
pcib0 at pci0 dev 7 function 0 "VIA VT82C586 (Apollo VP) PCI-ISA" rev 0x41
pciide0 at pci0 dev 7 function 1 "VIA VT82C586A IDE" rev 0x06: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALL1080A>
wd0: can use 32-bit, PIO mode 4, DMA mode 2
wd0: 8-sector PIO, LBA, 1039MB, 2112 cyl, 16 head, 63 sec, 2128896 sectors
wd1 at pciide0 channel 0 drive 1: <Maxtor 90845D4>
wd1: can use 32-bit, PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd1: 16-sector PIO, LBA, 8063MB, 16383 cyl, 16 head, 63 sec, 16514064 sectors
pciide0: channel 0 interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
wd2 at pciide0 channel 1 drive 1: <IBM-DTTA-371440>
wd2: can use 32-bit, PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd2: 16-sector PIO, LBA, 13783MB, 16383 cyl, 16 head, 63 sec, 28229040 sectors
pciide0: channel 1 interrupting at irq 15
wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
"VIA VT82C586 (Apollo VP) Power Management" rev 0x10 at pci0 dev 7 function 3 not configured
xl0 at pci0 dev 9 function 0 "3Com 3c905B 100Base-TX" rev 0x30: irq 9xl0: command never completed!
 address 00:50:04:8a:9f:69
exphy0 at xl0 phy 24: 3Com internal media interface
xl0: command never completed!
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
vt0 at isa0 port 0x60/16 irq 1: vga 80 col, color, 8 scr, mf2-kbd
pms0 at vt0 irq 12
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
isapnp0 at isa0 port 0x279: read port 0x203
sb1 at isapnp0 "Creative ViBRA16X PnP, CTL0043, , Audio" port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,3: dsp v4.16
midi1 at sb1: <SB MPU-401 UART>
audio0 at sb1
opl0 at sb1: model OPL3
midi2 at opl0: <SB Yamaha OPL3>
joy0 at isapnp0 "Creative ViBRA16X PnP, CTL7005, PNPB02F, Game" port 0x201/1
biomask c040 netmask c240 ttymask d2c2
pctr: user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
dkcsum: wd2 matched BIOS disk 82
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
IP Filter: already initialized

>Audit-Trail:
>Unformatted: