From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756613Ab0BTQDr (ORCPT ); Sat, 20 Feb 2010 11:03:47 -0500 Received: from sirokuusama.dnainternet.net ([83.102.40.133]:49241 "EHLO sirokuusama.dnainternet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754848Ab0BTQDp (ORCPT ); Sat, 20 Feb 2010 11:03:45 -0500 X-Spam-Flag: NO X-Spam-Score: 0 From: Anssi Hannula To: Oliver Neukum Subject: Re: [REGRESSION] "USB: use kfifo to buffer usb-generic serial writes" causes gobi_loader to hang Date: Sat, 20 Feb 2010 18:03:41 +0200 User-Agent: KMail/1.13.0 (Linux/2.6.33-desktop-0.rc8.1mnb; KDE/4.4.0; x86_64; ; ) Cc: Alan Stern , Matthew Garrett , dvomlehn@cisco.com, gregkh@suse.de, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <201002132101.55079.anssi.hannula@iki.fi> <201002151408.27146.oliver@neukum.org> In-Reply-To: <201002151408.27146.oliver@neukum.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201002201803.41594.anssi.hannula@iki.fi> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On maanantai 15 helmikuu 2010 15:08:27 Oliver Neukum wrote: > Am Samstag, 13. Februar 2010 20:01:54 schrieb Anssi Hannula: > > > I'll get back to this later today, including testing with mdelay in > > > port_release with the extra sleep calls in gobi_loader. > > > > port_release is only called when the serial device is removed, so this > > has no effect here. > > But something must kill your last URB. > You are not using autosuspend are you? Don't know, usbcore has autosuspend=2 and the gobi device has autosuspend=2 and supports_autosuspend=1. > Can load usbserial with "debug=1"? Here's the end of dmesg when running with that option: http://stuff.onse.fi/gobi2000/gobi-regression.dmesg.log This is again with the gobi_loader with extra sleep added in the beginning. Otherwise it hangs (which is the actual original problem). -- Anssi Hannula