linux-aarch64 breaks external modules (like zfs)

This is for ARMv8 based devices

linux-aarch64 breaks external modules (like zfs)

Postby imrehg » Sun Oct 03, 2021 7:08 pm

The recent kernel config changes in core/linux-aarch64 to 5.14.8-1 (see https://archlinuxarm.org/packages/aarch64/linux-aarch64/log?id=f19887c18c3017c7af4f100aa755497d6ed2e5f1 ) specifically setting $this->bbcode_second_pass_code('', 'CONFIG_TRIM_UNUSED_KSYMS=y') breaks external modules like ZFS, which is then unable to be used (installed/run). Eg. getting such issues:

$this->bbcode_second_pass_code('', '
[...snip...]
(2/2) Install DKMS modules
==> dkms install --no-depmod -m zfs -v 2.1.1 -k 5.14.9-1-ARCH
configure: error:
*** This kernel has unused symbols trimming enabled, please disable.
*** Rebuild the kernel with CONFIG_TRIM_UNUSED_KSYMS=n set.
Error! Bad return status for module build on kernel: 5.14.9-1-ARCH (aarch64)
[...snip...]
')

Any particular reason why that kernel config change is done? And any possibility of reversing it? (given that the recommended value in the kernel help is N)?
imrehg
 
Posts: 10
Joined: Tue Apr 29, 2014 6:10 am

Re: linux-aarch64 breaks external modules (like zfs)

Postby graysky » Sun Oct 03, 2021 8:13 pm

graysky
Developer
 
Posts: 1870
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: linux-aarch64 breaks external modules (like zfs)

Postby imrehg » Sun Oct 03, 2021 8:19 pm

Thanks, the updated package just landed, and seems to be okay indeed, cheers!
imrehg
 
Posts: 10
Joined: Tue Apr 29, 2014 6:10 am


Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 6 guests