You are not logged in.

#1 2012-12-12 15:14:31

gotheric
Member
Registered: 2012-03-27
Posts: 6

USB3 external disk disconnects while using it

Hi,

I've Arch linux with 3.6.9-1 Kernel installed on my Acer Aspire v3-571g, and i've a strange problem with an external Seagate USB3 2Tb Disk.

During usage (for example when i'm copying files, but even if a make a fsck with surface check), after a while, it disconnects & reconnects (after that it usually takes a different /dev/sdX).

Looking at system messages this is what it says just before the disconnection:

dic 12 15:38:20 shodan kernel: usb 4-1: Disable of device-initiated U1 failed.
dic 12 15:38:26 shodan kernel: usb 4-1: Disable of device-initiated U2 failed.
dic 12 15:38:26 shodan kernel: usb 4-1: reset SuperSpeed USB device number 3 using xhci_hcd
dic 12 15:38:26 shodan kernel: xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802539b9800
dic 12 15:38:26 shodan kernel: xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802539b9840
dic 12 15:38:26 shodan kernel: xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.

This pattern is repeated a lot of times.
Sometimes there are also these errors:

dic 12 15:39:50 shodan kernel: sd 7:0:0:0: [sdc] Unhandled error code
dic 12 15:39:50 shodan kernel: sd 7:0:0:0: [sdc]  
dic 12 15:39:50 shodan kernel: Result: hostbyte=0x07 driverbyte=0x00
dic 12 15:39:50 shodan kernel: sd 7:0:0:0: [sdc] CDB: 
dic 12 15:39:50 shodan kernel: cdb[0]=0x28: 28 00 75 76 32 00 00 00 f0 00
dic 12 15:39:50 shodan kernel: end_request: I/O error, dev sdc, sector 1970680320
dic 12 15:39:50 shodan kernel: Buffer I/O error on device sdc3, logical block 1156160

Even these logs are repeated several times (between the errors above).

Then, when it disconnects, this is the messages:

dic 12 15:42:51 shodan kernel: ------------[ cut here ]------------
dic 12 15:42:51 shodan kernel: WARNING: at drivers/usb/host/xhci-ring.c:563 xhci_find_new_dequeue_state+0xaa/0x220 [xhci_hcd]()
dic 12 15:42:51 shodan kernel: Hardware name: Aspire V3-571G
dic 12 15:42:51 shodan kernel: Modules linked in: usb_storage uas snd_usb_audio snd_usbmidi_lib xhci_hcd uvcvideo btusb ehci_hcd us...e fuse bb
dic 12 15:42:51 shodan kernel:  wmi processor video button ext4 crc16 jbd2 mbcache hid_generic hid sd_mod ahci libahci libata scsi_...: nvidia]
dic 12 15:42:51 shodan kernel: Pid: 10136, comm: usb-storage Tainted: P        W  O 3.6.9-1-ARCH #1
dic 12 15:42:51 shodan kernel: Call Trace:
dic 12 15:42:51 shodan kernel:  [<ffffffff81055c7f>] warn_slowpath_common+0x7f/0xc0
dic 12 15:42:51 shodan kernel:  [<ffffffff81055cda>] warn_slowpath_null+0x1a/0x20
dic 12 15:42:51 shodan kernel:  [<ffffffffa00b565a>] xhci_find_new_dequeue_state+0xaa/0x220 [xhci_hcd]
dic 12 15:42:51 shodan kernel:  [<ffffffffa00ae76a>] xhci_cleanup_stalled_ring+0x5a/0x160 [xhci_hcd]
dic 12 15:42:51 shodan kernel:  [<ffffffffa00ae966>] xhci_endpoint_reset+0xf6/0x130 [xhci_hcd]
dic 12 15:42:51 shodan kernel:  [<ffffffffa034a955>] usb_hcd_reset_endpoint+0x25/0x70 [usbcore]
dic 12 15:42:51 shodan kernel:  [<ffffffffa034d225>] usb_enable_endpoint+0xa5/0xb0 [usbcore]
dic 12 15:42:51 shodan kernel:  [<ffffffffa034d272>] usb_enable_interface+0x42/0x60 [usbcore]
dic 12 15:42:51 shodan kernel:  [<ffffffffa03449b8>] usb_reset_and_verify_device+0x3c8/0x550 [usbcore]
dic 12 15:42:51 shodan kernel:  [<ffffffffa0344c18>] usb_reset_device+0xd8/0x150 [usbcore]
dic 12 15:42:51 shodan kernel:  [<ffffffffa0220119>] usb_stor_port_reset+0x69/0x70 [usb_storage]
dic 12 15:42:51 shodan kernel:  [<ffffffffa02201ab>] usb_stor_invoke_transport+0x8b/0x530 [usb_storage]
dic 12 15:42:51 shodan kernel:  [<ffffffff8149084e>] ? __mutex_lock_slowpath+0x24e/0x340
dic 12 15:42:51 shodan kernel:  [<ffffffffa021f09e>] usb_stor_transparent_scsi_command+0xe/0x10 [usb_storage]
dic 12 15:42:51 shodan kernel:  [<ffffffffa02217aa>] usb_stor_control_thread+0x16a/0x280 [usb_storage]
dic 12 15:42:51 shodan kernel:  [<ffffffffa0221640>] ? fill_inquiry_response+0x20/0x20 [usb_storage]
dic 12 15:42:51 shodan kernel:  [<ffffffff81079a03>] kthread+0x93/0xa0
dic 12 15:42:51 shodan kernel:  [<ffffffff8149b3c4>] kernel_thread_helper+0x4/0x10
dic 12 15:42:51 shodan kernel:  [<ffffffff81079970>] ? kthread_freezable_should_stop+0x70/0x70
dic 12 15:42:51 shodan kernel:  [<ffffffff8149b3c0>] ? gs_change+0x13/0x13
dic 12 15:42:51 shodan kernel: ---[ end trace 0e635bbfeec353ee ]---
dic 12 15:42:51 shodan kernel: xhci_hcd 0000:00:14.0: WARN Cannot submit Set TR Deq Ptr
dic 12 15:42:51 shodan kernel: xhci_hcd 0000:00:14.0: WARN deq seg =           (null), deq pt = ffff88024a241800
dic 12 15:43:11 shodan kernel: usb 4-1: USB disconnect, device number 3

Other important informations:

- some times the error results in a full system crash! Black text screen with a system trace. I've to shut down the pc and restart sad
Note that this used to happen a lot of times 1 or 2 months ago, with a previous kernel (3.5? i don' remember...) and a previous bios. I've updated the bios and the kernel and now the system crash is quite rare.

- in another pc with WINDOWS the disk have no problems at all

- if i use the USB2 connection of my PC the drive does the same (it disconnects, i haven't checked if the system messages are the same).

Any idea?

Thank you

Offline

#2 2012-12-12 15:21:16

gotheric
Member
Registered: 2012-03-27
Posts: 6

Re: USB3 external disk disconnects while using it

This is another error logged after a while (this doesn't seems related to the disk, but seems to happen only after the crash above...)

dic 12 16:04:20 shodan kernel: ------------[ cut here ]------------
dic 12 16:04:20 shodan kernel: WARNING: at net/mac80211/rx.c:3059 ieee80211_rx+0x734/0x820 [mac80211]()
dic 12 16:04:20 shodan kernel: Hardware name: Aspire V3-571G
dic 12 16:04:20 shodan kernel: Modules linked in: usb_storage uas snd_usb_audio snd_usbmidi_lib xhci_hcd uvcvideo btusb ehci_hcd usbhid usbcore fuse bb
dic 12 16:04:20 shodan kernel:  wmi processor video button ext4 crc16 jbd2 mbcache hid_generic hid sd_mod ahci libahci libata scsi_mod usb_common [last unloaded: nvidia]
dic 12 16:04:20 shodan kernel: Pid: 0, comm: swapper/0 Tainted: P        W  O 3.6.9-1-ARCH #1
dic 12 16:04:20 shodan kernel: Call Trace:
dic 12 16:04:20 shodan kernel:  <IRQ>  [<ffffffff81055c7f>] warn_slowpath_common+0x7f/0xc0
dic 12 16:04:20 shodan kernel:  [<ffffffff81055cda>] warn_slowpath_null+0x1a/0x20
dic 12 16:04:20 shodan kernel:  [<ffffffffa0dc53f4>] ieee80211_rx+0x734/0x820 [mac80211]
dic 12 16:04:20 shodan kernel:  [<ffffffff81274e14>] ? map_single+0x44/0x60
dic 12 16:04:20 shodan kernel:  [<ffffffffa0e17cb8>] ath_rx_tasklet+0xb08/0x1230 [ath9k]
dic 12 16:04:20 shodan kernel:  [<ffffffff81275280>] ? swiotlb_free_coherent+0xb0/0xb0
dic 12 16:04:20 shodan kernel:  [<ffffffffa0e11bb4>] ? ath9k_ioread32+0x34/0x90 [ath9k]
dic 12 16:04:20 shodan kernel:  [<ffffffffa0e15dcc>] ath9k_tasklet+0xec/0x150 [ath9k]
dic 12 16:04:20 shodan kernel:  [<ffffffff8105f2a3>] tasklet_action+0x63/0xd0
dic 12 16:04:20 shodan kernel:  [<ffffffff8105e8f8>] __do_softirq+0xc8/0x240
dic 12 16:04:20 shodan kernel:  [<ffffffff8103bc47>] ? ack_apic_level+0x87/0x150
dic 12 16:04:20 shodan kernel:  [<ffffffff8149b4bc>] call_softirq+0x1c/0x30
dic 12 16:04:20 shodan kernel:  [<ffffffff81017585>] do_softirq+0x65/0xa0
dic 12 16:04:20 shodan kernel:  [<ffffffff8105ed96>] irq_exit+0x96/0xc0
dic 12 16:04:20 shodan kernel:  [<ffffffff8149bd13>] do_IRQ+0x63/0xe0
dic 12 16:04:20 shodan kernel:  [<ffffffff8149322a>] common_interrupt+0x6a/0x6a
dic 12 16:04:20 shodan kernel:  <EOI>  [<ffffffff8107d929>] ? enqueue_hrtimer+0x29/0xc0
dic 12 16:04:21 shodan kernel:  [<ffffffff812b6ea0>] ? intel_idle+0xf0/0x150
dic 12 16:04:21 shodan kernel:  [<ffffffff812b6e7e>] ? intel_idle+0xce/0x150
dic 12 16:04:21 shodan kernel:  [<ffffffff81363929>] cpuidle_enter+0x19/0x20
dic 12 16:04:21 shodan kernel:  [<ffffffff81364016>] cpuidle_idle_call+0xa6/0x330
dic 12 16:04:21 shodan kernel:  [<ffffffff8101eedf>] cpu_idle+0xbf/0x130
dic 12 16:04:21 shodan kernel:  [<ffffffff8146d1ec>] rest_init+0x80/0x84
dic 12 16:04:21 shodan kernel:  [<ffffffff818c0c45>] start_kernel+0x3d1/0x3de
dic 12 16:04:21 shodan kernel:  [<ffffffff818c0673>] ? repair_env_string+0x5e/0x5e
dic 12 16:04:21 shodan kernel:  [<ffffffff818c0356>] x86_64_start_reservations+0x131/0x135
dic 12 16:04:21 shodan kernel:  [<ffffffff818c045a>] x86_64_start_kernel+0x100/0x10f
dic 12 16:04:21 shodan kernel: ---[ end trace 0e635bbfeec353ef ]---

Offline

#3 2012-12-12 19:24:34

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: USB3 external disk disconnects while using it

i cant tell u what these errors mean, but almost
anytime i had device issues was either not enough
power was arriving to the devices or a broken data
cable.

Offline

#4 2012-12-13 10:56:22

gotheric
Member
Registered: 2012-03-27
Posts: 6

Re: USB3 external disk disconnects while using it

Pajaro wrote:

i cant tell u what these errors mean, but almost
anytime i had device issues was either not enough
power was arriving to the devices or a broken data
cable.

But on windows, with the same data cable and the same power adapter, it works...

Offline

Board footer

Powered by FluxBB