Date: Tue, 9 Mar 2021 13:23:16 -0800 From: David Wolfskill <david@catwhisker.org> To: Warner Losh <imp@bsdimp.com> Cc: FreeBSD Current <current@freebsd.org> Subject: Re: "panic: malloc(M_WAITOK) with sleeping prohibited" at main-n245363-b3dac3913dc9 Message-ID: <YEfnRA1WvWtsM8ks@albert.catwhisker.org> In-Reply-To: <CANCZdfqnMktE4uAU%2BOP8ZKyXzupTqPqr21fP1PDk1U%2BJDswhuw@mail.gmail.com> References: <YEdlblQdBcjZkcf%2B@albert.catwhisker.org> <CANCZdfqnMktE4uAU%2BOP8ZKyXzupTqPqr21fP1PDk1U%2BJDswhuw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--r9lOEJvupSBBBs75 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 a= nd > changes CAM to use the new routines and take some care for not leaking wh= en > an allocation fails. >=20 > https://reviews.freebsd.org/D29161 > https://reviews.freebsd.org/D29162 > https://reviews.freebsd.org/D29163 >=20 > 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 --=20 David H. Wolfskill david@catwhisker.org It is supremely disingenuous to claim a lack of jurisdiction, then =20 proceed to participate in a decision on the same matter. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --r9lOEJvupSBBBs75 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmBH50RfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PcmNoAf/b36CRmM9hmej9AXg5WLl0pWfD0/8M9ASeTrokumSYpDIX4B4TsoBC6ZB fsKmXwZkPsZ8y/1nCJSzE+N3NWHcI1m7foXa6Dl2dKYdnTlgsLXKW1DLrqZhIfhf 6W0PN1tLY987MRHdc3yebccUJBsWpr8vKKnJ3LDjwdHeEJxSHY8Zki2FSzSovLBc HAs/BS4MSAAzrcayG2Ef2iwYkdBSw7MEKv+4tY7wwW81aFZyilX0zdFc94RgTrrP 6mm4EXboUK2Ms036m6ZU6QzbtMjRcTER5Gne6AvNY9tOhl8p0eBOUzuGK348Xz+v cgVDahlJlmLUMiGSHoOn65+PmnLH1w== =pQo0 -----END PGP SIGNATURE----- --r9lOEJvupSBBBs75--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YEfnRA1WvWtsM8ks>