Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753803AbZGWRtW (ORCPT ); Thu, 23 Jul 2009 13:49:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753393AbZGWRtV (ORCPT ); Thu, 23 Jul 2009 13:49:21 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:37448 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752977AbZGWRtV (ORCPT ); Thu, 23 Jul 2009 13:49:21 -0400 Date: Thu, 23 Jul 2009 10:48:09 -0700 From: Andrew Morton To: Alan Stern Cc: Ferenc Wagner , , , Subject: Re: 2.6.31-rc3: replugging USB serial converter uses new device node Message-Id: <20090723104809.6d39b03b.akpm@linux-foundation.org> In-Reply-To: References: <20090723012140.39f697d2.akpm@linux-foundation.org> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1264 Lines: 38 On Thu, 23 Jul 2009 10:44:13 -0400 (EDT) Alan Stern wrote: > On Thu, 23 Jul 2009, Andrew Morton wrote: > > > (cc linux-usb) > > > > On Sat, 18 Jul 2009 22:04:57 +0200 Ferenc Wagner wrote: > > > > > Hi, > > > > > > Since upgrading to 2.6.31-rc3 from 2.6.30, my ttyUSB device number > > > keeps increasing on each replug. Output of udevadm monitor: > ... > > > Dmesg is available at http://pastebin.com/d516e3e00. > > > > Can anyone say whether this is expected behaviour? > > It depends on whether a program is still holding the old device file > open when the replug occurs. But this is new behaviour in 2.6.31-rcX. Was something changed in this area? > > Does it actually cause any observeable problems? I expect things will > > get ugly once it runs out of range. > > The numbers will get reused after the corresponding device files are > closed. > > For further discussion, see this thread: > > http://marc.info/?t=124828810800002&r=1&w=2 > > 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/