[Bug 229995] [panic, regression] radeonkms "timed sleep before timers are working"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 1 15:07:43 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229995

Warner Losh <imp at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |imp at FreeBSD.org

--- Comment #5 from Warner Losh <imp at FreeBSD.org> ---
To elaberate, loading the linuxkpi drivers from loader.conf causes the modules
to load earlier in the boot sequence before interrupts are enabled, threads are
running and everything is fully initialized. There are dependencies in the code
on these things working, so when they aren't the system crashes.

One of three things can make this better: (1) Make the code fail to load if
loaded too early and print a warning (fail safe). (2) Fix the code to work
early in boot or (3) Make the code do a deferred attach fo the drivers until
after interrupts are running.

1 & 3 are likely easy, but would require some fussing around to get right. 2 is
likely quite hard and would take a fair amount of effort. Of the three, I'd
recommend #3 for anybody looking at this bug. I'm not entirely sure that #3
would work, but reasonably sure.

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


More information about the freebsd-x11 mailing list