关于“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,

你可能感兴趣的:(struct,Flash)