NetBSD-Bugs archive

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

kern/44776: dual fiber i82546GB (wm) worked in NetBSD-4, not in -5, nor in -current



>Number:         44776
>Category:       kern
>Synopsis:       dual fiber i82546GB (wm) worked in NetBSD-4, not in -5, nor in 
>-current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 27 18:55:00 +0000 2011
>Originator:     Bert Kiers
>Release:        5.1 GENERIC i386
>Organization:
XS4ALL
>Environment:
NetBSD mammalou.boppelans.net 5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov  7 14:39:56 
UTC 2010  
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
dual fiber i82546GB (wm(4), Intel PRO/1000 MF Server Adapter) worked in 
NetBSD-4.0.2, but not in NetBSD-5.0.2, nor in -current

Hardware is a Soekris 5501, switch is HP 1800-24G

Card is probed in NetBSD-4 as:
wm1 at pci0 dev 14 function 1: Intel i82546GB 1000BASE-X Ethernet, rev. 3
wm1: interrupting at irq 15
wm1: Ethernet address 00:04:23:ae:2a:d5
wm1: 1000baseSX, 1000baseSX-FDX, auto

and in NetBSD-5.1 as:
wm1 at pci0 dev 14 function 1: Intel i82546GB 1000BASE-X Ethernet, rev. 3
wm1: interrupting at irq 15
wm1: 32-bit 33MHz PCI bus
wm1: 256 word (8 address bits) MicroWire EEPROM
wm1: Ethernet address 00:04:23:ae:2a:d5
wm1: 1000baseSX, 1000baseSX-FDX, auto

as soon as ifconfig or dhclient touches it, the link on the switch goes down 
and then (ofcourse) no traffic. After a reboot, there is link again.

now link, then
mammalou# ifconfig wm1
wm1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        
capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
        enabled=0
        address: 00:04:23:ae:2a:d5
        media: Ethernet autoselect (1000baseSX full-duplex)
        status: active
still link
mammalou# ifconfig wm1 up
(or # dhclient wm1)
now, no more link
mammalou# ifconfig wm1
wm1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        
capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
        enabled=0
        address: 00:04:23:ae:2a:d5
        media: Ethernet autoselect (none)
        status: no carrier
        inet6 fe80::204:23ff:feae:2ad5%wm1 prefixlen 64 scopeid 0x6

mammalou# ifconfig wm1 media 1000base-SX
mammalou# ifconfig wm1
wm1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        
capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
        enabled=0
        address: 00:04:23:ae:2a:d5
        media: Ethernet 1000baseSX (1000baseSX full-duplex)
        status: active
        inet6 fe80::204:23ff:feae:2ad5%wm1 prefixlen 64 scopeid 0x6

at this moment, NetBSD sees link, but switch does not

mediaopt fdx does not change things

>How-To-Repeat:
# ifconfig wm1 up
ethernet link link goes down

>Fix:



Home | Main Index | Thread Index | Old Index