Date: Wed, 04 Sep 2013 17:33:24 +0700 From: Olivier Nicole <Olivier.Nicole@cs.ait.ac.th> To: questions@freebsd.org Subject: Network startup with age Ethernet device Message-ID: <wu7ob88naff.fsf@banyan.cs.ait.ac.th>
next in thread | raw e-mail | index | archive | help
Hi, I want to set-up a small server from an Asus P5L-MX motherboard. It has an onboard gigabit Ethrnet that works with the driver age. Problem is that at boot, I experience the interface to go up and down a couple of times, and it is usually down when Apache try to start, so Apache would not start (nor ntpd). I resolved to add a 5 seconds sleep in /etc/rc.d/netif but there may be a more elegant way to solve that. Help is welcome. Thanks in advance, Olivier In the extract of /var/log/message below you can see 6 seconds delay between the ifconfig and the interface finally up and running. By that time ntpd and apache have failed starting. Sep 4 16:36:58 door kernel: Starting Network: lo0 age0 plip0. Sep 4 16:36:58 door kernel: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> met\ ric 0 mtu 16384 Sep 4 16:36:58 door kernel: options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IP\ V6> Sep 4 16:36:58 door kernel: inet6 ::1 prefixlen 128 Sep 4 16:36:58 door kernel: inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 Sep 4 16:36:58 door kernel: inet 127.0.0.1 netmask 0xff000000 Sep 4 16:36:58 door kernel: nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> Sep 4 16:36:58 door kernel: age0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULT\ ICAST> metric 0 mtu 1500 Sep 4 16:36:58 door kernel: options=c319b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGIN\ G,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC,VLAN_HWTSO,LINKSTATE> [...] Sep 4 16:37:00 door kernel: age0: link state changed to UP Sep 4 16:37:00 door kernel: age0: link state changed to UP Sep 4 16:37:01 door kernel: age0: link state changed to DOWN Sep 4 16:37:01 door kernel: age0: link state changed to DOWN [...] Sep 4 16:37:04 door kernel: age0: link state changed to UP Sep 4 16:37:04 door kernel: age0: link state changed to UP --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wu7ob88naff.fsf>