From owner-freebsd-current@freebsd.org Tue Mar 9 23:11:56 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 0D9CC5751B2 for ; Tue, 9 Mar 2021 23:11:56 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dw9vb6Gc3z3hCN for ; Tue, 9 Mar 2021 23:11:55 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.nyi.freebsd.org (Postfix) id D73955751B1; Tue, 9 Mar 2021 23:11:55 +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 D70525754C8 for ; Tue, 9 Mar 2021 23:11:55 +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 4Dw9vb4CG9z3h0Z for ; Tue, 9 Mar 2021 23:11:55 +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 129NBqqv049128; Tue, 9 Mar 2021 23:11:52 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 129NBqxT049127; Tue, 9 Mar 2021 15:11:52 -0800 (PST) (envelope-from david) Date: Tue, 9 Mar 2021 15:11:52 -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="ymPdGts8Ws4yWA3X" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Dw9vb4CG9z3h0Z 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 23:11:56 -0000 --ymPdGts8Ws4yWA3X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 09, 2021 at 04:04:56PM -0700, Warner Losh wrote: > ... > > The build nmachine (still?) panics: > > ... > I'm willing to "poke at it" a bit, given a hint or two... >=20 > OK. I know what's happening here. disk_create() posts an event and also > expects to sleep to get memory. I can fix that too, but then that's one > more 'no memory' hole. >=20 > I'm unsure if we should keep playing whack-a-mole, or just defer this > creation to the taskqueue we already have hanging around... >=20 > Warner ? I'll need to get the "head" slice for my build machine in a usable state soonish (within a few hours); at this point, it's looking as if using yesterday's kernel is my best bet. If here's something more useful I can do within the "within a few hours" time constraint, I'm game. 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. --ymPdGts8Ws4yWA3X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmBIALhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pclo0ggAvlzOQiqOddxvBjTpNTG1RJ3qBiZvj51MuomeFmdy1F4RISsVBnPUoV/7 Ais6kE2TZEIHa8+IThnDbRoz+ahI8kqcQNBnqZy4qsTm1fkl87vm71I3vFlvYKxd 23ApXRTl0xusSsY2pm7/MwOYwCAjjY+VmeaJlWoepDlcZQ+lbUv62DcP6OA0imDQ n1xToLdRqzDIDiM7RVZ3YtZUTC5/ttYv3AJZ9ArQdKD2SOw618i8zuHYMfdW/LHT qrgh8lNeQcvj2pnTkN/jB7onaGO0u/SOLJXWA+Dm2V+WZ7JLGi33WKy8aS6AlyWS dA7rGCnPcO9wo9SUvpPjNTPtsqFahA== =cYtI -----END PGP SIGNATURE----- --ymPdGts8Ws4yWA3X--