[Bug 267028] kernel panics when booting with both (zfs,ko or vboxnetflt,ko or acpi_wmi.ko) and amdgpu.ko

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 Mar 2023 01:09:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267028

--- Comment #148 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to George Mitchell from comment #147)

That crash is difference from all prior ones. It crashed
in nfsd via a:

Fatal trap 9: general protection fault while in kernel mode
cpuid = 1; apic id = 01
instruction pointer     = 0x20:0xffffffff80c895cb
stack pointer           = 0x28:0xfffffe00b555dba0
frame pointer           = 0x28:0xfffffe00b555dbb0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 1109 (nfsd)

None of the prior kldstat outputs have shown nfsd as
loaded.

For reference:

panic: general protection fault
cpuid = 1
time = 1679441112
KDB: stack backtrace:
#0 0xffffffff80c66ee5 at kdb_backtrace+0x65
#1 0xffffffff80c1bbef at vpanic+0x17f
#2 0xffffffff80c1ba63 at panic+0x43
#3 0xffffffff810addf5 at trap_fatal+0x385
#4 0xffffffff81084fd8 at calltrap+0x8
#5 0xffffffff80c8866b at seltdclear+0x2b
#6 0xffffffff80c88355 at kern_select+0xbd5
#7 0xffffffff80c88456 at sys_select+0x56
#8 0xffffffff810ae6ec at amd64_syscall+0x10c
#9 0xffffffff810858eb at fast_syscall_common+0xf8

__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
55              __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct
pcpu,
(kgdb) #0  __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55
#1  doadump (textdump=<optimized out>)
    at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xffffffff80c1b7ec in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:487
#3  0xffffffff80c1bc5e in vpanic (fmt=0xffffffff811b2f41 "%s", 
    ap=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:920
#4  0xffffffff80c1ba63 in panic (fmt=<unavailable>)
    at /usr/src/sys/kern/kern_shutdown.c:844
#5  0xffffffff810addf5 in trap_fatal (frame=0xfffffe00b555dae0, eva=0)
    at /usr/src/sys/amd64/amd64/trap.c:944
#6  <signal handler called>
#7  0xffffffff80c895cb in atomic_fcmpset_long (src=18446741877726026240, 
    dst=<optimized out>, expect=<optimized out>)
    at /usr/src/sys/amd64/include/atomic.h:225
#8  selfdfree (stp=stp@entry=0xfffff80012aa8080, sfp=0xfffff80000000007)
    at /usr/src/sys/kern/sys_generic.c:1755
#9  0xffffffff80c8866b in seltdclear (td=td@entry=0xfffffe00b52e9a00)
    at /usr/src/sys/kern/sys_generic.c:1967
#10 0xffffffff80c88355 in kern_select (td=<optimized out>, 
    td@entry=0xfffffe00b52e9a00, nd=7, fd_in=<optimized out>, 
    fd_ou=<optimized out>, fd_ex=<optimized out>, tvp=<optimized out>, 
    tvp@entry=0x0, abi_nfdbits=64) at /usr/src/sys/kern/sys_generic.c:1210
#11 0xffffffff80c88456 in sys_select (td=0xfffffe00b52e9a00, 
    uap=0xfffffe00b52e9de8) at /usr/src/sys/kern/sys_generic.c:1014
#12 0xffffffff810ae6ec in syscallenter (td=0xfffffe00b52e9a00)
    at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:189
#13 amd64_syscall (td=0xfffffe00b52e9a00, traced=0)
    at /usr/src/sys/amd64/amd64/trap.c:1185
#14 <signal handler called>
#15 0x00000008011a373a in ?? ()

Note: 18446741877726026240 == 0xfffffe00b52e9a00

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.