Questions tagged [kernel-modules]
Use this tag for questions about loading, configuring, or compiling them. See also /drivers for questions about which modules to use for specific hardware. A kernel module is a bit of code that can be added into the kernel by the administrator while the system is running, typically providing one feature such as a filesystem.
1,237 questions
2
votes
1
answer
48
views
kernel panic after suspend starting from kernel 6.16
I've a problem with kernel versions starting from version 6.16. it was working in kernel 6.15.
In kernel 6.15, when I put my laptop to sleep and resume from it, the Wi-Fi does not resume. So I am no ...
3
votes
1
answer
120
views
Removable media mounting strategies
I'm working my way through understanding more about unix/linux and how the various tools/packages/options interact with one another (for example, the role of systemd, or how fstab works). I'm also ...
1
vote
1
answer
65
views
Direct Input USB Driver for Linux?
I am trying to read a DirectInput Device under Linux.
lsusb:
Bus 003 Device 006: ID 046d:c219 Logitech, Inc. F710 Gamepad [DirectInput Mode]
sudo dmesg:
[13919.233231] usb 3-2.2: new full-speed USB ...
2
votes
0
answers
55
views
Arch Linux dual boot: mount error and boot failure following upgrade
I was properly installing Arch and doing dual boot.
The error happened not only once, possibly because some kernel module needs to be loaded first before the system can mount the NTFS file system? Is ...
2
votes
2
answers
1k
views
Why and how were KVM modules unexpectedly enabled in Ubuntu 24.04?
System: Ubuntu MATE 24.04.2
I tried to start a virtual machine under VirtualBox and received the following error:
VirtualBox can't enable the AMD-V extension. Please disable the KVM kernel extension, ...
0
votes
0
answers
53
views
Blackmagic Module Patches for Fedora do not work on Arch Linux
I am trying to get my Blackmagic Quad HDMI Recorder working on Arch Linux. Since rebooting after the first installation, the device was never recognized by Blackmagic Software on Arch, while it ...
4
votes
2
answers
823
views
Compiling stand-alone function binaries from the Linux kernel
How can I take snippets from the Linux kernel drivers' code, for example this drm_fb_helper_hotplug_event function inside drivers/gpu/drm/drm_fb_helper.c, and compile a binary file that I can run to ...
0
votes
0
answers
89
views
How to Revert to Kernel 6.1.63 and Compile xtrx-dkms on Raspberry Pi 4 (Bookworm) After apt upgrade?
I am a cybersecurity student with what is seeming like at this point some lofty goals. I’m building an RF detector/locator on a Raspberry Pi 4 (8GB) with a SanDisk 32GB microSD card running Raspberry ...
0
votes
0
answers
64
views
Do linux kernel threads run in process context?
I'm aware of Linux softirqs may run within specific per-cpu kernel thread context -- ksoftirqd/[cpu_id].
Kernel threads are similar to user-space threads, however they only execute kernel code in ...
2
votes
1
answer
181
views
Try netconsole in single machine, but not working
Some basic info of my machine:
# uname -a
Linux iZ2zeirtviyt9b8s96ery2Z 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
# ip addr
1: lo: &...
0
votes
1
answer
76
views
Is there any advantage to changing process priorities using a kernel module instead of nice / chrt?
I'm working on a project where I want to study the impact of process priority on system behavior.
I know that tools like nice, renice, and chrt can change the priority or scheduling policy (e.g., ...
0
votes
1
answer
49
views
USB mouse stopped working after plugging into a USB-C dock
So i bought an usb-c dock (jeswo), i plugged my usb mouse into that and it worked fine.
I unplugged the dock, plugged into my steamdeck, played (worked fine) and then plugged back, my laptop did not ...
1
vote
0
answers
53
views
Building extra in-tree module that aren't configured by default?
I want to use the drivers/usb/host/xen-hcd.ko kernel module for USB support under Xen. This is controlled by the CONFIG_USB_XEN_HCD kernel configuration. I am using Debian, and it sets the ...
0
votes
1
answer
59
views
Failed to register hook to tracepoint of signal_generate in Linux?
I am testing FTRACE in Linux VM (ubuntu 24.04) the kernel is Linux VirtualBox 6.11.0-26-generic.
I wrote a kernel module to register a hook (probe) to kernel tracepoint of signal_generate, here is the ...
0
votes
1
answer
927
views
Qualcomm WIFI kernel drive ath12k_pci failing to load
My wifi disappeared and it isn't showing up on my PC
Card
0b:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
...