Jump to content

Helios64 - Armbian 23.08 Bookworm issues (solved)


Go to solution Solved by ebin-dev,

Recommended Posts

Posted (edited)
2 hours ago, OdyX said:

I think this is caused by https://github.com/armbian/build/commit/1f4df4c41fe33f9822ca2f42d14a2a445e27aed7 ; Rockchip64's 'edge' kernels were bumped to 6.7.

 

Bumping rockchip64 current to linux 6.6 (and edge to 6.7) is actually good news. But I do not think that this explains why the entire beta/pool/main folder disappeared from a mirror (but it does not matter).

 

If nothing else is changed (keep fingers crossed), then the new Armbian built rockchip64 6.6.x and 6.7.y kernels should appear i.e. on imola.armbian.com/beta/pool/main/l/ and reappear on the mirrors.

Edited by ebin-dev
Posted (edited)

Newer kernel versions of the 6.6 branch (6.6.9 to 6.6.12) would not appear to run stable anymore on helios64 (6.6.8 is stable - using the ondemand governor in my use case).

 

In kernel versions 6.6.9 to 6.6.12 energy aware scheduling (EAS) is disabled automatically - it can now only be used combination with the schedutil governor. But using schedutil is currently not a good option.

Edited by ebin-dev
Posted (edited)

@ebin-dev the most stable setting for me is the following, so far the Helios64 has been running for over 92 days...

helios@helios64:~# cat /etc/default/cpufrequtils
ENABLE="true"
GOVERNOR=ondemand
MAX_SPEED=1200000
MIN_SPEED=408000
helios@helios64:~#
helios@helios64:~# uptime
 18:54:55 up 92 days, 21:20,  1 user,  load average: 0.00, 0.00, 0.00

 

Edited by TDCroPower
Posted (edited)

@ebin-dev Am I correct that the 6.6.8 debs you kindly share from your Dropbox do not contain the hs400 mmc speed, extended strobe and CPU cache patches to the DTB?  I worked out how to patch the mmc things but couldn't work out how to apply the cache patches shown in the kernel list dtsi patch set.

 

In other news the 6.6.8 version is probably the best I've had on my system and now typically lasts 3 days between crashes. It was a lot worse until I realised that I was using the gmac ethernet port and not the r8152 2.5Gb one and that was causing a lot more instability. The r8152 does timeout sometimes though even with the mainline firmware and offloading enabled.

 

I do use the system as an NFS server though with several systems connected.

Edited by TheGuv
Fixup link
Posted (edited)
6 hours ago, TheGuv said:

Am I correct that the 6.6.8 debs you kindly share from your Dropbox do not contain the hs400 mmc speed, extended strobe and CPU cache patches to the DTB?

 

The 6.6.8 debs were downloaded from an Armbian mirror and are not modified. Everything you need is explained here: in particular that NFS causes trouble with 6.6.x kernels and that 6.1.71 should be used instead or 5.15.93.

 

To implement hs400 and L2 cache information you can use 'dtc'. For your convenience I attached the dtb for 6.6.8 and 5.15.93 (just copy the matching one to /boot/dtb/rockchip/rk3399-kobol-helios64.dtb).

 

It is essential to flash the bootloader to emmc after you have installed the kernel debs, to perform a cold boot and to run 'sbc-bench -r' at least once.

rk3399-kobol-helios64.dtb-5.15.93-L2-hs400 rk3399-kobol-helios64.dtb-6.6.8-L2-hs400

Edited by ebin-dev
Posted (edited)

ebin-dev thank you so much. I now see how to add the l2-cache.

The result is much the same with no more than 3 days of uptime before a random reboot occurs, or (rarely) a frozen box with a red system light. I did indeed flash the bootloader via the armbian-config update bootloader (option 5).

 

I'm using the bootloader from linux-u-boot-edge-helios64_22.02.1_arm64.deb

 

I'm still seeing r8152 USB timeouts like this:

2024-01-30T04:16:06.975984+00:00 helios64 kernel: [42578.782562] r8152 2-1.4:1.0 enx646266d00c4f: Tx timeout
2024-01-30T04:16:06.983800+00:00 helios64 kernel: [42578.786383] r8152 2-1.4:1.0 enx646266d00c4f: Tx status -2
2024-01-30T04:16:06.983874+00:00 helios64 kernel: [42578.786571] r8152 2-1.4:1.0 enx646266d00c4f: Tx status -2
2024-01-30T04:16:06.983886+00:00 helios64 kernel: [42578.786710] r8152 2-1.4:1.0 enx646266d00c4f: Tx status -2
2024-01-30T04:16:06.983897+00:00 helios64 kernel: [42578.786812] r8152 2-1.4:1.0 enx646266d00c4f: Tx status -2
2024-01-30T04:16:09.103853+00:00 helios64 kernel: [42580.906680] r8152-cfgselector 2-1.4: reset SuperSpeed USB device number 4 using xhci-hcd


and I am using the rtl_nic firmware from git.kernel.org.

 

I guess it could be NFS causing problems although the network would have been quiet at 4am.

 

I'll give 5.1.71 a whirl.

Edited by TheGuv
fix link
Posted
On 1/28/2024 at 8:16 PM, alchemist said:

I am testing kernel 6.7 and I don't have crashes for now. It seems stable. Will confirm it after some weeks of operations.

 

I copied the 6.7.2 deb files yesterday (trunk-480) and will test them once I am back home next week.

 

1 hour ago, TheGuv said:

I'll give 5.1.71 a whirl.

 

6.1.71 or 5.15.93 should be fine. You could also try 6.7.2 🙂

Posted

Currently testing 6.7.2 and this might be the most reliable kernel for me yet currently on 4 days (!) uptime.

 

The only issue I am experiencing is Tx timeout on the r8152 ethernet port which causes a pause for a couple of seconds e.g.:

[285266.096001] r8152 2-1.4:1.0 enx646266d00c4f: Tx timeout
[285266.100079] r8152 2-1.4:1.0 enx646266d00c4f: Tx status -2
[285266.100157] r8152 2-1.4:1.0 enx646266d00c4f: Tx status -2
[285266.100230] r8152 2-1.4:1.0 enx646266d00c4f: Tx status -2
[285266.100375] r8152 2-1.4:1.0 enx646266d00c4f: Tx status -2
[285268.220401] r8152-cfgselector 2-1.4: reset SuperSpeed USB device number 3 using xhci-hcd

 

I am using firmware from the kernel source tree:

[   13.639966] usbcore: registered new device driver r8152-cfgselector
[   13.853975] r8152-cfgselector 2-1.4: reset SuperSpeed USB device number 3 using xhci-hcd
[   14.076359] r8152 2-1.4:1.0: load rtl8156a-2 v2 04/27/23 successfully
[   14.132728] r8152 2-1.4:1.0 eth0: v1.12.13
[   14.132950] usbcore: registered new interface driver r8152

 

The kernel device tree does not appear to contain the patches for either the eMMC speed and strobe fixes, or the CPU cache. I tried patching them myself and things didn't end well, but I'm no expert and probably things are differen for 6.7.x

 

Posted

May be it is not a fault but an upstream change that leads to issues with hs400 again ?

 

Good to hear that 6.7.x is quite stable. The remaining issue (short timeout) with the mainline r8152 driver can be reduced (eliminated) if other huge tasks do not have to compete with it. You could use taskset to assign other huge tasks to cpu5 and leave cpu4 to handle i/o.

Posted

OK, so I had to reboot soon after the above post due to the server not being responsive. it was still alive with occasional disk activity and the heartbeat LED was happily flashing with the correct cadence. Looks like the r8152 timed out again and could not recover.  Not a lot of info to go on, but I don't think it was a busy server at the time.

 

Are the DMA errors what are normally seen with an overloaded core?

 

2024-02-05T03:08:32.752569+00:00 helios64 kernel: [40379.321499] xhci-hcd xhci-hcd.0.auto: WARN Event TRB for slot 3 ep 3 with no TDs queued?
2024-02-05T03:08:32.752783+00:00 helios64 kernel: [40379.321554] xhci-hcd xhci-hcd.0.auto: WARN Event TRB for slot 3 ep 3 with no TDs queued?
2024-02-05T03:08:32.765068+00:00 helios64 kernel: [40379.337314] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1
2024-02-05T03:08:32.765234+00:00 helios64 kernel: [40379.337362] xhci-hcd xhci-hcd.0.auto: Looking for event-dma 00000000f5119f70 trb-start 00000000f5119f50 trb-end 00000000f5119f50 seg-start 00000000f5119000 seg-end 00000000f5119ff0
2024-02-05T03:08:32.765245+00:00 helios64 kernel: [40379.337421] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1
2024-02-05T03:08:32.765299+00:00 helios64 kernel: [40379.337445] xhci-hcd xhci-hcd.0.auto: Looking for event-dma 00000000f5119f80 trb-start 00000000f5119f50 trb-end 00000000f5119f50 seg-start 00000000f5119000 seg-end 00000000f5119ff0
2024-02-05T03:08:32.765396+00:00 helios64 kernel: [40379.337485] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1
2024-02-05T03:08:32.765466+00:00 helios64 kernel: [40379.337510] xhci-hcd xhci-hcd.0.auto: Looking for event-dma 00000000f5119f90 trb-start 00000000f5119f50 trb-end 00000000f5119f50 seg-start 00000000f5119000 seg-end 00000000f5119ff0
2024-02-05T03:08:32.765473+00:00 helios64 kernel: [40379.337549] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1
2024-02-05T03:08:32.765476+00:00 helios64 kernel: [40379.337572] xhci-hcd xhci-hcd.0.auto: Looking for event-dma 00000000f5119fa0 trb-start 00000000f5119f50 trb-end 00000000f5119f50 seg-start 00000000f5119000 seg-end 00000000f5119ff0
2024-02-05T03:08:32.765480+00:00 helios64 kernel: [40379.337606] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1
2024-02-05T03:08:32.765528+00:00 helios64 kernel: [40379.337629] xhci-hcd xhci-hcd.0.auto: Looking for event-dma 00000000f5119fb0 trb-start 00000000f5119f50 trb-end 00000000f5119f50 seg-start 00000000f5119000 seg-end 00000000f5119ff0
2024-02-05T03:08:32.765536+00:00 helios64 kernel: [40379.337663] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1
2024-02-05T03:08:32.766028+00:00 helios64 kernel: [40379.337686] xhci-hcd xhci-hcd.0.auto: Looking for event-dma 00000000f5119fc0 trb-start 00000000f5119f50 trb-end 00000000f5119f50 seg-start 00000000f5119000 seg-end 00000000f5119ff0
2024-02-05T03:08:32.766039+00:00 helios64 kernel: [40379.337719] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1
2024-02-05T03:08:32.766043+00:00 helios64 kernel: [40379.337742] xhci-hcd xhci-hcd.0.auto: Looking for event-dma 00000000f5119fd0 trb-start 00000000f5119f50 trb-end 00000000f5119f50 seg-start 00000000f5119000 seg-end 00000000f5119ff0
2024-02-05T03:08:32.766048+00:00 helios64 kernel: [40379.337781] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1
2024-02-05T03:08:32.766052+00:00 helios64 kernel: [40379.337805] xhci-hcd xhci-hcd.0.auto: Looking for event-dma 00000000f5119fe0 trb-start 00000000f5119f50 trb-end 00000000f5119f50 seg-start 00000000f5119000 seg-end 00000000f5119ff0
2024-02-05T03:08:32.766057+00:00 helios64 kernel: [40379.337839] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1
2024-02-05T03:08:32.766061+00:00 helios64 kernel: [40379.337862] xhci-hcd xhci-hcd.0.auto: Looking for event-dma 00000000f5119ff0 trb-start 00000000f5119f50 trb-end 00000000f5119f50 seg-start 00000000f5119000 seg-end 00000000f5119ff0
2024-02-05T03:08:32.766065+00:00 helios64 kernel: [40379.337895] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1
2024-02-05T03:08:32.766069+00:00 helios64 kernel: [40379.337918] xhci-hcd xhci-hcd.0.auto: Looking for event-dma 00000000f511a000 trb-start 00000000f5119f50 trb-end 00000000f5119f50 seg-start 00000000f5119000 seg-end 00000000f5119ff0
024-02-05T03:08:40.392810+00:00 helios64 kernel: [40386.965499] ------------[ cut here ]------------
2024-02-05T03:08:40.392875+00:00 helios64 kernel: [40386.965584] NETDEV WATCHDOG: enx646266d00c4f (r8152): transmit queue 0 timed out 7628 ms
2024-02-05T03:08:40.392883+00:00 helios64 kernel: [40386.965775] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:525 dev_watchdog+0x29c/0x2b4
2024-02-05T03:08:40.395293+00:00 helios64 kernel: [40386.965831] Modules linked in: wireguard libchacha20poly1305 poly1305_neon libcurve25519_generic ip6_udp_tunnel udp_tunnel tls xt_MASQUERADE xt_nat xt_tcpudp iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_filter bpfilter zram binfmt_misc snd_soc_hdmi_codec snd_soc_rockchip_i2s hantro_vpu rockchip_vdec(C) snd_soc_core v4l2_vp9 snd_compress videobuf2_dma_contig snd_pcm_dmaengine rockchip_rga v4l2_h264 snd_pcm leds_pwm videobuf2_dma_sg v4l2_mem2mem pwm_fan panfrost videobuf2_memops gpio_charger gpu_sched videobuf2_v4l2 videodev drm_shmem_helper videobuf2_common snd_timer snd mc rk_crypto rng_core soundcore gpio_beeper cpufreq_dt sg lm75 ledtrig_netdev nfsd drivetemp auth_rpcgss nfs_acl lockd grace dm_mod sunrpc ip_tables x_tables autofs4 xfs efivarfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx raid0 multipath linear cdc_ncm cdc_ether usbnet raid1 r8152 md_mod realtek fusb302 tcpm typec dwmac_rk stmmac_platform stmmac pcs_xpcs adc_keys
2024-02-05T03:08:40.396875+00:00 helios64 kernel: [40386.966750] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G         C         6.7.2-edge-rockchip64 #3
2024-02-05T03:08:40.396885+00:00 helios64 kernel: [40386.966786] Hardware name: Helios64 (DT)
2024-02-05T03:08:40.396891+00:00 helios64 kernel: [40386.966797] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
2024-02-05T03:08:40.396897+00:00 helios64 kernel: [40386.966820] pc : dev_watchdog+0x29c/0x2b4
2024-02-05T03:08:40.396903+00:00 helios64 kernel: [40386.966852] lr : dev_watchdog+0x29c/0x2b4
2024-02-05T03:08:40.396908+00:00 helios64 kernel: [40386.966879] sp : ffff800080003dc0
2024-02-05T03:08:40.396914+00:00 helios64 kernel: [40386.966893] x29: ffff800080003dc0 x28: ffff800080ec96fc x27: ffff800080003ec0
2024-02-05T03:08:40.396920+00:00 helios64 kernel: [40386.966940] x26: ffff800081849008 x25: 0000000000001dcc x24: ffff800081ba7000
2024-02-05T03:08:40.396927+00:00 helios64 kernel: [40386.966986] x23: 0000000000000000 x22: ffff0000f570b41c x21: ffff0000f570b000
2024-02-05T03:08:40.396933+00:00 helios64 kernel: [40386.967030] x20: ffff0000f568aa00 x19: ffff0000f570b4c8 x18: ffffffffffffffff
2024-02-05T03:08:40.396938+00:00 helios64 kernel: [40386.967076] x17: 64656d6974203020 x16: 6575657571207469 x15: 6d736e617274203a
2024-02-05T03:08:40.396944+00:00 helios64 kernel: [40386.967121] x14: 2932353138722820 x13: 0000000000000377 x12: 00000000ffffffea
2024-02-05T03:08:40.397021+00:00 helios64 kernel: [40386.967166] x11: 00000000ffffefff x10: 00000000ffffefff x9 : ffff800081c26668
2024-02-05T03:08:40.397105+00:00 helios64 kernel: [40386.967211] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000005000000
2024-02-05T03:08:40.397115+00:00 helios64 kernel: [40386.967255] x5 : 0000000000000001 x4 : 0000000000000040 x3 : 0000000000000001
2024-02-05T03:08:40.397121+00:00 helios64 kernel: [40386.967298] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff800081bb4500
2024-02-05T03:08:40.397126+00:00 helios64 kernel: [40386.967344] Call trace:
2024-02-05T03:08:40.397131+00:00 helios64 kernel: [40386.967356]  dev_watchdog+0x29c/0x2b4
2024-02-05T03:08:40.397149+00:00 helios64 kernel: [40386.967387]  call_timer_fn+0x34/0x1c0
2024-02-05T03:08:40.397157+00:00 helios64 kernel: [40386.967420]  __run_timers.part.0+0x228/0x2f4
2024-02-05T03:08:40.397163+00:00 helios64 kernel: [40386.967451]  run_timer_softirq+0x48/0x84
2024-02-05T03:08:40.397168+00:00 helios64 kernel: [40386.967481]  __do_softirq+0x150/0x3e4
2024-02-05T03:08:40.397173+00:00 helios64 kernel: [40386.967505]  ____do_softirq+0x10/0x1c
2024-02-05T03:08:40.397178+00:00 helios64 kernel: [40386.967533]  call_on_irq_stack+0x24/0x4c
2024-02-05T03:08:40.397183+00:00 helios64 kernel: [40386.967558]  do_softirq_own_stack+0x1c/0x2c
2024-02-05T03:08:40.397188+00:00 helios64 kernel: [40386.967584]  irq_exit_rcu+0x9c/0xcc
2024-02-05T03:08:40.397193+00:00 helios64 kernel: [40386.967616]  el1_interrupt+0x38/0x68
2024-02-05T03:08:40.397198+00:00 helios64 kernel: [40386.967644]  el1h_64_irq_handler+0x18/0x24
2024-02-05T03:08:40.397265+00:00 helios64 kernel: [40386.967671]  el1h_64_irq+0x64/0x68
2024-02-05T03:08:40.397277+00:00 helios64 kernel: [40386.967693]  cpuidle_enter_state+0xc4/0x4bc
2024-02-05T03:08:40.397283+00:00 helios64 kernel: [40386.967722]  cpuidle_enter+0x38/0x50
2024-02-05T03:08:40.397287+00:00 helios64 kernel: [40386.967749]  do_idle+0x1fc/0x270
2024-02-05T03:08:40.397292+00:00 helios64 kernel: [40386.967779]  cpu_startup_entry+0x34/0x3c
2024-02-05T03:08:40.397297+00:00 helios64 kernel: [40386.967807]  kernel_init+0x0/0x1e0
2024-02-05T03:08:40.397302+00:00 helios64 kernel: [40386.967835]  arch_post_acpi_subsys_init+0x0/0x8
2024-02-05T03:08:40.397360+00:00 helios64 kernel: [40386.967865]  start_kernel+0x6c4/0x8fc
2024-02-05T03:08:40.397372+00:00 helios64 kernel: [40386.967891]  __primary_switched+0xb4/0xbc
2024-02-05T03:08:40.397377+00:00 helios64 kernel: [40386.967925] ---[ end trace 0000000000000000 ]---
2024-02-05T03:08:40.397383+00:00 helios64 kernel: [40386.967975] r8152 2-1.4:1.0 enx646266d00c4f: Tx timeout
2024-02-05T03:08:45.516397+00:00 helios64 kernel: [40392.085520] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command
2024-02-05T03:08:45.516458+00:00 helios64 kernel: [40392.085569] xhci-hcd xhci-hcd.0.auto: xHCI host controller not responding, assume dead
2024-02-05T03:08:45.516467+00:00 helios64 kernel: [40392.085685] xhci-hcd xhci-hcd.0.auto: HC died; cleaning up
2024-02-05T03:08:45.516472+00:00 helios64 kernel: [40392.085776] usb 1-1: USB disconnect, device number 2
2024-02-05T03:08:45.516477+00:00 helios64 kernel: [40392.087845] usb 2-1: USB disconnect, device number 2
2024-02-05T03:08:45.516482+00:00 helios64 kernel: [40392.087878] r8152-cfgselector 2-1.4: USB disconnect, device number 3
2024-02-05T03:08:45.516487+00:00 helios64 kernel: [40392.088121] r8152 2-1.4:1.0 enx646266d00c4f: Tx status -108
2024-02-05T03:08:45.516494+00:00 helios64 kernel: [40392.088156] r8152 2-1.4:1.0 enx646266d00c4f: Tx status -108
2024-02-05T03:08:45.516501+00:00 helios64 kernel: [40392.088182] r8152 2-1.4:1.0 enx646266d00c4f: Tx status -2
2024-02-05T03:08:45.516508+00:00 helios64 kernel: [40392.088229] r8152 2-1.4:1.0 enx646266d00c4f: Tx status -108
2024-02-05T03:08:45.516513+00:00 helios64 kernel: [40392.088416] r8152 2-1.4:1.0 enx646266d00c4f: Get ether addr fail

 

Posted

I tried armbian built 6.7.4 without any modifications but it crashes almost immediately on my system. Even without hs400.

 

The netdev watchdog message looks like the timeout caused by the mainline r8152 driver. Have never seen those events occurring before 'cut here'.

Posted (edited)

Hello @ebin-dev,

 

Should I follow your procedure and therefore install the version Armbian_23.5.4_Helios64_bookworm_current_6.1.36.img.xz or if I install the latest version available Armbian_23.11.1_Helios64_bookworm_current_6.1.63.img.xz this directly corrects the problems ? Currently I have no system on my Helios64 server.

 

Thank you for your help 🙂

Edited by Flolm
Posted (edited)

@FlolmI am currently also reinstalling a Helios64 and following the instructions of  @ebin-dev from here.

As soon as i'm done i'll share a more detailed tutorial for dummies ;)

 

edit:

thx to @ebin-dev for your instructions, I was able to run it successfully on my Helios64 and have written down the individual steps in more detail so that others can also do it without major problems.

 

1. image Armbian_23.5.4_Helios64_bookworm_current_6.1.36 flashing:

Download and flash the image on your microSD with balenaEtcher or something similar...

https://fi.mirror.armbian.de/archive/helios64/archive/Armbian_23.5.4_Helios64_bookworm_current_6.1.36.img.xz

 

2. set CPU limits:

Run armbian-config

-> System

-> CPU

And set:

Min CPU speed = 408000 MHz

Max CPU speed = 1200000 MHz

CPU governor = on demand

 

3. disable Armbian Updates:

you can either rename the source file or deactivate the line in the file with # at the beginning...

root@helios64:~# cd /etc/apt/sources.list.d

root@helios64:/etc/apt/sources.list.d# ls -l
total 4
-rw-rw-r-- 1 root root 117 Jun 30 2023 armbian.list

root@helios64:/etc/apt/sources.list.d# mv armbian.list armbian.list.disabled

root@helios64:/etc/apt/sources.list.d# ls -l
total 4
-rw-rw-r-- 1 root root 117 Jun 30 2023 armbian.list.disabled

root@helios64:/etc/apt/sources.list.d# cat armbian.list.disabled
# deb [signed-by=/usr/share/keyrings/armbian.gpg] http://apt.armbian.com bookworm main bookworm-utils bookworm-desktop

 

4. Download and copy rtl_nic firmware files:

Download this 9 files...

rtl8125b-2.fw
rtl8153a-2.fw
rtl8153a-3.fw
rtl8153a-4.fw
rtl8153b-2.fw
rtl8153c-1.fw
rtl8156a-2.fw
rtl8156b-2.fw
rtl8168h-2.fw

... from here...

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtl_nic

... and copy & replace the files to the directory /lib/firmware/rtl_nic on your helios64.

 

5. Upgrade kernel to 6.6.8:

Download the 6.6.8 deb files from here...

https://www.dropbox.com/scl/fi/9s2saibn9oezqmhfwyu3i/debs-6.6.8.zip?rlkey=hkkrxjelitsto0f0zw6wft6pq&dl=1

... and copy the 3 files to your helios64.

Execute these 4 commands one after the other...

apt install libelf-dev
dpkg -i linux-dtb-edge-rockchip64_24.2.0-trunk.225_arm64__6.6.8-S4c96-Dbc51-Pb65c-C891dHfe66-HK01ba-Vc222-B1743-R448a.deb
dpkg -i linux-image-edge-rockchip64_24.2.0-trunk.225_arm64__6.6.8-S4c96-Dbc51-Pb65c-C891dHfe66-HK01ba-Vc222-B1743-R448a.deb
dpkg -i linux-headers-edge-rockchip64_24.2.0-trunk.225_arm64__6.6.8-S4c96-Dbc51-Pb65c-C891dHfe66-HK01ba-Vc222-B1743-R448a.deb

 

6. update bootloader on eMMC:

Download the deb file from here...

https://imola.armbian.com/apt/pool/main/l/linux-u-boot-helios64-edge/linux-u-boot-edge-helios64_22.02.1_arm64.deb

... and copy the file to your helios64.

Execute these 6 commands one after the other...

dpkg -x linux-u-boot-edge-helios64_22.02.1_arm64.deb linux-u-boot-edge-helios64_22.02.1_arm64/
cd linux-u-boot-edge-helios64_22.02.1_arm64/usr/lib/linux-u-boot-edge-helios64_22.02.1_arm64/
dd if=idbloader.bin of=/dev/mmcblk1 seek=64 conv=notrunc
dd if=uboot.img of=/dev/mmcblk1 seek=16384 conv=notrunc
dd if=trust.bin of=/dev/mmcblk1 seek=24576 conv=notrunc
reboot now

 

7. Set nic offload options:

Select the LAN port you are using...

For end0 - 1 GB Port: ethtool -K end0 tso on gso on gro on

For eth1 - 2,5 GB Port: ethtool -K eth1 tso on gso on gro on

... and change the value in the ethtool command after the "-K".

Execute the command ...

root@helios64:~# ethtool -K end0 tso on gso on gro on
Actual changes:
tx-tcp-segmentation: off [requested on]
tx-tcp-ecn-segmentation: off [requested on]
tx-tcp-mangleid-segmentation: off [requested on]
tx-tcp6-segmentation: off [requested on]

 

8. Fix hs400 support and L2 cache information:

Download the dtb file from here...

https://www.dropbox.com/scl/fi/nif2k0027whxky25djqll/rk3399-kobol-helios64.dtb-6.6.8-L2-hs400.zip?rlkey=zq7zw91oem4ugmgmaqfyuxqsa&dl=1

... extract the rk3399-kobol-helios64.dtb-6.6.8-L2-hs400.zip

... rename rk3399-kobol-helios64.dtb-6.6.8-L2-hs400 to rk3399-kobol-helios64.dtb 

... copy & replace the rk3399-kobol-helios64.dtb into /boot/dtb/rockchip

 

9. execute sbc-bench script:

Execute these 3 commands one after the other...

wget https://raw.githubusercontent.com/ThomasKaiser/sbc-bench/master/sbc-bench.sh
chmod +x sbc-bench.sh
./sbc-bench.sh -r

 

sbc-bench output..

Spoiler
Starting to examine hardware/software for review purposes...

sbc-bench v0.9.64

Installing needed tools: apt-get -f -qq -y install lm-sensors dmidecode lshw links stress-ng p7zip. Updating APT cache, tinymembench, ramlat, mhz, cpufetch, cpuminer. Done.
Checking cpufreq OPP. Done.
Executing tinymembench. Done.
Executing RAM latency tester. Done.
Executing OpenSSL benchmark. Done.
Executing 7-zip benchmark. Done.
Throttling test: heating up the device, 5 more minutes to wait. Done.
Checking cpufreq OPP again. Done (20 minutes elapsed).

Results validation:

  * Measured clockspeed not lower than advertised max CPU clockspeed
  * No swapping
  * Background activity (%system) OK
  * Throttling occured -> https://tinyurl.com/4ky59sys


Full results uploaded to http://sprunge.us/Ge7OM1




# Helios64

Tested with sbc-bench v0.9.64 on Thu, 22 Feb 2024 11:29:55 +0100. Full info: [http://sprunge.us/Ge7OM1](http://sprunge.us/Ge7OM1)

### General information:

    Information courtesy of cpufetch:

    SoC:                 Rockchip RK3399
    Technology:          28nm
    CPU 1:
      Microarchitecture: Cortex-A53
      Max Frequency:     1.416 GHz
      Cores:             4 cores
      Features:          NEON,SHA1,SHA2,AES,CRC32
    CPU 2:
      Microarchitecture: Cortex-A72
      Max Frequency:     1.800 GHz
      Cores:             2 cores
      Features:          NEON,SHA1,SHA2,AES,CRC32
    Peak Performance:    102.91 GFLOP/s

The CPU features 2 clusters of different core types:

    Rockchip RK3399, Kernel: aarch64, Userland: arm64

    CPU sysfs topology (clusters, cpufreq members, clockspeeds)
                     cpufreq   min    max
     CPU    cluster  policy   speed  speed   core type
      0        0        0      408    1416   Cortex-A53 / r0p4
      1        0        0      408    1416   Cortex-A53 / r0p4
      2        0        0      408    1416   Cortex-A53 / r0p4
      3        0        0      408    1416   Cortex-A53 / r0p4
      4        0        4      408    1800   Cortex-A72 / r0p2
      5        0        4      408    1800   Cortex-A72 / r0p2

3796 KB available RAM

### Governors/policies (performance vs. idle consumption):

Original governor settings:

    cpufreq-policy0: ondemand / 1416 MHz (conservative ondemand userspace powersave performance schedutil / 408 600 816 1008 1200 1416)
    cpufreq-policy4: ondemand / 1800 MHz (conservative ondemand userspace powersave performance schedutil / 408 600 816 1008 1200 1416 1608 1800)
    ff9a0000.gpu: simple_ondemand / 200 MHz (powersave performance simple_ondemand / 200 297 400 500 600 800)

Tuned governor settings:

    cpufreq-policy0: performance / 1416 MHz
    cpufreq-policy4: performance / 1800 MHz
    ff9a0000.gpu: performance / 800 MHz

Status of performance related policies found below /sys:

    /sys/module/pcie_aspm/parameters/policy: default [performance] powersave powersupersave

### Clockspeeds (idle vs. heated up):

Before at 45.0°C:

    cpu0-cpu3 (Cortex-A53): OPP: 1416, Measured: 1413
    cpu4-cpu5 (Cortex-A72): OPP: 1800, Measured: 1798

After at 80.0°C (throttled):

    cpu0-cpu3 (Cortex-A53): OPP: 1416, Measured: 1413
    cpu4-cpu5 (Cortex-A72): OPP: 1800, Measured: 1798

### Performance baseline

  * cpu0 (Cortex-A53): memcpy: 1686.4 MB/s, memchr: 1699.7 MB/s, memset: 8167.1 MB/s
  * cpu4 (Cortex-A72): memcpy: 3280.7 MB/s, memchr: 5944.4 MB/s, memset: 8242.4 MB/s
  * cpu0 (Cortex-A53) 16M latency: 196.0 199.2 195.3 198.5 195.2 198.8 245.0 468.6
  * cpu4 (Cortex-A72) 16M latency: 201.9 203.8 203.5 204.1 203.3 206.4 210.7 246.2
  * cpu0 (Cortex-A53) 128M latency: 200.2 202.9 199.1 202.1 200.7 202.8 244.7 463.4
  * cpu4 (Cortex-A72) 128M latency: 215.4 219.0 216.2 219.2 211.7 224.7 236.4 260.9
  * 7-zip MIPS (3 consecutive runs): 6344, 6387, 6367 (6370 avg), single-threaded: 1709
  * `aes-256-cbc      95648.83k   266689.49k   473322.75k   603705.34k   654895.79k   657298.77k (Cortex-A53)`
  * `aes-256-cbc     278951.53k   618024.45k   881630.72k   976088.06k  1020564.82k  1020723.20k (Cortex-A72)`

### PCIe and storage devices:

  * JMicron JMB58x AHCI SATA controller: Speed 5GT/s (downgraded), Width x1 (downgraded), driver in use: ahci
  * 2.7TB "Western WDC WD30EFRX-68EUZN0" HDD as /dev/sda: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s), drive temp: 28°C
  * 2.7TB "Western WDC WD30EFAX-68JH4N0" HDD as /dev/sdb: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s), drive temp: 25°C
  * 2.7TB "Seagate ST3000VN007-2AH16M" HDD as /dev/sdc: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s), drive temp: 26°C
  * 2.7TB "Seagate ST3000VN007-2AH16M" HDD as /dev/sdd: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s), drive temp: 26°C
  * 14.6GB "Samsung AJTD4R" HS200 eMMC 5.1 card as /dev/mmcblk0: date 01/2020, manfid/oemid: 0x000015/0x0100, hw/fw rev: 0x0/0x0600000000000000
  * 59.7GB "Samsung EC1S5" UHS SDR104 SDXC card as /dev/mmcblk1: date 12/2021, manfid/oemid: 0x00001b/0x534d, hw/fw rev: 0x3/0x0

### Swap configuration:

  * /dev/zram0: 1.9G (0K used, lzo-rle, 6 streams, 4K data, 74B compressed, 12K total)

### Software versions:

  * Ubuntu 12 (bookworm) tampered by Armbian 23.08.0-trunk bookworm
  * Build scripts: https://github.com/armbian/build, 23.08.0-trunk, Helios64, rk3399, rockchip64
  * Compiler: /usr/bin/gcc (Debian 12.2.0-14) 12.2.0 / aarch64-linux-gnu
  * OpenSSL 3.0.11, built on 19 Sep 2023 (Library: OpenSSL 3.0.11 19 Sep 2023)

### Kernel info:

  * `/proc/cmdline: root=UUID=b790c4d7-5709-4000-91ac-099eeefe4685 rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=188abe42-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1`
  * Vulnerability Spec store bypass:    Vulnerable
  * Vulnerability Spectre v1:           Mitigation; __user pointer sanitization
  * Vulnerability Spectre v2:           Vulnerable
  * Kernel 6.6.8-edge-rockchip64 / CONFIG_HZ=250

Kernel 6.6.8 is not latest 6.6.17 LTS that was released on 2024-02-16.

See https://endoflife.date/linux for details. Perhaps some kernel bugs have
been fixed in the meantime and maybe vulnerabilities as well.

All known settings adjusted for performance. Device now ready for benchmarking.
Once finished stop with [ctrl]-[c] to get info about throttling, frequency cap
and too high background activity all potentially invalidating benchmark scores.
All changes with storage and PCIe devices as well as suspicious dmesg contents
will be reported too.

Time       big.LITTLE   load %cpu %sys %usr %nice %io %irq   Temp
11:30:02: 1800/1416MHz  3.24  34%   0%  32%   0%   0%   0%  50.6°C
11:31:02: 1800/1416MHz  1.19   0%   0%   0%   0%   0%   0%  42.8°C
11:32:02: 1800/1416MHz  0.43   0%   0%   0%   0%   0%   0%  42.2°C
^C

Cleaning up. Done.
Checking cpufreq OPP again. Done.

Clockspeeds now at 44.4°C:

    cpu0-cpu3 (Cortex-A53): OPP: 1416, Measured: 1413
    cpu4-cpu5 (Cortex-A72): OPP: 1800, Measured: 1798

Results validation:

  * Measured clockspeed not lower than advertised max CPU clockspeed
  * No swapping
  * Background activity (%system) OK
  * No throttling

 

 

10. boot from eMMC:

Run armbian-config

-> System

-> Install

-> 2 Boot from eMMC

-> erase eMMC: Yes

-> 1 ext4

-> poweroff

-> remove microSD

-> boot hopefully from eMMC

 

11. update Debian packages:

apt update && apt upgrade

 

Edited by TDCroPower
Posted

Has anyone tried to install OMV 7 with the modified image from @ebin-dev?
When installing via OMV install script some things go wrong and you get some "Segmentation fault" and "free(): invalid pointer" messages in the log.

 

Here the complete OMV log...

Spoiler
root@helios64:~# sudo curl -sSL https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
[2024-02-22 13:32:50+0100] [omvinstall] script version :: 2.3.9
[2024-02-22 13:32:50+0100] [omvinstall] Armbian
[2024-02-22 13:32:50+0100] [omvinstall] Starting ...
[2024-02-22 13:32:50+0100] [omvinstall] Current / permissions = 755
mode of '/' retained as 0755 (rwxr-xr-x)
[2024-02-22 13:32:50+0100] [omvinstall] New / permissions = 755
[2024-02-22 13:32:50+0100] [omvinstall] Forcing IPv4 only for apt...
[2024-02-22 13:32:50+0100] [omvinstall] Updating repos before installing...
Get:1 file:/var/cache/openmediavault/archives  InRelease
Ign:1 file:/var/cache/openmediavault/archives  InRelease
Get:2 file:/var/cache/openmediavault/archives  Release
Ign:2 file:/var/cache/openmediavault/archives  Release
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Hit:6 http://security.debian.org bookworm-security InRelease
Hit:7 http://deb.debian.org/debian bookworm InRelease
Hit:8 http://deb.debian.org/debian bookworm-updates InRelease
Hit:9 http://deb.debian.org/debian bookworm-backports InRelease
Hit:10 http://packages.openmediavault.org/public sandworm InRelease
Reading package lists...
[2024-02-22 13:33:02+0100] [omvinstall] Installing lsb_release...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 6416 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main arm64 lsb-release all 12.0-1 [6416 B]
Fetched 6416 B in 0s (139 kB/s)
(Reading database ... 84545 files and directories currently installed.)
Preparing to unpack .../lsb-release_12.0-1_all.deb ...
Unpacking lsb-release (12.0-1) over (12.0-1) ...
Setting up lsb-release (12.0-1) ...
Setting up openmediavault (7.0-32) ...
Creating users/groups ...
Updating local package archive ...
Updating service units ...
sshd.service is a disabled or a static unit, not starting it.
Failed to preset unit, unit /etc/systemd/system/systemd-networkd.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on systemd-networkd.service: No such file or directory
dpkg: error processing package openmediavault (--configure):
 installed openmediavault package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.11.2-2) ...
Errors were encountered while processing:
 openmediavault
Segmentation fault
E: Sub-process /usr/bin/dpkg returned an error code (1)
[2024-02-22 13:33:21+0100] [omvinstall] Arch :: arm64
[2024-02-22 13:33:21+0100] [omvinstall] Supported architecture
[2024-02-22 13:33:21+0100] [omvinstall] Codename :: bookworm
[2024-02-22 13:33:21+0100] [omvinstall] Copying /etc/resolv.conf to /root/resolv.conf ...
'/etc/resolv.conf' -> '/root/resolv.conf'
[2024-02-22 13:33:21+0100] [omvinstall] # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search fritz.box
[2024-02-22 13:33:21+0100] [omvinstall] Debian :: bookworm
[2024-02-22 13:33:21+0100] [omvinstall] sandworm :: 7
[2024-02-22 13:33:21+0100] [omvinstall] Hostname :: helios64
[2024-02-22 13:33:21+0100] [omvinstall] Domain name ::
[2024-02-22 13:33:21+0100] [omvinstall] timezone :: Europe/Berlin
[2024-02-22 13:33:21+0100] [omvinstall] Removing Armbian netplan file...
removed '/etc/netplan/armbian-default.yaml'
dpkg: warning: ignoring request to remove udisks2 which isn't installed
[2024-02-22 13:33:22+0100] [omvinstall] Install prerequisites...
Reading package lists...
Building dependency tree...
Reading state information...
gnupg is already the newest version (2.2.40-1.1).
wget is already the newest version (1.21.3-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openmediavault (7.0-32) ...
Creating users/groups ...
Updating local package archive ...
Updating service units ...
sshd.service is a disabled or a static unit, not starting it.
Failed to preset unit, unit /etc/systemd/system/systemd-networkd.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on systemd-networkd.service: No such file or directory
dpkg: error processing package openmediavault (--configure):
 installed openmediavault package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
Removed "/etc/systemd/system/systemd-networkd.service".
[2024-02-22 13:33:42+0100] [omvinstall] Installing openmediavault required packages...
Reading package lists...
Building dependency tree...
Reading state information...
postfix is already the newest version (3.7.10-0+deb12u1).
postfix set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openmediavault (7.0-32) ...
Creating users/groups ...
Updating local package archive ...
Updating service units ...
sshd.service is a disabled or a static unit, not starting it.
Created symlink /etc/systemd/system/dbus-org.freedesktop.network1.service → /lib/systemd/system/systemd-networkd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/systemd-networkd.service → /lib/systemd/system/systemd-networkd.service.
Created symlink /etc/systemd/system/sockets.target.wants/systemd-networkd.socket → /lib/systemd/system/systemd-networkd.socket.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-network-generator.service → /lib/systemd/system/systemd-network-generator.service.
Created symlink /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service → /lib/systemd/system/systemd-networkd-wait-online.service.
systemd-journald.service is a disabled or a static unit, not starting it.
Generating public/private rsa key pair.
Your identification has been saved in /root/.ssh/id_rsa
Your public key has been saved in /root/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:tc+B1N/Qz4ayCcgLfXy/2d8SDC0gEIXzLW3kcIrvzd8 root@helios64
The key's randomart image is:
+---[RSA 3072]----+
|      o=.        |
|      o o +.   . |
|       + Xo.... .|
|      .o+==oo..=.|
|      ..So* ++o =|
|       ..o = *o. |
|       ..o  = .. |
|        . o  ..+.|
|           .. E.=|
+----[SHA256]-----+
Failed to stop ntp.service: Unit ntp.service not loaded.
Unit ntp.service does not exist, proceeding anyway.
Created symlink /etc/systemd/system/ntp.service → /dev/null.
Failed to stop systemd-timesyncd.service: Unit systemd-timesyncd.service not loaded.
Unit systemd-timesyncd.service does not exist, proceeding anyway.
Created symlink /etc/systemd/system/systemd-timesyncd.service → /dev/null.
Created symlink /etc/systemd/system/nfs-blkmap.service → /dev/null.
Created symlink /etc/systemd/system/multi-user.target.wants/smartctl-hdparm.service → /etc/systemd/system/smartctl-hdparm.service.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-beep-up.service → /lib/systemd/system/openmediavault-beep-up.service.
Created symlink /etc/systemd/system/reboot.target.wants/openmediavault-beep-down.service → /lib/systemd/system/openmediavault-beep-down.service.
Created symlink /etc/systemd/system/halt.target.wants/openmediavault-beep-down.service → /lib/systemd/system/openmediavault-beep-down.service.
Created symlink /etc/systemd/system/poweroff.target.wants/openmediavault-beep-down.service → /lib/systemd/system/openmediavault-beep-down.service.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-cleanup-monit.service → /lib/systemd/system/openmediavault-cleanup-monit.service.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-cleanup-php.service → /lib/systemd/system/openmediavault-cleanup-php.service.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-engined.service → /lib/systemd/system/openmediavault-engined.service.
Created symlink /etc/systemd/system/getty.target.wants/openmediavault-issue.service → /lib/systemd/system/openmediavault-issue.service.
Creating configuration database ...
Setting up Salt environment ...
/usr/lib/python3/dist-packages/salt/utils/http.py:8: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
  import cgi
/usr/lib/python3/dist-packages/salt/utils/jinja.py:9: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
  import pipes
/usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
/usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
/usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
/usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
/usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
/usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
Setting up system ...
/usr/lib/python3/dist-packages/salt/utils/http.py:8: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
  import cgi
/usr/lib/python3/dist-packages/salt/utils/jinja.py:9: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
  import pipes
/usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
/usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
/usr/lib/python3/dist-packages/salt/utils/pycrypto.py:26: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13
  import crypt
/usr/lib/python3/dist-packages/salt/modules/linux_shadow.py:21: DeprecationWarning: 'spwd' is deprecated and slated for removal in Python 3.13
  import spwd
Deploying service configurations ...
free(): invalid pointer
Aborted
Processing system modifications ...
Processing triggers for openmediavault (7.0-32) ...
Restarting engine daemon ...
Monit: the monit HTTP interface is not enabled, please add the 'set httpd' statement and use the 'allow' option to allow monit to connect
Updating workbench configuration files ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.6.8-edge-rockchip64
update-initramfs: Armbian: Converting to u-boot format: /boot/uInitrd-6.6.8-edge-rockchip64
Image Name:   uInitrd
Created:      Thu Feb 22 13:36:25 2024
Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
Data Size:    29399711 Bytes = 28710.66 KiB = 28.04 MiB
Load Address: 00000000
Entry Point:  00000000
update-initramfs: Armbian: Symlinking /boot/uInitrd-6.6.8-edge-rockchip64 to /boot/uInitrd
'/boot/uInitrd' -> 'uInitrd-6.6.8-edge-rockchip64'
update-initramfs: Armbian: done.
[2024-02-22 13:36:34+0100] [omvinstall] Adding openmediavault repo and key...
deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] http://packages.openmediavault.org/public sandworm main
[2024-02-22 13:36:34+0100] [omvinstall] Updating repos...
Get:1 file:/var/cache/openmediavault/archives  InRelease
Ign:1 file:/var/cache/openmediavault/archives  InRelease
Get:2 file:/var/cache/openmediavault/archives  Release
Ign:2 file:/var/cache/openmediavault/archives  Release
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Hit:6 http://deb.debian.org/debian bookworm InRelease
Hit:7 http://deb.debian.org/debian bookworm-updates InRelease
Hit:8 http://deb.debian.org/debian bookworm-backports InRelease
Hit:9 http://security.debian.org bookworm-security InRelease
Hit:10 http://packages.openmediavault.org/public sandworm InRelease
Reading package lists...
[2024-02-22 13:36:45+0100] [omvinstall] Install openmediavault-keyring...
Reading package lists...
Building dependency tree...
Reading state information...
openmediavault-keyring is already the newest version (1.0.2-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2024-02-22 13:36:47+0100] [omvinstall] Installing openmediavault...
Reading package lists...
Building dependency tree...
Reading state information...
openmediavault is already the newest version (7.0-32).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/usr/lib/python3/dist-packages/salt/utils/http.py:8: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
  import cgi
/usr/lib/python3/dist-packages/salt/utils/jinja.py:9: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
  import pipes
/usr/lib/python3/dist-packages/salt/grains/core.py:2711: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
helios64:
----------
          ID: configure_hosts_header
    Function: file.managed
        Name: /etc/hosts
      Result: True
     Comment: File /etc/hosts updated
     Started: 13:37:06.585729
    Duration: 172.87 ms
     Changes:
              ----------
              diff:
                  ---
                  +++
                  @@ -1,7 +1,2 @@
                  -127.0.0.1   localhost
                  -127.0.1.1   helios64
                  -::1         localhost helios64 ip6-localhost ip6-loopback
                  -fe00::0     ip6-localnet
                  -ff00::0     ip6-mcastprefix
                  -ff02::1     ip6-allnodes
                  -ff02::2     ip6-allrouters
                  +# This file is auto-generated by openmediavault (https://www.openmediavault.org)
                  +# WARNING: Do not edit this file, your changes will get lost.
----------
          ID: configure_hosts_localhost_ipv4
    Function: file.append
        Name: /etc/hosts
      Result: True
     Comment: Appended 1 lines
     Started: 13:37:06.758960
    Duration: 4.886 ms
     Changes:
              ----------
              diff:
                  ---

                  +++

                  @@ -1,2 +1,3 @@

                   # This file is auto-generated by openmediavault (https://www.openmediavault.org)
                   # WARNING: Do not edit this file, your changes will get lost.
                  +127.0.0.1 localhost.localdomain localhost
----------
          ID: configure_hosts_localhost_fqdn_ipv4
    Function: file.append
        Name: /etc/hosts
      Result: True
     Comment: Appended 1 lines
     Started: 13:37:06.764182
    Duration: 4.653 ms
     Changes:
              ----------
              diff:
                  ---

                  +++

                  @@ -1,3 +1,4 @@

                   # This file is auto-generated by openmediavault (https://www.openmediavault.org)
                   # WARNING: Do not edit this file, your changes will get lost.
                   127.0.0.1 localhost.localdomain localhost
                  +127.0.1.1 helios64
----------
          ID: configure_hosts_comment_ipv6
    Function: file.append
        Name: /etc/hosts
      Result: True
     Comment: Appended 1 lines
     Started: 13:37:06.769172
    Duration: 6.799 ms
     Changes:
              ----------
              diff:
                  ---

                  +++

                  @@ -2,3 +2,4 @@

                   # WARNING: Do not edit this file, your changes will get lost.
                   127.0.0.1 localhost.localdomain localhost
                   127.0.1.1 helios64
                  +# The following lines are desirable for IPv6 capable hosts.
----------
          ID: configure_hosts_localhost_ipv6
    Function: file.append
        Name: /etc/hosts
      Result: True
     Comment: Appended 1 lines
     Started: 13:37:06.776423
    Duration: 4.767 ms
     Changes:
              ----------
              diff:
                  ---

                  +++

                  @@ -3,3 +3,4 @@

                   127.0.0.1 localhost.localdomain localhost
                   127.0.1.1 helios64
                   # The following lines are desirable for IPv6 capable hosts.
                  +::1 localhost ip6-localhost ip6-loopback helios64
----------
          ID: configure_hosts_various_ipv6
    Function: file.append
        Name: /etc/hosts
      Result: True
     Comment: Appended 5 lines
     Started: 13:37:06.781519
    Duration: 5.755 ms
     Changes:
              ----------
              diff:
                  ---

                  +++

                  @@ -4,3 +4,8 @@

                   127.0.1.1 helios64
                   # The following lines are desirable for IPv6 capable hosts.
                   ::1 localhost ip6-localhost ip6-loopback helios64
                  +fe00::0 ip6-localnet
                  +ff00::0 ip6-mcastprefix
                  +ff02::1 ip6-allnodes
                  +ff02::2 ip6-allrouters
                  +ff02::3 ip6-allhosts

Summary for helios64
------------
Succeeded: 6 (changed=6)
Failed:    0
------------
Total states run:     6
Total run time: 199.730 ms
[2024-02-22 13:37:07+0100] [omvinstall] Testing DNS...
[2024-02-22 13:37:07+0100] [omvinstall] DNS failing to resolve.  Fixing ...
[2024-02-22 13:37:07+0100] [omvinstall] Reverting /etc/resolv.conf to saved copy ...
removed '/etc/resolv.conf'
'/root/resolv.conf' -> '/etc/resolv.conf'
[2024-02-22 13:37:07+0100] [omvinstall] Downloading omv-extras.org plugin for openmediavault 7.x ...
--2024-02-22 13:37:07--  https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/openmediavault-omvextrasorg_latest_all7.deb
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/packages/master/openmediavault-omvextrasorg_latest_all7.deb [following]
--2024-02-22 13:37:07--  https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/packages/master/openmediavault-omvextrasorg_latest_all7.deb
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8002::154, 2606:50c0:8003::154, 2606:50c0:8001::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8002::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 40672 (40K) [application/octet-stream]
Saving to: ‘openmediavault-omvextrasorg_latest_all7.deb’

openmediavault-omvextrasorg_latest_all7.deb 100%[==========================================================================================>]  39.72K  --.-KB/s    in 0.004s

2024-02-22 13:37:07 (8.72 MB/s) - ‘openmediavault-omvextrasorg_latest_all7.deb’ saved [40672/40672]

Selecting previously unselected package openmediavault-omvextrasorg.
(Reading database ... 84545 files and directories currently installed.)
Preparing to unpack openmediavault-omvextrasorg_latest_all7.deb ...
Unpacking openmediavault-omvextrasorg (7.0) ...
Setting up openmediavault-omvextrasorg (7.0) ...
Updating configuration database ...
1. Cleaning apt cache files...

2. Clearing available dpkg packages...
dpkg: error: dpkg frontend lock was locked by another process with pid 9892
Note: removing the lock file is always wrong, can damage the locked area
and the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>.

3. Removing apt lists...
removed '/var/lib/apt/lists/_var_cache_openmediavault_archives_Packages'
removed directory '/var/lib/apt/lists/auxfiles'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_InRelease'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_contrib_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_contrib_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_contrib_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_main_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_main_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_main_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_non-free_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_non-free_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_InRelease'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_contrib_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_contrib_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_main_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_main_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_main_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_non-free-firmware_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_non-free-firmware_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_non-free_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_non-free_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_InRelease'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_contrib_Contents-all.lz4'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_contrib_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_contrib_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_main_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_main_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_main_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free-firmware_Contents-all.lz4'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free-firmware_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free-firmware_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free_Contents-all.lz4'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free_binary-arm64_Packages'
removed '/var/lib/apt/lists/lock'
removed '/var/lib/apt/lists/packages.openmediavault.org_public_dists_sandworm_InRelease'
removed '/var/lib/apt/lists/packages.openmediavault.org_public_dists_sandworm_main_binary-arm64_Packages'
removed directory '/var/lib/apt/lists/partial'
removed '/var/lib/apt/lists/security.debian.org_dists_bookworm-security_InRelease'
removed '/var/lib/apt/lists/security.debian.org_dists_bookworm-security_main_binary-arm64_Packages'

4. Removing OpenMediaVault cache packages...
removed '/var/cache/openmediavault/archives/Packages'

5. Creating new OpenMediaVault packages file...

6. Remove old omv-extras apt list files...

7. Adding omv-extras repo and key...

8. Updating apt...
Get:1 file:/var/cache/openmediavault/archives  InRelease
Ign:1 file:/var/cache/openmediavault/archives  InRelease
Get:2 file:/var/cache/openmediavault/archives  Release
Ign:2 file:/var/cache/openmediavault/archives  Release
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:6 http://deb.debian.org/debian bookworm InRelease [151 kB]
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Get:7 http://packages.openmediavault.org/public sandworm InRelease [12.8 kB]
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:8 http://security.debian.org bookworm-security InRelease [48.0 kB]
Get:9 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:10 http://deb.debian.org/debian bookworm-backports InRelease [56.5 kB]
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:11 http://packages.openmediavault.org/public sandworm/main arm64 Packages [7669 B]
Get:12 http://deb.debian.org/debian bookworm/main arm64 Packages [11.9 MB]
Get:13 http://deb.debian.org/debian bookworm/main arm64 Contents (deb) [11.2 MB]
Get:14 http://security.debian.org bookworm-security/main arm64 Packages [137 kB]
Get:15 http://deb.debian.org/debian bookworm/main all Contents (deb) [33.0 MB]
Get:16 https://openmediavault-plugin-developers.github.io/packages/debian sandworm InRelease [3936 B]
Get:17 https://openmediavault-plugin-developers.github.io/packages/debian sandworm/main arm64 Packages [8546 B]
Get:18 http://deb.debian.org/debian bookworm/contrib arm64 Packages [54.7 kB]
Get:19 http://deb.debian.org/debian bookworm/contrib arm64 Contents (deb) [37.7 kB]
Get:20 http://deb.debian.org/debian bookworm/contrib all Contents (deb) [98.6 kB]
Get:21 http://deb.debian.org/debian bookworm/non-free arm64 Packages [94.4 kB]
Get:22 http://deb.debian.org/debian bookworm/non-free arm64 Contents (deb) [43.4 kB]
Get:23 http://deb.debian.org/debian bookworm/non-free all Contents (deb) [839 kB]
Get:24 http://deb.debian.org/debian bookworm/non-free-firmware arm64 Packages [6401 B]
Get:25 http://deb.debian.org/debian bookworm/non-free-firmware arm64 Contents (deb) [243 B]
Get:26 http://deb.debian.org/debian bookworm/non-free-firmware all Contents (deb) [16.9 kB]
Get:27 http://deb.debian.org/debian bookworm-updates/main arm64 Packages [12.5 kB]
Get:28 http://deb.debian.org/debian bookworm-updates/main all Contents (deb) [222 kB]
Get:29 http://deb.debian.org/debian bookworm-updates/main arm64 Contents (deb) [253 kB]
Get:30 http://deb.debian.org/debian bookworm-updates/contrib arm64 Packages [768 B]
Get:31 http://deb.debian.org/debian bookworm-updates/contrib arm64 Contents (deb) [222 B]
Get:32 http://deb.debian.org/debian bookworm-updates/non-free arm64 Packages [12.0 kB]
Get:33 http://deb.debian.org/debian bookworm-updates/non-free arm64 Contents (deb) [14.9 kB]
Get:34 http://deb.debian.org/debian bookworm-updates/non-free-firmware arm64 Packages [616 B]
Get:35 http://deb.debian.org/debian bookworm-updates/non-free-firmware arm64 Contents (deb) [243 B]
Get:36 http://deb.debian.org/debian bookworm-backports/main arm64 Packages [172 kB]
Get:37 http://deb.debian.org/debian bookworm-backports/main arm64 Contents (deb) [524 kB]
Get:38 http://deb.debian.org/debian bookworm-backports/main all Contents (deb) [3584 kB]
Get:39 http://deb.debian.org/debian bookworm-backports/contrib arm64 Packages [4704 B]
Get:40 http://deb.debian.org/debian bookworm-backports/contrib all Contents (deb) [20.0 kB]
Get:41 http://deb.debian.org/debian bookworm-backports/contrib arm64 Contents (deb) [17.0 kB]
Get:42 http://deb.debian.org/debian bookworm-backports/non-free arm64 Packages [1288 B]
Get:43 http://deb.debian.org/debian bookworm-backports/non-free all Contents (deb) [31.8 kB]
Fetched 62.7 MB in 12s (5394 kB/s)
free(): invalid pointer
Aborted
Reading package lists... Done

9. Saving current package list...

10. Updating plugin index...
Creating index of upgradeable packages ...
Creating index of plugins ...
free(): invalid pointer
/usr/sbin/omv-aptclean: line 118: 10456 Aborted                 /usr/sbin/omv-mkaptidx
Processing triggers for openmediavault (7.0-32) ...
Updating workbench configuration files ...
Restarting engine daemon ...
Monit: the monit HTTP interface is not enabled, please add the 'set httpd' statement and use the 'allow' option to allow monit to connect
[2024-02-22 13:37:51+0100] [omvinstall] Updating repos ...
1. Cleaning apt cache files...

2. Clearing available dpkg packages...

3. Removing apt lists...
removed '/var/lib/apt/lists/_var_cache_openmediavault_archives_Packages'
removed directory '/var/lib/apt/lists/auxfiles'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_InRelease'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_contrib_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_contrib_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_contrib_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_main_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_main_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_main_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_non-free_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-backports_non-free_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_InRelease'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_contrib_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_contrib_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_main_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_main_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_main_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_non-free-firmware_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_non-free-firmware_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_non-free_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm-updates_non-free_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_InRelease'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_contrib_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_contrib_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_contrib_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_main_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_main_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_main_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free-firmware_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free-firmware_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free-firmware_binary-arm64_Packages'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free_Contents-all.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free_Contents-arm64.gz'
removed '/var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_non-free_binary-arm64_Packages'
removed '/var/lib/apt/lists/lock'
removed '/var/lib/apt/lists/openmediavault-plugin-developers.github.io_packages_debian_dists_sandworm_InRelease'
removed '/var/lib/apt/lists/openmediavault-plugin-developers.github.io_packages_debian_dists_sandworm_main_binary-arm64_Packages'
removed '/var/lib/apt/lists/packages.openmediavault.org_public_dists_sandworm_InRelease'
removed '/var/lib/apt/lists/packages.openmediavault.org_public_dists_sandworm_main_binary-arm64_Packages'
removed directory '/var/lib/apt/lists/partial'
removed '/var/lib/apt/lists/security.debian.org_dists_bookworm-security_InRelease'
removed '/var/lib/apt/lists/security.debian.org_dists_bookworm-security_main_binary-arm64_Packages'

4. Removing OpenMediaVault cache packages...
removed '/var/cache/openmediavault/archives/Packages'

5. Creating new OpenMediaVault packages file...

6. Remove old omv-extras apt list files...
removed '/etc/apt/sources.list.d/omvextras.list'

7. Adding omv-extras repo and key...

8. Updating apt...
Get:1 file:/var/cache/openmediavault/archives  InRelease
Ign:1 file:/var/cache/openmediavault/archives  InRelease
Get:2 file:/var/cache/openmediavault/archives  Release
Ign:2 file:/var/cache/openmediavault/archives  Release
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Ign:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:3 file:/var/cache/openmediavault/archives  Packages
Get:4 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:4 file:/var/cache/openmediavault/archives  Contents (deb)
Get:5 file:/var/cache/openmediavault/archives  Contents (deb)
Ign:5 file:/var/cache/openmediavault/archives  Contents (deb)
Get:6 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:7 http://security.debian.org bookworm-security InRelease [48.0 kB]
Get:8 http://packages.openmediavault.org/public sandworm InRelease [12.8 kB]
Get:9 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:10 http://deb.debian.org/debian bookworm-backports InRelease [56.5 kB]
Get:11 https://openmediavault-plugin-developers.github.io/packages/debian sandworm InRelease [3936 B]
Get:12 http://packages.openmediavault.org/public sandworm/main arm64 Packages [7669 B]
Get:13 http://deb.debian.org/debian bookworm/main arm64 Packages [11.9 MB]
Get:14 http://deb.debian.org/debian bookworm/main arm64 Contents (deb) [11.2 MB]
Get:15 http://security.debian.org bookworm-security/main arm64 Packages [137 kB]
Get:16 https://openmediavault-plugin-developers.github.io/packages/debian sandworm/main arm64 Packages [8546 B]
Get:17 http://deb.debian.org/debian bookworm/main all Contents (deb) [33.0 MB]
Get:18 http://deb.debian.org/debian bookworm/contrib arm64 Packages [54.7 kB]
Get:19 http://deb.debian.org/debian bookworm/contrib all Contents (deb) [98.6 kB]
Get:20 http://deb.debian.org/debian bookworm/contrib arm64 Contents (deb) [37.7 kB]
Get:21 http://deb.debian.org/debian bookworm/non-free arm64 Packages [94.4 kB]
Get:22 http://deb.debian.org/debian bookworm/non-free arm64 Contents (deb) [43.4 kB]
Get:23 http://deb.debian.org/debian bookworm/non-free all Contents (deb) [839 kB]
Get:24 http://deb.debian.org/debian bookworm/non-free-firmware arm64 Packages [6401 B]
Get:25 http://deb.debian.org/debian bookworm/non-free-firmware arm64 Contents (deb) [243 B]
Get:26 http://deb.debian.org/debian bookworm/non-free-firmware all Contents (deb) [16.9 kB]
Get:27 http://deb.debian.org/debian bookworm-updates/main arm64 Packages [12.5 kB]
Get:28 http://deb.debian.org/debian bookworm-updates/main arm64 Contents (deb) [253 kB]
Get:29 http://deb.debian.org/debian bookworm-updates/main all Contents (deb) [222 kB]
Get:30 http://deb.debian.org/debian bookworm-updates/contrib arm64 Packages [768 B]
Get:31 http://deb.debian.org/debian bookworm-updates/contrib arm64 Contents (deb) [222 B]
Get:32 http://deb.debian.org/debian bookworm-updates/non-free arm64 Packages [12.0 kB]
Get:33 http://deb.debian.org/debian bookworm-updates/non-free arm64 Contents (deb) [14.9 kB]
Get:34 http://deb.debian.org/debian bookworm-updates/non-free-firmware arm64 Packages [616 B]
Get:35 http://deb.debian.org/debian bookworm-updates/non-free-firmware arm64 Contents (deb) [243 B]
Get:36 http://deb.debian.org/debian bookworm-backports/main arm64 Packages [172 kB]
Get:37 http://deb.debian.org/debian bookworm-backports/main all Contents (deb) [3584 kB]
Get:38 http://deb.debian.org/debian bookworm-backports/main arm64 Contents (deb) [524 kB]
Get:39 http://deb.debian.org/debian bookworm-backports/contrib arm64 Packages [4704 B]
Get:40 http://deb.debian.org/debian bookworm-backports/contrib all Contents (deb) [20.0 kB]
Get:41 http://deb.debian.org/debian bookworm-backports/contrib arm64 Contents (deb) [17.0 kB]
Get:42 http://deb.debian.org/debian bookworm-backports/non-free arm64 Packages [1288 B]
Get:43 http://deb.debian.org/debian bookworm-backports/non-free all Contents (deb) [31.8 kB]
Fetched 62.7 MB in 12s (5405 kB/s)
Reading package lists...

9. Saving current package list...

10. Updating plugin index...
Creating index of upgradeable packages ...
Creating index of plugins ...
free(): invalid pointer
/usr/sbin/omv-aptclean: line 118: 11001 Aborted                 /usr/sbin/omv-mkaptidx
  armbian-ramlog.service                                                                                                            loaded    active   exited    Armbian memory supported logging
● armbian-ramlog.target                                                                                                             not-found inactive dead      armbian-ramlog.target
Removed "/etc/systemd/system/sysinit.target.wants/armbian-ramlog.service".
  armbian-zram-config.service                                                                                                       loaded    active   exited    Armbian ZRAM config
Removed "/etc/systemd/system/sysinit.target.wants/armbian-zram-config.service".
[2024-02-22 13:38:36+0100] [omvinstall] Install folder2ram...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  gawk libsigsegv2
Suggested packages:
  gawk-doc
The following NEW packages will be installed:
  folder2ram gawk libsigsegv2
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 691 kB of archives.
After this operation, 3837 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main arm64 libsigsegv2 arm64 2.14-1 [37.0 kB]
Get:2 http://deb.debian.org/debian bookworm/main arm64 gawk arm64 1:5.2.1-2 [640 kB]
Get:3 https://openmediavault-plugin-developers.github.io/packages/debian sandworm/main arm64 folder2ram all 0.3.5 [14.0 kB]
Segmentation fault
Fetched 691 kB in 0s (4133 kB/s)
E: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10 returned an error code (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10
[2024-02-22 13:38:39+0100] [omvinstall] Failed to install folder2ram.
[2024-02-22 13:38:39+0100] [omvinstall] Install flashmemory plugin...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  folder2ram gawk libsigsegv2
Suggested packages:
  gawk-doc
The following NEW packages will be installed:
  folder2ram gawk libsigsegv2 openmediavault-flashmemory
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 5156 B/696 kB of archives.
After this operation, 3874 kB of additional disk space will be used.
Get:1 https://openmediavault-plugin-developers.github.io/packages/debian sandworm/main arm64 openmediavault-flashmemory all 7.0 [5156 B]
free(): invalid size
Aborted
Fetched 5156 B in 0s (54.7 kB/s)
E: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10 returned an error code (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10
[2024-02-22 13:38:41+0100] [omvinstall] Failed to install flashmemory plugin.
ERROR: The state 'flashmemory' does not exist
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2024-02-22 13:38:44+0100] [omvinstall] Disabling data collection ...
{"enable":false}
null
bash: line 491: warning: command substitution: ignored null byte in input
helios64:
----------
          ID: run_state_patch
    Function: salt.state
      Result: True
     Comment: States ran successfully. No changes made to helios64.
     Started: 13:40:03.747407
    Duration: 480.248 ms
     Changes:
----------
          ID: sync_runners
    Function: salt.runner
        Name: saltutil.sync_runners
      Result: True
     Comment: Runner function 'saltutil.sync_runners' executed.
     Started: 13:40:04.228009
    Duration: 4295.848 ms
     Changes:
              ----------
              return:
----------
          ID: sync_modules
    Function: salt.runner
        Name: saltutil.sync_modules
      Result: True
     Comment: Runner function 'saltutil.sync_modules' executed.
     Started: 13:40:08.524208
    Duration: 11346.957 ms
     Changes:
              ----------
              return:
----------
          ID: sync_states
    Function: salt.runner
        Name: saltutil.sync_states
      Result: True
     Comment: Runner function 'saltutil.sync_states' executed.
     Started: 13:40:19.871529
    Duration: 4096.686 ms
     Changes:
              ----------
              return:
----------
          ID: populate_pillar
    Function: salt.runner
        Name: omv.populate_pillar
      Result: True
     Comment: Runner function 'omv.populate_pillar' executed.
     Started: 13:40:23.970157
    Duration: 12043.436 ms
     Changes:
              ----------
              return:
                  True
----------
          ID: run_state_sync
    Function: salt.state
      Result: True
     Comment: States ran successfully. Updating helios64.
     Started: 13:40:36.014068
    Duration: 4530.697 ms
     Changes:
              helios64:
              ----------
                        ID: clear_cache
                  Function: module.run
                    Result: True
                   Comment: saltutil.clear_cache: True
                   Started: 13:40:36.736226
                  Duration: 35.232 ms
                   Changes:
                            ----------
                            saltutil.clear_cache:
                                True
              ----------
                        ID: sync_grains
                  Function: saltutil.sync_grains
                    Result: True
                   Comment: Updated grains.
                   Started: 13:40:36.773569
                  Duration: 1424.323 ms
                   Changes:
                            ----------
                            grains:
                                - grains.omv
              ----------
                        ID: sync_states
                  Function: saltutil.sync_states
                    Result: True
                   Comment: Updated states.
                   Started: 13:40:38.198172
                  Duration: 1116.433 ms
                   Changes:
                            ----------
                            states:
                                - states.omv_dpkg
              ----------
                        ID: sync_modules
                  Function: saltutil.sync_modules
                    Result: True
                   Comment: Updated modules.
                   Started: 13:40:39.315184
                  Duration: 1227.788 ms
                   Changes:
                            ----------
                            modules:
                                - modules.omv_conf
                                - modules.omv_utils

              Summary for helios64
              ------------
              Succeeded: 4 (changed=4)
              Failed:    0
              ------------
              Total states run:     4
              Total run time:   3.804 s

Summary for helios64
------------
Succeeded: 6 (changed=5)
Failed:    0
------------
Total states run:     6
Total run time:  36.794 s
ERROR: The state 'flashmemory' does not exist
[2024-02-22 13:40:42+0100] [omvinstall] Add a cron job to make NAS processes more snappy and silence rsyslog
[2024-02-22 13:40:42+0100] [omvinstall] Removing network-manager and dhcpcd5 ...
Reading package lists...
Building dependency tree...
Reading state information...
Package 'dhcpcd5' is not installed, so not removed
The following packages will be REMOVED:
  libbluetooth3* libmm-glib0* libndp0* libnm0* libteamdctl0* network-manager*
  network-manager-openvpn*
Segmentation fault
0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
After this operation, 21.0 MB disk space will be freed.
E: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10 returned an error code (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10
[2024-02-22 13:40:44+0100] [omvinstall] Enable and start systemd-resolved ...
[2024-02-22 13:40:45+0100] [omvinstall] Unblocking wifi with rfkill ...
[2024-02-22 13:40:45+0100] [omvinstall] Adding end0 to openmedivault database ...
[2024-02-22 13:40:46+0100] [omvinstall] Adding enx646266d00975 to openmedivault database ...
[2024-02-22 13:40:47+0100] [omvinstall] IP address may change and you could lose connection if running this script via ssh.
client_loop: send disconnect: Broken pipe

 

 

Posted (edited)
On 2/21/2024 at 7:00 PM, Flolm said:

Should I follow your procedure and therefore install the version Armbian_23.5.4_Helios64_bookworm_current_6.1.36.img.xz or if I install the latest version available Armbian_23.11.1_Helios64_bookworm_current_6.1.63.img.xz this directly corrects the problems ? Currently I have no system on my Helios64 server.

 

I did not test the procedure with more recent images. It would be very helpful if you could start from the 6.1.63 image and test it as it is (with rtl_nic firmware updated). In case of stability issues, change u-boot to the version recommended. 

 

If you are still having issues with linux 6.1.63 try linux 6.6.8, 6.1.71, or 5.15.93 instead and follow the procedure described - and please post your observations here in this thread.

Edited by ebin-dev
Posted
2 hours ago, TDCroPower said:

@ebin-dev do you have any tips on how I can solve the problem with the OMV 7 installation?
Do I have to switch to an earlier kernel or do you have another idea?

 

OMV 7 is not finished yet - there is just a release candidate available. 

You could switch to kernel 5.15.93 again but it will not resolve OMV application issues.

Posted

@ebin-dev are these OMV problems or are they caused by the Helios64 installation, which is not yet clear to me.
Many successful installations with RC1 have already been reported and unfortunately we currently have no chance of installing OMV 6 with Bullseye, as we can no longer install Bullseye properly on Helios64.

Posted
1 hour ago, TDCroPower said:

we can no longer install Bullseye properly on Helios64.

 

Armbian bullseye images can be downloaded from the archive. And if you are having issues with OMV7 you should open another thread.

Posted (edited)

@prahal I don't quite understand the status of the issues.
They are closed or merged so far, would we have to flash a higher kernel or something else on u-boot?

 

when I look at the commit only one entry in the config was changed...

- BOOT_SCENARIO="blobless"
+ BOOT_SCENARIO="tpl-blob-atf-mainline"

 

Do we then have to explicitly start a build?

Edited by TDCroPower
Posted (edited)
3 hours ago, TDCroPower said:

I don't quite understand the status of the issues.

 

Are you sure that you have flashed linux-u-boot-edge-helios64_22.02.1_arm64 (it contains the rockchip ddr blob) to emmc and not accidentally to sd ?

emmc may be accessed as either /dev/mmcblk1p1 or as /dev/mmcblk0p1. If you started your system from emmc 'df -h' is your friend.

So obviously the path has to be adapted accordingly for flashing u-boot to that device: either 'of=/dev/mmcblk1' or 'of=/dev/mmcblk0'.

 

 

Edited by ebin-dev
Posted (edited)

@ebin-dev I have just booted from the SD again.
The SD partition is on mmcblk0, so mmcblk1 should be the eMMC partition, right?

 

root@helios64:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.8G     0  1.8G   0% /dev
tmpfs           380M  6.2M  374M   2% /run
/dev/mmcblk0p1   59G  2.3G   56G   4% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           1.9G     0  1.9G   0% /tmp
/dev/zram1       47M  1.7M   42M   4% /var/log
tmpfs           380M     0  380M   0% /run/user/0

 

booted from eMMC...

root@helios64:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.8G     0  1.8G   0% /dev
tmpfs           380M  1.3M  379M   1% /run
/dev/mmcblk1p1   15G  2.6G   11G  20% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           1.9G     0  1.9G   0% /tmp
tmpfs           380M     0  380M   0% /run/user/0

 

i think the u-boot version on eMMC is correct...

root@helios64:~# strings /dev/mmcblk1p1 | grep U-Boot
U-Boot version:        %s
6U-Boot Env
6U-Boot
U-Boot TPL 2022.07-armbian (Jun 28 2023 - 19:50:29)
U-Boot SPL 2022.07-armbian (Jun 28 2023 - 19:50:29 +0000)
U-Boot
FIT image for U-Boot with bl31 (TF-A)
U-Boot (64-bit)
%U-Boot
** Invalid partition type "%.32s" (expect "U-Boot")
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
U-Boot.armv8
U-Boot console
U-Boot 2022.07-armbian
*** U-Boot Boot Menu ***
U-Boot
U-Boot 2022.07-armbian (Jun 28 2023 - 19:50:29 +0000)
  - boot a sample Hello World application stored within U-Boot
^C

 

booted from SD the python3 check fails...

root@helios64:~# for i in $(seq 1 100);do python3 -c "import pkg_resources" || break;done
free(): invalid pointer
Aborted

 

Edited by TDCroPower
Posted

Why don't you flash linux-u-boot-edge-helios64_22.02.1_arm64 to both devices mmcblk0 and mmcblk1 and perform the python3 check after a cold start ?

 

# messages output to the terminal while booting

DDR Version 1.25 20210517
In
soft reset
SRX
channel 0
CS = 0
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x18
MR4=0x1
MR5=0x1
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 416MHz 0,1
Channel 0: LPDDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
Channel 1: LPDDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
256B stride
channel 0
CS = 0
...

 

Posted (edited)

I flashed to both as you recommended....

root@helios64:~/bootloader/linux-u-boot-edge-helios64_22.02.1_arm64/usr/lib/linux-u-boot-edge-helios64_22.02.1_arm64# dd if=idbloader.bin of=/dev/mmcblk1 seek=64 conv=notrunc
424+1 records in
424+1 records out
217372 bytes (217 kB, 212 KiB) copied, 0.0135302 s, 16.1 MB/s
root@helios64:~/bootloader/linux-u-boot-edge-helios64_22.02.1_arm64/usr/lib/linux-u-boot-edge-helios64_22.02.1_arm64# dd if=uboot.img of=/dev/mmcblk1 seek=16384 conv=notrunc
8192+0 records in
8192+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.539218 s, 7.8 MB/s
root@helios64:~/bootloader/linux-u-boot-edge-helios64_22.02.1_arm64/usr/lib/linux-u-boot-edge-helios64_22.02.1_arm64# dd if=trust.bin of=/dev/mmcblk1 seek=24576 conv=notrunc
8192+0 records in
8192+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.485736 s, 8.6 MB/s
root@helios64:~/bootloader/linux-u-boot-edge-helios64_22.02.1_arm64/usr/lib/linux-u-boot-edge-helios64_22.02.1_arm64# dd if=idbloader.bin of=/dev/mmcblk0 seek=64 conv=notrunc
424+1 records in
424+1 records out
217372 bytes (217 kB, 212 KiB) copied, 0.037369 s, 5.8 MB/s
root@helios64:~/bootloader/linux-u-boot-edge-helios64_22.02.1_arm64/usr/lib/linux-u-boot-edge-helios64_22.02.1_arm64# dd if=uboot.img of=/dev/mmcblk0 seek=16384 conv=notrunc
8192+0 records in
8192+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.399514 s, 10.5 MB/s
root@helios64:~/bootloader/linux-u-boot-edge-helios64_22.02.1_arm64/usr/lib/linux-u-boot-edge-helios64_22.02.1_arm64# dd if=trust.bin of=/dev/mmcblk0 seek=24576 conv=notrunc
8192+0 records in
8192+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.405223 s, 10.4 MB/s

 

Test booted from SD...

root@helios64:~# for i in $(seq 1 100);do python3 -c "import pkg_resources" || break;done
root@helios64:~#

 

Test booted from eMMC...

root@helios64:~# for i in $(seq 1 100);do python3 -c "import pkg_resources" || break;done
root@helios64:~#

 

It now looks as if this has worked.
I'll transfer the status of the SD to the eMMC and try to install OMV 7 RC1 again.

 

edit:

after transfer SD to eMMC the check fails with "Segmentation fault"...

root@helios64:~# for i in $(seq 1 100);do python3 -c "import pkg_resources" || break;done
Segmentation fault

 

I'll try to reflash the bootloader booted from the eMMC to see if that helps.

 

edit2:

Ok after I booted from the eMMC and flashed the bootloader into both partitions again the test works...

root@helios64:~# for i in $(seq 1 100);do python3 -c "import pkg_resources" || break;done
root@helios64:~#

 

Let's try the OMV 7 RC1 installation now !!

 

edit3:

Finally... the OMV 7 installation was success !

We now have a stable Bookworm image version with which OMV 7 can also be installed.
Thank you both for your help!
I will extend the instructions above with further tips so that everyone can set it up in the same way.

Edited by TDCroPower

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.

Guest
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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines