You are not logged in.

#1 2014-07-03 09:37:59

doragasu
Member
Registered: 2012-03-03
Posts: 152

[SOLVED] Kernel panic when using external USB hard drive

I have a desktop PC with a 64 bit arch install, on a Core2 Duo 6320 CPU. I have been using (and continue using right now) a 500 GB "Iomega Desktop Hard Drive" external USB hard disk without problems. But I have just bought a 3 TB "Seagate Expansion" external USB hard drive and I'm unable to use it from my Arch install. Each time I try to format it or to copy data from the PC, Arch freezes with a kernel panic. Sometimes it freezes faster and I cannot see anything, but others I am able to see the following kernel messages, repeating several times:

[11701.205071] sd 3:0:0:0: [sdf] uas_eh_abort_handler ffff880014e13380 tag 29, inflight: CMD
[11701.221297] sd 3:0:0:0: [sdf] abort completed
[11701.221313] scsi host3: uas_eh_task_mgmt: ABORT TASK failed (wrong tag 0/256)
[11701.221323] sd 3:0:0:0: [sdf] uas_eh_abort_handler ffff880014e13500 tag 30, inflight: CMD
[11701.237550] sd 3:0:0:0: [sdf] abort completed
[11701.237567] scsi host3: uas_eh_task_mgmt: ABORT TASK failed (wrong tag 0/256)
[11701.237576] sd 3:0:0:0: [sdf] uas_eh_abort_handler ffff880014e13680 tag 31, inflight: CMD
[11701.253922] sd 3:0:0:0: [sdf] abort completed
[11701.253936] scsi host3: uas_eh_task_mgmt: ABORT TASK failed (wrong tag 0/256)
[11701.253956] sd 3:0:0:0: uas_eh_device_reset_handler
[11704.252182] scsi host3: uas_eh_task_mgmt: LOGICAL UNIT RESET timed out
[11704.252196] scsi host3: uas_eh_bus_reset_handler start
[11704.252443] usb 5-6: stat urb: killed, stream 0
[11704.358882] usb 5-6: reset high-speed USB device number 3 using ehci-pci
[11704.483206] scsi host3: uas_eh_bus_reset_handler success

Strange enough, the drive is listed by lsusb command as a 2TB but I don't think this is related to the problem (as the OS sees the 3 TB). This is the lsusb output:

Bus 001 Device 003: ID 0bc2:3312 Seagate RSS LLC SRD00F2 [Expansion Desktop Drive 2TB]

I have tried the drive on other PCs and it works flawlessly. Also tried booting Windows 8 on the same PC I have Arch installed in, and in Windows it also works perfect. I have tried using ext2 and NTFS filesystems. Tried also changing the USB cable without success. And right now I'm out of ideas. Any suggestions?

Last edited by doragasu (2014-07-03 11:06:25)

Offline

#2 2014-07-03 09:42:19

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] Kernel panic when using external USB hard drive

looks like it could be the UAS module , check https://bbs.archlinux.org/viewtopic.php?id=183190


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2014-07-03 10:29:33

doragasu
Member
Registered: 2012-03-03
Posts: 152

Re: [SOLVED] Kernel panic when using external USB hard drive

Bingo!

Disabled UAS for the disk and now it works. Thanks!!!

Offline

Board footer

Powered by FluxBB