Subject: kern/37364: IPv6 problems with bnx(4)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 11/12/2007 07:10:00
>Number:         37364
>Category:       kern
>Synopsis:       IPv6 problems with bnx(4)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 12 07:10:00 +0000 2007
>Originator:     Martti Kuparinen
>Release:        NetBSD 4.0_RC4
>Organization:
>Environment:
System: NetBSD p130.mydomain.net 4.0_RC4 NetBSD 4.0_RC4 (P130) #1: Fri Nov 9 10:21:39 EET 2007 root@p130.mydomain.net:/usr/src/sys/arch/amd64/compile/P130 amd64
Architecture: x86_64
Machine: amd64
>Description:

I'm having big problems with the bnx(4) interface on NetBSD 4.0_RC4, the
interface will not autoconfigure itself and I don't get the default route
from the RA message. If I physically replace the bnx(4) interface with e.g.
wm(4) everything works just fine.

Here's part of my dmesg:

bnx0 at pci14 dev 0 function 0: Broadcom NetXtreme II BCM5708 1000Base-T
bnx0: Ethernet address xx:xx:xx:xx:xx:xx

>How-To-Repeat:

- try using a host with bnx(4) interface (e.g. Dell PowerEdge 29x0)
- set ip6mode=autohost in /etc/rc.conf and reboot
- run "netstat -rnf inet6 | grep default" and notice that you don't have
  the default router configured even though your router is sending RAs
- run "rtsol bnx0" and notice you still don't get the default router configured
- on another terminal, run "tcpdump -ni bnx0" to set the interface into
  promiscuous mode
- re-run "rtsol bnx0" and notice you have now the default router configured

References:

http://mail-index.netbsd.org/current-users/2007/11/09/0001.html
http://mail-index.netbsd.org/current-users/2007/11/09/0002.html
http://mail-index.netbsd.org/current-users/2007/11/12/0007.html

>Fix: