Hello,
It's been a while since I upgraded to 9.0 that I'm having this annoying problem that results in the network being unavailable after boot. The /etc/rc.d/routing script fails (see dmesg) and I need to execute that script manually after boot to get access.
Here is the relevant dmesg output:
As you can see my card is using the bge(4) driver and at first glance it seems that it is taking too long to get the link up. But actually even after adding a sleep and checking that the link is up in a custom rc.d the result is the same. It seems that for some reason the link falls just as the routes are about to be added.
I've googled and googled but found no solution (tried different sleep methods, media and mediaopt settings) but haven't been able to solve this. So far I have managed to ignore it (I seldom reboot anyway) but it would be great if anyone here could help. My rc.conf (also attached) has just the following network configuration options (ip redacted):
It's been a while since I upgraded to 9.0 that I'm having this annoying problem that results in the network being unavailable after boot. The /etc/rc.d/routing script fails (see dmesg) and I need to execute that script manually after boot to get access.
Here is the relevant dmesg output:
Code:
route: writing to routing socket: Network is unreachable
add net default: gateway x.x.x.1: Network is unreachable
route: writing to routing socket: Network is unreachable
add net ::ffff:0.0.0.0: gateway ::1: Network is unreachable
route: writing to routing socket: Network is unreachable
add net ::0.0.0.0: gateway ::1: Network is unreachable
route: writing to routing socket: Network is unreachable
add net fe80::: gateway ::1: Network is unreachable
route: writing to routing socket: Network is unreachable
add net ff02::: gateway ::1: Network is unreachable
bge0: link state changed to DOWN
Starting Network: lo0 bge0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
ether 00:15:60:a0:b8:e5
inet x.x.x.30 netmask 0xffffff00 broadcast x.x.x.255
inet6 (...)%bge0 prefixlen 64 tentative scopeid 0x1
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (none)
status: no carrier
Starting devd.
As you can see my card is using the bge(4) driver and at first glance it seems that it is taking too long to get the link up. But actually even after adding a sleep and checking that the link is up in a custom rc.d the result is the same. It seems that for some reason the link falls just as the routes are about to be added.
I've googled and googled but found no solution (tried different sleep methods, media and mediaopt settings) but haven't been able to solve this. So far I have managed to ignore it (I seldom reboot anyway) but it would be great if anyone here could help. My rc.conf (also attached) has just the following network configuration options (ip redacted):
Code:
defaultrouter="x.x.x.1"
ifconfig_bge0="inet x.x.x.30 netmask 255.255.255.0"