[Bug 267028] General protection fault kernel panic immediately after kldload amdgpu

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Dec 2022 17:38:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267028

--- Comment #20 from George Mitchell <george@m5p.com> ---
I've figured out why this crash is timing related, and also why ZFS is
involved.

My system has a 1 TB USB disk, which contains a ZFS file system.  When I power
my system on, it takes a variable amount of time for that disk to become ready
and for ZFS to take note of it.  (I'm booting from a SATA disk with a
traditional old UFS file system.)  So if the USB disk becomes ready while
amdgpu is still initializing, apparently this crash happens.  I have no clue
why that is true, but I am pretty sure this explains why the the crash happens
only part of the time and is timing dependent.

It remains true that the most reliable way to cause the crash is to include
amdgpu in the kld_list in /etc/rc.conf and simply boot normally (and to have a
*ZFS-formatted USB* disk attached to the system).

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