[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, 28 Dec 2024 01:36:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267028

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

No reason to get a vmcore.* . . .

Dumb typo of mine in the source: I had a || where a && should
have been.

I'll provide another patch attachment but the bad code in the
patch attachment;s diff was (up to whitespace variations):

+       if (  0 < modlist_newmod_hist_pos
+           ||
modlist_newmod_hist[modlist_newmod_hist_pos-1].modAddr->link.tqe_next != mod
+          )
+               panic("modlist_newmodule: prior node's tqe_next has bad
value.");

and should have been (up to whitespace variations):

+       if (  0 < modlist_newmod_hist_pos
+          &&
modlist_newmod_hist[modlist_newmod_hist_pos-1].modAddr->link.tqe_next != mod
+          )
+               panic("modlist_newmodule: prior node's tqe_next has bad
value.");

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