

BipBip1981
Members-
Posts
75 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by BipBip1981
-
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Hi, okok, i test with my pattern test My brother have Helios64 also, he use it with many Docker Container and freeze everyday with default settings, same stabilty problem, he pass to 1200 1200 performance this day and test this setting for moment... if work better to my side with your file, my brother test your file on his helios Your file is on my helios, 400-1800 schedutil echo check > /sys/block/md0/md/sync_action -> running btrfs check --check-data-csum --readonly --progress /dev/disk/by-uuid/XXXXXXXXXXXXX -> running Freeze Crash... Not Freeze Crash... Keep in touch -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
...and i reproduce twice same freeze with cryptosetup to unlock my raid... freeze network... access usb is ready... but terribely slow... i tape my login and password and i waiting... but no response... picocom v3.1 port is : /dev/ttyUSB0 flowcontrol : none baudrate is : 1500000 parity is : none databits are : 8 stopbits are : 1 escape is : C-a local echo is : no noinit is : no noreset is : no hangup is : no nolock is : no send_cmd is : sz -vv receive_cmd is : rz -vv -E imap is : omap is : emap is : crcrlf,delbs, logfile is : none initstring : none exit_after is : not set exit is : no Type [C-a] [C-h] to see available commands Terminal ready helios64 login: root Password: I type CTRL-C and... ^C _ _ _ _ __ _ _ | | | | ___| (_) ___ ___ / /_ | || | | |_| |/ _ \ | |/ _ \/ __| '_ \| || |_ | _ | __/ | | (_) \__ \ (_) |__ _| |_| |_|\___|_|_|\___/|___/\___/ |_| Welcome to Armbian-unofficial 24.2.1 Bookworm with Linux 6.6.29-current-rockchip64 No end-user support: built from trunk System load: 3% Up time: 11 min Local users: 2 Memory usage: 7% of 3.77G IP: 10.0.0.155 CPU temp: 41°C Usage of /: 46% of 14G RX today: 53.8 MiB [ General system configuration (beta): armbian-config ] Web console: https://helios64:9090/ You have no mail. I type CTRL-C ^C And no prompt.... full freeze or lost control I back to ENABLE=true MIN_SPEED=408000 MAX_SPEED=1200000 GOVERNOR=schedutil until you explain me where and how use your file -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Sorry for the big copy paste but maybe that help us, i control again helios, i have a prompt, network is fully down or crash, lost ip and TX/RX, dmesg command last interresting lines are this: [118243.950487] BTRFS info (device dm-4): last unmount of filesystem 1d4e2c84-1c43-4d73-8acb-14d5a7aa1c4d [143643.328285] hrtimer: interrupt took 33543 ns [147029.554073] md: md0: data-check done. [155615.761768] md: data-check of RAID array md0 [161153.336701] rcu: INFO: rcu_preempt self-detected stall on CPU [161153.336720] rcu: 5-...0: (27185355 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=7499 [161153.336745] rcu: (t=15000 jiffies g=12239613 q=1933 ncpus=6) [161153.336761] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [161153.336776] Hardware name: Helios64 (DT) [161153.336784] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [161153.336799] pc : cpuidle_enter_state+0xc0/0x4bc [161153.336819] lr : cpuidle_enter_state+0xb8/0x4bc [161153.336830] sp : ffff800081f23d90 [161153.336838] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [161153.336868] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [161153.336894] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [161153.336919] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [161153.336944] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [161153.336969] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [161153.336993] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [161153.337018] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [161153.337041] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [161153.337066] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [161153.337090] Call trace: [161153.337098] cpuidle_enter_state+0xc0/0x4bc [161153.337111] cpuidle_enter+0x38/0x50 [161153.337125] do_idle+0x1fc/0x270 [161153.337143] cpu_startup_entry+0x34/0x3c [161153.337157] secondary_start_kernel+0x12c/0x14c [161153.337177] __secondary_switched+0xb8/0xbc [161333.343804] rcu: INFO: rcu_preempt self-detected stall on CPU [161333.343828] rcu: 5-...0: (108721819 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=30001 [161333.343862] rcu: (t=60003 jiffies g=12239613 q=8530 ncpus=6) [161333.343883] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [161333.343902] Hardware name: Helios64 (DT) [161333.343913] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [161333.343932] pc : cpuidle_enter_state+0xc0/0x4bc [161333.343954] lr : cpuidle_enter_state+0xb8/0x4bc [161333.343969] sp : ffff800081f23d90 [161333.343979] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [161333.344017] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [161333.344053] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [161333.344089] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [161333.344124] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [161333.344160] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [161333.344195] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [161333.344231] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [161333.344266] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [161333.344300] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [161333.344335] Call trace: [161333.344346] cpuidle_enter_state+0xc0/0x4bc [161333.344362] cpuidle_enter+0x38/0x50 [161333.344379] do_idle+0x1fc/0x270 [161333.344400] cpu_startup_entry+0x34/0x3c [161333.344420] secondary_start_kernel+0x12c/0x14c [161333.344446] __secondary_switched+0xb8/0xbc [161513.350913] rcu: INFO: rcu_preempt self-detected stall on CPU [161513.350930] rcu: 5-...0: (164767240 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=52502 [161513.350962] rcu: (t=105006 jiffies g=12239613 q=14808 ncpus=6) [161513.350981] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [161513.351000] Hardware name: Helios64 (DT) [161513.351011] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [161513.351030] pc : cpuidle_enter_state+0xc0/0x4bc [161513.351049] lr : cpuidle_enter_state+0xb8/0x4bc [161513.351064] sp : ffff800081f23d90 [161513.351074] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [161513.351111] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [161513.351146] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [161513.351181] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [161513.351216] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [161513.351252] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [161513.351287] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [161513.351322] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [161513.351357] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [161513.351392] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [161513.351426] Call trace: [161513.351437] cpuidle_enter_state+0xc0/0x4bc [161513.351453] cpuidle_enter+0x38/0x50 [161513.351471] do_idle+0x1fc/0x270 [161513.351492] cpu_startup_entry+0x34/0x3c [161513.351511] secondary_start_kernel+0x12c/0x14c [161513.351537] __secondary_switched+0xb8/0xbc [161693.358028] rcu: INFO: rcu_preempt self-detected stall on CPU [161693.358044] rcu: 5-...0: (220402734 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=75004 [161693.358074] rcu: (t=150009 jiffies g=12239613 q=21715 ncpus=6) [161693.358093] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [161693.358111] Hardware name: Helios64 (DT) [161693.358121] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [161693.358141] pc : cpuidle_enter_state+0xc0/0x4bc [161693.358160] lr : cpuidle_enter_state+0xb8/0x4bc [161693.358174] sp : ffff800081f23d90 [161693.358183] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [161693.358220] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [161693.358256] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [161693.358290] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [161693.358325] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [161693.358361] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [161693.358396] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [161693.358431] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [161693.358466] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [161693.358501] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [161693.358535] Call trace: [161693.358546] cpuidle_enter_state+0xc0/0x4bc [161693.358561] cpuidle_enter+0x38/0x50 [161693.358578] do_idle+0x1fc/0x270 [161693.358599] cpu_startup_entry+0x34/0x3c [161693.358618] secondary_start_kernel+0x12c/0x14c [161693.358644] __secondary_switched+0xb8/0xbc [161873.365143] rcu: INFO: rcu_preempt self-detected stall on CPU [161873.365165] rcu: 5-...0: (276037777 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=97505 [161873.365195] rcu: (t=195012 jiffies g=12239613 q=27612 ncpus=6) [161873.365214] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [161873.365232] Hardware name: Helios64 (DT) [161873.365243] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [161873.365261] pc : cpuidle_enter_state+0xc0/0x4bc [161873.365281] lr : cpuidle_enter_state+0xb8/0x4bc [161873.365295] sp : ffff800081f23d90 [161873.365306] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [161873.365342] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [161873.365378] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [161873.365413] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [161873.365447] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [161873.365483] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [161873.365518] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [161873.365553] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [161873.365588] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [161873.365623] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [161873.365658] Call trace: [161873.365668] cpuidle_enter_state+0xc0/0x4bc [161873.365684] cpuidle_enter+0x38/0x50 [161873.365701] do_idle+0x1fc/0x270 [161873.365721] cpu_startup_entry+0x34/0x3c [161873.365740] secondary_start_kernel+0x12c/0x14c [161873.365766] __secondary_switched+0xb8/0xbc [162053.372255] rcu: INFO: rcu_preempt self-detected stall on CPU [162053.372271] rcu: 5-...0: (331695191 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=120006 [162053.372299] rcu: (t=240015 jiffies g=12239613 q=33959 ncpus=6) [162053.372318] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [162053.372336] Hardware name: Helios64 (DT) [162053.372347] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [162053.372365] pc : cpuidle_enter_state+0xc0/0x4bc [162053.372383] lr : cpuidle_enter_state+0xb8/0x4bc [162053.372397] sp : ffff800081f23d90 [162053.372407] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [162053.372444] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [162053.372479] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [162053.372513] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [162053.372548] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [162053.372584] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [162053.372619] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [162053.372654] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [162053.372689] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [162053.372723] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [162053.372758] Call trace: [162053.372768] cpuidle_enter_state+0xc0/0x4bc [162053.372783] cpuidle_enter+0x38/0x50 [162053.372800] do_idle+0x1fc/0x270 [162053.372821] cpu_startup_entry+0x34/0x3c [162053.372841] secondary_start_kernel+0x12c/0x14c [162053.372866] __secondary_switched+0xb8/0xbc [162233.379370] rcu: INFO: rcu_preempt self-detected stall on CPU [162233.379393] rcu: 5-...0: (388627571 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=142506 [162233.379423] rcu: (t=285018 jiffies g=12239613 q=40530 ncpus=6) [162233.379442] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [162233.379460] Hardware name: Helios64 (DT) [162233.379471] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [162233.379491] pc : cpuidle_enter_state+0xc0/0x4bc [162233.379512] lr : cpuidle_enter_state+0xb8/0x4bc [162233.379526] sp : ffff800081f23d90 [162233.379536] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [162233.379572] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [162233.379607] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [162233.379642] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [162233.379678] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [162233.379713] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [162233.379749] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [162233.379784] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [162233.379818] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [162233.379853] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [162233.379887] Call trace: [162233.379897] cpuidle_enter_state+0xc0/0x4bc [162233.379913] cpuidle_enter+0x38/0x50 [162233.379931] do_idle+0x1fc/0x270 [162233.379952] cpu_startup_entry+0x34/0x3c [162233.379972] secondary_start_kernel+0x12c/0x14c [162233.379998] __secondary_switched+0xb8/0xbc [162413.386467] rcu: INFO: rcu_preempt self-detected stall on CPU [162413.386482] rcu: 5-...0: (444291044 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=165008 [162413.386511] rcu: (t=330021 jiffies g=12239613 q=46628 ncpus=6) [162413.386529] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [162413.386548] Hardware name: Helios64 (DT) [162413.386559] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [162413.386577] pc : cpuidle_enter_state+0xc0/0x4bc [162413.386595] lr : cpuidle_enter_state+0xb8/0x4bc [162413.386609] sp : ffff800081f23d90 [162413.386619] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [162413.386656] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [162413.386691] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [162413.386726] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [162413.386761] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [162413.386797] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [162413.386832] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [162413.386867] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [162413.386901] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [162413.386936] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [162413.386970] Call trace: [162413.386981] cpuidle_enter_state+0xc0/0x4bc [162413.386996] cpuidle_enter+0x38/0x50 [162413.387014] do_idle+0x1fc/0x270 [162413.387034] cpu_startup_entry+0x34/0x3c [162413.387054] secondary_start_kernel+0x12c/0x14c [162413.387079] __secondary_switched+0xb8/0xbc [162593.393561] rcu: INFO: rcu_preempt self-detected stall on CPU [162593.393586] rcu: 5-...0: (500093779 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=187509 [162593.393616] rcu: (t=375024 jiffies g=12239613 q=53876 ncpus=6) [162593.393636] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [162593.393653] Hardware name: Helios64 (DT) [162593.393664] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [162593.393682] pc : cpuidle_enter_state+0xc0/0x4bc [162593.393703] lr : cpuidle_enter_state+0xb8/0x4bc [162593.393717] sp : ffff800081f23d90 [162593.393728] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [162593.393764] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [162593.393799] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [162593.393834] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [162593.393869] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [162593.393905] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [162593.393940] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [162593.393975] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [162593.394010] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [162593.394045] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [162593.394079] Call trace: [162593.394090] cpuidle_enter_state+0xc0/0x4bc [162593.394105] cpuidle_enter+0x38/0x50 [162593.394122] do_idle+0x1fc/0x270 [162593.394143] cpu_startup_entry+0x34/0x3c [162593.394162] secondary_start_kernel+0x12c/0x14c [162593.394188] __secondary_switched+0xb8/0xbc [162773.400657] rcu: INFO: rcu_preempt self-detected stall on CPU [162773.400683] rcu: 5-...0: (555916563 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=209904 [162773.400712] rcu: (t=420027 jiffies g=12239613 q=60896 ncpus=6) [162773.400732] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [162773.400749] Hardware name: Helios64 (DT) [162773.400760] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [162773.400778] pc : cpuidle_enter_state+0xc0/0x4bc [162773.400799] lr : cpuidle_enter_state+0xb8/0x4bc [162773.400813] sp : ffff800081f23d90 [162773.400823] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [162773.400858] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [162773.400893] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [162773.400928] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [162773.400963] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [162773.400998] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [162773.401034] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [162773.401069] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [162773.401103] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [162773.401138] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [162773.401173] Call trace: [162773.401183] cpuidle_enter_state+0xc0/0x4bc [162773.401198] cpuidle_enter+0x38/0x50 [162773.401216] do_idle+0x1fc/0x270 [162773.401237] cpu_startup_entry+0x34/0x3c [162773.401256] secondary_start_kernel+0x12c/0x14c [162773.401282] __secondary_switched+0xb8/0xbc [162790.809151] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn [162791.124875] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn [162792.091230] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn [162953.407752] rcu: INFO: rcu_preempt self-detected stall on CPU [162953.407776] rcu: 5-...0: (611582304 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=232225 [162953.407807] rcu: (t=465030 jiffies g=12239613 q=69697 ncpus=6) [162953.407827] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [162953.407845] Hardware name: Helios64 (DT) [162953.407855] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [162953.407873] pc : cpuidle_enter_state+0xc0/0x4bc [162953.407894] lr : cpuidle_enter_state+0xb8/0x4bc [162953.407908] sp : ffff800081f23d90 [162953.407918] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [162953.407954] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [162953.407989] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [162953.408024] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [162953.408059] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [162953.408095] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [162953.408130] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [162953.408165] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [162953.408200] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [162953.408234] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [162953.408269] Call trace: [162953.408279] cpuidle_enter_state+0xc0/0x4bc [162953.408295] cpuidle_enter+0x38/0x50 [162953.408312] do_idle+0x1fc/0x270 [162953.408333] cpu_startup_entry+0x34/0x3c [162953.408353] secondary_start_kernel+0x12c/0x14c [162953.408378] __secondary_switched+0xb8/0xbc [163133.414845] rcu: INFO: rcu_preempt self-detected stall on CPU [163133.414869] rcu: 5-...0: (667562741 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=254606 [163133.414899] rcu: (t=510033 jiffies g=12239613 q=87475 ncpus=6) [163133.414918] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [163133.414935] Hardware name: Helios64 (DT) [163133.414946] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [163133.414964] pc : cpuidle_enter_state+0xc0/0x4bc [163133.414985] lr : cpuidle_enter_state+0xb8/0x4bc [163133.414999] sp : ffff800081f23d90 [163133.415010] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [163133.415045] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [163133.415081] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [163133.415117] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [163133.415153] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [163133.415190] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [163133.415225] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [163133.415260] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [163133.415295] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [163133.415330] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [163133.415365] Call trace: [163133.415375] cpuidle_enter_state+0xc0/0x4bc [163133.415390] cpuidle_enter+0x38/0x50 [163133.415409] do_idle+0x1fc/0x270 [163133.415432] cpu_startup_entry+0x34/0x3c [163133.415451] secondary_start_kernel+0x12c/0x14c [163133.415477] __secondary_switched+0xb8/0xbc [163313.421939] rcu: INFO: rcu_preempt self-detected stall on CPU [163313.421962] rcu: 5-...0: (723272070 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=276994 [163313.421991] rcu: (t=555036 jiffies g=12239613 q=94071 ncpus=6) [163313.422010] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [163313.422027] Hardware name: Helios64 (DT) [163313.422037] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [163313.422055] pc : cpuidle_enter_state+0xc0/0x4bc [163313.422076] lr : cpuidle_enter_state+0xb8/0x4bc [163313.422090] sp : ffff800081f23d90 [163313.422100] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [163313.422136] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [163313.422171] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [163313.422205] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [163313.422240] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [163313.422276] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [163313.422311] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [163313.422346] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [163313.422380] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [163313.422415] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [163313.422450] Call trace: [163313.422460] cpuidle_enter_state+0xc0/0x4bc [163313.422475] cpuidle_enter+0x38/0x50 [163313.422492] do_idle+0x1fc/0x270 [163313.422513] cpu_startup_entry+0x34/0x3c [163313.422533] secondary_start_kernel+0x12c/0x14c [163313.422558] __secondary_switched+0xb8/0xbc [163493.429032] rcu: INFO: rcu_preempt self-detected stall on CPU [163493.429054] rcu: 5-...0: (780722878 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=299262 [163493.429083] rcu: (t=600039 jiffies g=12239613 q=206960 ncpus=6) [163493.429102] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [163493.429119] Hardware name: Helios64 (DT) [163493.429131] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [163493.429148] pc : cpuidle_enter_state+0xc0/0x4bc [163493.429170] lr : cpuidle_enter_state+0xb8/0x4bc [163493.429184] sp : ffff800081f23d90 [163493.429193] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [163493.429229] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [163493.429264] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [163493.429299] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [163493.429335] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [163493.429370] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [163493.429405] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [163493.429440] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [163493.429475] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [163493.429509] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [163493.429544] Call trace: [163493.429555] cpuidle_enter_state+0xc0/0x4bc [163493.429570] cpuidle_enter+0x38/0x50 [163493.429588] do_idle+0x1fc/0x270 [163493.429609] cpu_startup_entry+0x34/0x3c [163493.429629] secondary_start_kernel+0x12c/0x14c [163493.429655] __secondary_switched+0xb8/0xbc [163673.436126] rcu: INFO: rcu_preempt self-detected stall on CPU [163673.436150] rcu: 5-...0: (836489872 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=321550 [163673.436179] rcu: (t=645042 jiffies g=12239613 q=221464 ncpus=6) [163673.436197] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [163673.436214] Hardware name: Helios64 (DT) [163673.436225] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [163673.436243] pc : cpuidle_enter_state+0xc0/0x4bc [163673.436264] lr : cpuidle_enter_state+0xb8/0x4bc [163673.436278] sp : ffff800081f23d90 [163673.436288] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [163673.436324] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [163673.436359] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [163673.436394] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [163673.436429] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [163673.436464] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [163673.436499] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [163673.436534] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [163673.436568] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [163673.436603] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [163673.436638] Call trace: [163673.436648] cpuidle_enter_state+0xc0/0x4bc [163673.436663] cpuidle_enter+0x38/0x50 [163673.436680] do_idle+0x1fc/0x270 [163673.436701] cpu_startup_entry+0x34/0x3c [163673.436721] secondary_start_kernel+0x12c/0x14c [163673.436747] __secondary_switched+0xb8/0xbc [163853.443218] rcu: INFO: rcu_preempt self-detected stall on CPU [163853.443234] rcu: 5-...0: (892316711 ticks this GP) idle=7774/1/0x4000000000000002 softirq=8220496/8220498 fqs=343827 [163853.443261] rcu: (t=690045 jiffies g=12239613 q=241797 ncpus=6) [163853.443280] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G C 6.6.29-current-rockchip64 #1 [163853.443296] Hardware name: Helios64 (DT) [163853.443307] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [163853.443324] pc : cpuidle_enter_state+0xc0/0x4bc [163853.443344] lr : cpuidle_enter_state+0xb8/0x4bc [163853.443358] sp : ffff800081f23d90 [163853.443368] x29: ffff800081f23d90 x28: 0000000000000000 x27: 0000000000000000 [163853.443404] x26: 0000000000000000 x25: 00009283767d7353 x24: 0000000000000000 [163853.443439] x23: 0000000000000000 x22: ffff000001b6a080 x21: ffff0000f779cf40 [163853.443474] x20: 00009283767de8ad x19: 0000000000000000 x18: 000000000006f000 [163853.443509] x17: 000000040044ffff x16: 00100074b5503510 x15: 0000000000000000 [163853.443544] x14: 00000000000002a1 x13: ffff8000813b75a8 x12: ffff800081a49b48 [163853.443579] x11: 071c71c71c71c71c x10: ffff0000f779d2ac x9 : 00000000000000a9 [163853.443614] x8 : 0000000000000049 x7 : 00000000000000c0 x6 : 00000374d8579600 [163853.443649] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 00008fff2a050864 [163853.443683] x2 : ffff800076092000 x1 : ffff0000f779e4c0 x0 : 0000000000000000 [163853.443718] Call trace: [163853.443728] cpuidle_enter_state+0xc0/0x4bc [163853.443743] cpuidle_enter+0x38/0x50 [163853.443760] do_idle+0x1fc/0x270 [163853.443782] cpu_startup_entry+0x34/0x3c [163853.443801] secondary_start_kernel+0x12c/0x14c [163853.443826] __secondary_switched+0xb8/0xbc root@helios64:~# -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Hi ebin-dev, i not crash, console usb is ready, HDD activity seem to be died or very very slow, i try to find why lost ssh access and scrubbing and btrfs stop and helios is terribly slow, keep in touch @ebin-dev: where i copy/paste your file? -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Hello... and i'm crying... freeze today with raid10 srubbing during btrfs check... But something is strange... network ssh is dead... but access with usb cable to console is working but very very very extremely slow I have this and... waiting very long time to have prompt picocom v3.1 port is : /dev/ttyUSB0 flowcontrol : none baudrate is : 1500000 parity is : none databits are : 8 stopbits are : 1 escape is : C-a local echo is : no noinit is : no noreset is : no hangup is : no nolock is : no send_cmd is : sz -vv receive_cmd is : rz -vv -E imap is : omap is : emap is : crcrlf,delbs, logfile is : none initstring : none exit_after is : not set exit is : no Type [C-a] [C-h] to see available commands Terminal ready helios64 login: root Password: _ _ _ _ __ _ _ | | | | ___| (_) ___ ___ / /_ | || | | |_| |/ _ \ | |/ _ \/ __| '_ \| || |_ | _ | __/ | | (_) \__ \ (_) |__ _| |_| |_|\___|_|_|\___/|___/\___/ |_| Welcome to Armbian-unofficial 24.2.1 Bookworm with Linux 6.6.29-current-rockchip64 No end-user support: built from trunk System load: 183% Up time: 1 day 21:18 Local users: 3 Memory usage: 84% of 3.77G Zram usage: 34% of 5.88G IP: 10.88.0.1 10.0.0.155 CPU temp: 43°C Usage of /: 46% of 14G RX today: 52.5 MiB [ General system configuration (beta): armbian-config ] Web console: https://helios64:9090/ You have no mail. root@helios64:~# -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Hi, Kernel 6.6.29 with: git clone --depth=1 --branch=main https://github.com/armbian/build cd build ./compile.sh kernel BOARD=helios64 BRANCH=current Same for me like with 6.6.26/27/28, pass my pattern test and also rsync over network of 3TO with -c option to do checksum during RAID10 Scrubbing pass I think Governor on this Kernel is less agressive like before... Keep in touch -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Hi, To my side, it's too complex and risky for me to change hardware components on Helios64. I prefer for my case of uses change CPU Freq and Governor for less performance but stable inside take risk of damage my board by change components. Have a good day -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Hi, Today: KERNEL 6.6.28 No voltage modification root@helios64:~/tmp# diff cpufreq-switching-2.c cpufreq-switching-2-TRANSITION_DELAY_0.c 19c19 < #define TRANSITION_DELAY 5000 --- > #define TRANSITION_DELAY 0 root@helios64:~/tmp# gcc -o cpufreq-switching-2-TRANSITION_DELAY_0.b cpufreq-switching-2-TRANSITION_DELAY_0.c root@helios64:~/tmp# time for i in $(seq 1 100); do ./cpufreq-switching-2-TRANSITION_DELAY_0.b ; done Few minutes... less than 5min... and crash in "full reboot" seem like short off/on with same sound like push reset button Second try, uptime 19min and same crash like push reset buttom First conclusion: Time delay 5000 seem Okok / Time delay 0 crash Keep in touch -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Result with for i in $(seq 1 100); do ./cpufreq-switching-2-b ; done TRANSITION_DELAY 5000 16h47 uptime Kernel 6.6.28 NO CRASH ! Tomorrow try with TRANSITION_DELAY 0 Have a good night 9/10, 99/100 cpub_freq 600000 cpub_freq 816000 cpub_freq 1008000 cpub_freq 1200000 cpub_freq 1416000 cpub_freq 1608000 cpub_freq 1800000 cpub_freq 1608000 cpub_freq 1416000 cpub_freq 1200000 cpub_freq 1008000 cpub_freq 816000 cpub_freq 600000 cpub_freq 408000 cpub_freq 600000 cpub_freq 816000 cpub_freq 1008000 cpub_freq 1200000 cpub_freq 1416000 cpub_freq 1608000 cpub_freq 1800000 cpub_freq 1608000 cpub_freq 1416000 cpub_freq 1200000 cpub_freq 1008000 cpub_freq 816000 cpub_freq 600000 cpub_freq 408000 cpub_freq 600000 cpub_freq 816000 cpub_freq 1008000 cpub_freq 1200000 cpub_freq 1416000 cpub_freq 1608000 cpub_freq 1800000 cpub_freq 1608000 cpub_freq 1416000 cpub_freq 1200000 cpub_freq 1008000 cpub_freq 816000 cpub_freq 600000 cpub_freq 408000 cpub_freq 600000 cpub_freq 816000 cpub_freq 1008000 cpub_freq 1200000 cpub_freq 1416000 cpub_freq 1608000 cpub_freq 1800000 cpub_freq 1608000 cpub_freq 1416000 cpub_freq 1200000 cpub_freq 1008000 cpub_freq 816000 cpub_freq 600000 cpub_freq 408000 cpub_freq 600000 cpub_freq 816000 cpub_freq 1008000 cpub_freq 1200000 cpub_freq 1416000 cpub_freq 1608000 cpub_freq 1800000 cpub_freq 1608000 root@helios64:~/tmp# -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Hello, I crash this night (between 3hours uptime and 6hours uptime, i was sleeping) with 6.6.16 and without voltage correction. (red led flashing) (I crash with version "TRANSITION_DELAY 5000" that i copy/paste upper) Do you know which kernel was running when your box crashed? -> 6.6.28 but maybe with your TRANSITION_DELAY 0 version because i copy/paste from forum and then until now i use github version copy/paste upper I install 6.6.28 without voltage correction and look result List of packages i installed: base-files_24.5.0-trunk-12.4+deb12u5-bookworm_arm64__1-bookworm-1armbian1-Ba4f9-U12.4--deb12u5-R55fa.deb armbian-config_24.5.0-trunk_all__1-SA8477-B0293-R448a.deb linux-dtb-current-rockchip64_24.5.0-trunk_arm64__6.6.28-Sba15-D440d-P9dc2-Ca832H66b1-HK01ba-Vc222-Bf15a-R448a.deb armbian-plymouth-theme_24.5.0-trunk_all__1-Bfcdb-R448a.deb linux-image-current-rockchip64_24.5.0-trunk_arm64__6.6.28-Sba15-D440d-P9dc2-Ca832H66b1-HK01ba-Vc222-Bf15a-R448a.deb armbian-zsh_24.5.0-trunk_all__1-SAbfee-Baafd-R448a.deb linux-u-boot-helios64-current_24.5.0-trunk_arm64__2022.07-Se092-Pe990-H8c72-V65aa-Bf5f6-R448a.deb root@helios64:~/tmp# uname -a Linux helios64 6.6.28-current-rockchip64 #3 SMP PREEMPT Wed Apr 17 09:19:38 UTC 2024 aarch64 GNU/Linux root@helios64:~/tmp# for i in $(seq 1 100); do ./cpufreq-switching-2-b ; done If not crash, i try TRANSITION_DELAY 0 version if not crash TRANSITION_DELAY 0 version, i stay with this setting If crash i try voltage correction Keep in touch -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Actually, i did this below and run your command, result at the end. For information, view freq change with htop command but not load up more than few % root@helios64:~/tmp# cat cpufreq-switching-2.c #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <malloc.h> #include <unistd.h> #include <sys/mman.h> #define MAIN_LOOPS (100) #define TRIALS_PER_TOGGLE (10) #define MAX_MEGS (64) #define CPUL 0 #define CPUB 1 #define TRANSITION_DELAY 5000 const char *cpul_freqs[] = { "408000", "600000", "816000", "1008000", "1200000", "1416000" }; const char *cpub_freqs[] = { "408000", "600000", "816000", "1008000", "1200000", "1416000", "1608000", "1800000" }; uint32_t *megs[MAX_MEGS]; int checked_open(char *name) { int fd = open(name, O_RDWR); char err[128]; if (fd < 0) { snprintf(err, 128, "cannot open %s", name); perror(err); exit(1); } return fd; } #define SCALING_PATHL "/sys/devices/system/cpu/cpu0/cpufreq/" #define SCALING_PATHB "/sys/devices/system/cpu/cpu4/cpufreq/" void browse_freq(int *cpul_index, int *cpub_index, int *cpul_step, int *cpub_step) { static int inited = 0; int freql_target_len; int freqb_target_len; int freqfd; int cpul_freqs_count = 0; int cpub_freqs_count = 0; cpul_freqs_count = sizeof(cpul_freqs)/sizeof(cpul_freqs[0]); cpub_freqs_count = sizeof(cpub_freqs)/sizeof(cpub_freqs[0]); if (!inited) { #if CPUL freqfd = checked_open(SCALING_PATHL "scaling_governor"); write(freqfd, "userspace", 9); close(freqfd); #endif #if CPUB freqfd = checked_open(SCALING_PATHB "scaling_governor"); write(freqfd, "userspace", 9); close(freqfd); #endif inited = 1; } if (*cpul_index >= cpul_freqs_count - 1) *cpul_step = -1; if (*cpul_index <= 0) *cpul_step = 1; if (*cpub_index >= cpub_freqs_count - 1) *cpub_step = -1; if (*cpub_index <= 0) *cpub_step = 1; *cpul_index += *cpul_step; *cpub_index += *cpub_step; #if CPUL printf("cpul_freq %s\n", cpul_freqs[*cpul_index]); freql_target_len = strlen(cpul_freqs[*cpul_index]); freqfd = checked_open(SCALING_PATHL "scaling_setspeed"); write(freqfd, cpul_freqs[*cpul_index], freql_target_len); close(freqfd); #endif #if CPUB printf("cpub_freq %s\n", cpub_freqs[*cpub_index]); freqb_target_len = strlen(cpub_freqs[*cpub_index]); freqfd = checked_open(SCALING_PATHB "scaling_setspeed"); write(freqfd, cpub_freqs[*cpub_index], freqb_target_len); close(freqfd); #endif usleep(TRANSITION_DELAY); } void write_test_data(int nmegs, int toggle) { int cpul_index = 0; int cpub_index = 0; int cpul_step = 1; int cpub_step = 1; while (nmegs--) { browse_freq(&cpul_index, &cpub_index, &cpul_step, &cpub_step); } } void check_test_data(int nmegs, int toggle) { int cpul_index = 0; int cpub_index = 0; int cpul_step = 1; int cpub_step = 1; while (nmegs--) { browse_freq(&cpul_index, &cpub_index, &cpul_step, &cpub_step); } } int main(int argc, char **argv) { int nmegs = MAX_MEGS; printf("allocated %dMB\n", nmegs); int nloop, ntoggle, ntrial; printf("test: toggle freq before write\n"); for (nloop = 0; nloop < MAIN_LOOPS; nloop++) { printf("\r%d/%d ", nloop, MAIN_LOOPS); fflush(stdout); write_test_data(nmegs, 1); check_test_data(nmegs, 0); } printf("\n"); printf("test: toggle freq before read\n"); for (nloop = 0; nloop < MAIN_LOOPS; nloop++) { write_test_data(nmegs, 0); for (ntrial=0; ntrial < TRIALS_PER_TOGGLE; ntrial++) { printf("\r%d/%d, %d/%d ", ntrial, TRIALS_PER_TOGGLE, nloop, MAIN_LOOPS); fflush(stdout); check_test_data(nmegs, 1); } } printf("\n"); return 0; } ————————————————————————————————————————————————————————————————————————————————————— root@helios64:~/tmp# gcc -o cpufreq-switching-2-b cpufreq-switching-2.c ————————————————————————————————————————————————————————————————————————————————————— root@helios64:~/tmp# uname -a Linux helios64 6.6.16-current-rockchip64 #1 SMP PREEMPT Fri Feb 23 08:25:28 UTC 2024 aarch64 GNU/Linux ————————————————————————————————————————————————————————————————————————————————————— root@helios64:~/tmp# cat /etc/default/cpufrequtils ENABLE=true MIN_SPEED=408000 MAX_SPEED=1800000 GOVERNOR=schedutil ————————————————————————————————————————————————————————————————————————————————————— root@helios64:~/tmp# uptime 19:39:19 up 5 min, 2 users, load average: 0.27, 0.54, 0.31 ————————————————————————————————————————————————————————————————————————————————————— root@helios64:~/tmp# for i in $(seq 1 100); do ./cpufreq-switching-2-b ; done -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
you mean you have no crash running cpufreq-switching-2-b five times with 6.6.16 and 6.6.28? Yes not crash today. I post soon full test pattern and result with 6.6.16 and then 6.6.28 with source of cpufreq-switching-2-b from https://gist.github.com/prahal/8fab73325eb0d7091ad7c4627bf8e25a compil with gcc -o cpufreq-switching-2-b cpufreq-switching-2.c So it crashed with which kernel? Did you rebuild cpufreq-switching-2-b between the test that crashed and the ones that did not? Yes i rebuild because i build in /tmp directory that what a ramdisk... and lost binary with crash Now i store binary on emmc 😉 I do next test with my armbian 24.2.1 build my self with official framework without any another tune then i do exact same with packages kernel armbian 24.5 build my self with official framework upgrade on my 24.2.1 -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Hi, Fisrt, i restore my backup with 6.6.16 and run cpufreq-switching-2-b 5 times and cpufreq-switching-b 2 times root@helios64:~# uname -a Linux helios64 6.6.16-current-rockchip64 #1 SMP PREEMPT Fri Feb 23 08:25:28 UTC 2024 aarch64 GNU/Linux root@helios64:~# cat /etc/default/cpufrequtils ENABLE=true MIN_SPEED=408000 MAX_SPEED=1800000 GOVERNOR=schedutil root@helios64:~/tmp# ./cpufreq-switching-2-b ; ./cpufreq-switching-2-b ; ./cpufreq-switching-2-b ; ./cpufreq-switching-2-b ; ./cpufreq-switching-2-b root@helios64:~/tmp# ./cpufreq-switching-b ; ./cpufreq-switching-b No crash with your program Second, I installed build my self this over my 24.2.1 build with 6.6.28: linux-dtb-current-rockchip64_24.5.0-trunk_arm64__6.6.28-Sba15-D440d-P9dc2-Ca832H66b1-HK01ba-Vc222-Bf15a-R448a.deb linux-image-current-rockchip64_24.5.0-trunk_arm64__6.6.28-Sba15-D440d-P9dc2-Ca832H66b1-HK01ba-Vc222-Bf15a-R448a.deb reboot and do: root@helios64:~/tmp# uname -a Linux helios64 6.6.28-current-rockchip64 #3 SMP PREEMPT Wed Apr 17 09:19:38 UTC 2024 aarch64 GNU/Linux root@helios64:~/tmp# ./cpufreq-switching-2-b ; ./cpufreq-switching-2-b ; ./cpufreq-switching-2-b ; ./cpufreq-switching-2-b ; ./cpufreq-switching-2-b ; ./cpufreq-switching.b ; ./cpufreq-switching.b Not crash… freq seem change in htop program monitor but load isn’t at 100% on cpu… load seem idle… it’s normal, same with 6.6.16 or 6.6.28? if it’s normal: not crash with your cpufreq-switching-2-b & cpufreq-switching.b program on my helios crash with my pattern test on 6.6.16 and not with 6.6.27 and 6.6.28 What do you think about my results ? -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
hi, i build 2 version from your site: root@helios64:~/tmp# ls cpufreq-switching-2-b cpufreq-switching-2.c cpufreq-switching.b cpufreq-switching.c I run this version cpufreq-switching-2-b ? and after running your program, i think automatic freq change don't change but stay a last freq fixe, i all right? -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Hi, i use cpufreq-switching-2-b and... Full Crash and reboot automatic after less than 15s... After reboot not crash second try just after reboot... for moment, my test pattern not crash, cpufreq-switching-2-b continu to do crash with cpufreq-switching-2-b. I test 2 version here soon: https://gist.github.com/prahal -
Helios64 - Armbian 23.08 Bookworm issues (solved)
BipBip1981 replied to ebin-dev's topic in Rockchip
Hi, i use cpufreq-switching-2-b and... Full Crash and reboot automatic after less than 15s... After reboot not crash second try just after reboot... for moment, my test pattern not crash, cpufreq-switching-2-b continu to do crash with cpufreq-switching-2-b. I test 2 version here soon: https://gist.github.com/prahal -
Helios64 - Armbian 23.08 Bookworm issues (solved)
BipBip1981 replied to ebin-dev's topic in Rockchip
Hi, For moment not crash with my pattern test. Tthis evening i run cpufreq-switching-2-b and post result Keep in touch root@helios64:~# btrfs check --readonly --check-data-csum --progress /dev/disk/by-uuid/1d4e2c84-1c43-4d73-8acb-14d5a7aa1c4d Opening filesystem to check... Checking filesystem on /dev/disk/by-uuid/1d4e2c84-1c43-4d73-8acb-14d5a7aa1c4d UUID: 1d4e2c84-1c43-4d73-8acb-14d5a7aa1c4d [1/7] checking root items (0:04:20 elapsed, 6258640 items checked) [2/7] checking extents (0:22:26 elapsed, 613032 items checked) [3/7] checking free space cache (0:08:50 elapsed, 5519 items checked) [4/7] checking fs roots (8:40:20 elapsed, 169002 items checked) [5/7] checking csums against data (35:54:03 elapsed, 2619191 items checked) helios64@helios64:~$ cat /proc/mdstat Personalities : [raid10] [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] md0 : active raid10 sdd1[0] sdc1[5] sde1[4] sda1[2] 15627581440 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU] [=>...................] check = 5.2% (821480320/15627581440) finish=1681.3min speed=146770K/sec bitmap: 0/117 pages [0KB], 65536KB chunk unused devices: <none> helios64@helios64:~$ uptime 11:05:34 up 1 day, 22:02, 3 users, load average: 2,98, 2,82, 2,78 -
Helios64 u-boot does not build anymore after we bumped to 2022.07
BipBip1981 replied to Igor's topic in Rockchip
Hi, For moment not crash with my pattern test. Tthis evening i run cpufreq-switching-2-b and post result Keep in touch root@helios64:~# btrfs check --readonly --check-data-csum --progress /dev/disk/by-uuid/1d4e2c84-1c43-4d73-8acb-14d5a7aa1c4d Opening filesystem to check... Checking filesystem on /dev/disk/by-uuid/1d4e2c84-1c43-4d73-8acb-14d5a7aa1c4d UUID: 1d4e2c84-1c43-4d73-8acb-14d5a7aa1c4d [1/7] checking root items (0:04:20 elapsed, 6258640 items checked) [2/7] checking extents (0:22:26 elapsed, 613032 items checked) [3/7] checking free space cache (0:08:50 elapsed, 5519 items checked) [4/7] checking fs roots (8:40:20 elapsed, 169002 items checked) [5/7] checking csums against data (35:54:03 elapsed, 2619191 items checked) helios64@helios64:~$ cat /proc/mdstat Personalities : [raid10] [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] md0 : active raid10 sdd1[0] sdc1[5] sde1[4] sda1[2] 15627581440 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU] [=>...................] check = 5.2% (821480320/15627581440) finish=1681.3min speed=146770K/sec bitmap: 0/117 pages [0KB], 65536KB chunk unused devices: <none> helios64@helios64:~$ uptime 11:05:34 up 1 day, 22:02, 3 users, load average: 2,98, 2,82, 2,78 -
Helios64 - Armbian 23.08 Bookworm issues (solved)
BipBip1981 replied to ebin-dev's topic in Rockchip
Hi, to my side same: root@helios64:~# cat /var/log/syslog | grep mdadm root@helios64:~# and, for moment not crash/freeze to my helios64... -
Helios64 - Armbian 23.08 Bookworm issues (solved)
BipBip1981 replied to ebin-dev's topic in Rockchip
Hi, This morning, i do cold boot and crash after few minutes (less than 10min...) Boot is okok but lose ssh connection and to same with usb wire console, i have login and password ask but then i am block... (i can't find if problem hardware... systemd... software...) I use reset bottom and after 15min uptime, i try the same and not lose connection, (i don't understand why not lose connection, i do nothing and Helios64 seem Okok...) i do: (3 times) root@helios64:/tmp# ./cpufreq-switching allocated 64MB test: toggle freq before write 99/100 test: toggle freq before read 9/10, 99/100 root@helios64:/tmp# ./cpufreq-switching allocated 64MB test: toggle freq before write 99/100 test: toggle freq before read 9/10, 99/100 root@helios64:/tmp# ./cpufreq-switching allocated 64MB test: toggle freq before write 99/100 test: toggle freq before read 9/10, 99/100 root@helios64:/tmp# Not crash/freeze and during this test, i have samba Time Machine backup work and lot of I/O Network and 1GO of data pass from my mac to helios. I don't tune voltage, juste use 6.6.28 Kernel and my standard configuaration.... I run again you program and, i have again Time Machine Backup (samba share in background): | | | | ___| (_) ___ ___ / /_ | || | | |_| |/ _ \ | |/ _ \/ __| '_ \| || |_ | _ | __/ | | (_) \__ \ (_) |__ _| |_| |_|\___|_|_|\___/|___/\___/ |_| Welcome to Armbian-unofficial 24.5.0-trunk Bookworm with Linux 6.6.28-current-rockchip64 No end-user support: built from trunk System load: 86% Up time: 27 min Local users: 2 Memory usage: 11% of 3.77G IP: 10.0.0.155 CPU temp: 41°C Usage of /: 47% of 14G RX today: 1.5 GiB [ General system configuration (beta): armbian-config ] Web console: https://helios64:9090/ You have no mail. helios64@helios64:~$ su - Mot de passe : root@helios64:~# cd /tmp/ root@helios64:/tmp# uptime ; ./cpufreq-switching ; uptime 06:34:39 up 28 min, 3 users, load average: 5.87, 4.75, 3.61 allocated 64MB test: toggle freq before write 99/100 test: toggle freq before read 9/10, 99/100 06:36:12 up 29 min, 3 users, load average: 4.99, 4.71, 3.70 root@helios64:/tmp# No Problem, To conclude for moment, to my side; 6.6.28 stable but not at cold boot... stable after. Something (hardware or software) when cold boot crash or do bug in linux software... and after reset buttom is Okok... It's crazy i know ! (Possible problem in cold ramlog boot is /var/log full... i view is full just now... i will investigate next week...) If you want next week, i build a Vanilla armbian from source with official framework and run your cpufreq-switching on it, i think i will have same this day with my standard configuration but maybe not with crash at cold boot If you read my history message about Helios64 since about 3 years... it never stable with standard parameter. I do many tests and to change Kernel and this day the Best Kernel i never use is 6.6.27 and upper because not crash at standard frequency Schedutil Governor The very bad Kernel was 6.X branch, with thing kernel, Helios crash often just when i unlock my raid10 with LUKS cryptosetup And le 5.15.(something)69 or just before was the best stable Kernel with 400-1400Mhz schelutil (i speak about this in very old post) I try again you program, Time Machine Backup is finish... root@helios64:/tmp# uptime ; ./cpufreq-switching ; uptime 06:51:25 up 44 min, 3 users, load average: 3.98, 4.58, 4.24 allocated 64MB test: toggle freq before write 99/100 test: toggle freq before read 9/10, 99/100 06:53:01 up 46 min, 3 users, load average: 3.03, 4.09, 4.10 root@helios64:/tmp# Not crash, now i go to work office and then pass a weekend with my familly, keep in touch next week During this weekend, i run on my helios64 a script do in loop: echo check > /sys/block/md0/md/sync_action and: btrfs check --readonly --check-data-csum --progress /dev/disk/by-uuid/1d4e2c84-1c43-4d73-8acb-XXXXXXXXXXXXXX If Monday morning when i back my Helios64 not crash/freeze, for me 6.6.28 is good Kernel. Have a good day -
Helios64 - Armbian 23.08 Bookworm issues (solved)
BipBip1981 replied to ebin-dev's topic in Rockchip
Hi, Not change millivolt value because i afraid to do a mistake I just setting differentes values of freq For moment i am at 400-1200Mhz and not lose connection... Can you explain me command to change milivolt setting if i have futur courage or crazy spirit to try this idea? And i have question, i install my 6.6.27 Kernel .deb build my self with official framework, then i reboot and do my pattern 3 times without crash... Today i reboot and lose connection approximately 10min after boot when i set upper than 1400mhz... milivolt value work before reboot why not after, setting not change? Now i do: git clone --depth=1 --branch=main https://github.com/armbian/build ; cd build/ ./compile.sh kernel BOARD=helios64 BRANCH=current dpkg -i *.deb to install Kernel 6.6.28 4 packages reboot and... uptime 18min... not loose connection ! i become crazy ! -
Helios64 - Armbian 23.08 Bookworm issues (solved)
BipBip1981 replied to ebin-dev's topic in Rockchip
....Grrrr I reboot... and now i lose network connection random time (approximately 6-10min) after full boot... and i lose access by USB wire to console... return in unstable world... I become CRAZY ! Back to 400-1200Mhz max schedutil, if lose connection... back to 1200 1200 Performance (equal to fix freq 1200) -
Helios64 - Armbian 23.08 Bookworm issues (solved)
BipBip1981 replied to ebin-dev's topic in Rockchip
Hi, My command: To scrub RAID10: echo check > /sys/block/md0/md/sync_action At same time i check BTRFS with: btrfs check --readonly --check-data-csum --progress /dev/disk/by-uuid/1d4e2c84-1c43-4d73-8acb-XXXXXXXXXXXXX At at same time i do copy/delete/copy random from personnal computer to helios64 samba share one pass finished after about 36h... i run pass 3 times For information, i use LUKS overs my raid10 My fancontrol file is: root@helios64:~# cat /etc/fancontrol # Helios64 PWM Fan Control Configuration # Temp source : /dev/thermal-cpu #INTERVAL=10 INTERVAL=30 FCTEMPS=/dev/fan-p6/pwm1=/dev/thermal-cpu/temp1_input /dev/fan-p7/pwm1=/dev/thermal-cpu/temp1_input MINTEMP=/dev/fan-p6/pwm1=40 /dev/fan-p7/pwm1=40 #MAXTEMP=/dev/fan-p6/pwm1=110 /dev/fan-p7/pwm1=110 MAXTEMP=/dev/fan-p6/pwm1=50 /dev/fan-p7/pwm1=50 #MINSTART=/dev/fan-p6/pwm1=60 /dev/fan-p7/pwm1=60 MINSTART=/dev/fan-p6/pwm1=20 /dev/fan-p7/pwm1=20 #MINSTOP=/dev/fan-p6/pwm1=40 /dev/fan-p7/pwm1=40 MINSTOP=/dev/fan-p6/pwm1=20 /dev/fan-p7/pwm1=20 MINPWM=20 and i install: Full Firmware deb package to remove error with 2,5G ethernet driver I do extend swap by swapfile to 6Go and i run 2 containers with podman, Plex and SFTPGO -
Helios64 - Armbian 23.08 Bookworm issues (solved)
BipBip1981 replied to ebin-dev's topic in Rockchip
Hi, My test parttern run and i do: helios64@helios64:~$ for i in $(seq 1 100);do python3 -c "import pkg_resources" || break;done helios64@helios64:~$ No crash to my side 😉 I never had until today my helios64 stable with 400-1800MHZ stable with my pattern test and podman container run. I think i am dreaming.... yes? not? Helios64 stable is AMAZING !!!!! -
Helios64 - Armbian 23.08 Bookworm issues (solved)
BipBip1981 replied to ebin-dev's topic in Rockchip
Hi everybody, I test 24.05 trunk build myself armbian bookworm with 6.6.27 Kernel and... For moment, i have a stable Helios64 with 400-1800Mhz schedutil and just my tuned fancontrol file. Running for more than 1 days without crash with my test pattern... and not crash/freeze until now !!!!!! I hope not crash during next few days... If not crash, i advise everybody to swith to this kernel Keep in touch