Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2017 06:10:42 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   Panic: @r323525: iflib
Message-ID:  <20170913131042.GZ1351@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--qlO3cJeIUypwojD8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

My build machine didn't have the problem -- unfortunately (as I have a
serial console on it).  The laptop did....  The panic occurs immediately
after probing the NICs (so the good news is that it didn't have a chance
yet to mount any filesystems; the bad news is that there's no dump
available).  (In transcribing the backtrace, I realized that the laptop
has an em(4) device; the build machine does not.  And iflib appears to
be implicated.)

I used my phone to grab screeshots of the backtrace... and the program I
run on the phone to act as an SSH server so I can get the photos from it
has suddenly become completely confused as to what the IP address of the
phone is on the local network (using an unreachable 10/8 address; at
this point, I won't waste my time trying to figure out how THAT broke).

I did try clearing /usr/obj/usr/src/sys/CANARY/* and rebuilding the
kernel, but the symptom persists.  (I am using "WITH_META_MODE=3Dyes".)

Previous successful build was:
FreeBSD g1-252.catwhisker.org 12.0-CURRENT FreeBSD 12.0-CURRENT #398  r3234=
83M/323489:1200044: Tue Sep 12 04:31:08 PDT 2017     root@g1-252.catwhisker=
=2Eorg:/common/S4/obj/usr/src/sys/CANARY  amd64

The usual historical information, including a verbose-boot dmesg.boot
=66rom the above-cited build, may be found at
<http://www.catwhisker.org/~david/FreeBSD/history/>.

I will try hand-transcribing some of the lock & backtrace info:

=2E..
em0: allocated for 1 rx_queues
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex taskqgroup (taskqgroup) r =3D 0 (0xfffffe07be2e4800) =
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

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
=2E..
[ thread pid 0 tid 100000 ]
Stopped at      0xffffffff80a743b0 =3D taskqgroup_attach+0x230:    orq   %r=
ax,-0x 58(%rbp,%xrx,8)

I can provide more specific excerpts, but I need to focus on some
other activities for a while.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
http://www.cbc.ca/news/opinion/donald-trump-playbook-1.4265374

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--qlO3cJeIUypwojD8
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJZuS5SXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix
NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XSAAIAKHiaWfYP1vPEqLhSUU0awoE
/iJJv2Rj10LA3ndt/y8tIUyyHcy+FyrHcETIUqrEfm/XqP+adnecH/d8VKIPbH8/
Ji8zIWWFfOCC9cOKLO3dVWF8ZVaPmum2IgQsowhNqXBhBbIfmPPuQq9b0YXmMsyB
CJoRrmxqrfI2blulpTDhsO2EEXF6r4Vle58F/pEMrh1hk8Nx0XjVaxZ0eg7uYq/Q
IdinzLr5hClr2mae4N7RVPZsho34egTM6HPhDCzOHapiSaKStlpAgTNEIzNProSu
euUiIG7kqIZiqXLeqxt9Rx7iVi8Es6aILpnJZ4k9OpX8HYs+kmdt+h136ptw/h8=
=M8a2
-----END PGP SIGNATURE-----

--qlO3cJeIUypwojD8--



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