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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 18 Nov 2009 11:22:22 -0500 (EST)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Alexander Holler <holler@...oftware.de>
cc:	Oliver Neukum <oliver@...kum.org>, <linux-usb@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>
Subject: Re: Problems with p55-express and sleeping usb-hds

On Wed, 18 Nov 2009, Alexander Holler wrote:

> Hello,
> 
> I've done some more tests and have some more findings.
> 
> After the problem occured (which looks for me like a timeout during a 
> wait for a CSW), ehci_hcd doesn't work anymore. Low- and full-speed 
> devices are still working and are recognized correctly, but no 
> high-speed device. After unloading ehci_hcd and reloading it, high-speed 
> devices are recognized correctly again.
> As unloading is no option for kernels which have ehci_hcd compiled in 
> (like the F11-kernel), is there another option to reset the driver?

You can unbind ehci-hcd from the controller by writing the controller's 
name to the "unbind" attribute in the appropriate sysfs directory.  For 
example, on my system:

# ls /sys/bus/pci/drivers/ehci_hcd
0000:00:1d.7  0000:01:00.2  0000:01:01.2  bind  module  new_id  uevent  
unbind
# echo -n 0000:00:1d.7 >/sys/bus/pci/drivers/ehci_hcd/unbind

Then to rebind the driver, write the device name to the "bind" 
attribute:

# echo -n 0000:00:1d.7 >/sys/bus/pci/drivers/ehci_hcd/bind

Alan Stern

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