From nobody Wed Sep 7 22:07:01 2022 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 4MNGZF2rMQz4cFbl 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 4MNGZF0zFFz3WRh 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 4MNGZD6wHRzgKc for ; Wed, 7 Sep 2022 22:07:00 +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 287M70IT004613 for ; Wed, 7 Sep 2022 22:07:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 287M706K004612 for bugs@FreeBSD.org; Wed, 7 Sep 2022 22:07:00 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 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: AssignedTo 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: 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 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=GYdoizI9zmY7UDkqFjOuD41eVET5vu9bxZ/PPBMKFcw=; b=Y8suii07cAs8frBXsgI1TkUFfoVqyLuI/Lbmbe/Qn4SEm6TEL+zk5IhEKTRdrJYzTO/0D+ vrtcPTzdhZFs+tpGY/mRnaRgT0AA076rY9pj6WlHpNVdhLxzd2YY6FSrN7Ilak+fY/7d0k 2xuGoS9LS+MjdO30W7F6KhTCxiw7Knk2GYAW++30ie98DklVQwVCe0iGdvzVo6+ZQoQCOz BkOpY6qoqti7VW9mea5JbQGxnme7wpIg8l03lZW31dIj46s4HaLlbuEsZRW/xAlq+gA9zP lj9OxqmCU2oUwWpDIA2+E0mQHpqJrNcSHetTfSQ9jLQ1olf1lP0HvcNHJkQvtA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662588421; a=rsa-sha256; cv=none; b=cZ+Rn4asaqpOJT1Dw7oq7BQ+W4hbGn37Y9efOklu+59sg3UvPqMc0ZSwogo2KMXxVrTkdT 6ZHGfhj+vaeM+OXv4vIVchgKeF9pQa8457sUzQN0ewb617ER1Babjevv7vJ5E5hSO/WDzT 7+Q4J29RzwPp2Efy8ogzYWKQY2OPn8iorogtrNxIVmgOPsH9et1T17bjR8gljMIfa6s/6/ DxY3tXsN2k9pD9f/Ikuq/UXBR436xuHnIBbY+laqVDU1yORCxds6FdUfV0ztQkN9mHYH9m AH+PoHqUe7JzWSxxBtd3dGd7N9631iXYTor6mY+6XtAbdgohw4Z+i9hPKcQhLw== 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 the assignee for the bug.=