Comments (20)
ok, so probably you are right with RTL9210B-CG. This device works without UAS. The second one unfortunately not.
Openwrt usb_storage module ignore parameters when you load module with modprobe or modprobe.conf defined parameters. The workaround looks like :
a) remove file: /etc/modules.d/usb-storage-uas
b) add to the rc.local:
echo -n "quirks=0bda:9210:u" > /sys/module/usb_storage/parameters/quirks
usbreset 0bda:9210
echo "0bda 9210" > /sys/module/usb_storage/drivers/usb:usb-storage/new_id
performance:
Run status group 0 (all jobs):
READ: bw=67.4MiB/s (70.6MB/s), 67.4MiB/s-67.4MiB/s (70.6MB/s-70.6MB/s), io=8084MiB (8476MB), run=120000-120000msec
WRITE: bw=67.4MiB/s (70.6MB/s), 67.4MiB/s-67.4MiB/s (70.6MB/s-70.6MB/s), io=8085MiB (8478MB), run=120000-120000msec
from openwrt.
Invalid Version reported. r26186-064d4a8083 r25210-b0b8fd436f
Is this from a clean repository?
from openwrt.
Is this from a clean repository?
Yes
from openwrt.
kmod-iosched-bfq will sync more often and likely help with fake NCQ over USB
from openwrt.
kmod-iosched-bfq will sync more often and likely help with fake NCQ over USB
Hi, thanks for advice but it will not solve root cause and probably will improve only stability a little bit.
from openwrt.
Uninstall uas driver, no ncq no tears
from openwrt.
Uninstall uas driver, no ncq no tears
Without uas I cant detect these disks. Is there other kernel drivers which supports these device classes ?
from openwrt.
usb-storage driver must support each and every uac disk.
from openwrt.
usb-storage driver must support each and every uac disk.
When I remove uas :
root@router3:~# lsusb -t
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/2p, 480M
/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/1p, 20000M/x2
|__ Port 001: Dev 002, If 0, Class=[unknown], **Driver=[none],** 5000M/x2
root@router3:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.6.30 xhci-hcd xHCI Host Controller
Bus 002 Device 001: ID 1d6b:0003 Linux 6.6.30 xhci-hcd xHCI Host Controller
Bus 002 Device 002: ID 0bda:9210 Realtek RTL9210B-CG
from openwrt.
same enclosure has problems...
raspberrypi/linux#4130
from openwrt.
same enclosure has problems... raspberrypi/linux#4130
Here we speak about two enclosures. I think the case which you paste is different.
from openwrt.
Realtek RTL9210B-CG
yeah, totally different, just strange you dont enjoy your wildly enhanced uas mode.
from openwrt.
rebuild uas with patch.
https://patchwork.kernel.org/project/linux-usb/patch/[email protected]/
from openwrt.
Alternatively try with some "rolling" linux distribution just to confirm that there is no UAS for this device and it works.
from openwrt.
Alternatively try with some "rolling" linux distribution just to confirm that there is no UAS for this device and it works.
linux-6.9.1]$ grep -R 0x9210 * -A 2 -B 2 | grep 0bda -A 2 -B 2
--
drivers/usb/storage/uas-detect.h- */
drivers/usb/storage/uas-detect.h- if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bda &&
drivers/usb/storage/uas-detect.h: le16_to_cpu(udev->descriptor.idProduct) == 0x9210 &&
drivers/usb/storage/uas-detect.h- (udev->manufacturer && !strcmp(udev->manufacturer, "HIKSEMI")) &&
$
from openwrt.
It has to be backporyed in this case...
from openwrt.
but its nothing new, As you can see, newest kernel contain only detect function in the uas driver and doesn't have any exception. It's not only one chip which have this problem. More less it looks like problem with USB host driver.
from openwrt.
The newest kernel disables uas for particulat usb target, whose problem exhibits independently of host.
from openwrt.
OK. So I don't understood why it not happen on the 3 tested x86 hosts where any exceptions hasn't been added.
from openwrt.
It is happening on raspberry if you google. I am baffled why storage driver does not attach without uas though.
from openwrt.
Related Issues (20)
- BPI-R4: network buffering issues (with stutters) HOT 13
- “WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!” on every build when using `make defconfig` HOT 5
- Banana Pi R4 RTC not work HOT 6
- ttyS ttyS0: 1 input overrun(s) HOT 5
- Radios > Operating frequency channel numbers are always 20 MHz ones HOT 2
- [Raspberry Pi 5 Model B Rev 1.0] brcmf_p2p_send_action_frame HOT 1
- wolfSSL master build error due to --disable-nls HOT 4
- serial console speed for Radxa E25 should be 115200bps instead of 1.5Mbps HOT 6
- winner h616 , h618 HOT 3
- Packet Steering in a WRT1200AC 23.05.03 HOT 2
- [RPi4] skb_warn_bad_offload with kernel 6.6 HOT 6
- wpad-mesh-mbedtls breaks backward compatibility for unencrypted mesh HOT 1
- realtek: SFP ports on GS1900-48 don't function reliably HOT 5
- mt7610e.bin and mt7610u.bin HOT 1
- Raspberry Pi 5 Status LED is Amber/Orange Instead of Green HOT 4
- Arcadyan ARV752DPW - Flash not erased HOT 2
- After upgrading the kernel to version 6.x and enabling IPv6 Masquerading, the network speed is only 1-2 Mbps. HOT 16
- 6.6: bmips NAT64 performance degradated HOT 6
- 最近几天编译的固件ipv6无法使用 HOT 8
- 6.6: NAT64 and NAT66 performance degradation HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwrt.