1. 程式人生 > >關於“reset high speed USB device using ehci_hcd and address 2”

關於“reset high speed USB device using ehci_hcd and address 2”

網上的一段解釋:

If you get this message there can be a couple things causing it. It will appear in your syslog and look something like this: Tower kernel: usb 2-1: reset high speed USB device using ehci_hcd and address 2 The first step to take is trying every USB port on your motherboard to see if only certain ones give there reset message. If that does not work, you can try a new flash drive, but be warned that if you have a registered version of unRAID the license will no longer be recognized. If you don't want to try a new flash drive you can log in via telnet and issue the following: 

echo 64 >/sys/block/sdX/device/max_sectors

Make sure to replace the X above with the correct letter your flash drive has. Doing this will not entirely fix the problem (at least it did not for me) but it should decrease the frequency of the above error. 

關於max_sectors的含義:

 struct scsi_host_template usb_stor_host_template 關於max_sectors的描述:

/*limit the total size of a transfer to 120 KB */

 .max_sectors=             240,