From nobody Wed Sep 07 22:07:01 2022 X-Original-To: usb@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 4MNGZF2rLrz4cFQg for ; Wed, 7 Sep 2022 22:07:01 +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 4MNGZF1gxhz3WXY for ; Wed, 7 Sep 2022 22:07:01 +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 4MNGZF0YF5zgQW for ; Wed, 7 Sep 2022 22:07:01 +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 287M71fm004626 for ; Wed, 7 Sep 2022 22:07:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 287M71pF004625 for usb@FreeBSD.org; Wed, 7 Sep 2022 22:07:01 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: usb@FreeBSD.org Subject: [Bug 250309] devmatch: panic: general protection fault: sysctl_devices() -> sysctl_root_handler_locked() in hw.bus.devices sysctl handler when plugging in USB mouse Date: Wed, 07 Sep 2022 22:07:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662588421; 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: in-reply-to:in-reply-to:references:references; bh=UCVfkP/eIqx98JAiTCtXthatnk8uM7gVl64st4j0eew=; b=RQPpnNUr9x99iWcbET/7kzD3d1iv8+LXSm8LLGgwUHlxu3LuRBUWhrxWLsksMNuSVWOFIs 5y5jvDBQdilSEUZU2y7IjlDZRuJ1rZCzpF5vMEk6sW9Y324C72rFMshWhz6rInI9nzLgF8 iiWHDmh5M5jFJT9oZ/ARrcA8KmhdwrDkzmr1qDfOZxig0vTJeig51xDcj7eQjaapd5jqQU w58Q00NXJKUJuwCT7tttMMiJYgjykuuf0Qcx4SSdjBI5lZ+nmmlSsXWIALhImHf6G1LsLr CHL39OQ2q4IKiI1LFADYqGRTY1j5Mf4xSOzCVZh/pmhYVPomiTDYEDEH+3eU5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662588421; a=rsa-sha256; cv=none; b=RyjEqt1PrhCNQ6d7GVL8AyEeXxAZk6/0MvUBULtnUIRVbadcknTLiYV+Y+c8SsaqxzdGqc 0MRi9w+I07cDZ++p5C2L8piwlN3JOWIretHMxfgUvVMFJ2ctnICQAa0W2UlQUJl91FIwEn UNLgMKeLJdNcBIDAoYe+vACs2fa3CURVpFPFngtnkUhY3F3HVJ0Ks4nPBjdCum81Noupvn KXkeaonblexROnaA1IX14BQtsBQxqBs6ULPrSSFzQFp4YJ+MV8a9RV0uP9evJdjAPZSM34 KAf+N3NfQfEO6bDMoVwtlWssTVB6SK+IS7X2F96hygDZNVOJypAN35IGecjRXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250309 --- Comment #6 from Warner Losh --- I think we can just switch the bus lock routines over to using an sx lock w= /o adding or removing other locking which may be tricky for some of the consum= ers of newbus (they already cope with Giant though, so a giant-like sx lock I t= hink will be fine). --=20 You are receiving this mail because: You are on the CC list for the bug.=