Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2017 05:07:31 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   Insta-panic for amd64 on reboot after upgrade from r320307 -> r320324
Message-ID:  <20170625120731.GE1241@albert.catwhisker.org>

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

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

Both on laptop and build machine; fortunately for me, the latter has a
serial console, so:

  ______               ____   _____ _____ =20
 |  ____|             |  _ \ / ____|  __ \=20
 | |___ _ __ ___  ___ | |_) | (___ | |  | |
 |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |
 | |   | | |  __/  __/| |_) |____) | |__| |
 | |   | | |    |    ||     |      |      |
 |_|   |_|  \___|\___||____/|_____/|_____/    ```                        `
                                             s` `.....---.......--.```   -/
 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DWelcome to FreeBSD=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D+ +o   .--`         /y:`      +.
 |                                         |  yo`:.            :o      `+-
 |  1. Boot Multi User [Enter]             |   y/               -/`   -o/
 |  2. Boot [S]ingle User                  |  .-                  ::/sy+:.
 |  3. [Esc]ape to loader prompt           |  /                     `--  /
 |  4. Reboot                              | `:                          :`
 |                                         | `:                          :`
 |  Options:                               |  /                          /
 |  5. [K]ernel: kernel (1 of 2)           |  .-                        -.
 |  6. Configure Boot [O]ptions...         |   --                      -.
 |                                         |    `:`                  `:`
 |                                         |      .--             `--.
 |                                         |         .---.....----.=20
 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+
                                         =20

/boot/kernel/kernel text=3D0x14dea68 data=3D0x146b38+0x567b68 syms=3D[0x8+0=
x16cae8+0x8+0x186331]
/boot/entropy size=3D0x1000
/boot/kernel/filemon.ko size 0xa128 at 0x2282000
loading required module 'kernel'
module 'kernel' exists but with wrong version
Booting...
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Table 'FACP' at 0xde3c1b98
Table 'APIC' at 0xde3c1ca8
APIC: Found table at 0xde3c1ca8
APIC: Using the MADT enumerator.
MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
SMP: Added CPU 0 (AP)
MADT: Found CPU APIC ID 2 ACPI ID 2: enabled
SMP: Added CPU 2 (AP)
MADT: Found CPU APIC ID 4 ACPI ID 3: enabled
SMP: Added CPU 4 (AP)
MADT: Found CPU APIC ID 6 ACPI ID 4: enabled
SMP: Added CPU 6 (AP)
MADT: Found CPU APIC ID 1 ACPI ID 5: enabled
SMP: Added CPU 1 (AP)
MADT: Found CPU APIC ID 3 ACPI ID 6: enabled
SMP: Added CPU 3 (AP)
MADT: Found CPU APIC ID 5 ACPI ID 7: enabled
SMP: Added CPU 5 (AP)
MADT: Found CPU APIC ID 7 ACPI ID 8: enabled
SMP: Added CPU 7 (AP)
Copyright (c) 1992-2017 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 12.0-CURRENT #385  r320324M/320326:1200035: Sun Jun 25 04:51:08 PDT=
 2017
    root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM =
4.0.0)
WARNING: WITNESS option enabled, expect reduced performance.
Table 'FACP' at 0xde3c1b98
Table 'APIC' at 0xde3c1ca8
Table 'FPDT' at 0xde3c1d40
Table 'ASF!' at 0xde3c1d88
Table 'SLIC' at 0xde3c1e30
Table 'SSDT' at 0xde3c1fa8
Table 'SSDT' at 0xde3c24e8
Table 'MCFG' at 0xde3c2fc0
Table 'HPET' at 0xde3c3000
Table 'SSDT' at 0xde3c3038
Table 'SSDT' at 0xde3c33a8
Table 'MSDM' at 0xde3c6688
Table 'DMAR' at 0xde3c66e0
ACPI: No SRAT table found
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address   =3D 0x10000000020
fault code              =3D supervisor read data, page not present
instruction pointer     =3D 0x20:0xffffffff80d585a4
stack pointer           =3D 0x28:0xffffffff82290a30
frame pointer           =3D 0x28:0xffffffff82290a60
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D resume, IOPL =3D 0
current process         =3D 0 ()
[ thread pid 0 tid 0 ]
Stopped at      vm_map_lookup_entry+0x24:       cmpq    %r15,0x20(%rbx)
db> bt
Tracing pid 0 tid 0 td 0xffffffff81e9e860
vm_map_lookup_entry() at vm_map_lookup_entry+0x24/frame 0xffffffff82290a60
vm_map_insert() at vm_map_insert+0x10b/frame 0xffffffff82290b00
kmem_init() at kmem_init+0x72/frame 0xffffffff82290b30
vm_mem_init() at vm_mem_init+0x46/frame 0xffffffff82290b50
mi_startup() at mi_startup+0x9c/frame 0xffffffff82290b70
btext() at btext+0x2c
db>=20


(The laptop seems to have repeated the:

loading required module 'kernel'
module 'kernel' exists but with wrong version

sequence a few times, based on the video I got of it.)


The "saving grace" is that the panic happens before the file systems
are mounted.... :-}

Unloading the (r320324) kernel and loading the r320307 kernel
succeeds (at least enough to mount file systems).

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Trump (et al.): Hiding information doesn't prove its falsity.

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

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

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

iQF8BAEBCgBmBQJZT6eDXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix
NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4X9nwIALErF/L/2fOlY7/LBUm74UDF
qHmv9LWEa3Q/fpMFgP2ebv38VamVidW+rRSQzfh9D5IupK3+HNs8tC5ZQtOSoWwd
gw+1DT4yeJKPNvmbdQJyUXU3e2z1sup81qOz1PrNPqmnPJuCJ3UuVX2thq/yRRaB
0eJ1zAjGYBlpiCsSgd8mm040nDuEO83Sfch3DgyYWF2DLfgtGSA/VfW2KqwW2Gt2
29U7raE8KHdNPcTxVSggqw8goP+ohggPUbtECykVUQBGZ2G7oVQ15spblwbkK77/
Kk1IgVxBRA7ON9/J7WmgM71dP9ShlDTwsv21C7kKBUiH+/+9J7DeRgj88Vi+RQk=
=kTHF
-----END PGP SIGNATURE-----

--9l24NVCWtSuIVIod--



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