No way, I was able to unlock apt by moving away for a bit files in /var/lib/dpkg/updates
I downloaded and used sbc-bench from here : https://github.com/ThomasKaiser/sbc-bench , I was able to run with -c option and also -r (review), I adjusted /cpufreq/ondemand/io_is_busy
because I had an ondemand cpu overnor, as well as other settings I found with link provided by sbc-bench (full fix I run at startup):
#!/bin/bash
echo “starting tweak”
prefix="/sys/devices/system/cpu"
CPUFreqPolicies=($(ls -d ${prefix}/cpufreq/policy? | sed ‘s/freq/policy//’))
if [ ${#CPUFreqPolicies[@]} -eq 1 -a -d “${prefix}/cpufreq” ]; then
# if there’s just a single cpufreq policy ondemand sysfs entries differ
CPUFreqPolicies=${prefix}
fi
for i in ${CPUFreqPolicies[@]}; do
affected_cpu=$(tr -d -c ‘[:digit:]’ <<< ${i})
echo ondemand >${prefix}/cpu${affected_cpu:-0}/cpufreq/scaling_governor
echo 1 >${i}/cpufreq/ondemand/io_is_busy
echo 25 >${i}/cpufreq/ondemand/up_threshold
echo 10 >${i}/cpufreq/ondemand/sampling_down_factor
echo 200000 >${i}/cpufreq/ondemand/sampling_rate
done
echo “ending tweak”
by the way the issue is still there and I’m not able to run sbc-bench with option -t because cpuminer cannot be executed, I also downloaded it from repository https://github.com/tkinjo1985/cpuminer-multi?tab=readme-ov-file and build.
output sbc-bench -r
$ sudo ./sbc-bench.sh -t
sbc-bench v0.9.67
Installing needed tools: distro packages already installed..../sbc-bench.sh: line 3286: : No such file or directory
./sbc-bench.sh: line 3290: : No such file or directory
./sbc-bench.sh: line 3291: : No such file or directory
./sbc-bench.sh: line 3309: : No such file or directory
./sbc-bench.sh: line 3381: : No such file or directory
./sbc-bench.sh: line 3388: : No such file or directory
Thermal efficiency test using /sys/devices/virtual/thermal/thermal_zone0/temp
Installing needed tools. This may take some time...WARNING: Not able to execute cpuminer. Aborting.
output cpuminer
$ cpuminer-multi/cpuminer
** cpuminer-multi 1.3.3 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)
[2024-06-24 20:14:09] Starting Stratum on stratum+tcp://yiimp.ccminer.org:4252
[2024-06-24 20:14:09] 8 miner threads started, using 'decred' algorithm.
[2024-06-24 20:14:09] Stratum connection failed: Failed to connect to yiimp.ccminer.org port 4252: Connection refused
[2024-06-24 20:14:09] ...retry after 10 seconds
^C[2024-06-24 20:14:12] SIGINT received, exiting
There is nothing to do, When it rains, it pours, I’m tempted to give up, I already faced too much issues since now, I’m doomed with this radxa sbc. Anyway I would like to try something more if there is, in order to fix it, when options are really finished I can give up.