2.6.27-rc2 USB suspend regression

Previous thread: BOF Request for Linux Foundation Technical Advisory Board Election by James Bottomley on Wednesday, August 20, 2008 - 1:37 pm. (9 messages)

Next thread: [OT] 'git pull' from Linus' tree doesn't work for me any more by Rafael J. Wysocki on Wednesday, August 20, 2008 - 3:45 pm. (9 messages)
From: Jeremy Fitzhardinge
Date: Wednesday, August 20, 2008 - 1:48 pm

Using the Fedora Rawhide kernel RPM "2.6.27-0.238.rc2.fc10.i686"
(kernel-2.6.27-0.238.rc2.fc10.i686), I'm seeing suspend to ram
failures.  The suspend seems to go OK, but then I just get endless:

usb 5-1: uhci_result_common: failed with status 440000

messages, with occasional flickers of something else being printed
(perhaps).  The machine is otherwise unresponsive.

    J
--

From: Rafael J. Wysocki
Date: Wednesday, August 20, 2008 - 2:02 pm

I haven't seen anything like this so far with 2.6.27-rc.  No idea what might
have caused that to happen.

Thanks,
Rafael
--

From: Alan Stern
Date: Wednesday, August 20, 2008 - 2:28 pm

You could comment out that error message in order to see what else is 
in the log.  It is located in drivers/usb/host/uhci-q.c in the 
uhci_result_common() function.

You could try running -rc3 instead of -rc2, although that probably 
won't make much difference.

What USB devices do you have on the failing system?  In particular,
what is 5-1?  If you unplug it before suspending, does the problem go
away?  (It certainly should!)

Alan Stern

--

From: Jeremy Fitzhardinge
Date: Wednesday, August 20, 2008 - 2:42 pm

No external usb devices.  There are three internal USB devices:
Bluetooth, a Sierra CDMA modem thingy and a fingerprint reader.

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 0483:2016 SGS Thomson Microelectronics
Fingerprint Reader
Bus 005 Device 002: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 1199:0218 Sierra Wireless, Inc. MC5720 Wireless Modem
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

The rfkill switch "unplugs" the two wireless devices, so I'll try that
before suspending next time (if I remember).

    J
--

From: Alan Stern
Date: Wednesday, August 20, 2008 - 2:55 pm

Obviously 5-1 is either the Bluetooth controller or the fingerprint 
reader.  It's understandable that either one of them might have 
problems with a suspend/resume cycle, but the kernel ought to be able 
to recover by itself.

It would help to see the USB debugging log (without all those useless
uhci_result_common messages).

Alan Stern

--

From: Alan Stern
Date: Wednesday, August 27, 2008 - 2:30 pm

Is this still a problem?

Is this related to other Bluetooth suspend/resume regressions in 
2.6.27?

Alan Stern

--

From: Jeremy Fitzhardinge
Date: Wednesday, August 27, 2008 - 2:36 pm

I haven't seen it lately, but it was fairly erratic anyway.  It happened
a few times in quick succession, and then it all worked fine.  The
rawhide kernels are getting fairly old (I guess RH is still trying to
pull its infrastructure together), so I'm running a fairly recent

I'm not sure if its BT or Sierra wireless related.

    J
--

From: Oliver Neukum
Date: Thursday, August 28, 2008 - 12:14 am

The attached patch is reported to make the problem go away for
a user of btusb. He might be able to use it for narrowing down causes.

	Regards
		Oliver

Previous thread: BOF Request for Linux Foundation Technical Advisory Board Election by James Bottomley on Wednesday, August 20, 2008 - 1:37 pm. (9 messages)

Next thread: [OT] 'git pull' from Linus' tree doesn't work for me any more by Rafael J. Wysocki on Wednesday, August 20, 2008 - 3:45 pm. (9 messages)