NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-amd64/47782: intermittent issue ifconfig cannot assign link-local address
>Number: 47782
>Category: port-amd64
>Synopsis: intermittent issue ifconfig cannot assign link-local address
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-amd64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 29 13:55:00 +0000 2013
>Originator: Stephen Jones
>Release: 6.0.1, 6.1_RC3
>Organization:
>Environment:
NetBSD testhost 6.0.1 NetBSD 6.0.1 (GENERIC) amd64
>Description:
I'm seeing an issue with ifconfig failing in an unpredictable way which may be
related to inet6.
For instance:
$ ksh network stop
Stopping network.
Deleting aliases.
Downing network interfaces: bge0 bge1.
$ ksh network start
Starting network.
Hostname: NetBSD
NIS domainname: NetBSD
IPv6 mode: host
Configuring network interfaces: bge0 bge1.
Adding interface aliases:.
add net default: gateway x.x.x.x
Works fine, but then doing the same command again:
$ ksh /etc/rc.d/network stop
Stopping network.
Deleting aliases.
Downing network interfaces: bge0 bge1.
$ ksh /etc/rc.d/network start
Starting network.
Hostname: NetBSD
NIS domainname: NetBSD
bge0: cannot assign link-local address
bge0: cannot assign link-local address
IPv6 mode: host
Configuring network interfaces: bge0ifconfig: exec_matches:
Invalid argument
ifconfig: SIOCSIFMEDIA: Invalid argument
bge1.
Adding interface aliases:.
route: writing to routing socket: Network is unreachable
add net default: gateway x.x.x.x: Network is unreachable
And a basic ifconfig fails as well:
$ ifconfig bge0 inet x.x.x.x netmask 255.255.255.0 media 1000baseT mediaopt
full-duplex
ifconfig: SIOCSIFMEDIA: Invalid argument
bge0: cannot assign link-local address
bge0: cannot assign link-local address
I have not changed the switch or with the physical interface, so it seems to be
software issue.
The odd thing is that reboot a couple of times will allow the machine to come
up as it should.
NetBSD 6.0.1 and 6.1_RC3 GENERIC. This seems to only affect the bge0 interface
and never the bge1 interface. Both have similar ifconfig.xxxx files (IPs
differ) and it also affects the other machines I'm working with.
>How-To-Repeat:
It is intermittent, but either stopping and starting the network or just
booting with auto network configuration may cause it. a simple ifconfig bge0
x.x.x.x will fail with a SIOCSIMEDIA. When the interface is in this state,
ifconfig bge0 under media: will report 'Ethernet none (1000baseT full-duplex)'
/etc/ifconfig.bge0 looks like:
up
x.x.x.x netmask 255.255.255.0 media 1000baseT mediaopt full-duplex
>Fix:
None known
Home |
Main Index |
Thread Index |
Old Index