LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-26-2024, 08:01 PM   #1
MBentefor
LQ Newbie
 
Registered: Jan 2024
Posts: 6

Rep: Reputation: 0
USB SSD not accepted by Linux OSes


Hi guys.
I have a tiny USB SSD which I wanted to use to boot different Live systems from.
It has 2 "devices" inside (LUNs), one - read only 3 mib CD-drive and one - main memory.
The main memory is split into 2 partitions - fat32 (16gb) and exFat (empty, 100 gb).

Unfortunately, GParted, Kali and Knoppix weren't able to start from it. They all stuck on some udev/disk related moments.

Then I started up GParted from another USB stick, then connected the USB-SSD and ran smartctl. Which... simply hanged forever. Every access to /dev/sdb resulted in a hanging.

Question: are there "USB memory devices" totally unsupported by Linux kernel?
Or am I missing something?

Please advise, for I'd really love to run some Linux off this USB-SSD stick. Thank you!
 
Old 01-26-2024, 09:13 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,728

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
What is the make and model number of this drive?

Not many usb drives are supported by smartctl so that is not necessarily a problem. Yes there are usb drives not totally supported by linux and hybrid drives typically are mostly not.
 
Old 01-26-2024, 09:18 PM   #3
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,660

Rep: Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708
I use no USB SSD drives (for good reason) so I cannot comment on that.
I use a LOT of USB Thumb drives (which use SD not SSD tech).
I have had some fail after heavy use, but I have never had one fail to work under Linux.
I have three I carry every day: one holds only data and portable software, the other two hold different collections of ISO files for diagnostic work, live sessions, and installation of Windows or Linux as needed. They are loaded with Ventoy to manage the boot, and seem to work with almost everything.

Your device sounds quite different from anything I use. Can you https://laslindas.kemono.cafe/comic/dive-in/provide more detail about it?

Last edited by wpeckham; 01-26-2024 at 09:19 PM.
 
Old 01-27-2024, 03:35 AM   #4
MBentefor
LQ Newbie
 
Registered: Jan 2024
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for being so active guys! I really want to figure this out so I will provide whatever is needed!

The USB SSD is a pretty new one (2023 I believe).

Sonizoon PSSD USB3.2 based on SM2258XT chipset. It has a fingerprint scanner (at first I thought the problem is due to FP introducing a huge delay, but it's possible yo disable it and so I did - and nothing changed at all).

I have tried it on several computers, everywhere the situation is the same.

Android works fine with it (although doesn't recognise the CD LUN)
Windows says the drive is SCSI USB
HWinfo lists the drive under SATA/ATA section

Most linuxes are stuck in the very beginning of booting with something like Timed out for waiting udev queue become empty.
 
Old 01-27-2024, 04:39 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
The USB definition is just a crap-shoot. I had a network dongle show up as a hard disk - hmmm. Turns out that was what it was configured as - on Windoze it held an installer that ran automagically and reconfigured the dongle as ... (you guessed it !!) a network adapter.

Just shows you should be real careful pugging in USBs you find laying about - or even from vendors. The specifications are a load of drivel.
 
Old 01-27-2024, 06:30 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,728

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
The CD part contains the finger print software which is I assume Windows only, one partition is for private data and the other is for public data as I understand. I don't know if the drive is bootable.

Most installers will try to overwrite the drive entirely which probably can't happen because the cd is protected. I don't know about the others or if you can split the public part into more then one partition. I would assume not.

I would get a regular USB flash disk and use this one just for data.
 
1 members found this post helpful.
Old 01-27-2024, 11:37 AM   #7
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,129
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
I have a NVMe SSD in a USB3 enclosure. For the most part, it behaves as a regular storage device. smartctl seems to have no problem automatically recognizing the actual SSD in the enclosure. parted sees the correct capacity, but only sees the enclosure's properties. The nvme command doesn't recognize the device as an NVMe drive.
 
Old 01-27-2024, 12:37 PM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,339

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
One issue I see is that there is probably a number of pcie lanes normally driving an nvme. But usb is a serial connection, and the caddy has usb<-->sata controller which is now usb<-->nvme. It s h o u l d work, but no guarantees.

I know nothing of any incompatibility with usb drives. SSD or spinning rust in a decent caddy is no issue, unless you're trying to boot from it.

Post what 'lsusb -v' makes of it, including the hex identifier. The kernel chooses the driver from there.

Last edited by business_kid; 01-27-2024 at 12:40 PM.
 
Old 01-27-2024, 12:47 PM   #9
MBentefor
LQ Newbie
 
Registered: Jan 2024
Posts: 6

Original Poster
Rep: Reputation: 0
Regarding the partitions. The SSD identifies itself as two physical usb devices, one for CD and one for the main memory. The main memory was manually splitted to 2 logical partitions, one for boot stuff and one for data.
The boot partition has GRUB2.
It works fine loading all kinds of Windows including XP.
This topic was created to try and somehow solve the problem. The "use another flash" approach is pretty obvious and I do use it

Regarding "lsusb" - I will try and let you know.

Thanks to all of you for your attention!
 
Old 01-27-2024, 03:03 PM   #10
MBentefor
LQ Newbie
 
Registered: Jan 2024
Posts: 6

Original Poster
Rep: Reputation: 0
Here you go, the extract from "lsusb -v" related to my SSD.
As you can see, it has 2 interface descriptors.

Quote:
Bus 002 Device 003: ID 5910:13fd SIONZOON SFEW-II-PSSD
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.20
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x5910
idProduct 0x13fd
bcdDevice 2.30
iManufacturer 1 SIONZOON
iProduct 2 SFEW-II-PSSD
iSerial 3 SEZ2023SFEW2E0000083
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0079
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 16mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
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 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 7
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 7
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 98
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 0
Command pipe (0x01)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 0
MaxStreams 32
Status pipe (0x02)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 7
MaxStreams 32
Data-out pipe (0x04)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 7
MaxStreams 32
Data-in pipe (0x03)
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x0016
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000006
BESL Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 512 micro seconds
Device Status: 0x000c
(Bus Powered)
U1 Enabled
U2 Enabled

Last edited by MBentefor; 01-27-2024 at 03:06 PM.
 
Old 01-27-2024, 03:11 PM   #11
MBentefor
LQ Newbie
 
Registered: Jan 2024
Posts: 6

Original Poster
Rep: Reputation: 0
What I noticed is bInterfaceProtocol 98, meaning this is a UAS device.
I can see on Internet that there are many problems with booting Linux from an UAS device. Any solutions yet?
 
Old 01-30-2024, 03:43 AM   #12
MBentefor
LQ Newbie
 
Registered: Jan 2024
Posts: 6

Original Poster
Rep: Reputation: 0
As usual, I had to figured out and fix everything myself.

The solution is to add a usb-storage quirk to the Grub2 config file. Seems that the uas support in Linux is pretty bad in terms of anything exotic, in this case - having a vitual CDROM on the same scsi bus.
 
Old 01-30-2024, 06:59 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,339

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Quote:
Originally Posted by MBentefor
As usual, I had to figured out and fix everything myself.
You often have to figure things out yourself, especially with pretty unusual equipment which none of us probably have. We volunteer our help, but we are not paid.

Now idioms translated into another language often change in meaning. Perhaps it's a language issue, but it comes across that you're not grateful for the efforts of others to help you. That doesn't encourage anyone to help you henceforth. It seems you only registered for this thread, and gave little information on the problem areas in your box. You're no linux newbie, but as a forum newbie, have you read this?

How_To_Ask_a_Question
 
  


Reply



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
[SOLVED] trying to access boot order to read from a USB asked for administrator psswrd ...not accepted? ini Linux - Newbie 42 01-26-2024 08:33 AM
Install Linux in Toshiba u940 series with 32gb ssd and 750gb hdd I would like to have boot code in ssd only cvkchary Linux - Laptop and Netbook 4 08-31-2016 04:26 PM
To SSD or not to SSD jlinkels Linux - Hardware 14 10-02-2012 07:36 AM
Password(s) accepted for login but not accepted for applications. JZL240I-U Ubuntu 29 02-14-2012 11:53 AM

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

All times are GMT -5. The time now is 09:22 PM.

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