From owner-freebsd-current@freebsd.org Tue Mar 9 21:23:21 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 343F2571CF2 for ; Tue, 9 Mar 2021 21:23:21 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dw7VJ4Nwsz3JQb for ; Tue, 9 Mar 2021 21:23:20 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.nyi.freebsd.org (Postfix) id 964EA57209F; Tue, 9 Mar 2021 21:23:20 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 95FF1571CEF for ; Tue, 9 Mar 2021 21:23:20 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dw7VJ2Dv5z3HsX for ; Tue, 9 Mar 2021 21:23:19 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 129LNGdm038689; Tue, 9 Mar 2021 21:23:16 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 129LNGVb038688; Tue, 9 Mar 2021 13:23:16 -0800 (PST) (envelope-from david) Date: Tue, 9 Mar 2021 13:23:16 -0800 From: David Wolfskill To: Warner Losh Cc: FreeBSD Current Subject: Re: "panic: malloc(M_WAITOK) with sleeping prohibited" at main-n245363-b3dac3913dc9 Message-ID: Mail-Followup-To: David Wolfskill , Warner Losh , FreeBSD Current References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r9lOEJvupSBBBs75" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Dw7VJ2Dv5z3HsX X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2021 21:23:21 -0000 --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--