Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp143037lqb; Tue, 4 Jun 2024 07:26:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWk5V1MtaowmGzUKITOulcig47+chQBTamXOi/P0FbM8MpXwGJQ0TERY7NsJw1Cg3rbIf2nwcP4MkamR3BlR5xajb9+uS95I1S/eCJycw== X-Google-Smtp-Source: AGHT+IFX/AxrS9dLUa9Ztw09belWHxbZDAM6ypaPdH9cBpDvp+FEkddVlerxP4b42IFjtEXOfvzG X-Received: by 2002:a05:6358:a54:b0:199:53ec:148c with SMTP id e5c5f4694b2df-19b490d9ecemr1120478655d.20.1717511209999; Tue, 04 Jun 2024 07:26:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717511209; cv=pass; d=google.com; s=arc-20160816; b=0lfiQ81aTYG/P1+qI8WS9HqC5Ta4+Z/MawrW5QzAa69KeI+Tt0zhxDV26yMBvoFv2K SAm/8UrbFegd2HvaBAiC5pI70pdGFpPb4FTNf0EdTYeNQV88lauP+g3xzmic8+J9/L4n WyDp/EfTkca6icAMay5FejkOVIgikJj+oDuDBZ9iHlGrsJjvX8AXsXzsGGUPePNkoDl4 L418s4wzXea3D147c8zRDKVWGZ+7UlWML1Viq85mHZq6nGLNyqXGlUcgpVxS/31zRC50 DT/qsBVsziHdZ1nFOPSDPOWyh8LmMfR9BrJW7tCVvvdiEfQBpwMM2cex3Zs08+2UufW5 fm+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=obsiSiSuo+tiHZJLtOfiaSpJvKvWcBmL0Dz7WQEX990=; fh=3bqb3BGEx+DJmKhoKoluwzmJYIAtlMUR7gKr8Jdu0/g=; b=Tt3zGcPjW4za5ke1y8jT1oMSmxdBltxewP4bvXA47fNExBYNQskzWVsQkTRk/eVSAS I1/APEXtZZ2B9/b7BVzd6hKFy75ybL3QpbdbT1zEZ8ykT3qScjfi0CnxM8rTekYoNkZd clwCquphV94UC3O7D59csW/HST0cs6twaicsgN/7FN6/R/clgP3U3gEoW12ip2j0CrpM LzYhOEzskmoWASIPwoQfipX3z5aiQjfjrMNGCg5evYuVWViTfonJF5IPBmew5OurLpri GnVVLn/zxkJSvG5P+Z4680YbZVARG/jEPhLDqZ4VsDrHFBDnScxuY1qzJJi8qNRsFSGP DWzw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-200801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200801-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6cc32273e72si1594016a12.694.2024.06.04.07.26.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 07:26:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-200801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200801-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E846F2870D3 for ; Tue, 4 Jun 2024 14:21:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 206FF13C3F0; Tue, 4 Jun 2024 14:20:41 +0000 (UTC) Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by smtp.subspace.kernel.org (Postfix) with SMTP id B2185131736 for ; Tue, 4 Jun 2024 14:20:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.131.102.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717510840; cv=none; b=jshoXkF3gASK2xKsIhPABlL1ecCrZ6d9k2ly2zd658ImiHwEJAiQL7lkNQntNGLw8tGuBVxnlMjTNMgZcYLuA8LufaJJJS+rPqEU+DPus+9+0IAfsukwvbmiYeOEvKGlw1oILPBjkI7nba1YScMBGpAjZnkYye5XJw7nRico6BI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717510840; c=relaxed/simple; bh=x9CkWTxGLFPRYVUUOKNEAhRFOItGOxVF5wXD2HSaC14=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PF4pYFxJ+itNBRGsEg0AVeoAJ0TbbpmKox3Kq9HLXjfJpOcjBfxbT1pnxZRwWnNq/ArgKRwPsuRzrHPV2BtjeAVxLSWpBH3JTCwoMUs2Q72VqBQ6gMHc0rpx2GL4eZUYYyyOtlBDTUkXMCLo6eWs14kQlUuIoqaP2tXeFgcQnjQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu; spf=pass smtp.mailfrom=netrider.rowland.org; arc=none smtp.client-ip=192.131.102.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netrider.rowland.org Received: (qmail 158307 invoked by uid 1000); 4 Jun 2024 10:20:31 -0400 Date: Tue, 4 Jun 2024 10:20:31 -0400 From: Alan Stern To: Marcello Sylvester Bauer Cc: syzbot , bp@alien8.de, dave.hansen@linux.intel.com, gregkh@linuxfoundation.org, hpa@zytor.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, mingo@redhat.com, syzkaller-bugs@googlegroups.com, tglx@linutronix.de, x86@kernel.org, Matthias Stoeckl , Uwe Kleine-Koenig Subject: Re: [syzbot] [usb?] INFO: rcu detected stall in schedule_timeout (6) Message-ID: <3e1b188f-2a68-461c-9b7c-a1d85bf8eb31@rowland.harvard.edu> References: <000000000000f8112e0618995e6e@google.com> <46cbe0a914065917ea1024636e864a1e2c982145.camel@9elements.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=us-ascii Content-Disposition: inline In-Reply-To: <46cbe0a914065917ea1024636e864a1e2c982145.camel@9elements.com> On Tue, Jun 04, 2024 at 02:05:12PM +0200, Marcello Sylvester Bauer wrote: > Greetings, > > I'm currently investigating this regression to properly fix it. My > patch only replaces the corresponding timer API calls without actually > changing the code. I'm trying to get it to work properly with the > hrtimer API. > > Any hints on how to accomplish this are welcome. Start by figuring out what isn't getting executed. That is, which USB (or usb_request) transfer isn't completing. Once you know that, see what timer callbacks do occur (if any) and figure out why they don't cause the transfer to complete. If there are no timer callbacks at all when the hang occurs, make a record (printk if nothing else), from the start of the test, of each callback and each timer restart, so you can definitively prove to the hrtimer maintainers that there's a restart with no later callback. Then it will be up to them to figure out what's going wrong. Alan Stern