Quantcast
Channel: Active questions tagged kernel-modules - Unix & Linux Stack Exchange
Browsing all 1181 articles
Browse latest View live
↧

How do I change the value of module.sig_enforce the Fedora kernel uses?

I am running a Fedora kernel ver: 4.15.3-300.fc27.i686). I am trying to load a custom device driver. When I try to use the device (via an open() call in a C program) the call errors out with errno...

View Article


Prevent binding an iGPU to the host OS to use it later as PCI passthrough to...

I have an AMD iGPU (integrated in an AMD Ryzen 9 9950x CPU) that I want to use as the video output for a Windows VM in proxmox (I have no other GPU installed). I discovered that it doesn't have the...

View Article


Insmod causes key rejected by service

I am running AlmaLinux 9 (RedHat 9 clone) and have compiled a new kernel module. I am running in a VM with UEFI and secure boot enabled. When I insert the module I get the following error:insmod:...

View Article

PCI passthrough: vfio-pci ignores ids of devices

I have 3 GPUs in my dual XEON server.I followed instructions on Arch wiki and set up vfio-pci with ids=10de:100c,10de:0e1a:$ modprobe -c | grep vfiooptions vfio_iommu_type1...

View Article

does `make localmodconfig` take built-in drivers in to account

I am trying to build a minimal kernel for my VM for learning purposes. I found the option make localyesconfig for the linux kernel, which, according to the docs only enables the modules from the output...

View Article


load driver with insmod get :disagrees about version of symbol module_layout

I compiled simple drive for Linux kernel for ARM system:$ uname -aLinux CR5 4.4.171-cr5 #2 Tue Mar 10 11:49:00 CET 2020 armv7l GNU/LinuxTo compile i used the config file from the up ruining system...

View Article

Which rtl8821ae driver Linux Mint uses and how to apply it to any other distro?

I have a rtl8821ae-based 5GHz WiFi card on my desktop PC (It is pci-e TP-Link Archer T4E)I would like to install and use Linux to this desktop. I try different popular distros (Ubuntu, Fedora, Manjaro...

View Article

Roughly how camera sensor drivers work

I am trying to write a MIPI CSI-2 camera sensor driver for an embedded Linux image. Of course, there are tons of driver source codes on the Github etc. but I am having a hard time understanding how...

View Article


How to make Realtek nic use r8168 driver

I've been trying (unsuccessfully) for the last few days to make my Realtek ethernet card to work. I have no problems with my wireless connection: only the ethernet connection doesn't work.I have Ubuntu...

View Article


(Buildroot) How to load modules automatically

I'd like to load some additional modules at boot.This works fine from the command line:modprobe -a i2c-devmodprobe -a snd-soc-pcm512xmodprobe -a snd-soc-wm8804But I want this done at boot. I've tried...

View Article

What's the difference of `/etc/modules-load.d` and `/etc/modules`?

I red the introduction of them and found that, they both deal with module loading during boot time.So, what's the difference of these two different configuation ways?

View Article

How do I Make a Kernel Module for GPIO and access it for use in User Space?

The manufacturing of the kernel modules in question are for peripherals like SPI, UART, GPIO, PWM, I2C, and/or other specific peripherals.I have gotten to write some very basic kernel modules.I write...

View Article

'Operation not permitted' when using modprobe/insmod

I'm trying to install a driver module for a dedicated PCIe board. I'm using the same OS and kernel versions stated in the datasheet but am getting the Operation not permitted error when adding the...

View Article


Image may be NSFW.
Clik here to view.

Failed loading second kernel

I have cloned the kernel and switched to version v6.11 (mine is 6.11.0-14) which I have builded and run the /sbin/installkernel script (which ubuntu provides) and everything was fine but the when I...

View Article

TPM2 in qemu running aarch64 alpine linux

I want to run an Alpine Linux VM and want to connect the host's TPM to the VM. The host is x86_64 based. The command for qemu isqemu-system-aarch64 \ -m 1024 -cpu cortex-a57 -M virt \ -bios...

View Article


iwlwifi: Failed to start INIT ucode: -110 in Arch Linux kernel version 5.5.3

I'm new to Arch Linux. I installed it on my laptop(LG Gram)it seem fine post installation. I don't remember my wlan works post installation because I used wired. But, when I turned on my laptop today...

View Article

Does a .h file for external kernel modules need compilation in another,...

I have an external kernel module and a Makefile. I was using Kbuild but decided to go with a straight Makefile and make. I have my headers installed, build-essential and kmod installed, and I am coming...

View Article


Automatic module signing for distribution in Linux

I'm new to writing Linux modules (drivers) and digital signatures, so please correct me if any of my understanding is incorrect.When I run make modules_install on my module, I get the following error...

View Article

ksmbd on Ubuntu 22.04

I'm running Ubuntu 22.04 desktop, and I heard about the new ksmbd kernel module.I've upgraded the system from version 21.10.As of right now I have samba server and I want to migrate to the new ksmbd. I...

View Article

How do I find out Linux kernel version for an API change?

How do I find out, since which Linux version a kernel API function/macro is availible, or have undergone breaking changes (was removed, change of the type or number of arguments).For example while...

View Article
Browsing all 1181 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>