Bug 29784 - could not insert ib_core module breaking CIFS (from enabled CIFS_SMB_DIRECT)
Summary: could not insert ib_core module breaking CIFS (from enabled CIFS_SMB_DIRECT)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-19 09:23 CET by Curtis Hildebrand
Modified: 2022-01-18 18:17 CET (History)
0 users

See Also:
Source RPM: kernel-5.15.10-1.mga9.src.rpm
CVE:
Status comment:


Attachments
dmesg from 5.15.11-desktop-2.mga9 (115.31 KB, text/plain)
2021-12-27 09:46 CET, Curtis Hildebrand
Details

Description Curtis Hildebrand 2021-12-19 09:23:20 CET
Description of problem:

CIFS is broken for me because I'm unable to load the ib_core module.
The last working CIFS kernel for me is 5.15.7-1.mga9

changelog for 5.15.7-2.mga9 contains:
- enable CIFS_SMB_DIRECT

Kernel 5.15.7-2.mga9 and newer give this error:

$ sudo modprobe -v cifs
insmod /lib/modules/5.15.7-desktop-2.mga9/kernel/drivers/infiniband/core/ib_core.ko.xz 
modprobe: ERROR: could not insert 'cifs': Cannot allocate memory


Log entry:
Dec 18 23:24:34 mycomp kernel: Couldn't init compat dev. ret -12
Comment 1 Lewis Smith 2021-12-19 20:07:14 CET
Thank you for the report, which I am assigning to the kernel team.
They may well ask for the journal or dmesg output.

Assignee: bugsquad => kernel

Comment 2 Thomas Backlund 2021-12-26 14:14:49 CET
do you have ipv6 disabled ?
Comment 3 Curtis Hildebrand 2021-12-27 09:42:46 CET
No.  I have linklocal addresses on my lo and wired interfaces:


root@Parkes:~# uname -r
5.15.11-desktop-2.mga9

root@Parkes:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether b4:2e:99:3d:d4:cf brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.100/24 brd 192.168.1.255 scope global dynamic noprefixroute enp5s0
       valid_lft 86344sec preferred_lft 86344sec
    inet6 fe80::c4bd:b59f:f110:d44e/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: wlp4s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether c2:d3:50:e7:37:ec brd ff:ff:ff:ff:ff:ff permaddr dc:fb:48:02:e2:84

root@Parkes:~# modprobe -vv cifs
modprobe: INFO: custom logging function 0x40be40 registered
insmod /lib/modules/5.15.11-desktop-2.mga9/kernel/fs/smbfs_common/cifs_md4.ko.xz 
insmod /lib/modules/5.15.11-desktop-2.mga9/kernel/drivers/infiniband/core/ib_core.ko.xz 
modprobe: INFO: Failed to insert module '/lib/modules/5.15.11-desktop-2.mga9/kernel/drivers/infiniband/core/ib_core.ko.xz': Cannot allocate memory
modprobe: ERROR: could not insert 'cifs': Cannot allocate memory
modprobe: INFO: context 0xc9a5a0 released
Comment 4 Curtis Hildebrand 2021-12-27 09:46:20 CET
Created attachment 13067 [details]
dmesg from 5.15.11-desktop-2.mga9

dmesg from 5.15.11-desktop-2.mga9
Comment 5 Thomas Backlund 2021-12-29 18:51:24 CET
I've disabled CIFS_SMB_DIRECT on desktop kernels in 5.15.12-1 currently building until I have time to figure out where it fails...
Comment 6 Curtis Hildebrand 2022-01-03 02:13:48 CET
Thankyou!  I'll also continue to check as I'm able.
Comment 7 Thomas Backlund 2022-01-18 18:17:23 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2022-0021.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.