Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2020 04:52:51 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   GPF just after mounting root at r357726
Message-ID:  <20200210125251.GQ1238@albert.catwhisker.org>

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

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

Looks as if the same thing affected both my laptop and my build machine
-- each updated from r357688 (built yesterday & smoke-tested without
incident).  While I got some screenshots for the laptop, I have a serial
console for the build machine, so:

=2E..
---<<BOOT>>---
Table 'FACP' at 0xde3c1b98
Table 'APIC' at 0xde3c1ca8
APIC: Found table at 0xde3c1ca8
APIC: Using the MADT enumerator.
Copyright (c) 1992-2020 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT #817 r357726M/357726: Mon Feb 10 04:09:32 PST 2020
    root@freebeast.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GE=
NERIC amd64
FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a2133=
78a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1)
WARNING: WITNESS option enabled, expect reduced performance.
=2E..
mountroot: waiting for device /dev/ada0s4a...


Fatal trap 9: general protection fault while in kernel mode
cpuid =3D 6; apic id =3D 06
instruction pointer     =3D 0x20:0xffffffff80c7f97b
stack pointer           =3D 0x28:0xfffffe00aa965160
frame pointer           =3D 0x28:0xfffffe00aa965160
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 1 (kernel)
trap number             =3D 9
panic: general protection fault
cpuid =3D 6
time =3D 24
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00aa964=
e40
vpanic() at vpanic+0x185/frame 0xfffffe00aa964ea0
panic() at panic+0x43/frame 0xfffffe00aa964f00
trap_fatal() at trap_fatal+0x386/frame 0xfffffe00aa964f60
trap() at trap+0x8b/frame 0xfffffe00aa965090
calltrap() at calltrap+0x8/frame 0xfffffe00aa965090
--- trap 0x9, rip =3D 0xffffffff80c7f97b, rsp =3D 0xfffffe00aa965160, rbp =
=3D 0xfffffe00aa965160 ---
biotrack_buf() at biotrack_buf+0xb/frame 0xfffffe00aa965160
g_io_deliver() at g_io_deliver+0x30/frame 0xfffffe00aa9651b0
g_io_request() at g_io_request+0x28a/frame 0xfffffe00aa9651e0
g_part_start() at g_part_start+0x289/frame 0xfffffe00aa965260
g_io_request() at g_io_request+0x28a/frame 0xfffffe00aa965290
g_part_start() at g_part_start+0x289/frame 0xfffffe00aa965310
g_io_request() at g_io_request+0x28a/frame 0xfffffe00aa965340
g_io_getattr() at g_io_getattr+0x6b/frame 0xfffffe00aa965380
ffs_mount() at ffs_mount+0x1950/frame 0xfffffe00aa965530
vfs_domount() at vfs_domount+0x835/frame 0xfffffe00aa965760
vfs_donmount() at vfs_donmount+0x911/frame 0xfffffe00aa965800
kernel_mount() at kernel_mount+0x57/frame 0xfffffe00aa965850
parse_mount() at parse_mount+0x4a1/frame 0xfffffe00aa9659a0
vfs_mountroot() at vfs_mountroot+0x53b/frame 0xfffffe00aa965b10
start_init() at start_init+0x28/frame 0xfffffe00aa965bb0
fork_exit() at fork_exit+0x80/frame 0xfffffe00aa965bf0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00aa965bf0
--- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 ---
KDB: enter: panic
[ thread pid 1 tid 100002 ]
Stopped at      kdb_enter+0x37: movq    $0,0x1087a36(%rip)
db>=20


I can leave the build machine in that state for up to a few hours
easily enough, in case there's value in that (so I can do a bit of
directed poking, for example).

I have yesterday's (verbose) dmesg.boot for the build machine up at
http://www.catwhisker.org/~david/FreeBSD/history/freebeast.13_dmesg.txt;
based on that, it looks as if what showed up yesterday at that point
was:

=2E..
da3: Delete methods: <NONE(*),ZERO>
GEOM: new disk da3
(da3:umass-sim0:0:0:3): PREVENT ALLOW MEDIUM REMOVAL not supported.
mountroot: waiting for device /dev/ada0s4a...
atrtc0: providing initial system time
start_init: trying /sbin/init
GEOM_PART: partition 1 on (diskid/DISK-1350095E5057, MBR) is not aligned on=
 4096 bytes
GEOM_PART: partition 2 on (diskid/DISK-1350095E5057, MBR) is not aligned on=
 4096 bytes
=2E..
GEOM_PART: partition 2 on (diskid/DISK-1350095E5057, MBR) is not aligned on=
 4096 bytes
GEOM_PART: partition 3 on (diskid/DISK-1350095E5057, MBR) is not aligned on=
 4096 bytes
lo0: link state changed to UP
re0: link state changed to DOWN
cpuctl: access to MSR registers/cpuid info.
CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (3591.76-MHz K8-class CPU)
  Origin=3D"GenuineIntel"  Id=3D0x306c3  Family=3D0x6  Model=3D0x3c  Steppi=
ng=3D3
  Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
=2E...


I will go ahead and reboot the laptop in the mean time.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
It's unfortunate that so many Senate Republicans forswore their Oaths of Of=
fice.

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

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

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl5BUiNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy
OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2
PclAFggAuVHywl6WbsMEk0Zh88Hfz68RmG6doimSS6phFz2NsJ+JWMRz+hS18qO9
9P1PbHYpT7DR599nSsPPrDwAASZ9P751eAB4qFHoOYtdLpdnX7TxbwTdKgP+lZSg
WSrgV556oQvcp+rkv4BDCpaR6rA3cs/M1zdKLZLBlwuJnRI0sEVOcymwVWVZFwY7
Tjt8xZAGT3YTiAxKUFhoZrcymMiOf6cM+ukKO2C4stKmS28BoIE3ZghXS9lkz6Ne
PoJtqwRaQN9fKHuziBjZ0iiSkldTRMm5Elm1ub827rHIiLyzgHilumpyjfRiJpJp
/G/DDgBkaAYW7NAY2WIDVAK7KHXDbw==
=zKpi
-----END PGP SIGNATURE-----

--JaBjgNvtdKe5H086--



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