Jump to content

Latest Jammy on XU-4 slow after nand-sata-install


Recommended Posts

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

 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


Link to comment
Share on other sites

OK, tried this:


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

 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?

Link to comment
Share on other sites

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 


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

 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


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines