kern/51352: panic: malloc(M_WAITOK) in interrupt context

Bruce M. Simpson bms at FreeBSD.org
Fri Sep 29 02:07:38 PDT 2006


Martin Kammerhofer wrote:
> Zitat von Bruce M Simpson <bms at FreeBSD.org>:
>
>> Do you still get this error in FreeBSD 5.x or 6.x?
>> There were significant changes in the area of the kernel memory
>> allocator with regards to allocation from interrupt handlers.
>
> On the same hardware FreeBSD 6-stable with INVARIANTS panics with
>   panic: trying to sleep while sleeping is prohibited
> when waking up from an APM suspend. Without INVARIANTS everything 
> seems fine.
> I tried to take a dump, but for unknown reasons savecore does not find 
> one
> (and savecore -f brought up an older USB related panic that had 
> already been saved).
Is the original panic still present, or is this new behaviour?

Can you tell us more about what kind of hardware you have?

APM is the common factor in both conditions you describe so it's 
important we know how APM is being entered, what kind of BIOS you have, etc.


BMS


More information about the freebsd-bugs mailing list