From nobody Mon Mar 11 20:23:51 2024 X-Original-To: bugs@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 4TtpBw2RTbz5Ddt1 for ; Mon, 11 Mar 2024 20:23:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TtpBv5TXMz559R for ; Mon, 11 Mar 2024 20:23:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710188631; a=rsa-sha256; cv=none; b=tBxBTog0Lfxx10uB5T/opNMTAthygRV7tk3OLvjCSqVimruPgtTTAcZSpVNT+OI1fAzlAh nC9N/eb+S3DGJ+mWN8z4i3CT95eU8kTPVd0BgrjhIdgEtpIYn2ysqXQTkZYAKi7pw5oWML ZySl36fLOyw0mInbvxJBpF1e4Xy5Jx6NcSjMfwM5/WBHDjDsKGsSmyATnTUns78Jn9PweH vwzp1znKrXdDk4xyZ4EbwtJIVAT5jfWuQPQ9SZuPRq3lI1+AwSxKOYyQq5eFo8v9B5fDsG Mdq/1Ugq7lKUfWb2XhhXuVyleYOIBxK9fbakosDvOy05o5MkJfINMCj5zY0aEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710188631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VHq00fQ6WkyLfDMKbXKysvDiT7aUuc/qtXTNaTeh0Vc=; b=TuRQpl93RPi19WzDvby6qVeYEjCXRZzDEj+/0j9qh37s9ktVKW4EDXekeCkQ62wGkB/mZj q9Sbm3GjDbcekiHJntU8ZmSWJIESF3Nm5QCYIPWM6eDqyOeTDI4Gyt0xF9cUiTT5lAg4yx Zg6QK5PN+TdGjKVD5RV4fZH95fAGS2AnwKSWVzmnQA+6vpoOrjq7AGOmTOGuoWGMBRmLNP dorDId/b87NLoIgwXPEoB+olvDLeihtFmmf4I8TCAkr66Tr/va3pPq1P/5E7ilhFik9qBz iO98WyWxOrRRxhcEem0eWgY5IEGrNQOSUQFZ9CCqyEMrMu52G08e4qrn6Ht62A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TtpBv55rHzjvv for ; Mon, 11 Mar 2024 20:23:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42BKNpQ6003124 for ; Mon, 11 Mar 2024 20:23:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42BKNpmT003123 for bugs@FreeBSD.org; Mon, 11 Mar 2024 20:23:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277638] Crash when running devinfo on RPI CM4 Date: Mon, 11 Mar 2024 20:23:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hp@tmm.cx X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277638 Bug ID: 277638 Summary: Crash when running devinfo on RPI CM4 Product: Base System Version: 15.0-CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: hp@tmm.cx Note: This was also tested on 14.0-RELEASE with the same results. To boot the CM4 it is necessary to set devmatch_enable=3D"NO". This papers = over the same crash it seems as gets triggered when running "devinfo" with it enabled. Doing this results in the following backtrace (obtained using kgdb) #0 0xffff00000042b1c8 in doadump (textdump=3D0, textdump@entry=3D323429846= 4) at /usr/src/sys/kern/kern_shutdown.c:403 #1 0xffff0000000efaa4 in db_dump (dummy=3D, dummy2=3D, dummy3=3D, dummy4=3D) at /usr/src/sys/ddb/db_command.c:590 #2 0xffff0000000ef880 in db_command (last_cmdp=3D, cmd_table=3D, dopager=3Dtrue) at /usr/src/sys/ddb/db_command= .c:503 #3 0xffff0000000ef568 in db_command_loop () at /usr/src/sys/ddb/db_command.c:550 #4 0xffff0000000f3050 in db_trap (type=3D, code=3D) at /usr/src/sys/ddb/db_main.c:267 #5 0xffff00000047a94c in kdb_trap (type=3D60, code=3D0, tf=3D) at /usr/src/sys/kern/subr_kdb.c:790 #6 #7 kdb_enter (why=3D, msg=3D) at /usr/src/sys/kern/subr_kdb.c:556 #8 0xffff00000042b480 in vpanic (fmt=3D, ap=3D...) at /usr/src/sys/kern/kern_shutdown.c:961 #9 0xffff00000042b29c in panic (fmt=3D0x12 ) at /usr/src/sys/kern/kern_shutdown.c:889 #10 0xffff00000077e964 in data_abort (td=3D0xffff0000c3a86c80, frame=3D0xffff0000c0c783b0, esr=3D2516582404, far=3D, lower= =3D0) at /usr/src/sys/arm64/arm64/trap.c:398 #11 #12 strlcpy (dst=3Ddst@entry=3D0xffff0000c0c78570 "", src=3D0xdeadc0dedeadc= 0de , dsize=3Ddsize@entry=3D32) at /usr/src/sys/libkern/strlcpy.c:36 #13 0xffff000000486c4c in sysctl_rman (oidp=3D, arg1=3D, arg2=3D, req=3D0xffff0000c0c786d0) at /usr/src/sys/kern/subr_rman.c:998 #14 0xffff00000043d3e4 in sysctl_root_handler_locked (oid=3Doid@entry=3D0xffff000000a3aa60 , arg1=3Darg1@entry=3D0xffff0000c0c787ac, arg2=3Darg2@entry=3D3, req=3Dreq@entry=3D0xffff0000c0c786d0,=20 tracker=3Dtracker@entry=3D0xffff0000c0c78658) at /usr/src/sys/kern/kern_sysctl.c:199 #15 0xffff00000043c754 in sysctl_root (oidp=3D, arg1=3D0xffff0000c0c787ac, arg1@entry=3D0xffff0000c0c787a0, arg2=3D3, arg2@= entry=3D6, req=3Dreq@entry=3D0xffff0000c0c786d0) at /usr/src/sys/kern/kern_sysctl.c:24= 07 #16 0xffff00000043cdec in userland_sysctl (td=3Dtd@entry=3D0xffff0000c3a86c= 80, name=3Dname@entry=3D0xffff0000c0c787a0, namelen=3D, old=3D0x= 1e0e686d760, oldlenp=3D, inkernel=3D, inkernel@entry=3D-10= 60665472,=20 new=3D, newlen=3D, retval=3D0xffff0000c0c= 78798, flags=3D0) at /usr/src/sys/kern/kern_sysctl.c:2564 #17 0xffff00000043cc68 in sys___sysctl (td=3D0xffff0000c3a86c80, uap=3D0xffff0000c3a87080) at /usr/src/sys/kern/kern_sysctl.c:2437 #18 0xffff00000077df4c in syscallenter (td=3D0xffff0000c3a86c80) at /usr/src/sys/arm64/arm64/../../kern/subr_syscall.c:186 #19 svc_handler (td=3D0xffff0000c3a86c80, frame=3D) at /usr/src/sys/arm64/arm64/trap.c:198 #20 do_el0_sync (td=3D0xffff0000c3a86c80, frame=3D) at /usr/src/sys/arm64/arm64/trap.c:640 #21 #22 0x000001e0e9df9944 in ?? () #23 0x000001e0e9d7e888 in ?? () After looking at the code a bit it seems that the "rm" entry is invalid at = that point. I don't really know how to continue debugging this. --=20 You are receiving this mail because: You are the assignee for the bug.=