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]
Date:	Tue, 5 Jul 2011 09:10:57 +0200
From:	Arkadiusz Miskiewicz <a.miskiewicz@...il.com>
To:	Alan Stern <stern@...land.harvard.edu>
Cc:	Kernel development list <linux-kernel@...r.kernel.org>,
	USB list <linux-usb@...r.kernel.org>,
	Sarah Sharp <sarah.a.sharp@...ux.intel.com>
Subject: Re: 3.0rc3-rc5: usb stops working after resume from suspend to ram

On Monday 04 of July 2011, Alan Stern wrote:
> On Mon, 4 Jul 2011, Arkadiusz Miskiewicz wrote:
> > On Thursday 30 of June 2011, Alan Stern wrote:
> > > And now you know why, more or less -- we still have to figure out the
> > > reason for the hang.  Probably something goes wrong when cdc-ether is
> > > unbound from the wireless device.
> > 
> > Reverting patch below fixes hang.
> > 
> > commit fccf4e86200b8f5edd9a65da26f150e32ba79808
> > Author: Sarah Sharp <sarah.a.sharp@...ux.intel.com>
> > Date:   Sun Jun 5 23:22:22 2011 -0700
> > 
> >     USB: Free bandwidth when usb_disable_device is called.
> 
> Ah, very good!  That explains everything.  Someone else reported a
> similar problem that was tracked down to this commit, and I submitted a
> fix a few days ago:
> 
> 	http://marc.info/?l=linux-usb&m=130955300211987&w=2
> 
> I bet this will fix your problem too.

Unfortunately it doesn't fix my problem (rc6 + that patch).

usb still hangs after resume and repluging device causes no effect.

[   60.530119] Restarting tasks ...
[   60.530179] hub 5-0:1.0: state 7 ports 2 chg 0000 evt 0000
[   60.530184] hub 6-0:1.0: state 7 ports 2 chg 0000 evt 0000
[   60.530188] hub 7-0:1.0: state 7 ports 2 chg 0000 evt 0000
[   60.530192] hub 8-0:1.0: state 7 ports 2 chg 0000 evt 0000
[   60.530196] hub 2-0:1.0: state 7 ports 6 chg 0010 evt 0000
[   60.530205] hub 2-0:1.0: port 4, status 0100, change 0000, 12 Mb/s
[   60.530208] usb 2-4: USB disconnect, device number 2
[   60.530211] usb 2-4: unregistering device
[   60.530214] usb 2-4: unregistering interface 2-4:1.0
[   60.530265] usb 2-4: unregistering interface 2-4:1.1
[   60.540655] done.
[   60.540663] video LNXVIDEO:00: Restoring backlight state
[   60.544420] usb 2-4: unregistering interface 2-4:1.2
[   60.544478] usb 2-4: unregistering interface 2-4:1.3
[   60.544727] usb 2-4: unregistering interface 2-4:1.4
[   60.544834] usb 2-4: unregistering interface 2-4:1.5
[   60.544861] drivers/usb/core/file.c: removing 0 minor
[   60.544944] usb 2-4: unregistering interface 2-4:1.6
[   60.544973] drivers/usb/core/file.c: removing 1 minor
[   60.545073] usb 2-4: unregistering interface 2-4:1.7
[   60.545102] cdc_ether 2-4:1.7: wwan0: unregister 'cdc_ether' usb-0000:00:1d.7-4, Mobile Broadband Network Device


> Alan Stern


-- 
Arkadiusz Miƛkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
--
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