sgjava Posted December 23, 2023 Share Posted December 23, 2023 I just installed latest Jammy on XU-4 and it was running fine off SD. Then I did nand-sata-install and you can see below what happened. This used to work fine with older versions. sudo hdparm -Tt /dev/sda /dev/sda: Timing cached reads: 2 MB in 5.54 seconds = 369.48 kB/sec Timing buffered disk reads: 2 MB in 10.33 seconds = 198.19 kB/sec 0 Quote Link to comment Share on other sites More sharing options...
sgjava Posted December 24, 2023 Author Share Posted December 24, 2023 OK, tried this: lsusb Bus 004 Device 003: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge sudo nano /etc/modprobe.d/disable-uas.conf options usb-storage quirks=174c:55aa:u sudo hdparm -Tt /dev/sda /dev/sda: Timing cached reads: 656 MB in 2.00 seconds = 327.95 MB/sec Timing buffered disk reads: 62 MB in 35.03 seconds = 1.77 MB/sec lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=uas, 5000M |__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M Still in UAS mode. Do you really need to recompile the kernel? 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted December 24, 2023 Share Posted December 24, 2023 Try adding the quirk to /boot/armbianEnv.txt There should be some already. 0 Quote Link to comment Share on other sites More sharing options...
sgjava Posted December 24, 2023 Author Share Posted December 24, 2023 armbianEnv.txt doesn't exist on Armbian_23.11.1_Odroidxu4_jammy_current_6.1.63.img or Armbian_23.11.1_Odroidxu4_bookworm_current_6.1.63.img. I built image from dev branch and same deal. Stable branch (23.11) dies and doesn't build. Oh crap I just read on the download page Quote Run armbian-config utility and go to section system -> DTB and select optimized board configuration for Odroid HC1. The same config is valid for HC2 and MC1. That creates the armbianEnv.txt file. I don't remember having to do that before. It's been a while since I've installed on XU4. OK that was it: sudo hdparm -Tt /dev/sda /dev/sda: Timing cached reads: 2042 MB in 2.00 seconds = 1022.35 MB/sec Timing buffered disk reads: 136 MB in 4.29 seconds = 31.68 MB/sec 0 Quote Link to comment Share on other sites More sharing options...
sgjava Posted December 27, 2023 Author Share Posted December 27, 2023 I switched to a laptop mechanical drive and performance is better than SSD. Also, it works with UAS. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.