Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to parse PowerPC64LE CPU info #82

Closed
runlevel5 opened this issue Oct 24, 2020 · 9 comments
Closed

Unable to parse PowerPC64LE CPU info #82

runlevel5 opened this issue Oct 24, 2020 · 9 comments
Labels
blocked Blocked by another issue/feature/dependency bug Something isn't working

Comments

@runlevel5
Copy link

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

@bvaisvil bvaisvil added the bug Something isn't working label Oct 25, 2020
@bvaisvil
Copy link
Owner

Thanks for reporting, I'll take a look.

@runlevel5
Copy link
Author

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

@bvaisvil
Copy link
Owner

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.

@runlevel5
Copy link
Author

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

@bvaisvil
Copy link
Owner

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 bvaisvil added the blocked Blocked by another issue/feature/dependency label Oct 27, 2020
@alexmaco
Copy link
Contributor

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.

@runlevel5
Copy link
Author

runlevel5 commented Oct 31, 2020

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

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

@alexmaco
Copy link
Contributor

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

@runlevel5
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked by another issue/feature/dependency bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants