DontMindMe Posted August 5 Posted August 5 I installed Debian 12 (Bookworm)XFCE from the official Armbian website onto the NVME SSD of the board. Everything works fine except the 4 hard drives that are connected to boards SATA connectors. They do appear and work when i boot into the Debian provided by Radxa, so I know hardware isn't an issue. I think that they also worked during the very first boot of the system but after ``` apt update && apt upgrade ``` and reboot, they stop working. Any advice would be much appreciated. ``` rock-5-itx:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS mtdblock0 31:0 0 16M 0 disk mmcblk0 179:0 0 7.3G 0 disk mmcblk0boot0 179:32 0 4M 1 disk mmcblk0boot1 179:64 0 4M 1 disk zram0 252:0 0 11.6G 0 disk [SWAP] zram1 252:1 0 50M 0 disk /var/log zram2 252:2 0 0B 0 disk nvme0n1 259:0 0 476.9G 0 disk └─nvme0n1p1 259:1 0 472.1G 0 part /var/log.hdd / ``` https://paste.armbian.com/qiwimusofo 0 Quote
Igor Posted August 6 Posted August 6 11 hours ago, DontMindMe said: except the 4 hard drives that are connected to boards SATA connectors. Known problem. https://armbian.atlassian.net/issues/AR-2434 It is probably solvable with enabling correct overlay. I can see we don't have a dedicated for ITX board, but try others. @amazingfate Should we put this into main DT instead so its just enabled by default? 0 Quote
amazingfate Posted August 6 Posted August 6 @IgorRock5 ITX is using a sata bridge connected to pcie, so an overlay won't fix this. Sometimes PCIE interface used by the 4 port sata is not detected by 6.1 kernel. 0 Quote
Igor Posted August 6 Posted August 6 3 minutes ago, amazingfate said: Sometimes PCIE interface used by the 4 port sata is not detected by 6.1 kernel. Oh. I didn't looked into the code ... We have a few of patches for previous generation in order to work (better), but on mainline: https://github.com/armbian/build/pull/6057 https://github.com/armbian/build/blob/main/patch/kernel/archive/rockchip64-6.6/rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch 0 Quote
NicoD Posted August 6 Posted August 6 @DontMindMeYou can use the old 5.10 kernel. That works without a problem. If you want to build your own replace branch vendor with legacy. Example : ./compile.sh build BOARD=rock-5-itx BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=no EXPERT=yes KERNEL_CONFIGURE=no RELEASE=jammy 0 Quote
DontMindMe Posted August 6 Author Posted August 6 Hey everyone, Thank you all for picking up on this issue. @NicoDI tried changing the Kernel to 5.10 in the ``armbian-config``` but that did not boot so I burned the image again. I will try to compile it using the doker and report back. @Igor How would I use the doker to build an image with those patches? Do I need to include those changes explicit after puling the Armbian repository? Cheers, David 0 Quote
Igor Posted August 6 Posted August 6 No, pathches will not apply for this kernel. That is just an idea. Path suggested by Nico might work. But that kernel is old ... With other limitations.Wrote on mobile 0 Quote
DontMindMe Posted August 7 Author Posted August 7 On 8/6/2024 at 12:15 PM, NicoD said: ./compile.sh build BOARD=rock-5-itx BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=no EXPERT=yes KERNEL_CONFIGURE=no RELEASE=jammy I tried it but I got this error: E: Packages were downgraded and -y was used without --allow-downgrades. [🐳|💥] Error context msg [ Installation of /root/base-files_24.5.1-12ubuntu4.6-jammy_arm64__1-jammy-1armbian1-Bbba0-U12ubuntu4.6-R55fa.deb failed rock-5-itx jammy no rk35xx ] Here the complete log: Spoiler Installing: /armbian/output/debs/fake-ubuntu-advantage-tools_24.5.1_all__1-Bfcde-R448a.deb [ fake-ubuntu-advantage-tools_24.5.1_all__1-Bfcde-R448a.deb ] [🐳|🔨] '/armbian/output/debs/fake-ubuntu-advantage-tools_24.5.1_all__1-Bfcde-R448a.deb' -> '/armbian/.tmp/rootfs-B5BB56D9-9D4B-43FA-B76C-569E09E6E0B8/root/fake-ubuntu-advantage-tools_24.5.1_all__1-Bfcde-R448a.deb' [🐳|🔨] mkdir: created directory '/armbian/.tmp/rootfs-B5BB56D9-9D4B-43FA-B76C-569E09E6E0B8/var/lib/apt/lists' [🐳|🔨] Selecting previously unselected package fake-ubuntu-advantage-tools. [🐳|🔨] (Reading database ... 30480 files and directories currently installed.) [🐳|🔨] Preparing to unpack .../fake-ubuntu-advantage-tools_24.5.1_all__1-Bfcde-R448a.deb ... [🐳|🔨] Unpacking fake-ubuntu-advantage-tools (24.5.1) ... [🐳|🔨] Setting up fake-ubuntu-advantage-tools (24.5.1) ... [🐳|🌿] Installing: /armbian/output/debs/jammy/base-files_24.5.1-12ubuntu4.6-jammy_arm64__1-jammy-1armbian1-Bbba0-U12ubuntu4.6-R55fa.deb [ base-files_24.5.1-12ubuntu4.6-jammy_arm64__1-jammy-1armbian1-Bbba0-U12ubuntu4.6-R55fa.deb ] [🐳|🔨] '/armbian/output/debs/jammy/base-files_24.5.1-12ubuntu4.6-jammy_arm64__1-jammy-1armbian1-Bbba0-U12ubuntu4.6-R55fa.deb' -> '/armbian/.tmp/rootfs-B5BB56D9-9D4B-43FA-B76C-569E09E6E0B8/root/base-files_24.5.1-12ubuntu4.6-jammy_arm64__1-jammy-1armbian1-Bbba0-U12ubuntu4.6-R55fa.deb' [🐳|🔨] E: Packages were downgraded and -y was used without --allow-downgrades. [🐳|💥] Error context msg [ Installation of /root/base-files_24.5.1-12ubuntu4.6-jammy_arm64__1-jammy-1armbian1-Bbba0-U12ubuntu4.6-R55fa.deb failed rock-5-itx jammy no rk35xx ] [🐳|💥] Error 1 occurred in main shell [ at /armbian/lib/functions/rootfs/apt-install.sh:106 install_deb_chroot() --> lib/functions/rootfs/apt-install.sh:106 install_artifact_deb_chroot() --> lib/functions/rootfs/apt-install.sh:121 install_distribution_specific() --> lib/functions/rootfs/distro-specific.sh:44 do_with_logging() --> lib/functions/logging/section-logging.sh:81 build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:27 full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:36 do_with_default_build() --> lib/functions/main/default-build.sh:42 cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25 armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176 main() --> compile.sh:50 ] [🐳|💥] Cleaning up [ please wait for cleanups to finish ] [🐳|🌿] Unmounting recursively [ SDCARD - be patient ] [🐳|🌿] Unmounting recursively [ MOUNT - be patient ] [🐳|🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-B5BB56D9-9D4B-43FA-B76C-569E09E6E0B8.log.ans ] [🐳|🌿] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-B5BB56D9-9D4B-43FA-B76C-569E09E6E0B8.log.ans https://paste.armbian.com/log ] [🍏|💥] -------------Docker run failed after 946s-------------------------- [ 🐳 failed ] [🍏|🌱] Cleaning up [ please wait for cleanups to finish ] Do you have any tips or suggestions that I could try? Thank you! Cheers! 0 Quote
Solution Werner Posted August 7 Solution Posted August 7 Logs excerpts are usually useless. Provide logs as suggested from the build output: Quote [🐳|🌿] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-B5BB56D9-9D4B-43FA-B76C-569E09E6E0B8.log.ans https://paste.armbian.com/log ] Try to build from main instread (I assume you tried 24.05 branch) 1 Quote
DontMindMe Posted August 7 Author Posted August 7 2 hours ago, Werner said: Try to build from main instread (I assume you tried 24.05 branch) That was it. Build finished. I'll try it and report back. 0 Quote
DontMindMe Posted August 7 Author Posted August 7 So summary for now: The system works fine and the hard drives are being detected and mount fine. I would want to upgrade the Kernels at some point to use be update but for now this works OK. Originally i was planning to run Yunohost but sticking with https://syncthing.net/ for now. One additional question (I realize I might need to open a new thread for this.) How can I use the ATX Pins on the board, i.e. the power button, reset button etc. Thank y'all for your help! much appreciated. 0 Quote
Werner Posted August 8 Posted August 8 9 hours ago, DontMindMe said: How can I use the ATX Pins on the board, i.e. the power button, reset button etc. No idea if these are even exposed. Anyway check the datasheet for the board. I guess there is some schematic for it around on the web. 0 Quote
Tomogo Posted August 12 Posted August 12 Hi, I have the same issue with 3 SATA drivers, sometimes it doesn't see any of SATA disks, sometimes it does. Kernel 6.1.75-vendor-rk35xx. I've tried several 12 V power suply, no effect. So I've tried ATX suply also no effect. Still same issue. Board with 24 GB RAM. 0 Quote
Martin Horejš Posted August 20 Posted August 20 Hi, I am also affected by this issue. What are the chances that the fix will get into the stable release update? I am not feeling comfortable downgrading the kernel because it was mentioned that it can break the boot and I can't afford any downtime on my machine. Thanks! 0 Quote
Igor Posted August 20 Posted August 20 1 hour ago, Martin Horejš said: What are the chances that the fix will get into the stable release update? Should be fixed but we didn't have time to test. Those images are getting ready for release: https://fi.mirror.armbian.de/incoming/igorpecovnik/rock-5-itx/archive/ 0 Quote
Tomogo Posted September 11 Posted September 11 Hi all, only info: After connecting 4 SATA disks it is almost impossible to start SBC to see disks. Linux rock-5-itx 6.1.75-vendor-rk35xx #1 SMP Wed Aug 21 11:45:59 UTC 2024 aarch64 GNU/Linux VERSION=24.8.2 REVISION=24.8.2 0 Quote
Igor Posted September 11 Posted September 11 I assume you are still testing? Can you try kernel from beta repo? Switch via armbian-config or change armbian repo from apt.armbian.com to beta.armbian.com Wrote on mobile 1 Quote
Tomogo Posted September 11 Posted September 11 Hi Igor. Many thanks, I've did it by beta.armbian.com and SATA disk was present in all of three reboots! 0 Quote
Maurycy Posted December 4 Posted December 4 Few months have passed and the problem is still there. Today I tried : Armbian 24.11.1 Bookworm Minimal / IOT Kernel: 6.1.75, Size: 238.3 MB, Release date: Nov 28, 2024 the sata problem is still there. My current setup: Rock 5 ITX 16 GB 1x NVME intel Optane Memory 32 GB with armbian on it - NVMe always works 3x SATA HDD 1x SATA SSD same issue with our without it 200W- flex ATX PSU suspicious dmesg errors: [ 11.384685] ahci 0001:11:00.0: controller reset failed (0xffffffff) [ 12.951128] rk-pcie fe170000.pcie: PCIe Link Fail, LTSSM is 0x3, hw_retries=0 I'm not that advanced to play with beta kernels. The board is listed as supported by armbian but very basic functionality is missing/random. Is there a chance for a working image without tinkering from user side? Thank you in advance. 0 Quote
Igor Posted December 5 Posted December 5 11 hours ago, Maurycy said: The board is listed as supported by armbian but very basic functionality is missing/random. Regressions in software development are totally normal and expected. You need to understand that even we declare something supported that it only means high level of software maturity and has a named maintainer https://docs.armbian.com/#what-is-supported and those are targets where we don't produce extreme damages to our personal finances. Since we create a value for you and its free for you, our loss is inevitable. Supported means, problem will be addressed, while on non supported targets, bugs or even total collapse of support, won't be addressed. Our assets are limited and we can not grow them with public support. 11 hours ago, Maurycy said: Is there a chance for a working image without tinkering from user side? I will be be honest with you. Perfect functioning at all time, that is not possible, no matter what we do. I mean in theory, if we throw into the project 50 x more and generate 100 x bigger loss, perhaps. But that is stupid, insane and pointless. And this should be your job, not ours. When we fix this for you, something else on some other hardware will break. And here we go again And this is the case here. Functionality works, but its unstable. After several reboots, cold start, it will come up. I know this is not right or expected, but this is how it works at the moment. If current kernel shows instability in a segment that is important to you, switch to the one that works. I do the same on my x86 mainstream hardware Linux desktop workstation. I have a bigger problem then you. Ubuntu kernel broke my network device (which is not nearly some cheap one), so if I upgrade, my network is gone ... I have to workaround by connecting to wireless and install older kernel version (or gamble with trunk build where my graphics card or Bluetooth will broke) where my network card works. This is fixable, but I don't have a day / week / money to fix this. This is Linux and this is how things are. Are people that work for free to blame for this? Use previous kernel. We made this choice very simple. And at least cheer us. 0 Quote
Maurycy Posted December 5 Posted December 5 Not sure how to do it. Since my main purpose is to use OMV, it requires Bookworm. Tried different kernels but it doesn't boot. I'm not so experienced, and don't know the correct path. 0 Quote
Werner Posted December 5 Posted December 5 With armbian-config you can select available kernels from repo. 0 Quote
Igor Posted December 5 Posted December 5 2 minutes ago, Maurycy said: Tried different kernels but it doesn't boot. I think the only kernel that will be good is previous version of 6.1.x, probably v24.8.something ... I don't have this information / hardware to provide exact information. But it is this way: armbian-config -> alternative kernels Or previous image from the archive. 0 Quote
Maurycy Posted December 5 Posted December 5 There is just one version of bookworm for this board, vendor provided. 0 Quote
Igor Posted December 5 Posted December 5 4 minutes ago, Maurycy said: There is just one version of bookworm for this board, vendor provided. Scroll down to the bottom of the page https://www.armbian.com/radxa-rock-5-itx/ 0 Quote
Igor Posted December 5 Posted December 5 @Maurycy Developers says "it should be fixed with latest kernel". I assume you have ran apt update and apt upgrade to get to the very latest version, more recent then shipped with image? 0 Quote
Maurycy Posted December 5 Posted December 5 Thank you for your input and patience. Yes, latest version, fresh install from image then apt-get update, apt-get upgrade: v24.11.1 for Rock 5 ITX running Armbian Linux 6.1.75-vendor-rk35xx Packages: Debian stable (bookworm) IP addresses: (LAN) IPv4: 192.168.3.10 IPv6: xxxxxxxxxxxxxxxx (WAN) 83.xxxxxxxxxxxx Performance: Load: 5% Up time: 0 min Memory usage: 1% of 15.59G CPU temp: 34°C Usage of /: 5% of 27G lsblk: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS mtdblock0 31:0 0 16M 0 disk mmcblk0 179:0 0 7,3G 0 disk └─mmcblk0p1 179:1 0 7,2G 0 part mmcblk0boot0 179:32 0 4M 1 disk mmcblk0boot1 179:64 0 4M 1 disk zram0 252:0 0 7,8G 0 disk [SWAP] zram1 252:1 0 50M 0 disk zram2 252:2 0 0B 0 disk nvme0n1 259:0 0 27,3G 0 disk └─nvme0n1p1 259:1 0 27G 0 part / Sata discs are missing, but appeared once on second reboot Regarding archived versions: all of them have 6.1.75 kernels and all of them have the same issue. In fact they are 4 months old only so within the timeframe of the issue. Tried to install alternative kernel 6.1.43 from 24.5.1 using armbian-config: did nothing I still have 6.1.75. Tried installing the same way: 5.10.160: the board won't boot. 0 Quote
Maurycy Posted December 5 Posted December 5 "lost in the process" Has anyone used no vendor build with newer kernel with success? 0 Quote
Maurycy Posted December 5 Posted December 5 one of the ok boots after attempt to switch kernel to older one. Still 6.1.75 but randomly discs are visible v24.11.1 for Rock 5 ITX running Armbian Linux 6.1.75-vendor-rk35xx Packages: Debian stable (bookworm) IP addresses: (LAN) IPv4: 192.168.3.10 IPv6: xxxxxxxxxxxxxxxxx (WAN) 83.xxxxxxxxxxxxx Performance: Load: 1% Up time: 8 min Memory usage: 1% of 15.59G CPU temp: 33°C Usage of /: 5% of 27G Commands: Configuration : armbian-config Monitoring : htop Last login: Thu Dec 5 14:33:14 2024 from 192.168.3.79 root@rock-5-itx:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 2,7T 0 disk ├─sda1 8:1 0 2,7T 0 part └─sda9 8:9 0 8M 0 part sdb 8:16 0 931,5G 0 disk └─sdb1 8:17 0 931,5G 0 part sdc 8:32 0 5,5T 0 disk ├─sdc1 8:33 0 2,7T 0 part └─sdc2 8:34 0 2,8T 0 part sdd 8:48 0 2,7T 0 disk ├─sdd1 8:49 0 2,7T 0 part └─sdd9 8:57 0 8M 0 part mtdblock0 31:0 0 16M 0 disk mmcblk0 179:0 0 7,3G 0 disk └─mmcblk0p1 179:1 0 7,2G 0 part mmcblk0boot0 179:32 0 4M 1 disk mmcblk0boot1 179:64 0 4M 1 disk zram0 252:0 0 7,8G 0 disk [SWAP] zram1 252:1 0 50M 0 disk zram2 252:2 0 0B 0 disk nvme0n1 259:0 0 27,3G 0 disk └─nvme0n1p1 259:1 0 27G 0 part / 0 Quote
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.