From owner-freebsd-bugs@freebsd.org Thu Sep 17 20:02:48 2020 Return-Path: Delivered-To: freebsd-bugs@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 12E8D3EC514 for ; Thu, 17 Sep 2020 20:02:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BsnvC6r2nz4XR3 for ; Thu, 17 Sep 2020 20:02:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EAA5D3EC1E5; Thu, 17 Sep 2020 20:02:47 +0000 (UTC) Delivered-To: bugs@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 EA6E03EC41D for ; Thu, 17 Sep 2020 20:02:47 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BsnvC5yMPz4Xf5 for ; Thu, 17 Sep 2020 20:02:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B0191FA33 for ; Thu, 17 Sep 2020 20:02:47 +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 08HK2lL6016547 for ; Thu, 17 Sep 2020 20:02:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08HK2lQh016546 for bugs@FreeBSD.org; Thu, 17 Sep 2020 20:02:47 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 249408] ARM64 MMCCAM: exclusive sleep mutex CAM device lock Date: Thu, 17 Sep 2020 20:02:47 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gbe@FreeBSD.org 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2020 20:02:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249408 Bug ID: 249408 Summary: ARM64 MMCCAM: exclusive sleep mutex CAM device lock Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: gbe@FreeBSD.org Booting a MMCCAM enabled kernel of a recent -CURRENT leads to the following 'exclusive sleep mutex CAM device lock' error message.=20 uma_zalloc_debug: zone "128" with the following non-sleepable locks held: exclusive sleep mutex CAM device lock (CAM device lock) r =3D 0 (0xffffa00000e264d0) locked @ /tank/nfs_public/tiny/src/sys/cam/mmc/mmc_da.c:1105 stack backtrace: #0 0xffff0000004d47c4 at witness_debugger+0x64 #1 0xffff0000004d56d8 at witness_warn+0x21c #2 0xffff0000006bf754 at uma_zalloc_debug+0x30 #3 0xffff0000006bf50c at uma_zalloc_arg+0x28 #4 0xffff00000044c32c at uma_zallouhub1 on uhub0 #5 0xffff00000044c130 at malloc+0x94 #6 0xffff0000000fa2f8 at sdda_add_part+0xe0 #7 0xffff0000000f8c9c at sdda_start_init+0x97c #8 0xffff0000000f82e0 at sdda_start_init_task+0xbc #9 0xffff0000004c82ac at taskqueue_run_locked+0xac #10 0xffff0000004c9098 at taskqueue_thread_loop+0x68 #11 0xffff000000433170 at fork_exit+0x80 System is an RPi4B with the following kernel config: include GENERIC options RATELIMIT options TCPHPTS options CAMDEBUG options=20=20=20=20=20=20=20=20 CAM_DEBUG_FLAGS=3D(CAM_DEBUG_INFO|CAM_DEBUG_PROBE|CAM_DEBUG_PERIPH) device pass options MMCCAM nodevice mmc nodevice mmcsd --=20 You are receiving this mail because: You are the assignee for the bug.=