[opensuse-buildservice] External kernel modules SLES 12
-----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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJUYjk6AAoJEHOAkeR8FKk+w9IH/i1aNOAlSvd/IQ4DxLmfegth ndZn7L8xpZpCSlOVI2IBaRgbC4tOHAh02R68RM2WjAWiqfsWeGp29O1UeH4uLpDG H6s5BPYSbmZWwa/1KMPWxndakMWR2WCdtUq8RpvWganYOAtttyBo1vw9U2+DBESK 7L7FvaA49j6SKy4Wfpm8eiH682Pey4cP0zb8cuDZ5IhAFKJZM6b6kTv1ygeiOqgo RhhppG9BiX6Xm6ImZUch+Bae9BcibXpzK2/hO6mQOaGop4BJ6JXYF1t23RvznEXG 645ws04OWltN8U/Wpgzj+x6jobILjcg5TWL4LkXdD29tC4r+S30gX59m+G3pP3I= =qK2a -----END PGP SIGNATURE-----
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/ -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 11 Nov 2014 17:32:39 +0100
Adrian Schröter
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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJUY2rSAAoJEHOAkeR8FKk+oEsH/3LdZXxIVjmuM3ooWtiDtjud SJ1Rko+JAj3pIultENMckCiOkZna3hFSdlnWsn6WxfGotpRkVM8xHZNPtCFfPy7v WR7X/BTcbTxC627B5olyqazm3FkoehkJlIw5p90Go0LeTR6tCCE3mDCiDQ80E44g QE+c4Xm1K57VsTr+T5MgG8HYU6+PUjj6c8RUavRW5lEJ3R12otEHwfIMaXuKyXRg k6lxzaBVPQoSEUTwIXlkzWgATWeGR61YPnUGfTaLGCW4i2XoEB7xq0aycYnegAo7 wOU7jjrIwO2W+M1n/X+K7t0H2x7Xcdw3Q26qlvN6xvavZ8XjlF6lhYNazy0n1JA= =lZc3 -----END PGP SIGNATURE-----
participants (2)
-
Adrian Schröter
-
Christof Hanke