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

PKEY path wrong #19

Closed
shirleyzhou94 opened this issue Jan 12, 2021 · 2 comments
Closed

PKEY path wrong #19

shirleyzhou94 opened this issue Jan 12, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@shirleyzhou94
Copy link

I was investigating an incident involves IB & PKEYs. In the collected data files, information in /$node/Infiniband/$device/pkey0 and pkey1 are missing:

No pkey found

I checked other files. IB drivers are installed correctly. so it's not likely that these 2 files are missing from the vm.

Then I checked the diagnostics.sh and figured that the file path might be wrong.

The correct path for pkey (in my case) is:

/sys/class/infiniband/mlx5_0/ports/1/pkeys/0

The script is looking for:

Line 254 if [ -f "$device/ports/pkeys/0" ]; then

@tlcyr4
Copy link
Contributor

tlcyr4 commented Jan 12, 2021

Looks like the problem here is that the tool doesn't account for the different filesystem structure on HC44, and that size isn't included in the testing pipeline. I'll get started fixing both of those issues.

@tlcyr4 tlcyr4 self-assigned this Jan 12, 2021
@tlcyr4 tlcyr4 added the bug Something isn't working label Jan 12, 2021
@tlcyr4 tlcyr4 closed this as completed Jan 14, 2021
@tlcyr4 tlcyr4 reopened this Jan 21, 2021
@tlcyr4
Copy link
Contributor

tlcyr4 commented Jan 21, 2021

Issue resurfaced on a custom image on an HC44. The pkey folder was found and there were pkey files in it, but the tool couldn't locate pkey 0 or pkey 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants