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

Martin Kammerhofer dada at
Fri Sep 29 00:52:33 PDT 2006

Zitat von Bruce M Simpson <bms at>:

> 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).

I have no experience with FreeBSD 5.x.

More information about the freebsd-bugs mailing list