Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2020 10:06:40 +0900 (JST)
From:      Masachika ISHIZUKA <ish@amail.plala.or.jp>
To:        glebius@freebsd.org
Cc:        hps@selasky.org, current@freebsd.org
Subject:   Re: panic: Assertion in_epoch(net_epoch_preempt) failed at ... src/sys/net/if.c:3694
Message-ID:  <20200125.100640.1457818166521629073.ish@amail.plala.or.jp>
In-Reply-To: <20200125.094106.153690936170588907.ish@amail.plala.or.jp>
References:  <20200124165726.GN1268@FreeBSD.org> <20200125.065317.610346733356820759.ish@amail.plala.or.jp> <20200125.094106.153690936170588907.ish@amail.plala.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
>>> H> >>> =A0=A0 My machine was panicked on r357061 with in_epoch in n=
etisr.c.
>>> H> >>> =A0=A0 I can not capture screen.
>>> H> >>
>>> H> >> =A0=A0 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 com=
mitting =

>>> 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 D=
23348.
> =

>   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=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCS=
UM,WOL_MAGIC,LINKSTATE>
        ether XX:XX:XX:XX:XX:XX
        media: Ethernet autoselect (none)
        status: no carrier
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
        options=3D800000<>
        ether XX:XX:XX:XX:XX:XX
        hwaddr XX:XX:XX:XX:XX:XX
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV=
6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mt=
u 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=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lagg0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mt=
u 1500
        ether XX:XX:XX:XX:XX:XX
        inet XXX.XXX.XXX.XXX netmask 0xffffff00 broadcast XXX.XXX.XXX.X=
XX
        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=3D5<MASTER,ACTIVE>
        laggport: wlan0 flags=3D0<>
        groups: lagg
        media: Ethernet autoselect
        status: active
        nd6 options=3D3<PERFORMNUD,ACCEPT_RTADV>
-- =

Masachika ISHIZUKA



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