[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: Sun, 12 Mar 2023 20:54:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267028

--- Comment #121 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #120)

Ugg. I just realized that I'd not looked at an official
releng/13.1 build. So using a download of an official
kernel.txz this time . . . (the subroutines stay the same
but the detailed code is different).


Fatal trap 9: general protection fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer     = 0x20:0xffffffff80d17870

ffffffff80d1786d <qsort+0x130d> mov    -0x38(%rbp),%rdi
ffffffff80d17871 <qsort+0x1311> mov    %dl,(%rdi,%rsi,1)


As for other "instruction pointer" examples . . .

Fatal trap 9: general protection fault while in kernel mode
cpuid = 2; apic id = 02
instruction pointer     = 0x20:0xffffffff80d17890

ffffffff80d1788f <qsort+0x132f> cmp    $0x3,%r8
ffffffff80d17893 <qsort+0x1333> jae    ffffffff80d17910 <qsort+0x13b0>


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x7
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff82600ba6

The above is outside the kernel's code.


Fatal trap 9: general protection fault while in kernel mode
cpuid = 1; apic id = 01
instruction pointer     = 0x20:0xffffffff82231ba6

The above is outside the kernel's code.


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff80bf3707

ffffffff80bf3700 <free+0x70> mov    %gs:0xb0,%rax
ffffffff80bf3709 <free+0x79> add    %r15,0x8(%rcx,%rax,1)


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff80bf3727

ffffffff80bf3724 <free+0x94> cmpb   $0x0,0x128(%rbx)
ffffffff80bf372b <free+0x9b> jne    ffffffff80bf3777 <free+0xe7>


Fatal trap 9: general protection fault while in kernel mode
cpuid = 1; apic id = 01
instruction pointer     = 0x20:0xffffffff80d0cea0

ffffffff80d0ce9a <vn_ioctl+0x25a> mov    %r14,-0xc8(%rbp)
ffffffff80d0cea1 <vn_ioctl+0x261> cmpb   $0x0,0xaf417e(%rip)        #
ffffffff81801026 <sdt_probes_enabled>

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