Re: "panic: malloc(M_WAITOK) with sleeping prohibited" at main-n245363-b3dac3913dc9

From: David Wolfskill <david_at_catwhisker.org>
Date: Tue, 9 Mar 2021 13:23:16 -0800
On Tue, Mar 09, 2021 at 01:53:37PM -0700, Warner Losh wrote:
> ...
> The following reviews should fix this. It introduces a no-wait variant for
> disk_alloc(), provides a way to free allocated, but not created, disks  and
> changes CAM to use the new routines and take some care for not leaking when
> an allocation fails.
> 
> https://reviews.freebsd.org/D29161
> https://reviews.freebsd.org/D29162
> https://reviews.freebsd.org/D29163
> 
> Maybe you can try it? I got similar tracebacks when I booted w/o these
> changes, but not a peep with them...
> ...

Thanks!

They applied cleanly; building now --  both on the build machine (which
failed earlier) and on the newer laptop (which did not fail earlier, as
it's good to find out if a change has broken somehing that had been
working).

Peace,
david
-- 
David H. Wolfskill                              david_at_catwhisker.org
It is supremely disingenuous to claim a lack of jurisdiction, then     
proceed to participate in a decision on the same matter.

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Tue Mar 09 2021 - 20:23:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC