-
Notifications
You must be signed in to change notification settings - Fork 50
nvm-identify run error #30
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
Comments
Hi, You need to unbind the in-kernel NVMe driver, load the libnvm module and make sure that the device is bound to that.
Then the device file should show up as |
i think i have bind device to libnvm: |
Hi,
It appears to already be loaded, it doesn't need to be loaded again.
I'm not sure why this happens, but it could be that it is unable to memory map controller registers. Can you please post the output of |
|
It appears you have unbinded the drive while it was mounted. |
I just run:
|
and when i mount, with exception: |
Hi:
I have build libnvm with:
cmake .. -DNVIDIA=/usr/src/nvidia-440.33.01
make identify
then run nvm-identify binary as follows:
1) when unbind device :
echo "0000:19:00.0" > /sys/bus/pci/devices/0000:19:00.0/driver/unbind
then run cmd with: ./bin/nvm-identify --ctrl=/dev/nvme0n1
with error: Failed to open descriptor: No such file or directory
2) when bind device:
run cmd with: ./bin/nvm-identify --ctrl=/dev/nvme0n1
with error: [map_memory] Page mapping kernel request failed: Inappropriate ioctl for device
what need i to do to fix this problem?
The text was updated successfully, but these errors were encountered: