[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: Thu, 12 Dec 2024 19:16:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267028

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

I'll note that linker_load_dependencies that shows up
in the modern example kernel (non-kgdb) backtrace also
calls modlist_lookup . It also uses strcmp directly.
And it also calls modlist_lookup2 that in turn calls
modlist_lookup . It can also recurse back out to
linker_load_module.

It appears that getting a dump during the initial general
protection fault and getting it savecore'd and crashinfo'd
so that we can see a kgdb backtrace is what would be the
primary next-useful-thing.

I also hope that:

static modlisthead_t found_modules;

can be examined to see if the modlist has any bad name
pointers that strcmp ends up trying to use.

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