Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2021 20:04:21 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        Alastair Hogge <agh@riseup.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Asus E45M1-M PRO (panic: malloc(M_WAITOK) with sleeping prohibited)
Message-ID:  <YEroReUVQyhWjTxm@albert.catwhisker.org>
In-Reply-To: <3db68a3f1944fa9e099796ff45f1b1a2@riseup.net>
References:  <d443584b3dffa12b03e2dc89bf19f9e2@riseup.net> <3db68a3f1944fa9e099796ff45f1b1a2@riseup.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YEroReUVQyhWjTxm>