-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
>> dkms install u2mfn/3.1.8 -k 4.4.8-300.grsec.fc23.x86_64
>
>> that command is successful, but when I boot the kernel I get the
>> following error when I try to load the u2mfn Qubes OS module:
>
>> modprobe: ERROR: could not insert 'u2mfn': Exec format error
>> version magic '4.4.8-300.grsec.fc23.x86_64 SMP mod_unload
>> modversions REFCOUNT GRSEC ' should be
>> '4.4.8-300.grsec.fc23.x86_64 SMP mod_unload modversions REFCOUNT
>> STACKLEAK_PLUGIN GRSEC RANDSTRUCT_PLUGIN_AABBCC12345....
>
>
>> I'm not sure why there is a mismatch in the modversions?
>
> No idea either... Are you sure you're building u2mfn using the
> right headers? I guess it looks for them in /lib/modules/`uname
> -r`/build.
Yes I removed all other kernel packages (just to be sure) and only my
custom kernel headers are installed:
rpm -qa|grep kernel-
kernel-tools-libs-4.4.8-300.fc23.x86_64
kernel-core-4.4.8-300.grsec.fc23.x86_64
kernel-modules-4.4.8-300.grsec.fc23.x86_64
kernel-modules-extra-4.4.8-300.grsec.fc23.x86_64
kernel-headers-4.4.8-300.grsec.fc23.x86_64
kernel-devel-4.4.8-300.grsec.fc23.x86_64
qubes-kernel-vm-support-3.1.8-1.fc23.x86_64
ls -1 /lib/modules
4.1.13-9.pvops.qubes.x86_64
4.4.8-300.grsec.fc23.x86_64
/lib/modules/4.4.8-300.grsec.fc23.x86_64/build
is a link to
/usr/src/kernels/4.4.8-300.grsec.fc23.x86_64
I was also wondering if I need the patch that is used as a source file
in the SPEC file (kbuild-AFTER_LINK.patch), but if I use it the kernel
does not boot anymore.
What else could I check?
thanks!
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJXJ9InAAoJENGIB/ssoMC2mR4P/0aSvHttwhGPz+XaNZEcNrPO
Ge0OlKf/BmWtM6HeHCOTN3+CsBl99rTA2DXw4rpAVxbPzj+dF0HqRkhlzb9pi90U
nWwI9Zn7qT010hX+2BEF3l4yfcDi/8eRQhns0CFLwMqiy2wBOCipf1Jf59WK0T4O
Sa+ohPBCjkCPsBMaSvJ80454tOxBUVga4KkVXSv1tbLu8VTKIMtV0aB9ZKw4a4Hq
8Gsq7FpxC4YLCtwByG5w+n8aOiQ7pOBFBvRKajXk1rr57eAsd3sfKI9X6pkOCn2V
b4h+4UmDDhC5liNQHcKem5Sll8F7QhcpnaRGeQqEwYY2mUlOGU3hAUhy2aT6hEpW
IZeZRcVdDWRx99+uSwJ4NHYMR4uspdeYcNCf7J1KJ1u1yj0huLB+rNClr+puJtXc
JVWqimSjnA9lXgHOqRQH1HVn+bvltwDMW1glu0BX6IXKBbJiqSBHS1iWcPo5Z8LL
6yJuTNzOQ4i+ndcxEF1qG+P4+NQ2bJ9Pwd9UZlz86nQ/Cu+lfu98p35hK4LXKXIz
qF3QpriE84o0rQmgITxg34e2yv3mw/q7z9bUwW6oyuIRUUd9klyoaBcZGvCLbpmx
xU/H2X+MzYJSNw8vExMxpyW2f7QOs03tv66E0A0tIPFreU36zR6697yfs7JZGgCD
eKasb5kExUpI826lHVgh
=L7mh
-----END PGP SIGNATURE-----