Skip to contentSkip to conversation

New: [userspace rdma package] after update kernel to upstream, rdma service start fail

Bug 121501 bugzilla-daemon-590EEB7GvNiWaY/[email protected] 2 participants 2 messages Jul 6, 2016 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=121501

Bug ID: 121501
Summary: [userspace rdma package] after update kernel to
upstream, rdma service start fail
Product: Drivers
Version: 2.5
Kernel Version: 4.7
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Infiniband/RDMA
Assignee: drivers_infiniband-rdma-ztI5WcYan/[email protected]
Reporter: yin-jianhong-9Onoh4P/[email protected]
Regression: No

OS:
RHEL-7.2

Problem:
After update kernel to upstream, start rdma fail: these modules (ib_mad
ib_sa ib_addr) not find.

Related patch:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/infiniband/core/Makefile?id=e3f20f02864f6da1509c523bfa1e928619e59095

Fail log:
'''
[root@hp-dl380pgen8-01 ~]# service rdma status
rdma.service - Initialize the iWARP/InfiniBand/RDMA stack in the kernel
Loaded: loaded (/usr/lib/systemd/system/rdma.service; disabled; vendor
preset: disabled)
Active: failed (Result: exit-code) since 二 2016-07-05 02:10:09 EDT; 6min ago
Docs: file:/etc/rdma/rdma.conf
Process: 13564 ExecStart=/usr/libexec/rdma-init-kernel (code=exited,
status=3)
Main PID: 13564 (code=exited, status=3)

7月 05 02:10:08 hp-dl380pgen8-01.khw.lab.eng.bos.redhat.com rdma-init-kernel[13564]: modprobe: FATAL: Module ib_mad not found. 7月 05 02:10:08 hp-dl380pgen8-01.khw.lab.eng.bos.redhat.com rdma-init-kernel[13564]: Failed to load module ib_mad
7月 05 02:10:08 hp-dl380pgen8-01.khw.lab.eng.bos.redhat.com rdma-init-kernel[13564]: modprobe: FATAL: Module ib_sa not found. 7月 05 02:10:08 hp-dl380pgen8-01.khw.lab.eng.bos.redhat.com rdma-init-kernel[13564]: Failed to load module ib_sa
7月 05 02:10:08 hp-dl380pgen8-01.khw.lab.eng.bos.redhat.com rdma-init-kernel[13564]: modprobe: FATAL: Module ib_addr not found. 7月 05 02:10:08 hp-dl380pgen8-01.khw.lab.eng.bos.redhat.com rdma-init-kernel[13564]: Failed to load module ib_addr

[root@hp-dl380pgen8-01 ~]# find /lib/modules/ -name ib_*.*
/lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/core/ib_addr.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/core/ib_cm.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/core/ib_core.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/core/ib_mad.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/core/ib_sa.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/core/ib_ucm.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/core/ib_umad.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/core/ib_uverbs.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/hw/ipath/ib_ipath.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/hw/mthca/ib_mthca.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/hw/qib/ib_qib.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/ulp/iser/ib_iser.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/ulp/isert/ib_isert.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/ulp/srp/ib_srp.ko /lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/infiniband/ulp/srpt/ib_srpt.ko /lib/modules/4.7.0-rc6/kernel/drivers/infiniband/core/ib_cm.ko /lib/modules/4.7.0-rc6/kernel/drivers/infiniband/core/ib_core.ko /lib/modules/4.7.0-rc6/kernel/drivers/infiniband/core/ib_ucm.ko /lib/modules/4.7.0-rc6/kernel/drivers/infiniband/core/ib_umad.ko /lib/modules/4.7.0-rc6/kernel/drivers/infiniband/core/ib_uverbs.ko /lib/modules/4.7.0-rc6/kernel/drivers/infiniband/hw/mthca/ib_mthca.ko /lib/modules/4.7.0-rc6/kernel/drivers/infiniband/hw/qib/ib_qib.ko /lib/modules/4.7.0-rc6/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko /lib/modules/4.7.0-rc6/kernel/drivers/infiniband/ulp/iser/ib_iser.ko /lib/modules/4.7.0-rc6/kernel/drivers/infiniband/ulp/isert/ib_isert.ko /lib/modules/4.7.0-rc6/kernel/drivers/infiniband/ulp/srp/ib_srp.ko /lib/modules/4.7.0-rc6/kernel/drivers/infiniband/ulp/srpt/ib_srpt.ko '''

Signature · 5 lines
You are receiving this mail because:
You are watching the assignee of the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to a message not in the archive
Quoted 10 lines · On Wed, Jul 06, 2016 at 02:37:08AM +0000…

[root@hp-dl380pgen8-01 ~]# service rdma status
rdma.service - Initialize the iWARP/InfiniBand/RDMA stack in the kernel
Loaded: loaded (/usr/lib/systemd/system/rdma.service; disabled; vendor
preset: disabled)
Active: failed (Result: exit-code) since ??? 2016-07-05 02:10:09 EDT; 6min ago
Docs: file:/etc/rdma/rdma.conf
Process: 13564 ExecStart=/usr/libexec/rdma-init-kernel (code=exited,
status=3)
Main PID: 13564 (code=exited, status=3)

Quoted 12 lines

7??? 05 02:10:08 hp-dl380pgen8-01.khw.lab.eng.bos.redhat.com rdma-init-kernel[13564]: modprobe: FATAL: Module ib_mad not found. 7??? 05 02:10:08 hp-dl380pgen8-01.khw.lab.eng.bos.redhat.com rdma-init-kernel[13564]: Failed to load module ib_mad 7??? 05 02:10:08 hp-dl380pgen8-01.khw.lab.eng.bos.redhat.com rdma-init-kernel[13564]: modprobe: FATAL: Module ib_sa not found. 7??? 05 02:10:08 hp-dl380pgen8-01.khw.lab.eng.bos.redhat.com rdma-init-kernel[13564]: Failed to load module ib_sa 7??? 05 02:10:08 hp-dl380pgen8-01.khw.lab.eng.bos.redhat.com rdma-init-kernel[13564]: modprobe: FATAL: Module ib_addr not found. 7??? 05 02:10:08 hp-dl380pgen8-01.khw.lab.eng.bos.redhat.com rdma-init-kernel[13564]: Failed to load module ib_addr

These modules have been replaced with ib_core in upstream.

There is no reason to load these modules directly as they are all brought in as dependencies from other useful modules, just remove loading them from /usr/libexec/rdma-init-kernel and ignore failures on removal.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html