Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 2020 05:44:19 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   "panic: malloc(M_WAITOK) in non-sleepable context" after r364296 -> r364341
Message-ID:  <20200818124419.GO1394@albert.catwhisker.org>

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

--mgiPvHqStUXOBTSF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Just did a src update from r364296 -> r364341 on amd64 on my bild
machine (laptop is still working -- it built firefox earlier, which
takes some time).  On initial reboot, the build machine panicked:

umass0:  SCSI over Bulk-Only; quirks =3D 0x4000
umass0:6:0: Attached to scbus6
(probe0:umass-sim0:0:0:0): Down reving Protocol Version from 2 to 0?
panic: malloc(M_WAITOK) in non-sleepable context
cpuid =3D 1
time =3D 20
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff8218d=
440
vpanic() at vpanic+0x182/frame 0xffffffff8218d490
panic() at panic+0x43/frame 0xffffffff8218d4f0
malloc() at malloc+0x20c/frame 0xffffffff8218d540
devfs_alloc() at devfs_alloc+0x28/frame 0xffffffff8218d570
make_dev_sv() at make_dev_sv+0x97/frame 0xffffffff8218d600
make_dev_s() at make_dev_s+0x3b/frame 0xffffffff8218d660
passregister() at passregister+0x3e7/frame 0xffffffff8218d8b0
cam_periph_alloc() at cam_periph_alloc+0x57b/frame 0xffffffff8218d980
passasync() at passasync+0x5c/frame 0xffffffff8218d9c0
xpt_async_process_dev() at xpt_async_process_dev+0x152/frame 0xffffffff8218=
da10
xpt_async_process() at xpt_async_process+0x334/frame 0xffffffff8218db20
xpt_done_process() at xpt_done_process+0x3a3/frame 0xffffffff8218db60
xpt_done_td() at xpt_done_td+0xf5/frame 0xffffffff8218dbb0
fork_exit() at fork_exit+0x80/frame 0xffffffff8218dbf0
fork_trampoline() at fork_trampoline+0xe/frame 0xffffffff8218dbf0
--- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 ---
KDB: enter: panic
[ thread pid 16 tid 100068 ]
Stopped at      kdb_enter+0x37: movq    $0,0x10b70f6(%rip)
db>=20


So -- it's at the debugger prompt; given sufficient hints, I'm happy
to poke at it & report back.

Yesterday's (r364296) verbose dmesg.boot is at
http://www.catwhisker.org/~david/FreeBSD/history/freebeast.13_dmesg.txt
(in case that's useful).

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Donald Trump is either ignorant of how to govern or is refusing to do so.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--mgiPvHqStUXOBTSF
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl87zSNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy
OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2
PcmgAwgA1kQvl/vuEcKNunvqutvNPv2s/gNPUm7cOoDFkKcJPBhfVnhteBW2IZaz
D/8PIWkTdivYxg7OErBJKQMdrlt69VdzzT+5XkogRFg+39tlgu2/+6xdjOSLsXLX
3NgZoeZLKCFGIfZyLY53PM61f7UFUwbLUSlYZEYeWekvVAi2v5VYIxiM6TUnjVr0
S1CBFDH99AKFu5TscZXiJMGRH4flCla+XoXiHtuLLJyU51enj2dUvFgomIPZNYkB
ayKuKLo3A4XzhHeQoVeCDl5Eac2+u1ZmY/nurDnrnwtSJVCJrKo/PzQjzFlaYPD8
dhL0YemksGPhTnAeF75UZd2zSnJTBw==
=7Frk
-----END PGP SIGNATURE-----

--mgiPvHqStUXOBTSF--



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