LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-14-2023, 01:41 PM   #1
USBERROR
LQ Newbie
 
Registered: Feb 2023
Posts: 3

Rep: Reputation: 0
Question USB Drive IO error only with specific Computer/USB Drive combination


Please help. I cannot use my new 256GB DataTraveler Max USB 3.2 Gen 2 (USB A) on my laptop ASUS B9450 . It is very strange:
  • On my other laptop and PC the USB drive works fine, on Windows and Linux, but on this one, neither on Windows nor on Linux it works.
  • I ordered a second one but it is the same behavior, so I think my laptop USB port is broken.
  • But all other USB drives I own are working on this laptop.
  • On Windows when I plug it in, I hear the typical plugin sound and them shortly after the unplug sound, the USB folder opens but when I try to click anything, I get an error. Sometimes I can see a a correct thumbnail of a picture I have saved on the USB drive. But never I can access it without an error. This repeats again and again, a new file explorer window is opened each time but they are all useless.
  • I can boot from the drive. I have used Ventoy to put several ISO, for example gparted. When I select it, it starts to boot but I see log messages (maybe I have a typo, I typed this from a photo)
    Code:
    [6.464954] usb 2-5: cmd cmplt err -108
    [6.465216] I/O error, dev sda, sector 0 op 0x0:(READ) flags 0x80700 phys_seq 1 prio class 2
    [6.465358] device offline error, dev sda, sector 0 op 0x0:(READ) flags 0x0 phys_seq 1 prio class 2
    [6.465412] Buffer I/O error on dev sda, logical block 0, async page read
    [6.465535] device offline error, dev sda, sector 0 op 0x0:(READ) flags 0x0 phys_seq 1 prio class 2
    [6.465588] Buffer I/O error on dev sda, logical block 0, async page read
    But then booting stops, this means I cannot really boot from the USB drive but it is recognized as bootable option and I get half-way through the booting process. This consistently happens every time I try.
  • I have installed Linux Mint on this possibly faulty laptop, everything works fine but with this stick plugged in, I cannot boot normally, it repeatedly prints messages and booting finishes only when I unplug it:
    During Mint boot with this stick it fills the screen with
    ERROR: opening "/dev/sda"
    And then every 3 seconds it prints some message "cmd cmplt err -108" and after 1 minute, it completed to boot.
    Strangely then I could access the USB drive normally, this was an unusual observation while writing this. I could create a directory. After shutting down, I tried to repeat it but the next time it printed the "cmd cmplt err -108" only for around 30 seconds until it booted but now I cannot access the drive: In nautilus, when I try to click on the device partition to mount it, it says "cannot read superblock".

All this is very strange and I have no idea what is causing this issue. In total I have tested with 2 other older laptops and one PC they all have no problem accessing the USB drive. Maybe it has to do with USB 3.2? Please help, I now have 2 of these sticks. I have no second USB A port on this laptop.
 
Old 02-14-2023, 04:39 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,301

Rep: Reputation: 3677Reputation: 3677Reputation: 3677Reputation: 3677Reputation: 3677Reputation: 3677Reputation: 3677Reputation: 3677Reputation: 3677Reputation: 3677Reputation: 3677
At first glace I'd think try a powered hub???
 
Old 02-14-2023, 05:27 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,376

Rep: Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565
USB devices receive both data and power from the USB port. The power available from a USB port is marginal. You can have problems on a USB port when you plug in a device which requires a lot of power or if you plug in several devices on a hub. I also get this problem on one of my computers which has two USB ports that are actually an internal hub.

From the symptoms that you describe I would guess that the USB port in question is putting out less power than the specs call for. Try running a low power USB device like a mouse or a keyboard in that port and see what happens.

Last edited by jailbait; 02-14-2023 at 05:29 PM.
 
Old 02-15-2023, 01:53 AM   #4
USBERROR
LQ Newbie
 
Registered: Feb 2023
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you. Unfortunately I don't have a hub. I tried a mouse and a keyboard and they work without problems. Even other (older 16GB) sticks work. Maybe your guess with the power consumption is correct. I have
Code:
usb-devices | grep 'Product=\|MxPwr'
S:  Product=xHCI Host Controller
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
S:  Product=ELAN:Fingerprint
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
S:  Product=xHCI Host Controller
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
S:  Product=DataTraveler Max
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=896mA
from this answer https://unix.stackexchange.com/quest...f-a-usb-device tried on my OTHER laptop where I can use the stick normally. Is this 896mA a reliable information (measured or just reported maximum number by the device)? It seems right below the spec maximum which I read is 900mA for USB 3.0.

I could buy a thunderbolt to USB A adapter to check whether it works then.
 
Old 02-15-2023, 03:00 AM   #5
USBERROR
LQ Newbie
 
Registered: Feb 2023
Posts: 3

Original Poster
Rep: Reputation: 0
I found an adapter from USB C to A and on the other two ports (both USB C), I can access the stick in both, Linux Mint and Windows.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix reject a specific FROM TO combination Jethro1000 Linux - Server 1 01-21-2016 11:25 AM
Setting up home-linux-network with 2 computer, which combination of distros to use? nachiket_patel Linux - General 4 01-12-2010 04:05 PM
Bind Mouse Button Combination to Keyboard Key Combination? neoAKiRAz Linux - Desktop 0 05-04-2007 01:49 PM
How to make a specific command(s) work for specific users or group only naren_0101bits Linux - General 3 08-28-2005 06:22 PM
Caps lock only if pressed multiple times or in a combination bleargh Linux - Software 0 11-27-2004 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration