Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2016 09:54:58 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        stable@freebsd.org
Subject:   Panic in stable/11 (amd64) @r303903: page fault while in kernel mode
Message-ID:  <20160810165458.GB1112@albert.catwhisker.org>

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

--Wn0J+vu9+NMIXK57
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Happened after a few iterations of {"pkill dhclient" followed by
"dhclient wlan0"}.

Gory details (both "normal" and gzipped, and including the crash
dump and crashinfo) are in
<http://www.catwhisker.org/~david/FreeBSD/stable_11/2016.08.10/>.

Summary:
Wed Aug 10 15:56:26 UTC 2016

FreeBSD  11.0-BETA4 FreeBSD 11.0-BETA4 #69  r303902M/303903:1100120: Wed Au=
g 10 04:00:09 PDT 2016     root@g1-252.catwhisker.org:/common/S3/obj/usr/sr=
c/sys/CANARY  amd64

panic: page fault

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid =3D 7; apic id =3D 07
fault virtual address	=3D 0x0
fault code		=3D supervisor read data, page not present
instruction pointer	=3D 0x20:0xffffffff80bdaaa1
stack pointer	        =3D 0x28:0xfffffe060bc956e0
frame pointer	        =3D 0x28:0xfffffe060bc957b0
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current process		=3D 20685 (wpa_supplicant)
trap number		=3D 12
panic: page fault
cpuid =3D 7
KDB: stack backtrace:
#0 0xffffffff80add787 at kdb_backtrace+0x67
#1 0xffffffff80a950e2 at vpanic+0x182
#2 0xffffffff80a94f53 at panic+0x43
#3 0xffffffff80eead51 at trap_fatal+0x351
#4 0xffffffff80eeaf43 at trap_pfault+0x1e3
#5 0xffffffff80eea4ec at trap+0x26c
#6 0xffffffff80ece0d1 at calltrap+0x8
#7 0xffffffff80b9811c at ifioctl+0x133c
#8 0xffffffff80afc914 at kern_ioctl+0x2d4
#9 0xffffffff80afc5d1 at sys_ioctl+0x171
#10 0xffffffff80eeb6c9 at amd64_syscall+0x4e9
#11 0xffffffff80ece3bb at Xfast_syscall+0xfb
Uptime: 3h0m4s
=2E..
Reading symbols from /boot/kernel/linux64.ko...Reading symbols from /usr/li=
b/debug//boot/kernel/linux64.ko.debug...done.
done.
Loaded symbols for /boot/kernel/linux64.ko
#0  doadump (textdump=3D<value optimized out>) at pcpu.h:221
221	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) #0  doadump (textdump=3D<value optimized out>) at pcpu.h:221
#1  0xffffffff80a94b69 in kern_reboot (howto=3D260)
    at /usr/src/sys/kern/kern_shutdown.c:366
#2  0xffffffff80a9511b in vpanic (fmt=3D<value optimized out>,=20
    ap=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:759
#3  0xffffffff80a94f53 in panic (fmt=3D0x0)
    at /usr/src/sys/kern/kern_shutdown.c:690
#4  0xffffffff80eead51 in trap_fatal (frame=3D0xfffffe060bc95630, eva=3D0)
    at /usr/src/sys/amd64/amd64/trap.c:841
#5  0xffffffff80eeaf43 in trap_pfault (frame=3D0xfffffe060bc95630, usermode=
=3D0)
    at /usr/src/sys/amd64/amd64/trap.c:691
#6  0xffffffff80eea4ec in trap (frame=3D0xfffffe060bc95630)
    at /usr/src/sys/amd64/amd64/trap.c:442
#7  0xffffffff80ece0d1 in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:236
#8  0xffffffff80bdaaa1 in ieee80211_ioctl (ifp=3D0xfffff80007991800,=20
    cmd=3D<value optimized out>, data=3D<value optimized out>)
    at /usr/src/sys/net80211/ieee80211_ioctl.c:3398
#9  0xffffffff80b9811c in ifioctl (so=3D<value optimized out>,=20
    cmd=3D<value optimized out>, data=3D<value optimized out>,=20
    td=3D<value optimized out>) at /usr/src/sys/net/if.c:2447
#10 0xffffffff80afc914 in kern_ioctl (td=3D<value optimized out>,=20
    fd=3D<value optimized out>, com=3D2149607696, data=3D0xfffffe060bc958e0=
 "wlan0")
    at file.h:327
#11 0xffffffff80afc5d1 in sys_ioctl (td=3D<value optimized out>,=20
    uap=3D0xfffffe060bc95a40) at /usr/src/sys/kern/sys_generic.c:743
#12 0xffffffff80eeb6c9 in amd64_syscall (td=3D<value optimized out>,=20
    traced=3D<value optimized out>) at subr_syscall.c:135
#13 0xffffffff80ece3bb in Xfast_syscall ()
    at /usr/src/sys/amd64/amd64/exception.S:396
#14 0x00000008015c448a in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language:  auto; currently minimal
(kgdb)=20

This was on my laptop, which I'm actively using at work as I type
-- though it's now connected via wired NIC (em0).  I had experienced
no trouble with wlan0 at home (before coming in to work) or on the
bus (en route to work).  (I didn't attempt it while cycling to the
bus stop. :-})

Also, I had no issues running stable/11 (amd64) @303870 -- either
at home or at work -- yesterday.  On the other hand, this is (so
far) a one-off, so alleging a "pattern" at this point is not something
I'm willing to do.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Those who would murder in the name of God or prophet are blasphemous coward=
s.

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

--Wn0J+vu9+NMIXK57
Content-Type: application/pgp-signature; name="signature.asc"

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

iQF8BAEBCgBmBQJXq1xiXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix
NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XpLwIAJq4YP4Pu9meS8Osip5s5ast
9Xj/aFy6eqc4Rph2vBB6WqrHmx3uQdHkkLbbeBLIyLl+A6jz2q1ESFkqqUT9Vk3V
lSZG8SapwafUKL1wf+7vKv+KMRR9RPJ6OdrXj/UVKsX+X0rj/TRHZofxjORYK3A4
7tcs1QJ+rzNDXWvBcrOHAJglp/xIlEWUdJsIW/KXrlC5AxIM/BKgFCHvcOV9bv3I
gqJIho8I+Uhl/SQEO+PIPCiGLJs/G/wM9wGIgChFCQLn6UZf80hc4LTCachj86wD
MberPgtvQYZT46ZFjCmuzPLkQDeJnwcAxqxuE/5dNCXSs/7BOxDN+R42TSSt+G4=
=JMy7
-----END PGP SIGNATURE-----

--Wn0J+vu9+NMIXK57--



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