From nobody Wed Apr 26 16:03:14 2023 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 4Q63Yv0DXxz46x3g for ; Wed, 26 Apr 2023 16:03:15 +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 4Q63Yt6KT7z3PQJ for ; Wed, 26 Apr 2023 16:03:14 +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=1682524994; 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=gcZ71Hd8VYswbO0ndyEztaXSydgqdERSQa7+EWvoMxU=; b=iN75mh57vlqz2MiEXOO6x8+LgpS38EylwtMZ3kf+LJ0yhpUb8OD/J3l1QQN148O1Q5DEYB kqoqkxlGmumat/QPQGdtlnIjpb7hPi6vn0Z9m+57Q/N8GGk3JvYrtR4S2IA5E3rxTsdkwj eYTTPT9BkWv5tZjSarPNotvtbAW+laC0JW3MoBZWelcaaoIgmwXIhIsnQ0CbGQDsFD8nmD 6YOH+C1akJ74u+QzSJcBBKasqpsu+bnNCr/DAYlI9dP+dppjsZlN9wbk1GqdJ1aWJ58h66 V8CwXT0ZLFAv4arFudw2DzAFG5X/AmdXLbcbxbD4N4+yu8UAgoNqM+LZLRI3yA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682524994; a=rsa-sha256; cv=none; b=CmLEP6xJFESS8y0jYzzuEw0+RRqaoKJsTWFmI/mxLz0PE/0j384lLerxENJgMNu6e2Zpwc Tj0ukBvzRDqwWJFiQbk1awiucxBtVNfAEuQcvY0+5PNIrziLutJoHJoEHxyHj0YUm7bfOA bLRzGBHuYrdiLvm/TYm+OJCnWw9ZMHb2klobk1PGQsr/Nb9caHAGw78X/gjIAR5Q0jfNah 1zkwr7ce+YgP/hxgon2st4SoF96B7JWD1QFpzbLOga8Xpsq/PaoV6AjCjqnkjNykP0VBU8 VjO2xJ4i93wddRLGAqiirBINdx3lbE3ItnadCRWPL6tz51pXOC5x0ESpgRiXdA== 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 4Q63Yt5DgLzhFp for ; Wed, 26 Apr 2023 16:03:14 +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 33QG3E1P009538 for ; Wed, 26 Apr 2023 16:03:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33QG3EjJ009537 for usb@FreeBSD.org; Wed, 26 Apr 2023 16:03:14 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 249966] USB config SX lock Date: Wed, 26 Apr 2023 16:03:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249966 --- Comment #7 from Warner Losh --- (In reply to Hans Petter Selasky from comment #4) > Looks like there are still issues with CAM refcounts. Not as far as I know. I've not seen any ref count leaks in CAM in a long ti= me that weren't related to "stuttering" devices that came and went many times quickly over the course of a few seconds. So this is=20 Though sleeping in cam_free_sim() suggests that somebody hasn't kept proper book somewhere... Or that somehow we've missed a wakeup on the sim from cam_sim_release... If this is reproducible, I have some basic debugging tools that we can use = with kgdb to look at the state of CAM to see if this problem is caught by one of= the checks I have. --=20 You are receiving this mail because: You are the assignee for the bug.=