From nobody Thu Jun 01 15:53:36 2023 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 4QX9f96ZGxz4Yh3q for ; Thu, 1 Jun 2023 15:53:37 +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 4QX9f86h4sz3J4c for ; Thu, 1 Jun 2023 15:53:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685634816; 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=82gJj++L01G3SEfcySBEQtyNH0t1H7TQ9hDhvm28rjw=; b=O3iBjV0EtFHYwDQgCaL0jtGTZLmK67IJxyQvl85BeY39VJpHeTahVjYBY5uWA8Ifa9GLBf NqMSGprP6hePasDXIoI24o49TQj3hwCjhSh0ECVU8/ZYfGWhDKLcQAhhANKMvFJpwhI06l 5zkqzOX0OG+zjh5WB3QD9TdIsaOhsk3UlpyymaeCNp35GyN6jmeRnL9MeMiskOHKTDVPiX 5P6fWXrwk/v8KHDer18y/4JofKSvRfOG0Y4Ln3yI8nycl5BwNYTk0ftNaSPDEYXiUIT2fc W3ptzkHJ01ff0dG7tDrldpGFwTVXvM5vKZL85PMbXfAe/hNFrvKmUFXirzhGVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685634816; a=rsa-sha256; cv=none; b=j91+qvojjVexIoBHOwrqcHP8C6jMGnwwHYrFm53ZbV/UPqAsebKCznVfNplqErwx3Mzk84 Mju/Vs2xuvCOWC8///6x8gnkIK0mYF3XbSdXvkr1jR8YxXcv9iUUjDA3eP/NbW25Bokujq +wgtaF8pmLrjA6BAY7+nbpyoFX9jcTcprnrnpRL81io9krY3Jg4h6BdAP7bY7zd7ut85n8 z7Erp0vzh0UkdZqXN3DbWKW/g+L8YGJPBM4/oQaJqItTPd/Yw/4Q8QCkcQry13UcLqT5e+ Wfky72oP23StMZ52NBwJDO1/jFQxEq+AluvdpEUVp730dkK22U/9LTtg+qB0YA== 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 4QX9f85mV9zNWS for ; Thu, 1 Jun 2023 15:53:36 +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 351FraZh086114 for ; Thu, 1 Jun 2023 15:53:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 351Fra1c086113 for bugs@FreeBSD.org; Thu, 1 Jun 2023 15:53:36 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 271768] panic: _sx_xlock_hard: recursed on non-recursive sx iflib ctx lock @ /usr/src/sys/net/iflib.c:2582 Date: Thu, 01 Jun 2023 15:53:36 +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 Only Me X-Bugzilla-Who: pkubaj@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 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271768 Bug ID: 271768 Summary: panic: _sx_xlock_hard: recursed on non-recursive sx iflib ctx lock @ /usr/src/sys/net/iflib.c:2582 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: pkubaj@FreeBSD.org I run CURRENT revision baef3a5b585f. my kernel config is: include GENERIC ident VAL nodevice em nodevice ixl nodevice iavf nodevice ice nodevice ix nodevice ixv When I try to kldunload if_ice, I get: panic: _sx_xlock_hard: recursed on non-recursive sx iflib ctx lock @ /usr/src/sys/net/iflib.c:2582 cpuid =3D 3 time =3D 1685630930 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe010b847= 5d0 vpanic() at vpanic+0x150/frame 0xfffffe010b847620 panic() at panic+0x43/frame 0xfffffe010b847680 _sx_xlock_hard() at _sx_xlock_hard+0x82d/frame 0xfffffe010b847720 _sx_xlock() at _sx_xlock+0xb3/frame 0xfffffe010b847760 iflib_media_status() at iflib_media_status+0x32/frame 0xfffffe010b847790 ifmedia_ioctl() at ifmedia_ioctl+0x16a/frame 0xfffffe010b8477c0 dump_iface() at dump_iface+0x12f/frame 0xfffffe010b847840 rtnl_handle_ifevent() at rtnl_handle_ifevent+0xab/frame 0xfffffe010b8478c0 if_attach_internal() at if_attach_internal+0x41e/frame 0xfffffe010b847910 ether_ifattach() at ether_ifattach+0x29/frame 0xfffffe010b847940 iflib_device_register() at iflib_device_register+0xbf7/frame 0xfffffe010b84= 79d0 iflib_device_attach() at iflib_device_attach+0xb5/frame 0xfffffe010b847a00 device_attach() at device_attach+0x3c0/frame 0xfffffe010b847a40 device_probe_and_attach() at device_probe_and_attach+0x70/frame 0xfffffe010b847a70 pci_driver_added() at pci_driver_added+0xf2/frame 0xfffffe010b847ab0 devclass_driver_added() at devclass_driver_added+0x39/frame 0xfffffe010b847= af0 device_do_deferred_actions() at device_do_deferred_actions+0x3a/frame 0xfffffe010b847b10 devctl2_ioctl() at devctl2_ioctl+0x531/frame 0xfffffe010b847be0 devfs_ioctl() at devfs_ioctl+0xcc/frame 0xfffffe010b847c30 vn_ioctl() at vn_ioctl+0xc0/frame 0xfffffe010b847ca0 devfs_ioctl_f() at devfs_ioctl_f+0x1e/frame 0xfffffe010b847cc0 kern_ioctl() at kern_ioctl+0x1fe/frame 0xfffffe010b847d30 sys_ioctl() at sys_ioctl+0x154/frame 0xfffffe010b847e00 amd64_syscall() at amd64_syscall+0x140/frame 0xfffffe010b847f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe010b847f30 --- syscall (54, FreeBSD ELF64, ioctl), rip =3D 0x1da51d7cee6a, rsp =3D 0x1da51b4eb188, rbp =3D 0x1da51b4eb240 --- --=20 You are receiving this mail because: You are the assignee for the bug.=