Date: Mon, 21 Sep 2020 08:16:27 -0400 From: Shawn Webb <shawn.webb@hardenedbsd.org> To: Kristof Provost <kp@FreeBSD.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: iflib/bridge kernel panic Message-ID: <20200921121627.3dovpumnl6xub3kn@mutt-hbsd> In-Reply-To: <58CADEBB-64FD-414E-AB19-E4F8D3CABCA5@FreeBSD.org> References: <CAExMvskTkVprZsfXHBUv9stpiCo1QBAzoOg1VrWd4kRbz0NyJg@mail.gmail.com> <58CADEBB-64FD-414E-AB19-E4F8D3CABCA5@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--mv567ducpuubc3ie Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 21, 2020 at 09:57:40AM +0200, Kristof Provost wrote: > On 21 Sep 2020, at 2:52, Shawn Webb wrote: > >> From latest HEAD on a Dell Precision 7550 laptop: > > > > https://gist.github.com/lattera/a0803f31f58bcf8ead51ac1ebbc447e2 > > > > The last working boot environment was 14 Aug 2020. If I get some time to > > bisect commits, I'll try to figure out the culprit. > > > Try https://reviews.freebsd.org/D26418 That seems to fix the kernel panic. dmesg gets spammed with a freak ton of these LOR messages now: =3D=3D=3D=3D BEGIN LOG 01 =3D=3D=3D=3D Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] Sleeping on "e1000_delay" with = the following non-sleepable locks held: Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] exclusive sleep mutex if_bridge= (if_bridge) r =3D 0 (0xfffff8001ea07218) locked @ /usr/src/sys/net/if_brid= ge.c:827 Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] stack backtrace: Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #0 0xffffffff80c6c4a1 at witnes= s_debugger+0x71 Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #1 0xffffffff80c6d5bd at witnes= s_warn+0x40d Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #2 0xffffffff80c09b8b at _sleep= +0x5b Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #3 0xffffffff80c0a38e at pause_= sbt+0xfe Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #4 0xffffffff80652b2d at e1000_= write_phy_reg_mdic+0xed Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #5 0xffffffff80656bde at __e100= 0_write_phy_reg_hv+0x1ce Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #6 0xffffffff80640ea9 at e1000_= lv_jumbo_workaround_ich8lan+0x799 Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #7 0xffffffff8062329e at em_if_= init+0x151e Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #8 0xffffffff80d347a9 at iflib_= init_locked+0x2d9 Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #9 0xffffffff80d36b08 at iflib_= if_ioctl+0x1b8 Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #10 0xffffffff83c582ac at bridg= e_set_ifcap+0x8c Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #11 0xffffffff83c544c8 at bridg= e_ioctl_add+0x4c8 Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #12 0xffffffff83c560ff at bridg= e_ioctl+0x2df Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #13 0xffffffff80d9f1a1 at in_co= ntrol+0x341 Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #14 0xffffffff80d16266 at ifioc= tl+0x766 Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #15 0xffffffff80c715a0 at kern_= ioctl+0x290 Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #16 0xffffffff80c71267 at sys_i= octl+0x127 Sep 21 08:08:28 hbsd-laptop-02 kernel: [25] #17 0xffffffff8122bf4c at amd64= _syscall+0x14c =3D=3D=3D=3D END LOG 01 =3D=3D=3D=3D =3D=3D=3D=3D BEGIN LOG 02 =3D=3D=3D=3D Sep 21 08:08:28 hbsd-laptop-02 kernel: [29] lock order reversal: (sleepable= after non-sleepable) Sep 21 08:08:28 hbsd-laptop-02 kernel: [29] 1st 0xfffff800374616a0 ure0 (u= re0, sleep mutex) @ /usr/src/sys/dev/usb/usb_request.c:714 Sep 21 08:08:28 hbsd-laptop-02 kernel: [29] 2nd 0xffffffff81eb1ab8 sysctl = lock (sysctl lock, sleepable rm) @ /usr/src/sys/kern/kern_sysctl.c:837 Sep 21 08:08:28 hbsd-laptop-02 kernel: [29] lock order ure0 -> sysctl lock = attempted at: Sep 21 08:08:28 hbsd-laptop-02 kernel: [29] #0 0xffffffff80c6c1dc at witnes= s_checkorder+0xdcc Sep 21 08:08:28 hbsd-laptop-02 kernel: [29] #1 0xffffffff80bf76bb at _rm_wl= ock_debug+0x6b Sep 21 08:08:28 hbsd-laptop-02 kernel: [29] #2 0xffffffff80c0c7a6 at sysctl= _add_oid+0x46 Sep 21 08:08:28 hbsd-laptop-02 kernel: [29] #3 0xffffffff83c64ea1 at ure_at= tach_post+0x1a91 Sep 21 08:08:28 hbsd-laptop-02 kernel: [29] #4 0xffffffff83c6a1af at ue_att= ach_post_task+0x2f Sep 21 08:08:28 hbsd-laptop-02 kernel: [29] #5 0xffffffff80a2b749 at usb_pr= ocess+0xf9 Sep 21 08:08:28 hbsd-laptop-02 kernel: [29] #6 0xffffffff80bb9fe5 at fork_e= xit+0x85 Sep 21 08:08:28 hbsd-laptop-02 kernel: [29] #7 0xffffffff81200a9e at fork_t= rampoline+0xe =3D=3D=3D=3D END LOG 02 =3D=3D=3D=3D At work, I have two ethernet interfaces: the onboard em0 and a usb ethernet= dongle. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD GPG Key ID: 0xFF2E67A277F8E1FA GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9 3633 C85B 0AF8 AB23 0FB2 https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master/Sha= wn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --mv567ducpuubc3ie Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAl9omZgACgkQ/y5nonf4 4foACA//VxJhoEI6+Xl1rzpn3tkP3SwYPnrtk3cuxZsUJSHT0/jqZqiw5BGs/v7n qNx9Gs7/yf5uesGVRqB695F5e6EcE+MR8IlN+462dqCnUEga3gfwjWZ5XQrxklmv gS79tfAlkTIe3iZhdMbEEOIL7UhrB89hL01tzPSqQ6b0FNAlxBn0ML6us6qOuv7h JLX4VIcZBESoN3oR/UrDz2XyjI1T8JwVzy06PhqwMtcP3fgFpw9S714kbuzsyoR9 SSEj4B6LU6hBNZmRvfY0QXDSpvq/CGRZievdXH+yzqyDdMVjucyYHZQqKCZog8Me XZwK1YbNoe40qTybPr6VzMydXMNFhNitVaYQb3JSlYOPMfaCtOGQAgIXqEkxfEl/ A/LawNfop/js1nIeD+ZaYm6pzMIE43+VtQdcnZjC91w7k7AKmlQrHEgOcG/qDxBO kCtwnrtZ5vArflGC7PQuj2LlzJXIu4l5DAfkJ1NnNvuZCXLdLTysSL7iy/gfKKYw 9N4f5YZStrW4nYKl0V6lr03/sk0bRLkmth2KtEW8ub6einll2b5ZJxbgpqvNAZI4 gF2bpSSj6zppNFMtx6UgO+yV4unbk5cNp61GxpIvOoK1jSqc4XK7NWiw+Qg5Ae6E TKtDOWEXwSLEjIoDUq8Wv1Xgh9ayVzB/t99OSPPg7GDIlRd5sXk= =FvwT -----END PGP SIGNATURE----- --mv567ducpuubc3ie--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200921121627.3dovpumnl6xub3kn>