Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752784AbZG0Pe5 (ORCPT ); Mon, 27 Jul 2009 11:34:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752187AbZG0Pe4 (ORCPT ); Mon, 27 Jul 2009 11:34:56 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:55220 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752706AbZG0Pez (ORCPT ); Mon, 27 Jul 2009 11:34:55 -0400 Date: Mon, 27 Jul 2009 11:34:55 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Carlos R. Mafra" cc: Greg KH , Alan Cox , Linux Kernel Mailing List , Kernel Testers List , USB list , Ferenc Wagner , Kay Sievers , "Rafael J. Wysocki" Subject: Re: [Bisected] [Bug #13821] Replugging USB serial converter uses new device node In-Reply-To: <20090727022623.GA6614@Pilar.aei.mpg.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1710 Lines: 42 On Mon, 27 Jul 2009, Carlos R. Mafra wrote: > On Sun 26.Jul'09 at 22:28:27 +0200, Rafael J. Wysocki wrote: > > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13821 > > Subject : Replugging USB serial converter uses new device node > > Submitter : Ferenc Wagner > > Date : 2009-07-18 20:04 (9 days old) > > References : http://marc.info/?l=linux-kernel&m=124794754015776&w=4 > > I was scanning the regressions list and noticed that I could reproduce > this bug. > > So I bisected it to commit 335f8514f200e63d689113d29cb7253a5c282967 > ("tty: Bring the usb tty port structure into more use"), from Alan > Cox. > > I did not double check if reverting it from -rc4 fixes the issue, > but I noticed that this patch touches drivers/usb/serial/option.c, which > is the driver I used to test this problem. > > If there is anything else I can do (give more info, test patches etc), > please let me know. Are you certain this really is a regression? Under 2.6.30 and 2.6.27 the same thing happened if I unplugged a USB serial device while it was in use. Can you check whether the device is still being used when you unplug it? For instance, is there still a pppd process trying to communicate with the device? If there is, what happens if you kill all the processes using the serial device before you unplug it? In short, it seems likely that this is not new behavior but rather the way usb-serial has worked all along. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/