On Wed, Jul 06, 2011 at 06:44:25PM +0200, Arkadiusz Miskiewicz wrote: > On Wednesday 06 of July 2011, Alan Stern wrote: > > On Wed, 6 Jul 2011, Éric Piel wrote: > > > Hello, > > > It seems I'm very unlucky this week and I've come across to what looks > > > like a second regression in the kernel. I'm running a version few > > > commits after 3.0-rc6, which includes commit e534c5b831c8 "fix > > > regression occurring during device removal". > > > > > > When I plug/unplug/plug a mobile phone, after waiting a few minutes I > > > get a "task khubd:621 blocked for more than 120 seconds." Note that it's > > > directly connected to my laptop, not via an external hub (although the > > > bug also happens with an external hub). > > > > > > Below is the whole dmesg log (with usb debug messages on) > > > > > > Let me know if you need me to investigate more, or maybe there is > > > already a fix for that bug? > > > > Ah -- this stack dump points out the reason for the hang. It looks > > like that "fix regression..." commit didn't go far enough; I neglected > > the fact that interfaces can be unbound out of order when a driver > > claims multiple interfaces. > > > > Adding this patch on top of that commit should fix this. Let me > > know what you both get. > > This one makes usb working after resume from ram (current Linus git + this > patch). Thanks so much for testing. Alan, care to resend this to me so I can get it to Linus? greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html