Jump to content

h3consumption doesn't work on 5.38 Orangepione_Debian_stretch_next_4.14.14


Recommended Posts

Posted (edited)

I have tried to run the h3consumption monitor program (https://github.com/armbian/build/blob/master/packages/bsp/h3consumption) in an up to date Armbian 5.38 stable Debian Stretch 4.14.14 on a PiOne.

After the command 'sudo h3consumption -h' and other commands it gives
'This tool requires legacy kernel on H3 devices. Exiting.'

Is there any solution for this?
Can I change the 3.4.*) to 3.4.*|4.14.*) in the script without any problems?

 

https://github.com/armbian/build/blob/180112d72d31ec3629896f272a1d59ef3d83dc8d/packages/bsp/h3consumption#L123
 

# check platform and kernel
    case $(uname -r) in
        3.4.*)
            HARDWARE=$(awk '/Hardware/ {print $3}' </proc/cpuinfo)
            if [ "X${HARDWARE}" != "Xsun8i" ]; then
                echo "This tool works only on H3 devices. Exiting." >&2
                exit 1
            fi
            ;;
        *)
            echo "This tool requires legacy kernel on H3 devices. Exiting." >&2
            exit 1
            ;;
esac

 

Edited by eejeel
Posted
1 hour ago, eejeel said:

Is there any solution for this?


Nope. Few things will work, for other hard to judge. From few weeks to months of work. Go, try, report back, submit fixes ...

Posted

Thanks Igor.
I'am not a Linux expert. My first and only project is the PiHole on a PiOne. It's running for 10 months without any problem on the jessie Armbian, latest on 5.38.
But the latest update of PiHole needs DNSmasq 2.73 and higher. Thus I start with installing the stretch OS from scratch.

So, getting the h3consumption monitor working on stretch, for me it costs year(s).

I'll need the program for turning off the GPU/HDMI.
Maybe this wil work.

Posted
9 minutes ago, eejeel said:

I'am not a Linux expert. My first and only project is the PiHole on a PiOne.


It is never too late to start learning and becoming one :)
 

9 minutes ago, eejeel said:

So, getting the h3consumption monitor working on stretch, for me it costs year(s).

I'll need the program for turning off the GPU/HDMI.


The problem is that with a new kernel, dealing with low-level things can be completely different. Unfortunately Stretch is not possible with an old kernel ... while modern one is still considered testing. There might be some bugs out there. 

Posted
2 minutes ago, eejeel said:

My first and only project is the PiHole on a PiOne. It's running for 10 months without any problem on the jessie Armbian, latest on 5.38.
But the latest update of PiHole needs DNSmasq 2.73 and higher. Thus I start with installing the stretch OS from scratch.
So, getting the h3consumption monitor working on stretch, for me it costs year(s).
I'll need the program for turning off the GPU/HDMI.
 

I got 2 OPi One running latest Pi-Hole = Pi-hole Version v3.3 Web Interface Version v3.3 FTL Version v3.0

while using
ARMBIAN 5.38 stable Debian GNU/Linux 9 (stretch) 4.14.18-sunxi

Linux opi-one-main 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l GNU/Linux

 

Whats the special need of turning off the GPU/HDMI?
less heat? less power? or more memory (while not using the GPU)?

 

My 2 OPi One doesnt get hot and do run stable with unused but powered GPU/HDMI.

 

The pi-hole install script curl -sSL https://install.pi-hole.net | bash
did install here the following version of dnsmasq:
dnsmasq                             2.76-5+deb9u1                     all          Small caching DNS proxy and DHCP/TFTP server
dnsmasq-base                    2.76-5+deb9u1                     armhf     Small caching DNS proxy and DHCP/TFTP server

 

Posted

Turning off the GPU/HDMI is only for power consumption and some more memory and not for heat. I use SSH so HDMI is not needed on my PiOne.

With the old Jessie Armbian Pi-hole works without any problem. And I also implemented a 1 CPU core and low DRAM clockspeed during the night (as a some Linux learning on the job).
See running-h3-boards-with-minimal-consumption

For now I left the H3consumption program behind me.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines