Bug 1341617

Summary: $CMDLINE_OPTS must come after the module name
Product: [Fedora] Fedora Reporter: Honggang LI <honli>
Component: rdmaAssignee: Honggang LI <honli>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: dledford, honli, jonstanley, mschmidt
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rdma-2.0-22.fc23 rdma-2.0-22.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-11 02:54:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Honggang LI 2016-06-01 11:21:28 UTC
Description of problem:

[root@goblin modprobe.d]# modprobe mlx4_core -v
install /sbin/modprobe --ignore-install $CMDLINE_OPTS mlx4_core && (if [ -f /usr/libexec/mlx4-setup.sh -a -f /etc/rdma/mlx4.conf ];
then /usr/libexec/mlx4-setup.sh < /etc/rdma/mlx4.conf; fi; /sbin/modprobe mlx4_en; /sbin/modprobe mlx4_ib) port_type_array="1,1"
num_vfs=4 probe_vf=0
modprobe: FATAL: Module port_type_array=1,1 not found in directory /lib/modules/4.4.9-300.fc23.x86_64
modprobe: ERROR: Error running install command for mlx4_core
modprobe: ERROR: could not insert 'mlx4_core': Operation not permitted
[root@goblin modprobe.d]#

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
We believe this is a fix:

In /usr/lib/modprobe.d/libmlx4.conf change line 5 from

install mlx4_core /sbin/modprobe --ignore-install $CMDLINE_OPTS mlx4_core && (if [ -f /usr/libexec/mlx4-setup.sh -a -f
/etc/rdma/mlx4.conf ]; then /usr/libexec/mlx4-setup.sh < /etc/rdma/mlx4.conf; fi; /sbin/modprobe mlx4_en; /sbin/modprobe mlx4_ib)

to

install mlx4_core /sbin/modprobe --ignore-install mlx4_core $CMDLINE_OPTS && (if [ -f /usr/libexec/mlx4-setup.sh -a -f
/etc/rdma/mlx4.conf ]; then /usr/libexec/mlx4-setup.sh < /etc/rdma/mlx4.conf; fi; /sbin/modprobe mlx4_en; /sbin/modprobe mlx4_ib)

[ this file belongs to: rdma-2.0-21.fc23.noarch ]

Comment 1 Fedora Update System 2016-06-01 11:25:30 UTC
rdma-2.0-22.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f5c8ff167b

Comment 2 Fedora Update System 2016-06-01 11:25:38 UTC
rdma-2.0-22.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-73032c1b46

Comment 3 Fedora Update System 2016-06-02 09:01:22 UTC
rdma-2.0-22.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-73032c1b46

Comment 4 Fedora Update System 2016-06-02 16:23:31 UTC
rdma-2.0-22.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f5c8ff167b

Comment 5 Fedora Update System 2016-06-11 02:54:07 UTC
rdma-2.0-22.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2016-06-18 18:51:38 UTC
rdma-2.0-22.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.