New: RTL9210(B) falsely detected as rotational disk
https://bugzilla.kernel.org/show_bug.cgi?id=216588
Bug ID: 216588
Summary: RTL9210(B) falsely detected as rotational disk
Product: Drivers
Version: 2.5
Kernel Version: 6.0.1
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: USB
Assignee: [email protected]
Reporter: [email protected]
Regression: NoHi, using an Realtek RTL9210B in an NVME M.2 to USB enclosure, the kernel does not detect that it is a non rotational disk.
/sys/block/sdX/queue/rotational is set to 1, which is false, since this is no and can never be an HDD (adapter is for SSDs only).
On another adapter with JMS583 chipset it already works and correctly detects queue/rotational -> 0.
Only on the Realtek one it is wrong.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216588] RTL9210(B) falsely detected as rotational disk
https://bugzilla.kernel.org/show_bug.cgi?id=216588
--- Comment #1 from Alan Stern ([email protected]) --- This bug should be assigned to the SCSI or block subsystem, not the USB subsystem. USB is not responsible for determining whether a disk drive is rotational. All it does is transfer commands from those higher layers to the drive and transfer the results from the drive back to the higher layers.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216588] RTL9210(B) falsely detected as rotational disk
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216588
Elias ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|USB |SCSI
Product|Drivers |IO/StorageSignature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216588] RTL9210(B) falsely detected as rotational disk
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216588
--- Comment #2 from Elias ([email protected]) ---
Thanks Alan for the hint, I changed it. But unfortunately I can't change the Assignee, which is still on drivers_usb.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216588] RTL9210(B) falsely detected as rotational disk
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216588
Martin K. Petersen ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #3 from Martin K. Petersen ([email protected]) ---
I propose you create a udev rule to override what the device firmware erroneously reports.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216588] RTL9210(B) falsely detected as rotational disk
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216588
--- Comment #4 from Elias ([email protected]) ---
(In reply to Martin K. Petersen from comment #3)
Quoted 2 lines
I propose you create a udev rule to override what the device firmware erroneously reports.
The whole point of such an adapter is to make the disk portable, which makes it possible to quickly connect it to many different machines (where some aren't mine).
Creating a udev rule on every new machine is:
1.) annoying
2.) not possible since I don't always have root access
This is only a workaround limited to own personal machines. But it would be much more useful if it was auto detected ootb correctly, hence this bug report.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.