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] [day] [month] [year] [list]
Date:	Tue, 30 Nov 2010 10:11:13 -0500
From:	Benjamin Poirier <benjamin.poirier@...il.com>
To:	Greg KH <gregkh@...e.de>
CC:	Alan Stern <stern@...land.harvard.edu>,
	Johan Hovold <jhovold@...il.com>, Pavel Machek <pavel@....cz>,
	"Rafael J. Wysocki" <rjw@...k.pl>, Len Brown <len.brown@...el.com>,
	Arjan van de Ven <arjan@...ux.intel.com>,
	linux-pm@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
	Andreas Mohr <andi@...as.de>,
	Daniel Sangorrin <daniel.sangorrin@...il.com>,
	linux-usb@...r.kernel.org
Subject: Re: BUG, regression. usb-serial adapter broken by PM?

On 29/11/10 10:26 PM, Greg KH wrote:
> On Mon, Nov 29, 2010 at 08:52:14PM -0500, Benjamin Poirier wrote:
>> Hello,
>>
>> Recently, my usb-serial converter has become unusable. Attempts to open
>> the device always fail with:
>> open("/dev/ttyUSB0", O_RDONLY)          = -1 EAGAIN (Resource temporarily unavailable)
>>
>> The device is a:
>> ID 0c52:2101 Sealevel Systems, Inc. Serial Converter
>> and uses the ftdi_sio driver.
>>
>> I've bisected this problem to
>> commit 1bfee5bc86fdaecc912e06080583eddab7263df2
>> Author: Alan Stern <stern@...land.harvard.edu>
>> Date:   Sat Sep 25 23:35:00 2010 +0200
>>
>>     PM / Runtime: Merge synchronous and async runtime routines
>>
>> I have other usb-serial converters that use other drivers and that are
>> unaffected. I have noticed the problem on a x86_64 machine (.config
>> here: http://pastebin.ca/2006414) and can reproduce it in kvm (with usb
>> passthrough, .config here: http://pastebin.ca/2006416).
>>
>> I'll be glad to provide more info or try patches.
> 
> A patch to resolve this was sent to linux-usb@...r.kernel.org yesterday,
> can you try that one out (sorry, can't dig it out at the moment...)

I think that's the one:
http://www.spinics.net/lists/linux-usb/msg39257.html

It indeed fixes the problem. Thanks!

btw. it seems I was late to the game, I should've checked bugzilla too,
https://bugzilla.kernel.org/show_bug.cgi?id=23012

-Ben

> 
> 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