-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello all,
I have a strange problem with loading a kernel-module (openafs) built on OBS (package filesystems/openafs16).
The module builds fine and is apparently signed :
dummy0:~ # modinfo /lib/modules/3.12.28-4-default/updates/libafs.ko filename: /lib/modules/3.12.28-4-default/updates/libafs.ko license: http://www.openafs.org/dl/license10.html srcversion: 40263E5014D985AEA7C9C32 depends: vermagic: 3.12.28-4-default SMP mod_unload modversions signer: SUSE Linux Enterprise Secure Boot Signkey sig_key: 3F:B0:77:B6:CE:BC:6F:F2:52:2E:1C:14:8C:57:C7:77:C7:88:E3:E7 sig_hashalgo: sha256
insmod however fails with ERANGE : dummy0:~ # insmod /lib/modules/3.12.28-4-default/updates/libafs.ko insmod: ERROR: could not insert module /lib/modules/3.12.28-4-default/updates/libafs.ko: Numerical result out of range
Unfortunately, ERANGE is not mentioned as a possible errno in the man-page, neither can I find something useful on google.
However, I provide also the kernel-module source as an rpm for people to build the module against custom kernels. This one also builds fine, but it is unsigned : dummy0:~ # modinfo /usr/src/kernel-modules/openafs/libafs_tree/src/libafs/MODLOAD-3.12.28-4-default-MP/libafs.ko filename: /usr/src/kernel-modules/openafs/libafs_tree/src/libafs/MODLOAD-3.12.28-4-default-MP/libafs.ko license: http://www.openafs.org/dl/license10.html srcversion: 40263E5014D985AEA7C9C32 depends: vermagic: 3.12.28-4-default SMP mod_unload modversions
and insmod works : dummy0:~ # insmod /usr/src/kernel-modules/openafs/libafs_tree/src/libafs/MODLOAD-3.12.28-4-default-MP/libafs.ko dummy0:~ # lsmod | grep afs libafs 844736 0
(Actually, the whole openafs-client works).
The only difference I see is the signature of the module.
Is this a bug in OBS or in SLES 12 ? Whom should I contact about this ?
Many thanks,
Christof
On Dienstag, 11. November 2014, 17:28:42 wrote Christof Hanke: ...
insmod however fails with ERANGE : dummy0:~ # insmod /lib/modules/3.12.28-4-default/updates/libafs.ko insmod: ERROR: could not insert module /lib/modules/3.12.28-4-default/updates/libafs.ko: Numerical result out of range
Unfortunately, ERANGE is not mentioned as a possible errno in the man-page, neither can I find something useful on google.
I do not see how this is OBS related atm ...
...
Is this a bug in OBS or in SLES 12 ? Whom should I contact about this ?
Best is to contact the kernel mailing list, I think:
http://lists.opensuse.org/opensuse-kernel/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 11 Nov 2014 17:32:39 +0100 Adrian Schröter adrian@suse.de wrote:
On Dienstag, 11. November 2014, 17:28:42 wrote Christof Hanke: ...
insmod however fails with ERANGE : dummy0:~ # insmod /lib/modules/3.12.28-4-default/updates/libafs.ko insmod: ERROR: could not insert module /lib/modules/3.12.28-4-default/updates/libafs.ko: Numerical result out of range
Unfortunately, ERANGE is not mentioned as a possible errno in the man-page, neither can I find something useful on google.
I do not see how this is OBS related atm ...
I got the right hint on the kernel-list, but maybe it is OBS related:
in the buildlog it said :
warning: No buildservice project certificate found, add warning: # needssslcertforbuild to the specfile warning: Using /usr/lib/rpm/pesign/pesign-cert.x509 as fallback
After adding "# needssslcertforbuild to the specfile" everything works fine.
So, maybe if one compiles kmp packages this should be an error instead of a warning only ? I usually don't read the build-log that carefully if the build succeeds.
T/Christof
buildservice@lists.opensuse.org