Permissions on infiniband devices given by udev rules not correctly set?

Asked by haraldkl

In order to get our Mellanox Infiniband devices on Ubuntu 10.10 (amd64) to actually work we needed to add the following to the udev rules:

KERNEL=="umad*", NAME="infiniband/%k", MODE="0666"
KERNEL=="issm*", NAME="infiniband/%k", MODE="0666"
KERNEL=="ucm*", NAME="infiniband/%k", MODE="0666"
KERNEL=="uverbs*", NAME="infiniband/%k", MODE="0666"

Are these missing from the installation scripts of the packages?

Thanks a lot.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
Roland Dreier
Solved:
Last query:
Last reply:
Revision history for this message
Best Roland Dreier (roland.dreier) said :
#1

The umad* and issm* rules are wrong, since those devices are not intended to be used by unprivileged users.

The uverbs* rule should be in the Ubuntu udev package -- it used to be and somehow got lost. You should open a bug on udev about that one.

I can't remember the status of the ucm* rules, but I think those should be in the udev package too.

Revision history for this message
Roland Dreier (roland.dreier) said :
#2

Actually I just remembered that #659258 is the already-existing bug report for this problem. Not sure why no one has paid any attention to a trivial "missing rules file" bug.

Revision history for this message
haraldkl (hk) said :
#3

Thanks a lot, for the quick response!
I somehow didn't manage to find the bug, when looking for this issue.

Revision history for this message
haraldkl (hk) said :
#4

Thanks Roland Dreier, that solved my question.