Public bug reported:

Unfortunately the rules that I included in the report for bug #124990 that 
added handling
of the rdma_ucm module's misc device had a typo.  Although the module name is
rdma_ucm, the device that is created has

   KERNEL=="rdma_cm"

as its name, so the udev rules need to use rdma_cm instead of rdma_ucm.

To be precise, in /etc/udev/rules.d/20-names.rules, the line

   KERNEL=="rdma_ucm",                  NAME="infiniband/%k"

should really be:

   KERNEL=="rdma_cm",                   NAME="infiniband/%k"

You can test this by doing "modprobe rdma_ucm" and looking at where the 
"rdma_cm"
node shows up (you don't need any RDMA hardware to do this--it will work on any
system).  With the current rules, you will get /dev/rdma_cm instead of the 
intended
/dev/infiniband/rdma_cm, and so libraries that look in the standard place will 
not work.

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: New

-- 
udev: typo in rdma_ucm rules
https://bugs.launchpad.net/bugs/192552
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to