zenith icon indicating copy to clipboard operation
zenith copied to clipboard

Unable to parse PowerPC64LE CPU info

Open runlevel5 opened this issue 4 years ago • 9 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

runlevel5 avatar Oct 24 '20 14:10 runlevel5

Thanks for reporting, I'll take a look.

bvaisvil avatar Oct 25 '20 17:10 bvaisvil

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

runlevel5 avatar Oct 25 '20 23:10 runlevel5

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 avatar Oct 26 '20 16:10 bvaisvil

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

runlevel5 avatar Oct 27 '20 03:10 runlevel5

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.

bvaisvil avatar Oct 27 '20 17:10 bvaisvil

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. (https://github.com/heim-rs/heim/pull/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.

alexmaco avatar Oct 30 '20 07:10 alexmaco

I've just lodged a PR upstream https://github.com/heim-rs/heim/pull/286 cc @alexmaco

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

runlevel5 avatar Oct 31 '20 13:10 runlevel5

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

alexmaco avatar Oct 31 '20 18:10 alexmaco

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

runlevel5 avatar Nov 01 '20 00:11 runlevel5