Mailinglist Archive: opensuse-buildservice (153 mails)

< Previous Next >
[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-----
< Previous Next >
Follow Ups