Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Dec 2016 09:57:19 -0500
From:      "J.R. Oldroyd" <fbsd@opal.com>
To:        freebsd-wireless@freebsd.org
Subject:   Boot freeze 11.0p3 during network initialization
Message-ID:  <20161208095719.30f3c60e@shibato>

next in thread | raw e-mail | index | archive | help
I have observed a 11.0p3 freezing during the boot process several times
now.

It gets as far as running the netif script, displaying the interfaces and
then goes on to devd and dhclient at which point it stops dead.  No keyboard
response.  It requires long-press of power to shut it down and restart, at
which point it typically boots normally:

wlan0: Ethernet address: 70:1a:04:xx:yy:zz
Created wlan(4) interfaces: wlan0.
Created clone interfaces: lagg0.
re0: link state changed to DOWN
Starting wpa_supplicant.
lagg0: link state changed to DOWN
re0: link state changed to UP
lagg0: link state changed to UP
Starting Network: lo0 re0 wlan0 lagg0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=82098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether 70:1a:04:xx:yy:zz
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 70:1a:04:xx:yy:zz
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        ssid "" channel 153 (5765 MHz 11a)
        regdomain FCC country US indoor ecm authmode WPA1+WPA2/802.11i
        privacy MIXED deftxkey UNDEF txpower 23 bmiss 7 mcastrate 6 mgmtrate 6
        scanvalid 60 wme burst roaming MANUAL bintval 0
        groups: wlan
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 70:1a:04:xx:yy:zz
        inet6 fe80::721a:4ff:fexx:yyzz%lagg0 prefixlen 64 scopeid 0x4
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: active
        groups: lagg
        laggproto failover lagghash l2,l3,l4
        laggport: re0 flags=5<MASTER,ACTIVE>
        laggport: wlan0 flags=0<>
Starting devd.
Starting dhclient.
----- freezes dead here

On a normal boot, the next lines would be:
wlan0: link state changed to UP
Starting pflog.
pflog0: promiscuous mode enabled

This is a laptop with its re0 and wlan0 interfaces configured together
under lagg using the wlan's MAC as the re's MAC too.

The relevant config in rc.conf are these:

ether_wlan0="70:1a:04:xx:yy:zz"
ifconfig_re0="ether $ether_wlan0 -txcsum -rxcsum up"
wlans_ath0=wlan0
create_args_wlan0="regdomain FCC country US"
ifconfig_wlan0="WPA"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport re0 laggport wlan0 DHCP"    # WAN_IF
ifconfig_lagg0_ipv6="inet6 accept_rtadv"

This boot freeze happens probably 5-10% of the time, so problematic
enough.

This problem was never observed on 10.x or 9.x or even 8.x on the same
laptop.

What other info can I provide?

	-jr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161208095719.30f3c60e>