You are not logged in.

#1 2023-01-10 05:19:38

hully
Member
Registered: 2022-11-14
Posts: 164

Kernel module doesn't get update following a kernel update?

I need v4l2loopback-dkms-git from the AUR.

It used to work but now:

❯ sudo modprobe v4l2loopback
modprobe: FATAL: Module v4l2loopback not found in directory /lib/modules/6.1.4-arch1-1

Is it possible that it didn't get re-installed following a kernel update?

How can I make it reinstall automatically on kernel updates?

I vaguely remember something about pacman hooks or something.

Offline

#2 2023-01-10 07:40:07

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Kernel module doesn't get update following a kernel update?

You have *headers installed for you current running kernel, right?

hully wrote:

Is it possible that it didn't get re-installed following a kernel update?

From my understandings:
- DKMS modules always get re-installed automatically. Maybe it could fail, but the installation step is always executed (let's see if I understood correctly or not tongue)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2023-01-10 09:50:38

hully
Member
Registered: 2022-11-14
Posts: 164

Re: Kernel module doesn't get update following a kernel update?

You have *headers installed for you current running kernel, right?

Yes I do.

❯ sudo yay -Q | grep linux-headers
linux-headers 6.1.4.arch1-1

Offline

#4 2023-01-10 13:40:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,398

Re: Kernel module doesn't get update following a kernel update?

uname -a
pacman -Qs linux
dkms status

Online

#5 2023-01-11 04:38:36

hully
Member
Registered: 2022-11-14
Posts: 164

Re: Kernel module doesn't get update following a kernel update?

Hi seth,

here is what you asked:

❯ uname -a
Linux [HOSTNAME] 6.1.4-arch1-1 #1 SMP PREEMPT_DYNAMIC [TIMESTAMP] x86_64 GNU/Linux

❯ pacman -Qs linux
local/alsa-lib 1.2.8-1
    An alternative implementation of Linux sound support
local/archlinux-keyring 20221220-1 (base-devel)
    Arch Linux PGP keyring
local/avahi 0.8+22+gfd482a7-3
    Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
local/base 3-1
    Minimal package set to define a basic Arch Linux installation
local/brltty 6.5-3
    Braille display driver for Linux/Unix
local/efibootmgr 18-1
    Linux user-space application to modify the EFI Boot Manager
local/ell 0.55-1
    Embedded Linux library
local/filesystem 2022.10.18-1
    Base Arch Linux files
local/iptables 1:1.8.8-2
    Linux kernel packet control tool (using legacy interface)
local/keyutils 1.6.3-1
    Linux Key Management Utilities
local/kmod 30-3
    Linux kernel module management tools and library
local/libaio 0.3.113-1
    The Linux-native asynchronous I/O facility (aio) library
local/libcamera 0.0.3-3
    A complex camera support library for Linux, Android, and ChromeOS
local/libcap-ng 0.8.3-1
    A library for Linux that makes using posix capabilities easy
local/libiec61883 1.2.0-7
    A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394
local/libimobiledevice 1.3.0-5
    Library that talks the protocols to support iPhone and iPod Touch devices on Linux
local/libraw1394 2.1.2-3
    Provides an API to the Linux IEEE1394 (FireWire) driver
local/libva 2.17.0-1
    Video Acceleration (VA) API for Linux
local/libxshmfence 1.3.2-1
    a library that exposes a event API on top of Linux futexes
local/linux 6.1.4.arch1-1
    The Linux kernel and modules
local/linux-api-headers 5.18.15-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20221214.f3c283e-1
    Firmware files for Linux
local/linux-firmware-whence 20221214.f3c283e-1
    Firmware files for Linux - contains the WHENCE license file which documents the vendor license details
local/linux-headers 6.1.4.arch1-1
    Headers and scripts for building modules for the Linux kernel
local/lirc 1:0.10.2-2
    Linux Infrared Remote Control utilities
local/man-pages 6.02-1
    Linux man pages
local/mdadm 4.2-2
    A tool for managing/monitoring Linux md device arrays, also known as Software RAID
local/mplayer 38407-1
    Media player for Linux
local/ndctl 74-1
    Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
local/net-tools 2.10-1
    Configuration tools for Linux networking
local/pacman-mirrorlist 20221204-1
    Arch Linux mirror list for use by pacman
local/python-distro 1.8.0-2
    Linux OS platform information API
local/torbrowser-launcher 0.3.6-1
    Securely and easily download, verify, install, and launch Tor Browser in Linux
local/util-linux 2.38.1-1
    Miscellaneous system utilities for Linux
local/util-linux-libs 2.38.1-1
    util-linux runtime libraries
local/v4l-utils 1.22.1-1
    Userspace tools and conversion library for Video 4 Linux

❯ dkms status
nvidia/525.78.01: added
v4l2loopback/0.12.7.r290.g8902b3f, 6.1.4-arch1-1, x86_64: installed

Offline

#6 2023-01-11 07:56:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,398

Re: Kernel module doesn't get update following a kernel update?

Linux [HOSTNAME] 6.1.4-arch1-1 #1 SMP PREEMPT_DYNAMIC [TIMESTAMP] x86_64 GNU/Linux
local/linux 6.1.4.arch1-1
local/linux-headers 6.1.4.arch1-1
v4l2loopback/0.12.7.r290.g8902b3f, 6.1.4-arch1-1, x86_64: installed

These all align, try "sudo depmod -a", it the module still can't be found,

find /lib/modules -iname '*v4l2*ko*'

Online

#7 2023-01-15 10:41:48

hully
Member
Registered: 2022-11-14
Posts: 164

Re: Kernel module doesn't get update following a kernel update?

It works now. Thanks!

Offline

#8 2023-01-15 12:39:38

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Kernel module doesn't get update following a kernel update?

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

Board footer

Powered by FluxBB