[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: Mon, 16 Dec 2024 15:40:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267028

--- Comment #239 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
In:

https://lists.freebsd.org/archives/freebsd-hackers/2024-December/004100.html

Philipp writes:

QUOTE
By simple grep through sys/ I found following comment in
sys/amd64/include/vmparam.h:

> /*
>  * Virtual addresses of things.  Derived from the page directory and
>  * page table indexes from pmap.h for precision.
> [...]
>  * 0xfffff80000000000 - 0xfffffbffffffffff   4TB direct map

The direct map is 4TB of virtuall address space mapping the physical
address space 1:1 (minus the base). So I would guess this is caused by
an NULL pointer converted by PHYS_TO_DMAP.
END QUOTE

So either:

PHYS_TO_DMAP(0x0)+7
or:
PHYS_TO_DMAP(0x0+7)

looks likely to be involved for 0xfffff80000000007 showing up in:

$209 = {link = {tqe_next = 0xfffff80000000007,

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