From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1BFF3783A5 for ; Thu, 29 Jan 2026 09:28:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769678906; cv=none; b=RwMFTSXZyILHYKGzYNUG4WbDdQYSwpllVkcbqGiYjim4xCp7uhtHGSnWgZnvFCe0xqI8tlBGveiLfPfl60042dWtXKucyzvGHtstjw7p8dFg2aLJTkz4kKY0mbDDuZ2ulmdPW/EMxgCoh+sFRRhpU+/Jo84TLzHGghEtrkbZjgU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769678906; c=relaxed/simple; bh=9IC1mYIL2K/qsFi0WWJzhAFG9W9yVZCl1E7bZ2lIdW0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=W89FGGCHGHkQJwQpy065bcQCx3zyxnZsoCM2fH9aL9gkdjjCxebL3E4XrW6LF9MY+5aUtfyQ1dRrec74pmhDpwWl36bGEOzI/NoQJ4tAPgPfZFO67HHZ3/YUrAePN0EMq2p4sBbUkBgfgMsZD3l+p3BqxMe7dVUh5/xWFclDeUc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ax+gAJrm; arc=none smtp.client-ip=209.85.208.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ax+gAJrm" Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-382fa66fa9dso5974031fa.0 for ; Thu, 29 Jan 2026 01:28:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769678903; x=1770283703; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=mTOjjGHr9MOnepGVIrtUBGY601QmKBRtnyWIB6Hs06M=; b=ax+gAJrmndTvq0aFo6z38TWdSEJviOrp6QHdi+8WjoPceDZ3OSzjUU68gYBwoOMztq PsBbeEDrHLY9adHq3OMVW0DefyByGZ4SWxFBlwfLTzfCr133fnUMsZ9SIP5E/YWrmkRx Rxpuwyz4d/jfJh1I0EbeYmRN1hxbELnzAlFvesLN0zxIq/2m1XD0uRo9BV4PsBueu2+g nBDRrtvMgK0RRdCrkUwzCKKK1JYyUgDpq7GB949kRc8E4pkEplA2EE8Z+ZLZDrTBUWtz MUKaPxJlSf4OZsB5M2ba8IeRLoZptWJItPF+Oh2lqoChrFkCb5Z8fcP/kvRZtzRhkH4H 8HvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769678903; x=1770283703; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=mTOjjGHr9MOnepGVIrtUBGY601QmKBRtnyWIB6Hs06M=; b=fsbB1NKMFrhOJ5NY+pJNf2wNFypZa0LA/IzvsCKF3F5HWHy0wF4Q+yd80txVCvo2+F ifgGEeXznHyb8QT0iKhhwFdRRIHm1VbwMhGG7jMZLd/j61GuiQRqjaw0Ixm77uGParKo 8WRtewW/4sYI2MC9AQEeCkKYkJ9LqRwIssaLeFg71elc2xd6XU79QshAn49eNVYuAcsX 7mYA0+9lAfLqJ3Ll6crWD8h5FqcnySIIDsYPIJETBINiy9dRRjd9gJE2Us2tU8phthP6 W/WWRvLoTUimmiTayUrAOQMf652HfVgw65/rgAFl1UZY9vfqC8BCIJXeDUDRO5fg81NB ON+A== X-Forwarded-Encrypted: i=1; AJvYcCXewV4cVwYsAKp5UjtFXmZE29tQfCsRQd19lZHRgPYP9D60ZXaKc6HlQ5UmEGq2l8QpBLYTUDlicw+lq9k=@vger.kernel.org X-Gm-Message-State: AOJu0YxbM/D9P2lRfuNDn6ngweFwS/ur/0f5AuZR9MUy23NjA8xmYHsL EMc3FyONouSkpm4oKC/m0Rm4LwJiIw9mUMqvbxvRn2UCavkGf06zuA5G X-Gm-Gg: AZuq6aI2yp5g0RThvQBV8wGrsxH9wtCs23yGCN5LhhazOC/u5BlujNbv83Yiqju5InF 1TeGKlm0o+3eqOtyIBhZ2DwZY/jQfit7xXsYzVagQdZyl79pGSGccJsU9fRXidjAwnCKszMjdYy jc8X/fs+wA0jquU+ZQL52h/cm0/0WQA22YiKscQ+zzrBsIqA9Os9jLf2sIKBej/JcXZulcVJ3BL 5lJL3WR+vMZbc7PzCmOjauMGM/J2t3HgdN1VlzbkBQfa7d5DfEAKu1fyihZtaGNKbYoe1qooxc1 wOIniMcPd2GSFVhnkHfqdsHpsR497Re5hxdruujVgWTesz5/ZcSG0zdOkVxOEkIfGEakINmuvPX jZctILqN4bv/USI7ii+c5KfRTWEslSGGyVmCMywaVy9LNIoQpPrQEvIC/rPP2Zlced5nXxZAELS 9pUl58EsKfosb4ULBE1c9wOeQ= X-Received: by 2002:a2e:a7c1:0:b0:383:1962:b8ec with SMTP id 38308e7fff4ca-3861c8c25c8mr42560291fa.33.1769678902851; Thu, 29 Jan 2026 01:28:22 -0800 (PST) Received: from foxbook (bgw148.neoplus.adsl.tpnet.pl. [83.28.86.148]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-38625f6c670sm7658351fa.32.2026.01.29.01.28.21 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 29 Jan 2026 01:28:22 -0800 (PST) Date: Thu, 29 Jan 2026 10:28:19 +0100 From: Michal Pecio To: Ben Greear Cc: Oliver Neukum , Alan Stern , Hillf Danton , LKML , linux-usb@vger.kernel.org Subject: Re: Deadlock in usb subsystem on shutdown, 6.18.3+ Message-ID: <20260129102819.77378628.michal.pecio@gmail.com> In-Reply-To: <737b2608-3b62-0e8b-9c78-44cca4d078be@candelatech.com> References: <20260114024506.2210-1-hdanton@sina.com> <2b4c47a5-1a5a-4e94-87d6-152da16a3b9c@rowland.harvard.edu> <2ea634c6-26a4-48a7-8fcc-ad0ce06af890@suse.com> <737b2608-3b62-0e8b-9c78-44cca4d078be@candelatech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 20 Jan 2026 09:29:56 -0800, Ben Greear wrote: > >>> On 1/14/26 07:13, Alan Stern wrote: =20 > >>>> Unfortunately, we have no to tell from the log you collected > >>>> which host controller driver encountered this problem.=C2=A0 Nor, > >>>> unless you can replicate the problem, any way to track down > >>>> exactly where in that driver the bug is -- or even any way to > >>>> tell whether a proposed fix actually solves the problem. Considering this looks like x86-64 I think we can make an educated guess that the usual suspect was involved. The guess could be confirmed by running 'lsusb -v' to see if there is anything *other* than xhci-hcd on this machine at all. I have seen shutdown hangs many times when I broke this driver in various ways that caused URBs not to be given back. The unlink mechanism is complex, with many steps to possibly go wrong. > We are not able to reproduce the problem. If we are able to > reproduce, we'll take more precise notes and provide what details > we can find. Chances are you may not see it again, but if you want to hunt for this bug I would suggest setting the system to enable dynamic debug before every shutdown. Particularly xhci_hcd module debug if you can confirm that this is the HCD in use. It is possible to have those symptoms at shutdown due to a problem that already began before shutdown, but maybe went unnoticed. Regards, Michal