NetBSD-Bugs archive

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

kern/40120: NetBSD 5.0 BETA bge(4) driver not working correctly for some (fiber) interface cards



>Number:         40120
>Category:       kern
>Synopsis:       NetBSD 5.0 BETA bge(4) driver not working correctly for some 
>(fiber) interface cards
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 06 17:45:00 +0000 2008
>Originator:     Fredrik Pettai
>Release:        NetBSD 5 BETA (200811010002Z)
>Organization:
NORDUnet A/S
>Environment:
NetBSD wilma 5.0_BETA NetBSD 5.0_BETA (GENERIC) #0: Sat Nov  1 02:18:42 PDT 
2008  
builds@wb25:/home/builds/ab/netbsd-5/i386/200811010002Z-obj/home/builds/ab/netbsd-5/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
The bge(4) driver stopped working correctly with some 1000SX (fiber cards) then 
going from NetBSD 4.0.1 -> NetBSD 5.0 BETA

NetBSD 5.0 BETA output (Dell 2650 + extra interface cards):

wilma# grep bge2 /var/run/dmesg.boot:
bge2 at pci5 dev 6 function 0: Broadcom BCM5701 Gigabit Ethernet
bge2: interrupting at ioapic1 pin 8 (irq 10)
bge2: ASIC BCM5701 B5 (0x0105), Ethernet address 00:0a:5e:01:06:28

wilma# ifconfig bge2
bge2: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        
capabilities=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 00:0a:5e:01:06:28
        media: Ethernet autoselect (1000baseSX full-duplex)
        status: active

---

NetBSD 4.0.1 output (an almost identical machine):

$ grep bge2 /var/run/dmesg.boot
bge2 at pci4 dev 8 function 0: Broadcom BCM5701 Gigabit Ethernet
bge2: interrupting at ioapic1 pin 4 (irq 10)
bge2: ASIC BCM5701 B5 (0x0105), Ethernet address 00:04:76:f8:e9:63

$ ifconfig bge2
bge2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        
capabilities=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 00:04:76:f8:e9:63
        media: Ethernet autoselect (1000baseSX full-duplex)
        status: no carrier
>How-To-Repeat:
Under NetBSD 5.0 BETA:

wilma# ifconfig bge2 inet 130.242.82.186 netmask 0xfffffffc
bge2: block failed to stop: reg 0x3400, bit 0x00000002
bge2: block failed to stop: reg 0x2400, bit 0x00000002
ifconfig: SIOCAIFADDR: Invalid argument
wilma#

---

Under NetBSD 4.0.1:

dino# ifconfig bge2 inet 10.0.0.1 netmask 0xfffffffc
dino#


>Fix:



Home | Main Index | Thread Index | Old Index