-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solution Suggestion: USB Attached SCSI support (rasbian) #2813
Comments
|
Yes |
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Pushed to 4.14, 4.19, 4.20 and 5.0 kernels. |
Thanks! Do I have to post something on the raspbian site as well? |
No - the module will appear in all future firmware releases. |
OK Thanks for you information |
Enable support for USB-attached-SCSI devicess. See: raspberrypi/linux#2813 Signed-off-by: Phil Elwell <[email protected]> Signed-off-by: ahmedradaideh <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
kernel: overlays: Add ssd1306 overlay for OLED display See: #1098 kernel: overlays: mcp23017: Support the MCP23008 See: raspberrypi/linux#2818 kernel: overlays: Add mcp342x overlay See: raspberrypi/linux#2819 kernel: configs: Add CONFIG_USB_UAS=m See: raspberrypi/linux#2813 firmware: interface: Drop vcfiled See: raspberrypi/userland#525 firmware: Add reference counting to the local audio players See: #547 firmware: arm_loader: Add reporting the firmware git hash via the mailbox firmware: vcos: Add reporting of which variant was built See: raspberrypi/linux#2806 firmware: Update vcdbg help See: #594
kernel: overlays: Add ssd1306 overlay for OLED display See: raspberrypi/firmware#1098 kernel: overlays: mcp23017: Support the MCP23008 See: raspberrypi/linux#2818 kernel: overlays: Add mcp342x overlay See: raspberrypi/linux#2819 kernel: configs: Add CONFIG_USB_UAS=m See: raspberrypi/linux#2813 firmware: interface: Drop vcfiled See: raspberrypi/userland#525 firmware: Add reference counting to the local audio players See: raspberrypi/firmware#547 firmware: arm_loader: Add reporting the firmware git hash via the mailbox firmware: vcos: Add reporting of which variant was built See: raspberrypi/linux#2806 firmware: Update vcdbg help See: raspberrypi/firmware#594
UAS does mandate sg Still true in 4.19 too. |
Is there no per-controller mechanism to enable/disable UAS support? |
The UAS module is probed by default for all devices not matching a VID:PID quirk and it bails out when it discovers that the controller doesn't support sg. USB mass-storage support is also required for all devices that support UAS, so the failure is benign. I don't understand why the declarations of broken devices (many of which set quirks relevant to usb-storage) are hiding behind a CONFIG_UAS parameter - usb-storage exists independently of UAS. |
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
I do not fully understand the issue. (Maybe the list of broken devices should be scanned at a different module?) But if I can help with my testcase, let me know. |
Just to complete the story:
Thanks all! |
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: raspberrypi#2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: raspberrypi#2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: #2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: raspberrypi/linux#2813 Signed-off-by: Phil Elwell <[email protected]>
Enable support for USB-attached-SCSI devicess. See: raspberrypi/linux#2813 Signed-off-by: Phil Elwell <[email protected]>
Just as a clarification, the Would be actually awesome if there was a way to load the list a different way, as currently two additional kernel modules are loaded (sg+uas) and each attached USB drive throws two kernel warnings as the until-RPi4 default USB driver
Now one could consider to manually or by default enable another USB driver via So I'm trying to evaluate whether by default blacklisting the two modules and/or reverting RPi 4 to |
Dear raspberry linux kernel maintainers.
My suggestion is to enable the next kernel module for better support of USB to SATA converters:
Device drivers/USB support/USB Attached SCSI
This driver is in the debian linux distribution used for a long time, it just needs to be enabled and compiled.
Here is my story:
I had brought a new EWENT USB3.1 to 2.5" SATA controller to replace my old faulty converter.
It is reported by lsusb as a "ID 152d:0567 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge".
When the USB to SATA controller with SSD is connected to my debian linux is was working. (from at least kernel 4.9 on.)
This is the working logging:
When the USB to SATA controller with SSD is connected to my RBP is was working read only only. It turned out to be handled wrong by the scsi device driver. This is the logging:
Then when mounting...
And more of these..
A lot of concerns about these kind of errors are blamed to the power usage of the converters on internet. So (as a hardware engineer) I have measured to voltage at the USB port but no drop could be found. Also a USB hub did not give a effect.
It turned out that the "Disabling FUA" (in the working situation at my PC) is caused by setting "sdp->broken_fua" in the scsi disk driver. This disabling of FUA, enables the usage of the converter. Therefore this converter is listed in the drivers/usb/storage/unusual_devs.h file.
Unfortunately, this list of unusual devices is not used in the default kernel for (at least) the Raspbian distribution. Therefore my device (at likely more types) could be supported when this list is used.
I found that this list is enabled when then the USB Attached SCSI module is set on.
So I rebuild the kernel 4.14.93-v7+ with the "USB Attached SCSI" as module. And now my USB to SATA converter works Great! (kernel build instructions used from https://www.raspberrypi.org/documentation/linux/kernel/building.md with a make menuconfig)
I hope others can share in this good result.
The text was updated successfully, but these errors were encountered: