panic: Assertion in_epoch(net_epoch_preempt) failed at ... src/sys/net/if.c:3694

Masachika ISHIZUKA ish at amail.plala.or.jp
Sat Jan 25 01:07:00 UTC 2020


>>> H> >>>    My machine was panicked on r357061 with in_epoch in netisr.c.
>>> H> >>>    I can not capture screen.
>>> H> >>
>>> H> >>    Screenshot was uploaded to 
>>> H> >> https://www.ish.org/files/panic-r357061.jpeg
>>> H> >>
>>> H> > 
>>> H> > Looks like the WLAN subsystem needs some patches for EPOCH().
>>> H> > 
>>> H> > Gleb, did you do a "grep -r" for relevant functions before committing 
>>> H> > the recent EPOCH changes?
>>> H> 
>>> H> Can you try these two patches:
>>> H> https://reviews.freebsd.org/D23347
>>> H> https://reviews.freebsd.org/D23348
>>> 
>>> You could just plug it with a one liner that adds IFF_NEEDSEPOCH
>>> in ieee80211_vap_attach().
>>> 
>>> Or fix ath, which I'm going to do in next five minutes.
>> 
>>   Now, I'm doing buildworld/buildkernel on r357093 with D23347 and D23348.
> 
>   Hi.
> 
>   t357093 with D23347 and D23348 was panicked.
>   Screenshot is https://www.ish.org/files/panic-r357093+D23347+D23348.jpeg

  My network is shown below.

% ifconfig
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether XX:XX:XX:XX:XX:XX
        media: Ethernet autoselect (none)
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=800000<>
        ether XX:XX:XX:XX:XX:XX
        hwaddr XX:XX:XX:XX:XX:XX
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether XX:XX:XX:XX:XX:XX
        groups: wlan
        ssid XXXXXXXX channel 11 (2462 MHz 11g ht/20) bssid XX:XX:XX:XX:XX:XX
        regdomain JAPAN country JP indoor ecm authmode WPA2/802.11i
        privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7
        scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 4 shortgi
        -stbctx stbcrx -ldpc wme burst roaming MANUAL
        media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11ng
        status: associated
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether XX:XX:XX:XX:XX:XX
        inet XXX.XXX.XXX.XXX netmask 0xffffff00 broadcast XXX.XXX.XXX.XXX
        inet6 fe80::5%lagg0 prefixlen 64 scopeid 0x5
        inet6 XXXX:XXXX:XXXX:XXXX::XXXX prefixlen 64 autoconf
        laggproto failover lagghash l2,l3,l4
        laggport: em0 flags=5<MASTER,ACTIVE>
        laggport: wlan0 flags=0<>
        groups: lagg
        media: Ethernet autoselect
        status: active
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
-- 
Masachika ISHIZUKA


More information about the freebsd-current mailing list