Closed tanghaodong25 closed 6 years ago
@lplewa is it possible to do more debug work with this "Unknown error -95"?
I have found two issues:
ibv_reg_mr
returns -EOPNOTSUPP
for memory mapped from file created on regular fs (not device DAX, no fs with -odax). Issue does not occur on kernel 4.15.0-22 so this is the quick WA.The issue was fixed, thank you all.
Hi,
We're testing librpmem with the 'pmdk/src/examples/librpmem/basic', hit error when creating pmem pool.
Testing Environment
Hardware
Software
Error log
rpmemd.log
registering memory: Unknown error -95
system log
[82047.691004] ib_umem_get: failed to get user pages, nr_pages=512, flags=1 [82047.691057] mlx5_1:mr_umem_get:766:(pid 63518): umem get failed (-95)
We digged into the code, found the error related to line 329 (pmdk/src/tools/rpmemd/rpmemd_fip.c). Can't register memory with PMEM.