From nobody Thu May 27 11:41:45 2021 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7C2DFD7DFC0 for ; Thu, 27 May 2021 11:41:53 +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 4FrQrw2w6rz3FwN for ; Thu, 27 May 2021 11:41:52 +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 14RBfjmG059855 for ; Thu, 27 May 2021 11:41:45 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 14RBfjOD059854 for current@freebsd.org; Thu, 27 May 2021 04:41:45 -0700 (PDT) (envelope-from david) Date: Thu, 27 May 2021 04:41:45 -0700 From: David Wolfskill To: current@freebsd.org Subject: panic: device_unbusy: called for non-busy device iichid0 Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pMgm7mm3HGoGmun9" Content-Disposition: inline X-Rspamd-Queue-Id: 4FrQrw2w6rz3FwN 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 [-0.40 / 15.00]; HAS_REPLYTO(0.00)[current@freebsd.org]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.204.234.170:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[107.204.234.170:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[catwhisker.org]; 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:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; MAILMAN_DEST(0.00)[current]; REPLYTO_EQ_TO_ADDR(5.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N --pMgm7mm3HGoGmun9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This was on the new(er) laptop with which I have been experimenting; it uses iichid to controll/access the built-in mouse/touchpad. The machine was running: FreeBSD g1-48.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #252 main-n2= 46951-38e7025a60b2: Wed May 26 04:56:25 PDT 2021 root@g1-48.catwhisker.= org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400017 1400017 at the time. Note that the reboot after building the above (yesterday) was without issue, and the reboot after the panic was also without issue -- so this would seem to have elements of timing/racing involved. (And it's likely to be distinctly unpleasant to debug, as it seems that reproduction may be rather "iffy.") I took a photo of the displayed backtrace; it's at https://www.catwhisker.org/~david/FreeBSD/head/n246951/device_unbusy.jpg Here's a slightly-abbreviated hand-transcribed version: panic: device_unbusy: called for non-busy device iichid0 cpuid =3D 8 time =3D 1622113818 KDB: stack backtrace: db_trace_self_wrapper() vpanic() panic() device_unbusy() iicbus_release_bus() iichid_intr() ithread-loop() fork_exit() fork_trampoline() --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- KDB: enter: panic [ thread pid 12 tid 100170 ] Stopped at 0xffffffff80c36867 =3D kdb_enter+ 0x37: $0,0x12a0b9e(%ri= p) db>=20 Peace, david --=20 David H. Wolfskill david@catwhisker.org Republican Congressional leaders are giving support to those who took up arms against the government of the United States on 06 January 2021. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --pMgm7mm3HGoGmun9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmCvhXlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PcmJQQgApxr6vIVzwcZVY0IhWKTFMIJTz8w1KrQRD9YViwyELUfeVsr1+VPvsSAI n23DrR4os7nb/K1UYRnqtDIqaZKGSP3nCuHERhPMrFYNeyu/jgn48r0/Sfy9AptK 3waKiaTtkdoiiUVRTADaCvVOtC7QRWvH98DyehsA4YiEzzKZ3kyCXiUuNPh4F3Ap v1eqI0Keep0fzZLs1/FZVePXg9yo9u6dcV5JpD2y9gyxLChyz0R36xEFQiAzpa/2 Yjck6Pk6gTdAWra+S1M8Szr6TwV7Nah/xK2B7XxjSJ7dF9nMK+9/KNPFfaF2C5LP iDqxHEUtZIwMwlv6qQ+31hoilEpwJg== =2VNR -----END PGP SIGNATURE----- --pMgm7mm3HGoGmun9--