[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: Sat, 11 Mar 2023 23:45:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267028

--- Comment #119 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
For:

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

objdump -d --prefix-addresses /boot/kernel/kernel | less

shows:

ffffffff80d1786b <qsort+0x12ab> mov    %esi,0x4(%r11,%rdx,4)
ffffffff80d17870 <qsort+0x12b0> mov    0x8(%rcx,%rdx,4),%esi

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+0x12cf> mov    %esi,0xc(%r11,%rdx,4)
ffffffff80d17894 <qsort+0x12d4> add    $0x4,%rdx

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 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

ffffffff80bf3701 <free+0x11> je     ffffffff80bf378d <free+0x9d>
ffffffff80bf3707 <free+0x17> mov    %rsi,%r14

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

ffffffff80bf3701 <free+0x11> je     ffffffff80bf378d <free+0x9d>
ffffffff80bf3707 <free+0x17> mov    %rsi,%r14

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

ffffffff80bf3722 <free+0x32> call   ffffffff80f66670 <PHYS_TO_VM_PAGE>
ffffffff80bf3727 <free+0x37> mov    (%rax),%r13

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

ffffffff80d0ce9c <vn_ioctl+0x1fc> jne    ffffffff80d0cff2 <vn_ioctl+0x352>
ffffffff80d0cea2 <vn_ioctl+0x202> movzwl 0x2(%r13),%ecx

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