Bug 1214221

Summary: Warning about "unsupported" module 'spl' when trying to load zfs
Product: [openSUSE] openSUSE Distribution Reporter: Dominik Heidler <dheidler>
Component: KernelAssignee: openSUSE Kernel Bugs <kernel-bugs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jengelh, tiwai
Version: Leap 15.5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dominik Heidler 2023-08-13 12:01:10 UTC
I'm not sure if this is supposed to show on leap and not only on sle.

# modprobe zfs
modprobe: ERROR: module 'spl' is unsupported
modprobe: ERROR: Use --allow-unsupported or set allow_unsupported_modules 1 in
modprobe: ERROR: /etc/modprobe.d/10-unsupported-modules.conf
modprobe: ERROR: could not insert 'zfs': Operation not permitted


This appeared on Leap 15.5 after an update.

zfs is installed via filesystems obs repo.
Comment 1 Takashi Iwai 2023-08-13 16:33:46 UTC
Check whether you installed kernel-default-extra and the package contains /lib/modprobe.d/20-kernel-default-extra.conf.  That should relax the restriction.

At least, it's present in kernel-default-extra-5.14.21-150500.55.12.1 on my machine.
Comment 2 Dominik Heidler 2023-08-13 16:40:29 UTC
Ah - that was not the case.
I now installed it and it seems to set the same "allow_unsupported_modules 1" that the message suggested.

Do you think, it might make sense to recommend kernel-default-extra in the zfs package?
Comment 3 Takashi Iwai 2023-08-14 06:19:00 UTC
Or rather include the own modprobe.d conf file setting the same flag in the package?