[ofa-general] ibv_reg_mr permissions?

Guy German guyg at voltaire.com
Tue Mar 6 01:16:14 PST 2007


> I am running kernel 2.6.19.2, and I'm in the RDMA group, and can open
> /dev/infiniband/uverbs0 as a user, but can't register memory as a user.

try increasing your "max locked memory" limitation.
you can try setting as root "ulimit -l unlimited" and switch user.
if it works for you - set in /etc/security/limits.conf the needed limitations for your user

e.g.:
user hard memlock 16384 
user soft memlock 16384 

Guy



More information about the general mailing list