You are not logged in.

#1 2016-05-19 19:42:24

uhuu
Member
From: Estonia
Registered: 2010-11-22
Posts: 23

Zfs module not loaded with grsec enabled kernel

Installed linux-grsec from community repos and compiled zfs-git from Aur with dkms.
zfs packages compiled successfully and modules were created. Re ran mkinitcpio -p linux to make sure hooks were processed.
However during the boot zfs module was not loaded.

Journalctl revealed following lines:

 Started udev Wait for Complete Device Initialization.
mai   19 18:00:28 localhost systemd[1]: Starting Import ZFS pools by cache file...
mai   19 18:00:28 localhost modprobe[305]: modprobe: ERROR: could not insert 'zfs': Exec format error
mai   19 18:00:28 localhost kernel: zavl: module is not compatible with the KERNEXEC 'or' method and RAP
mai   19 18:00:28 localhost systemd[1]: zfs-import-cache.service: Control process exited, code=exited status=1
mai   19 18:00:28 localhost systemd[1]: Failed to start Import ZFS pools by cache file.
mai   19 18:00:28 localhost systemd[1]: zfs-import-cache.service: Unit entered failed state.
mai   19 18:00:28 localhost systemd[1]: zfs-import-cache.service: Failed with result 'exit-code'.
mai   19 18:00:28 localhost systemd[1]: Starting Mount ZFS filesystems...
mai   19 18:00:29 localhost zfs[308]: The ZFS modules are not loaded.
mai   19 18:00:29 localhost zfs[308]: Try running '/sbin/modprobe zfs' as root to load them.
mai   19 18:00:29 localhost systemd[1]: zfs-mount.service: Main process exited, code=exited, status=1/FAILURE
mai   19 18:00:29 localhost systemd[1]: Failed to start Mount ZFS filesystems.
mai   19 18:00:29 localhost systemd[1]: Dependency failed for ZFS startup target.
mai   19 18:00:29 localhost systemd[1]: zfs.target: Job zfs.target/start failed with result 'dependency'.
mai   19 18:00:29 localhost systemd[1]: Dependency failed for ZFS file system shares.
mai   19 18:00:29 localhost systemd[1]: zfs-share.service: Job zfs-share.service/start failed with result 'dependency'.
mai   19 18:00:29 localhost systemd[1]: zfs-mount.service: Unit entered failed state.
mai   19 18:00:29 localhost systemd[1]: zfs-mount.service: Failed with result 'exit-code'.
mai   19 18:00:29 localhost systemd[1]: Reached target Local File Systems.

Help please!


Windows is not a virus, virus does something...

Offline

#2 2016-05-19 19:57:55

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: Zfs module not loaded with grsec enabled kernel

Mod note: moving to AUR issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-05-20 07:22:39

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: Zfs module not loaded with grsec enabled kernel

uhuu wrote:

Installed linux-grsec from community repos and compiled zfs-git from Aur with dkms.
zfs packages compiled successfully and modules were created. Re ran mkinitcpio -p linux to make sure hooks were processed.
However during the boot zfs module was not loaded.

Journalctl revealed following lines:

...
mai   19 18:00:28 localhost modprobe[305]: modprobe: ERROR: could not insert 'zfs': Exec format error
mai   19 18:00:28 localhost kernel: zavl: module is not compatible with the KERNEXEC 'or' method and RAP
...

Help please!

There's your reason for the module load failure. Searching on the “zavl” message, DuckDuckGo gives https://github.com/zfsonlinux/zfs/issues/4649 as the first hit.

Offline

#4 2016-05-20 11:37:36

uhuu
Member
From: Estonia
Registered: 2010-11-22
Posts: 23

Re: Zfs module not loaded with grsec enabled kernel

Thank you ukhippo. It seems that no Grsecurity for me then sad


Windows is not a virus, virus does something...

Offline

Board footer

Powered by FluxBB