You are not logged in.

#1 2020-01-28 21:18:08

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

extramodules-ARCH ?

I have a kernel module that I used to install into /usr/lib/modules/extramodules-ARCH and load it by putting a .conf file in to /usr/lib/modules-load.d. Now modprobe can't find the module.

Is /usr/lib/modules/extramodules-ARCH gone? I could not find any release notes, or such, that would describe this change. Is there an alternate place where I can put such a kernel module without needing to recompile or change paths for each minor kernel update? (The main directory in /usr/lib/modules/xxx contains the minor kernel version).

Perhaps there is a search path for modules defined somewhere, and I can add an extra directory? But if so, I can't find it: 'man modprobe' says nothing on the subject.

Thanks,



Johannes.

Offline

#2 2020-01-28 21:37:50

progandy
Member
Registered: 2012-05-17
Posts: 5,195

Re: extramodules-ARCH ?

Since modules generally have to be compiled for each kernel version anyways, the path is now

/usr/lib/modules/%KERNVER%/extramodules

You could use pacman hooks to copy the module there if you want or use a hook to add a symlink to your own directory inside /usr/lib/modules/%KERNVER% and add it to the depmod configuration.

Edit: I'd suggest to just configure dkms and let it recompile.

Last edited by progandy (2020-01-28 21:42:04)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2020-01-28 22:02:35

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: extramodules-ARCH ?

CONFIG_MODVERSIONS which allowed modules with matching symbol versions to be used across kernel versions was dropped with https://git.archlinux.org/svntogit/pack … a9b7c34452
Without that functionality there was not much point to the cross version directory.

Offline

#4 2020-01-28 22:04:11

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

Re: extramodules-ARCH ?

Thank you!

Offline

Board footer

Powered by FluxBB