Date: Fri, 5 Jun 2020 06:41:27 -0700 From: David Wolfskill <david@catwhisker.org> To: current@freebsd.org Subject: panic: page fault head/amd64 @r361830 Message-ID: <20200605134127.GY2100@albert.catwhisker.org>
next in thread | raw e-mail | index | archive | help
--L+CNnuwY89phXYPb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable My build machine had no issues with the upgrade from r361784 to r361830, but my laptop panicked during the transition from single- to multi-user mode, just after bpf was attached. Rebooting from the old kernel worked; trying to boot from r361830 failed again with similar symptoms, and the laptop normally runs stable/12 (r361761 yesterday; r361831 today), so it seems to be an issue in head. The build machine isn't a DHCP client, and doesn't run ipfw; the laptop differs (in both respects). The backtrace (from the core.txt file: =2E.. <118>Mounting local filesystems: linprocfs registered <118>. <118>ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/l= ocal/lib/R/lib /usr/local/lib/compat /usr/local/lib/gcc9 /usr/l ocal/lib/graphviz /usr/local/lib/mysql /usr/local/lib/perl5/5.30/mach/CORE = /usr/local/lib/qt5 /usr/local/llvm80/lib /usr/local/llvm90/lib=20 /usr/local/share/chromium <118>32-bit compatibility ldconfig path: /usr/lib32 /usr/lib32/compat /usr/= local/lib32/compat <118>Setting hostname: localhost. <118>Setting up harvesting: PURE_RDRAND,[UMA],[FS_ATIME],SWI,INTERRUPT,NET_= NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED <118>Feeding entropy: . <6>wlan0: bpf attached <6>wlan0: bpf attached Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0x0 fault code =3D supervisor read instruction, page not present instruction pointer =3D 0x20:0x0 stack pointer =3D 0x28:0xfffffe0fc08c3b08 frame pointer =3D 0x28:0xfffffe0fc08c3b80 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 0 (iwn0 net80211 taskq) trap number =3D 12 panic: page fault cpuid =3D 3 time =3D 1591362374 KDB: stack backtrace: db_trace_self_wrapper() at 0xffffffff804a4afb =3D db_trace_self_wrapper+0x2= b/frame 0xfffffe0fc08c37b0 vpanic() at 0xffffffff80b93452 =3D vpanic+0x182/frame 0xfffffe0fc08c3800 panic() at 0xffffffff80b93203 =3D panic+0x43/frame 0xfffffe0fc08c3860 trap_fatal() at 0xffffffff81069b07 =3D trap_fatal+0x387/frame 0xfffffe0fc08= c38c0 trap_pfault() at 0xffffffff81069ba9 =3D trap_pfault+0x99/frame 0xfffffe0fc0= 8c3920 trap() at 0xffffffff810691a5 =3D trap+0x2a5/frame 0xfffffe0fc08c3a30 calltrap() at 0xffffffff8103edb8 =3D calltrap+0x8/frame 0xfffffe0fc08c3a30 --- trap 0xc, rip =3D 0, rsp =3D 0xfffffe0fc08c3b08, rbp =3D 0xfffffe0fc08c= 3b80 --- ??() at 0/frame 0xfffffe0fc08c3b80 taskqueue_thread_loop() at 0xffffffff80bf3214 =3D taskqueue_thread_loop+0x9= 4/frame 0xfffffe0fc08c3bb0 fork_exit() at 0xffffffff80b503c0 =3D fork_exit+0x80/frame 0xfffffe0fc08c3b= f0 fork_trampoline() at 0xffffffff8103fdfe =3D fork_trampoline+0xe/frame 0xfff= ffe0fc08c3bf0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- KDB: enter: panic __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3D0) at /usr/src/sys/kern/kern_shutdown.c:394 #2 0xffffffff804a1eaa in db_dump (dummy=3D<optimized out>,=20 dummy2=3D<unavailable>, dummy3=3D<unavailable>, dummy4=3D<unavailable>) at /usr/src/sys/ddb/db_command.c:575 #3 0xffffffff804a1c6c in db_command (last_cmdp=3D<optimized out>,=20 cmd_table=3D<optimized out>, dopager=3D1) at /usr/src/sys/ddb/db_comman= d.c:482 #4 0xffffffff804a19dd in db_command_loop () at /usr/src/sys/ddb/db_command.c:535 #5 0xffffffff804a4c48 in db_trap (type=3D<optimized out>, code=3D<optimize= d out>) at /usr/src/sys/ddb/db_main.c:253 #6 0xffffffff80bdde34 in kdb_trap (type=3D3, code=3D0, tf=3D<optimized out= >) at /usr/src/sys/kern/subr_kdb.c:699 #7 0xffffffff810696b8 in trap (frame=3D0xfffffe0fc08c36e0) at /usr/src/sys/amd64/amd64/trap.c:578 #8 <signal handler called> #9 kdb_enter (why=3D0xffffffff8122ff12 "panic", msg=3D<optimized out>) at /usr/src/sys/kern/subr_kdb.c:486 #10 0xffffffff80b9346e in vpanic (fmt=3D<optimized out>, ap=3D<optimized ou= t>) at /usr/src/sys/kern/kern_shutdown.c:902 #11 0xffffffff80b93203 in panic ( fmt=3D0xffffffff81c7f298 <cnputs_mtx> "\326/\037\201\377\377\377\377") at /usr/src/sys/kern/kern_shutdown.c:839 #2 0xffffffff804a1eaa in db_dump (dummy=3D<optimized out>,=20 dummy2=3D<unavailable>, dummy3=3D<unavailable>, dummy4=3D<unavailable>) at /usr/src/sys/ddb/db_command.c:575 #3 0xffffffff804a1c6c in db_command (last_cmdp=3D<optimized out>,=20 cmd_table=3D<optimized out>, dopager=3D1) at /usr/src/sys/ddb/db_comman= d.c:482 #4 0xffffffff804a19dd in db_command_loop () at /usr/src/sys/ddb/db_command.c:535 #5 0xffffffff804a4c48 in db_trap (type=3D<optimized out>, code=3D<optimize= d out>) at /usr/src/sys/ddb/db_main.c:253 #6 0xffffffff80bdde34 in kdb_trap (type=3D3, code=3D0, tf=3D<optimized out= >) at /usr/src/sys/kern/subr_kdb.c:699 #7 0xffffffff810696b8 in trap (frame=3D0xfffffe0fc08c36e0) at /usr/src/sys/amd64/amd64/trap.c:578 #8 <signal handler called> #9 kdb_enter (why=3D0xffffffff8122ff12 "panic", msg=3D<optimized out>) at /usr/src/sys/kern/subr_kdb.c:486 #10 0xffffffff80b9346e in vpanic (fmt=3D<optimized out>, ap=3D<optimized ou= t>) at /usr/src/sys/kern/kern_shutdown.c:902 #11 0xffffffff80b93203 in panic ( fmt=3D0xffffffff81c7f298 <cnputs_mtx> "\326/\037\201\377\377\377\377") at /usr/src/sys/kern/kern_shutdown.c:839 #12 0xffffffff81069b07 in trap_fatal (frame=3D0xfffffe0fc08c3a40, eva=3D0) at /usr/src/sys/amd64/amd64/trap.c:919 #13 0xffffffff81069ba9 in trap_pfault (frame=3D0xfffffe0fc08c3a40,=20 usermode=3D<optimized out>, signo=3D<optimized out>, ucode=3D<optimized= out>) at /usr/src/sys/amd64/amd64/trap.c:736 #14 0xffffffff810691a5 in trap (frame=3D0xfffffe0fc08c3a40) at /usr/src/sys/amd64/amd64/trap.c:400 #15 <signal handler called> #16 0x0000000000000000 in ?? () #17 0xffffffff80bf219a in taskqueue_run_locked (queue=3D0xfffff8000f1e9100) at /usr/src/sys/kern/subr_taskqueue.c:476 #18 0xffffffff80bf3214 in taskqueue_thread_loop (arg=3D<optimized out>) at /usr/src/sys/kern/subr_taskqueue.c:793 #19 0xffffffff80b503c0 in fork_exit ( callout=3D0xffffffff80bf3180 <taskqueue_thread_loop>,=20 arg=3D0xfffffe1052453148, frame=3D0xfffffe0fc08c3c00) at /usr/src/sys/kern/kern_fork.c:1053 #20 <signal handler called> (kgdb)=20 Please see http://www.catwhisker.org/~david/FreeBSD/head/r361830/ for the crasah cump, core.txt file, and anything else I think to put there that might be useful. http://www.catwhisker.org/~david/FreeBSD/history/ has pointers to recent copies of dmesg.boot from a verbose boot and sundry other bits of trivia, some of which may be of use. Peace, david --=20 David H. Wolfskill david@catwhisker.org "... we distance ourselves from the incendiary language of this President." -- Bishop Mariann Edgar Budde of the Episcopal Diocese of Washington See http://www.catwhisker.org/~david/publickey.gpg for my public key. --L+CNnuwY89phXYPb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl7aS4ZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PclHmwgAqgfzfyJK12m4xksf5eHNWSmlnyEbhdMK0sxF9gLvEzH2PSWcqahZ02sA sQDsIAeGz86fnPKV7LH8HqyGS19stv2Yapxs2+hCSntB1QnaRt2N7LbrfHDkHzYf ZHJJgi4teYDIwbOv9SPFghhUorOgJrh7SZtWvVEOl/XaJ0fWFHYoO05Hju7ZMSw3 A9pG1oDbIZ9cNLSTg6smF9d2PuTV82RX1+0BmZTMo0fW96yjjRwHQAPhbstAJsYl 0hZDT3isgtloUI8k+7h15xjr+Ea+EqF33zvTDw9KPBL2h8Upw6cFlkIW93NU/kRK R+JPhgTmmBkZE0amhtQAVGTVMtzTyg== =kV6z -----END PGP SIGNATURE----- --L+CNnuwY89phXYPb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200605134127.GY2100>