bvaisvil / zenith

Zenith - sort of like top or htop but with zoom-able charts, CPU, GPU, network, and disk usage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to parse PowerPC64LE CPU info

runlevel5 opened this issue · comments

When I run zenith on PowerPC64LE-based Linux, I got following error:

Screenshot from 2020-10-25 01-49-48

From my understanding, the error belongs to heim lib. Because I am not 100% confident, I create this ticket to double-check if it might be zenith's issue or not before lodging a new ticket with heim project.

Many thanks

Thanks for reporting, I'll take a look.

@bvaisvil if you need access to a ppc64le dev box to do development or verification, please let me know

Indeed, I don't have access to a ppc64le box. However, I'm fairly certain that the underlying issue is with heim as you've surmised.

@bvaisvil if it is heim, I can close this ticket and lodge one upstream instead. Please help confirm

Please make a ticket in heim, but let's leave this open because I'll need to update my heim dependency once the issue is fixed there.

Hi @runlevel5
I've run into a similar issue on 32bit arm machines. I've submitted a PR that was merged into heim to fix that. (heim-rs/heim#278)

Since you have access to a ppc machine, you could probably add another case to that arch detection function.

In order to test it locally, you can use a [replace] section in Cargo.toml to point to a locally modified copy of heim.

I've just lodged a PR upstream heim-rs/heim#286 cc @alexmaco

Screenshot from 2020-11-01 00-42-55

@runlevel5 Apologies for going offtopic, but, what machine is that, with 32 ppc64 cores? Looks pretty unique 👀

@alexmaco it's IBM POWER9 (Sforza 8 cores - each core has 4 threads). The motherboard is Raptor Computing Blackbird.