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

David Wolfskill david at catwhisker.org
Tue Mar 9 21:23:21 UTC 2021


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20210309/5a7ed8e0/attachment.sig>


More information about the freebsd-current mailing list