-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
nvme show-regs fails on Raspbian Bookworm. #31
Comments
I did a little digging, and this (and #29 and #32) appear to be caused by a couple things. 1. The version of nvme-cli shipping with Raspberry Pi OS Bookworm has a bugOn bullseye, calling nvme cli with an invalid device displays a sensible error message:
However, on bookworm, the same command results in erroneous output:
Something in this unexpected output is causing the "ignored null byte in input" error that is causing this command to fail. This appears to be fixed in later versions of nvme-cli, as the version on Debian sid gives more sensible output when run on an unsupported device:
2.
|
Thanks for reporting this. I've just made a change to the script that should hopefully catch these null bytes. Can you try running it again the normal way on the same device and make sure that the submission still happens? |
I can confirm the fix works for me. |
FWIW, I haven't checked what your scripts are doing, but I guess you are interested in some info of the device. In this case you can use nvme list -o json | jq .Devices[].DevicePath -r |
A warning is thrown from line when the script is run on a Raspberry Pi upgraded to Bookworm:
bash: line 398: warning: command substitution: ignored null byte in input
This then causes a failure to submit the benchmarked results.
The text was updated successfully, but these errors were encountered: