Score:0

External USB Drive Detached - what is causing it? // uas_eh_abort_handler

km flag

I have an external HDD (Seagate RSS LLC Backup Plus Slim) on which a program as heavily writing tonight.

When I checked this morning, I could see that the "lsblk" does not show the harddrive anymore, and I could also not mount it with "sudo mount -a".

The "dmesg" suggest that something happened at around 03:32, logs below: https://pastebin.com/raw/BXNMupVr

I am trying to decipher the messages, and feel here is where things start to go south:

[Thu Aug 10 03:32:37 2023] sd 0:0:0:0: [sda] tag#11 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT

Which eventually looks to me like it shut down the USB ports:

[Thu Aug 10 03:33:38 2023] usb 1-1: USB disconnect, device number 2

[Thu Aug 10 03:33:38 2023] usb 2-2: USB disconnect, device number 2

Where I am bumping my head against the wall is to figure out what has happened exactly / what caused it, so that I can figure out how to prevent it in the future.

As said, I know the HDD was under heavy write-operations at the time. But heavy write alone should not trigger the above, thus trying to understand how to prevent such situation going forward.

My hunch from looking into this so far is that it has to to with "UAS" as opposed to "USB-Storage", but I am not sure I fully have understood it. (Potentially related issue). Also looking into this UAS deactivation tutorial.

Thank you all for any pointers

Update and potential solution

It seems that the UAS driver can cause issues, and changing to the USB-Storage driver may help.

  1. Check if the HDD is on UAS by using "lsusb" and comparing the Bus/Device to "lsusb -t" How to check if UAS

  2. Change the driver from UAS to USB-Storage How to change UAS to USB-Storage

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.