lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090204000342.GB22380@kroah.com>
Date:	Tue, 3 Feb 2009 16:03:42 -0800
From:	Greg KH <greg@...ah.com>
To:	Dan Williams <dcbw@...hat.com>
Cc:	Chuck Ebbert <cebbert@...hat.com>, linux-kernel@...r.kernel.org,
	stable@...nel.org
Subject: Re: [stable]  A patch in 2.6.27.9 caused device names to change

On Tue, Feb 03, 2009 at 09:50:11AM -0500, Dan Williams wrote:
> On Mon, 2009-02-02 at 16:05 -0800, Greg KH wrote:
> > On Mon, Feb 02, 2009 at 05:02:38PM -0500, Chuck Ebbert wrote:
> > > This patch:
> > > http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git;a=blob_plain;f=releases/2.6.27.9/usb-option-add-pantech-cards.patch;hb=HEAD
> > > 
> > > replaced my wireless adapter's /dev/ttyACM0 interface with three interfaces:
> > > /dev/ttyUSB[012]
> > > 
> > > That broke my ppp connection scripts. And I have to use /dev/ttyUSB1 to connect,
> > > not USB0. Also it looks like Network Manager only knows how to use the first
> > > interface in its auto-connect mode, so people using that also lost their
> > > connections.
> > 
> > Ugh, that sucks.
> > 
> > That is what is also in upstream, so 2.6.29-rc also fails for you?
> > 
> > Dan, what's with replacing working devices with the cdc-acm driver with
> > option device ids?  Is there some reason you did this?
> 
> For a long time we've been operating under the assumption that mobile
> broadband devices should be driven by option and sierra, since those
> drivers had the necessary buffering optimizations to support
> higher-speed mobile broadband devices.

Who is "we" here?  Not me :)

> That was true at least up until 2.6.24.

It all depends on the type of device.  If it says it is a cdc-acm modem,
by all means, let that driver handle it, don't try to bind it to a
different driver (that way lies races and madness...)

> Furthermore, up until this point, I have not seen mobile broadband
> adapters (that aren't cellphones connected via USB) that *are* CDC-ACM
> compliant.  Everything previously has advertised proprietary interfaces,
> some of which are serial ports and some of which are not.

Probably because we never see those devices being reported, because they
"just work" with no interaction from us.

> Plus, are we expected to keep device names stable these days?  cdc-acm
> is the catch-all driver, but if that driver is more "generic" and a
> better driver is found, can we not update IDs just because the device
> name may change?

cdc-acm is the driver for devices that follow the spec and tell the host
computer that they are following the spec.

I'll go dig out and revert this patch, and then propagate it down to the
-stable releases as well...

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ