From owner-freebsd-current@freebsd.org Fri Mar 12 04:04:30 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 8DD8956D2B2 for ; Fri, 12 Mar 2021 04:04:30 +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 4DxXJF3tQpz4lZP for ; Fri, 12 Mar 2021 04:04:29 +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 12C44L39005481; Fri, 12 Mar 2021 04:04:21 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 12C44LS6005480; Thu, 11 Mar 2021 20:04:21 -0800 (PST) (envelope-from david) Date: Thu, 11 Mar 2021 20:04:21 -0800 From: David Wolfskill To: Alastair Hogge Cc: freebsd-current@freebsd.org Subject: Re: Asus E45M1-M PRO (panic: malloc(M_WAITOK) with sleeping prohibited) Message-ID: Mail-Followup-To: David Wolfskill , Alastair Hogge , freebsd-current@freebsd.org References: <3db68a3f1944fa9e099796ff45f1b1a2@riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vTq3HNOqMxyiF/CM" Content-Disposition: inline In-Reply-To: <3db68a3f1944fa9e099796ff45f1b1a2@riseup.net> X-Rspamd-Queue-Id: 4DxXJF3tQpz4lZP X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-5.07 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[catwhisker.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.204.234.170:from]; SPAMHAUS_ZRD(0.00)[107.204.234.170:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.67)[-0.670]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] 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: Fri, 12 Mar 2021 04:04:30 -0000 --vTq3HNOqMxyiF/CM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 11, 2021 at 07:57:36PM -0800, Alastair Hogge wrote: > Turns out, EFI boot stopped working. The following boots but fails with > ...=20 > umass0: SCSI over Bulk-Only; quirks =3D 0x4001 > umass0:6:0: Attached to scbus6 > Root mount waiting for: usbus5 CAM > panic: malloc(M_WAITOK) with sleeping prohibited > cpuid =3D 0 > time =3D 4 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > 0xfffffe0081dcf5f0 > vpanic() at vpanic+0x181/frame 0xfffffe0081dcf640 > panic() at panic+0x43/frame 0xfffffe0081dcf6a0 > malloc_dbg() at malloc_dbg+0xd4/frame 0xfffffe0081dcf6c0 > malloc() at malloc+0x34/frame 0xfffffe0081dcf720 > disk_alloc() at disk_alloc+0x1c/frame 0xfffffe0081dcf740 > daregister() at daregister+0x3f4/frame 0xfffffe0081dcf9c0 > cam_periph_alloc() at cam_periph_alloc+0x57b/frame 0xfffffe0081dcfa90 > daasync() at daasync+0x2c2/frame 0xfffffe0081dcfb00 > xpt_async_process_dev() at xpt_async_process_dev+0x152/frame > 0xfffffe0081dcfb50 > xpt_async_process() at xpt_async_process+0x334/frame 0xfffffe0081dcfc60 > xpt_done_process() at xpt_done_process+0x3a3/frame 0xfffffe0081dcfca0 > xpt_done_td() at xpt_done_td+0xf5/frame 0xfffffe0081dcfcf0 > fork_exit() at fork_exit+0x80/frame 0xfffffe0081dcfd30 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0081dcfd30 > --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- > .... You may find the change that's in https://reviews.freebsd.org/D29210 helps -- the trace looks similar to what I saw, and it has worked for me. Note that I only saw the panic while running a kernel with INVARIANTS. Peace, david --=20 David H. Wolfskill david@catwhisker.org That broadly-popular "American Rescue Plan" (stimulus/COVID relrief)? Ever Republican vote in Congress was against it. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --vTq3HNOqMxyiF/CM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmBK6EVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pcm1lwgA0pcQkZ105ZmOyNmaxj3TEq9zVW+iYeWm/5vadsKQSdnHOHkYFfS3ULFS j8WkN93AEgYNWD5KC4jjx3qb4Cew8PabBsw1nMJ9/EGHcwlLzvWLwfXqmaAW5kfO fA/wajAOce1Bbq2qWafCiiAT5hmMF1vZoTn+2ERL0fV9GowSv2VFP3AkVTT1k5fr ozxKcC2fZIZiiMvXghrXAduAeFpolYNxU76z5cWQ4hzPohWyfDLEKsFt0vdfhH8x HjNUY2y0A4gBIlwBGyaslevYvegF61d0nH44jplSoxWOHv2lVh1eFQjbbdJ6O2ml vDCaQKJhkb6z0EtVI3o0IJ4rXyS3yQ== =B2Cl -----END PGP SIGNATURE----- --vTq3HNOqMxyiF/CM--