udev: typo in rdma_ucm rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) |
Bug Description
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=
as its name, so the udev rules need to use rdma_cm instead of rdma_ucm.
To be precise, in /etc/udev/
KERNEL=
should really be:
KERNEL=
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
Changed in udev: | |
importance: | Undecided → Medium |
status: | In Progress → Fix Committed |
At least in Ubuntu 7.10 server, there are more typo's in the Ubuntu udev rules than what is mentioned above. The following patch fixed the InfiniBand-related udev issues for me:
--- orig/20-names.rules 2008-02-21 08:59:12.000000000 +0100
+++ 20-names.rules 2008-02-21 09:01:49.000000000 +0100
@@ -19,10 +19,10 @@
# Infiniband devices ="umad[ 0-9]*", NAME="infiniban d/%k" ="issm[ 0-9]*, NAME="infiniban d/%k" ="uverbs[ 0-9]*, NAME="infiniban d/%k" ="ucm[0- 9]*, NAME="infiniban d/%k" ="rdma_ ucm", NAME="infiniban d/%k" ="issm[ 0-9]*", NAME="infiniban d/%k" ="uverbs[ 0-9]*", NAME="infiniban d/%k" ="ucm[0- 9]*", NAME="infiniban d/%k" d/%k"
KERNEL=
-KERNEL=
-KERNEL=
-KERNEL=
-KERNEL=
+KERNEL=
+KERNEL=
+KERNEL=
+KERNEL=="rdma_cm", NAME="infiniban
# Input devices, group under /dev/input ="event[ 0-9]*", NAME="input/%k"
KERNEL=