From owner-freebsd-current@freebsd.org Wed Sep 13 15:22:02 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71B42E00F43 for ; Wed, 13 Sep 2017 15:22:02 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 40FC369A1A; Wed, 13 Sep 2017 15:22:01 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (67-0-215-166.albq.qwest.net [67.0.215.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 5F2C7192892; Wed, 13 Sep 2017 15:22:00 +0000 (UTC) Subject: Re: Panic: @r323525: iflib To: freebsd-current@freebsd.org, dhw@freebsd.org References: <20170913131042.GZ1351@albert.catwhisker.org> From: Sean Bruno Message-ID: Date: Wed, 13 Sep 2017 09:21:57 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <20170913131042.GZ1351@albert.catwhisker.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jxQSotIFm8tBVxuNFisO5R8MAJnj9tIw9" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 15:22:02 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jxQSotIFm8tBVxuNFisO5R8MAJnj9tIw9 Content-Type: multipart/mixed; boundary="63PvxhKNL2b1htUWii64mMd3lXxx4XVFS"; protected-headers="v1" From: Sean Bruno To: freebsd-current@freebsd.org, dhw@freebsd.org Message-ID: Subject: Re: Panic: @r323525: iflib References: <20170913131042.GZ1351@albert.catwhisker.org> In-Reply-To: <20170913131042.GZ1351@albert.catwhisker.org> --63PvxhKNL2b1htUWii64mMd3lXxx4XVFS Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable > Previous successful build was: > FreeBSD g1-252.catwhisker.org 12.0-CURRENT FreeBSD 12.0-CURRENT #398 r= 323483M/323489:1200044: Tue Sep 12 04:31:08 PDT 2017 root@g1-252.catw= hisker.org:/common/S4/obj/usr/src/sys/CANARY amd64 >=20 > The usual historical information, including a verbose-boot dmesg.boot > from the above-cited build, may be found at > . >=20 > I will try hand-transcribing some of the lock & backtrace info: >=20 > ... > em0: allocated for 1 rx_queues > Kernel page fault with the following non-sleepable locks held: > exclusive sleep mutex taskqgroup (taskqgroup) r =3D 0 (0xfffffe07be2e48= 00) locked @ /usr/src/sys/kern/subr_gtaskqueue.c:803 > stack backtrace: [which I am abbreviating at this point -- dhw] > #0 ... at witness_debugger+0x73 > #1 ... at witness_warn+0x43f > #2 ... at trap_pfault+0x53 > #3 ... at trap+0x2c5 > #4 ... at calltrap+0x8 > #5 ... at iflib_device_register+0x2a61 > #6 ... at iflib_device_attach+0xb7 > #7 ... at device_attach+0x3ee > #8 ... at bus_generic_attach+0x5a > #9 ... at pci_attach+0xd5 > #10 ... at device_attach+0x3ee > #11 ... at bus_generic_attach+0x5a > #12 ... at acpi_pcib_acpi_attach+0x3bc > #13 ... at device_attach+0x3ee > #14 ... at bus_generic_attach+0x5a > #15 ... at acpi_attach+0xe85 > #16 ... at device_attach+0x3ee > #17 ... at bus_generic_attach+0x5a >=20 > Fatal trap 12: page fault while in kernel mode > cpuid =3D 2; apic id =3D 02 > fault virtual address =3D 0xffffffff8b530c20 > fault code =3D supervisor write data, page not present > ... > [ thread pid 0 tid 100000 ] > Stopped at 0xffffffff80a743b0 =3D taskqgroup_attach+0x230: orq = %rax,-0x 58(%rbp,%xrx,8) >=20 > I can provide more specific excerpts, but I need to focus on some > other activities for a while. >=20 > Peace, > david >=20 When you get a chance, let me know what em(4) device is in your machine (pciconf -lvbc). I'll see if I have one around here to test. I'm assuming you do *not* have any iflib or em(4) tuning options set eith= er. sean --63PvxhKNL2b1htUWii64mMd3lXxx4XVFS-- --jxQSotIFm8tBVxuNFisO5R8MAJnj9tIw9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAlm5TRVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4 QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1 /LbrUwf+K3kAnBjoWgrEVs15aURHClfS96jxKg14n43JVHStzdSPFNt03hnijkvD 1rCeuVF7BtycuEA7kXZxG1ose5jS6kRP3nQ8bDzUo6wCxMG8iiFq+bE/fVs2pYbn Ew4Yy4a2S98WvAftYuAx+CM0xzPx93tSSSvYpBD331IftnbaRXdXexcFzUq6Mwz0 ZSA9wI2swUr3NjglqnPQqMsm7pPb8GoWr6Gskyr5FW0wt1qpxgmbA0E4D4/5cURi ip0Rao9SxQdk1yBxSDo5NYgjZhj1QMZUPaK/1pexeWXG4CEekaxpXoZ6lWvpbX1e yafCZFDLgSFIksMx0fdhDEj4j07x6A== =blhP -----END PGP SIGNATURE----- --jxQSotIFm8tBVxuNFisO5R8MAJnj9tIw9--