vypadek USB portu

Ahoj,

mam takovy zapeklity problem, pri prenosu dat po USB (flash, USB HD) dojde k uplnemu “zamrznuti” vsech USB portu (prestane fungovat USB mys a spadne prenos dat).Je potreba restartovat PC. V logu jsem nasel tohle(zkraceno):

Oct 11 15:33:48 anot kernel: usb 1-1: reset high speed USB device using ehci_hcd and address 2
Oct 11 15:34:04 anot kernel: usb 1-1: device not accepting address 2, error -110
Oct 11 15:34:04 anot kernel: usb 1-1: reset high speed USB device using ehci_hcd and address 2
Oct 11 15:34:19 anot kernel: usb 1-1: device not accepting address 2, error -110
Oct 11 15:34:19 anot kernel: usb 1-1: reset high speed USB device using ehci_hcd and address 2
Oct 11 15:34:30 anot kernel: usb 1-1: device not accepting address 2, error -110
Oct 11 15:34:30 anot kernel: usb 1-1: reset high speed USB device using ehci_hcd and address 2
Oct 11 15:34:40 anot kernel: usb 1-1: device not accepting address 2, error -110
Oct 11 15:34:40 anot kernel: sd 2:0:0:0: Device offlined - not ready after error recovery
Oct 11 15:34:40 anot kernel: sd 2:0:0:0: [sdb] Unhandled error code
Oct 11 15:34:40 anot kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
Oct 11 15:34:40 anot kernel: end_request: I/O error, dev sdb, sector 117480223
Oct 11 15:34:40 anot kernel: Buffer I/O error on device sdb1, logical block 14685020
Oct 11 15:34:40 anot kernel: lost page write due to I/O error on sdb1
Oct 11 15:34:40 anot kernel: Buffer I/O error on device sdb1, logical block 14685021
Oct 11 15:34:40 anot kernel: lost page write due to I/O error on sdb1
Oct 11 15:34:40 anot kernel: Buffer I/O error on device sdb1, logical block 14685022
Oct 11 15:34:40 anot kernel: lost page write due to I/O error on sdb1
Oct 11 15:34:40 anot kernel: Buffer I/O error on device sdb1, logical block 14685023
Oct 11 15:34:40 anot kernel: lost page write due to I/O error on sdb1
Oct 11 15:34:40 anot kernel: Buffer I/O error on device sdb1, logical block 14685024
Oct 11 15:34:40 anot kernel: lost page write due to I/O error on sdb1
Oct 11 15:34:40 anot kernel: Buffer I/O error on device sdb1, logical block 14685025
Oct 11 15:34:40 anot kernel: lost page write due to I/O error on sdb1
Oct 11 15:34:40 anot kernel: Buffer I/O error on device sdb1, logical block 14685026
Oct 11 15:34:40 anot kernel: lost page write due to I/O error on sdb1
Oct 11 15:34:40 anot kernel: Buffer I/O error on device sdb1, logical block 14685027
Oct 11 15:34:40 anot kernel: lost page write due to I/O error on sdb1
Oct 11 15:34:40 anot kernel: Buffer I/O error on device sdb1, logical block 14685028
Oct 11 15:34:40 anot kernel: lost page write due to I/O error on sdb1
Oct 11 15:34:40 anot kernel: Buffer I/O error on device sdb1, logical block 14685029
Oct 11 15:34:40 anot kernel: lost page write due to I/O error on sdb1
Oct 11 15:34:40 anot kernel: sd 2:0:0:0: rejecting I/O to offline device
Oct 11 15:34:40 anot kernel: sd 2:0:0:0: rejecting I/O to offline device
.
.
.
.
Oct 11 15:34:40 anot kernel: sd 2:0:0:0: rejecting I/O to offline device
Oct 11 15:34:40 anot kernel: sd 2:0:0:0: rejecting I/O to offline device
Oct 11 15:34:40 anot kernel: sd 2:0:0:0: [sdb] Unhandled error code
Oct 11 15:34:40 anot kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Oct 11 15:34:40 anot kernel: end_request: I/O error, dev sdb, sector 117480463
Oct 11 15:34:40 anot kernel: usb 1-1: USB disconnect, address 2
Oct 11 15:34:41 anot ntfs-3g[2333]: Unmounting /dev/sdb1 (A-DATA Portable HDD CH91)
Oct 11 15:34:41 anot ntfs-3g[2333]: Failed to sync device /dev/sdb1: Input/output error
Oct 11 15:34:41 anot ntfs-3g[2333]: Failed to close volume /dev/sdb1: Input/output error
Oct 11 15:34:41 anot kernel: usb 1-1: new high speed USB device using ehci_hcd and address 5
Oct 11 15:34:56 anot kernel: usb 1-1: device not accepting address 5, error -110
Oct 11 15:34:57 anot kernel: usb 1-1: new high speed USB device using ehci_hcd and address 6
Oct 11 15:35:12 anot kernel: usb 1-1: device not accepting address 6, error -110
Oct 11 15:35:12 anot kernel: usb 1-1: new high speed USB device using ehci_hcd and address 7
Oct 11 15:35:23 anot kernel: usb 1-1: device not accepting address 7, error -110
Oct 11 15:35:23 anot kernel: usb 1-1: new high speed USB device using ehci_hcd and address 8
Oct 11 15:35:33 anot kernel: usb 1-1: device not accepting address 8, error -110
Oct 11 15:35:33 anot kernel: hub 1-0:1.0: unable to enumerate USB device on port 1

Pokud nasledne zadam prikaz lsusb “nic” se nestane a log vychrli nasledujici zdeleni:

Oct 11 22:37:25 anot kernel: INFO: task lsusb:2835 blocked for more than 120 seconds.
Oct 11 22:37:25 anot kernel: “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
Oct 11 22:37:25 anot kernel: lsusb D 00000167 0 2835 2815
Oct 11 22:37:25 anot kernel: e66ede70 00000086 f1df9a24 00000167 c09b9800 ed8835d4 c09b5e84 ed8835d4
Oct 11 22:37:25 anot kernel: 0000011a c09b9800 001306e7 000004e2 00000000 c0548f7e c09b9800 00000000
Oct 11 22:37:25 anot kernel: 00000167 ed883340 00000002 00000000 e66ede64 0000000a f6883890 7fffffff
Oct 11 22:37:25 anot kernel: Call Trace:
Oct 11 22:37:25 anot kernel: [] ? avc_has_perm+0x41/0x4b
Oct 11 22:37:25 anot kernel: [] schedule+0xd/0x1c
Oct 11 22:37:25 anot kernel: [] schedule_timeout+0x1c/0xbf
Oct 11 22:37:25 anot kernel: [] ? inode_has_perm+0x60/0x6a
Oct 11 22:37:25 anot kernel: [] __down_common+0x84/0xbb
Oct 11 22:37:25 anot kernel: [] ? usbdev_read+0x0/0x1e2
Oct 11 22:37:25 anot kernel: [] __down+0x17/0x19
Oct 11 22:37:25 anot kernel: [] down+0x27/0x36
Oct 11 22:37:25 anot kernel: [] usbdev_read+0x35/0x1e2
Oct 11 22:37:25 anot kernel: [] ? rw_verify_area+0x9d/0xc0
Oct 11 22:37:25 anot kernel: [] ? usbdev_read+0x0/0x1e2
Oct 11 22:37:25 anot kernel: [] vfs_read+0x82/0xe1
Oct 11 22:37:25 anot kernel: [] ? path_put+0x1a/0x1d
Oct 11 22:37:25 anot kernel: [] sys_read+0x40/0x62
Oct 11 22:37:25 anot kernel: [] sysenter_do_call+0x12/0x2d

Dik za pomoc a info

Pokud zarizeni pripojujes pres nejaky USB hub nebo prodluzovaci kabel, zkus ho vyhodit.

V nekterych pripadech muze delat problem i ovladac ehci_hcd, ale bohuzel ve Fedore je zakompilovan do jadra a nevim jak ho “vypnout”.

Toto jsem nesel ve vypisu lsusb -v nejsem jisty jestli posledni radky vypisu nenaznacuji nejaky problem.Delsim kabelem je pripojen jenom USB HD, v tom ale problem nebude protoze s flash diskem se problem taky projevuje.

Bus 001 Device 004: ID 125f:a91a A-DATA Technology Co., Ltd.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x125f A-DATA Technology Co., Ltd.
idProduct 0xa91a
bcdDevice 1.40
iManufacturer 1
iProduct 3
iSerial 2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
can’t get device qualifier: Operation not permitted
can’t get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)

Ta posledni chyba je podle me zpusobena tim, ze si prikaz pustil jako uzivatel nikoli jako root. Pokud mas jakekoli USB zrizeni na dlouhem kabelu, zkus ho odpojit. Nic lepsiho bohuzel v tuto chvili poradit nedokazu.