Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Oct 2020 15:07:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229995] [panic, regression] radeonkms "timed sleep before timers are working"
Message-ID:  <bug-229995-227-q6FRuyHw70@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229995-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229995-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

Warner Losh <imp@FreeBSD.org> changed:

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

--- Comment #5 from Warner Losh <imp@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 the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229995-227-q6FRuyHw70>