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,239 questions
0
votes
0
answers
12
views
Launching I2C communication from within ISR
I have an external I2C device that signals when data is ready using a pin.
I want my Linux SBC to trigger I2C transfer routine after GPIO interrupt triggers. How would this be done within kernel space?...
0
votes
1
answer
43
views
diagnose effect of USB device plugged in during startup
I have a PS/2 adaptor with a retro mouse and keyboard connected and Debian 12 is doing something different when it is booted up with or without that plugged into a USB port.
Either way, the keyboard ...
1
vote
1
answer
38
views
Alpine linux failed kernel upgrade and unresponsive keyboard in recovery shell
I tried to upgrade my alpine linux kernel version from linux-lts to linux-stable because support for a device I am installing was added in a newer kernel version.
I changed the apk repositories from ...
2
votes
1
answer
82
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
157
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
80
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
80
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
3
answers
2k
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
63
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
872
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
101
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
73
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
196
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
90
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 ...