Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 ...

0
votes
0answers
15 views

Error building virtualbox pci-passthrough kernel module - what went wrong?

I am trying to get virtualbox working on my machine with the pci-passthrough extension. When trying to run a VM, I got this error message: Kernel driver not installed (rc=-1908) [message asking me to ...
-2
votes
0answers
18 views

Keyboard not working anymore with xfce4

Right now I can only use the keyboard in recovery mode. Basically, after the latest upgrade xfsettingsd (xfce4-settings) was causing the GUI to freeze every 5 seconds. More details about the issue: ...
0
votes
0answers
29 views

How to submit a man page for a kernel module?

As a project in college, we are working on various algorithms for the Linux kernel. We have successfully compiled and tested a FQ-PIE module for Linux kernel 4.18 and now want to know how to write a ...
0
votes
1answer
76 views

modprobe: FATAL: Module fbcon not found. Number of created screens does not match number of detected devices

I am using debian. I recently have purged X11 and xcfe4 and reinstalled them both but whenever I lauch Xorg --configure I get this: (++) Using config file: "/root/xorg.conf.new" (==) Using system ...
1
vote
1answer
36 views

What do “ACard AHCI SATA low-level driver” meaning? What is “ACard”? [closed]

I run on Debian Stretch,my linux-kernel version is 4.14.13 Is this module never used(real loaded) in initramfs for desktop PC? The context is for initramfs and I have a very slow usb storage device(3....
0
votes
2answers
42 views

What ELF types do kernel itself and kernel modules have?

https://linux-audit.com/elf-binaries-on-linux-understanding-and-analysis/ says The type field tells us what the purpose of the file is. There are a few common file types. CORE (value 4) DYN (...
0
votes
1answer
61 views

How does Linux kernel dynamically use a module?

Understanding the Linux Kernel says The kernel has two key tasks to perform in managing modules. The first task is mak- ing sure the rest of the kernel can reach the module’s global symbols, such ...
3
votes
2answers
634 views

Reduce Boot time

I would be interested in finding ways to reduce the boot time, specially in embedded-related environments. I've read somewhere of a method to avoid the kernel to load some drivers or modules but I'm ...
0
votes
0answers
71 views

Cannot start Manjaro after update: Cannot find uuid

I did an pacman update on my manjaro system, which went wrong for some reasons and I had to reboot. Upon rebooting, it seemed to restart but not entirely as i didn't have any GUI. I was able to SSH in ...
1
vote
0answers
25 views

i2cdetect -l don't return anything [closed]

I need to use the SMBus, but when I run the command i2cdetect -l I do not receive anything as output, on Windows it was recognized, I do not see anything about SMBus even doing lspci. I installed and ...
1
vote
0answers
33 views

Compiling module on OpenWRT: make can't find build directory

My setup: OpenWRT 18.06.1 Raspberry Pi 2 B Kernel 4.9.120 Attempting to build a very simple hello world kernel module results in the following error: # make make -C /lib/modules/4.9.120/build M=/...
4
votes
1answer
133 views

lsmod 'used by' shows -1 while CONFIG_MODULE_UNLOAD=y

In this post there is some explanation about why does lsmod show -2 in 'used by' column. The idea is that the kernel config option CONFIG_MODULE_UNLOAD was not set. But what if lsmod shows -1 only ...
5
votes
1answer
103 views

Compile Linux kernel module without Module.symvers

I have this embedded Linux devices. I would like to add kernel-level functionality to it, but would highly prefer not to compile my own kernel to do so. (If the kernel doesn't load and get to user ...
1
vote
1answer
63 views

Force loading kernel module at startup

Some of my hardware needs the module cx23885. For some reason modprode cx23885 doesn't work, instead only modprobe cx23885 --force-modversion works. This hardware is currently somewhat buggy and ...
1
vote
0answers
56 views

How to insert a module in qemu where module is in guest system?

I am running qemu first time so I don't have much knowledge of it. I am having a kernel module hello.ko and I want to insert it in kernel using insmod in an OS running in qemu and this module is ...
1
vote
0answers
26 views

Crypto CBC module doesn't show up in /proc/crypto

I want to decrypt an old volume that's using aes-cbc-plain So I am on arch linux kernel 4.9.130 I enabled the cbc as modular in the kernel and installed the modules and the kernel. CBC shows up in /...
1
vote
1answer
32 views

Kernel module shows me 8 processors instead of 4 for Intel i5-2500K

My question mostly about hardware, specifically the Intel i5-2500K CPU which Intel describes as having # of Cores 4 # of Threads 4 Linux shows me 4 processors: $ cat /proc/cpuinfo | grep ^...
1
vote
1answer
343 views

Signed kernel modules - “not signed with trusted key”

Issue: I'm trying to use signed kernel modules, but getting a failure for the insmod command: PKCS#7 signature not signed with a trusted key There is a potentially related error message during ...
-1
votes
1answer
64 views

Linux CPU soft lockup, kernel tained, system hung [closed]

Recently, some Linux VMs got an abruptly significant increase in CPU speed,then system hung. Sometimes, thete is no reported crash log at all. Below is the message that show up when CPU soft lockup ...
0
votes
1answer
17 views

Persistent module loading not working

Red Hat 6 2.6.32-754.el6.x86_64 I've been working away on two drivers, one is a DMA driver that talks to a PCIe FPGA card. The other, a network driver. The network driver has a dependency on the DMA ...
0
votes
0answers
52 views

udev not loading a module

I'm trying to get udev to load the brcmfmac driver as a module but for some reason it's not detected unless I create a .conf file in a /modules-load.d directory (either in /etc or /lib). As far as I ...
1
vote
0answers
112 views

Cannot load compressed Kernel module?

I tried to load "hid-a4tech," but I got error the messages below: [net_client@netarchwork ~]$ modprobe hid-a4tech modprobe: FATAL: Module hid-a4tech not found in directory /lib/modules/4.18.7-...
1
vote
1answer
51 views

Changing a built-in kernel module parameter at booting time?

I am trying to change a parameter, called "sgl_threshold", in the nvme driver when booting into Ubuntu 16.04 running linux kernel v4.18-generic. It appears the nvme driver is actually built-in as it ...
1
vote
1answer
32 views

TCP variants under lsmod

I was reading about how TCP congestion variants are implemented in Linux. Each variant is implemented as a separate module. When I had read this question: Add TCP congestion control variant to Linux ...
0
votes
1answer
19 views

My Kernel modules don't match those of the VirtualBox installation guide. Should I be concerned?

Fabian Lee : Software Architect's steps to installing VitualBox: Make sure the kernel modules (vboxnetadp,vboxnetflt,vboxpic) were loaded properly: $ lsmod | grep vboxdrv vboxdrv 446464 3 ...
0
votes
0answers
62 views

Restore middle click in Debian 9.5 & Mint 19.0

Does anyone know how I can restore the middle click capability in Debian 9.5? With version 8.5, I could hold down the middle mouse button, or both mouse buttons together, to drag a document or file ...
1
vote
0answers
24 views

what is inside weak-update folder?

First, installed a driver package to OS (ex: CentOS ) -- foo_1.0.rpm Second, install the same driver but different version -- foo_2.0.rpm by rpm -ivh --force foo_2.0.rpm It seems an extra folder ...
0
votes
1answer
20 views

How to disable a driver from reopening when connecting a device it recognizes?

After doing sudo rmmod usbhid the usbhid driver only reopens when I connect a device, which I don't want because I want to write a custom driver for it and I need it disabled until I say otherwise. ...
1
vote
2answers
215 views

CentOS 7: Kernel version has no module directory

I'm trying to compile and install a kernel. After download the code and configure the installation I have executed succesfully these comands: # make bzImage # make modules # make But when I try to ...
0
votes
0answers
24 views

Installing Linux 64 bit: PCH_GBE module not supported

I installed the following Linux system on my (rather old) IPC (Siemens IPC 227D): esys@mykros:~$ uname -r 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64 x86_64 x86_64 GNU/...
0
votes
0answers
16 views

How are two i2c drivers linked together

I followed this tutorial and everything is working fine When I run lsmod, it lists the ina2xx-adc driver (not the ina2xx driver) as running. After I do $ echo 'ina219 0x40' > /sys/bus/i2c/...
1
vote
1answer
23 views

How to select the right options in the Cryptographic API Kernel section?

How do I know, which Kernel modules in the Cryptographic API will be beneficial on my system? How can I see, if I have software, which will use the Kernel API? For example I use often RSA, but will ...
1
vote
0answers
24 views

Armbian: dm-raid module has gone missing

I'm running Armbian (stretch) on an OrangePi PC 2. This is how the OS identifies itself on SSH login: Welcome to ARMBIAN 5.58.180813 nightly Ubuntu 16.04.5 LTS 4.18.0-rc8-sunxi64 I just updated my ...
1
vote
0answers
33 views

How to recompile and run a prebuilt linux kernel driver as a custom module?

I am able to create a custom basic module (hello wrold kernel) and use insmod to load it into kernel space. However what I need now is to be able to use slip.c code by its entirety (copy and paste) ...
0
votes
1answer
38 views

How to do a “uname -r” for a different kernel?

I would like to setup correct kernel module loading. For this reason I am interested in the output of uname -r of the custom kernel I compiled and am about to setup. Since this kernel is of course ...
1
vote
0answers
24 views

HWMon interface for I2C thermal device (TMP102, 3.10) - missing sysfs files

I am trying to get the TMP102 kernel module functioning on an x86_64 machine running CentOS 7.6 (kernel 3.10). The system has 3 TMP102 sensors attached to an I2C bus (Designware I2C adapter). When I ...
1
vote
0answers
175 views

Utilizing UART/Serial port driver inside another Linux module/driver

I am implementing a network module/driver in Linux which uses net_devices structure. And so far I have been able to add and remove my module to and from kernel space using insmod command. Via ifconfig ...
1
vote
0answers
85 views

how to use ftrace to function_trace a kernel modules interrupt?

I have a Banana Pi Arm device with 2 cores (1.2 GHz) running a Debian kernel which I enabled ftrace kernel debug options. I want to determine the amount of time spent in a kernel module function. The ...
0
votes
1answer
107 views

How to create multiple devices in a /dev/ subdirectory (kernel driver)

I'm writing a kernel module. I can easily create a character device in /dev/ but I want to have 3 devices available to my user and it would be nice to put them all under a /dev/ subdirectory. ...
4
votes
2answers
363 views

Unable to access/(auto)-mount SD card on Fedora 28

I am trying to access SD cards on Fedora 28, but do not have any success. System info is as follows: $ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:...
1
vote
0answers
68 views

Wifi requires rmmod and modprobe commands

For some months now, I have had to run rmmod bcma wl && modprobe wl after booting to get my wifi to work on my Macbook Air from 2012. The network card is Broadcom's BCM43224. I'm using Arch ...
1
vote
1answer
66 views

WARNING “[something]” has no CRC

I'm trying to compile a Linux kernel from source (https://github.com/UDOOboard/linux_kernel) on ubuntu virtualbox. When I run: ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make modules I get a bunch ...
0
votes
0answers
92 views

copy driver include file to linux folder

I'm using buildroot for my embedded socfpga system. I have successfully written a driver and an app to test it, following BR usermanual : my_driver_dma : the driver my_dma : the app The ...
0
votes
1answer
157 views

The asus-laptop module cannot be loaded (No such device) on Asus FX503 laptop

I am tracing the asus-laptop driver from 4.17.1 because my keyboard backlight control keys not working. And, I found the driver cannot be loaded, it always reported "No such device". Then I found it's ...
2
votes
3answers
2k views

After upgrading to Fedora 28: broadcom-wl installed but WiFi doesn't work

This is another one in a long line of problems of this sort. After a recent upgrade from Fedora 27 to Fedora 28, broadcom-wl stopped working. The Broadcom adapter in question is an older BCM4312. To ...
0
votes
0answers
26 views

How to find modules used in initrd?

Is there a way to see all the kernel modules/drivers put in the initrd/intramfs?
0
votes
1answer
120 views

module makefile fails for armv7l when modules are compressed

I have written a network hook using netfilter. This modules compiles successfully on my ubuntu 16.04. Now I want to compile it in my embedded board which uses a customized Linux using same version ...
0
votes
0answers
155 views

How do you prevent uas and usb_storage kernel modules from being automatically loaded when a USB flash drive is connected?

I generate a kernel Image using buildroot that I put onto an SD card to boot from. In buildroot I modularized USB Mass Storage. When I boot up my board without a USB connected to it I can see that ...
0
votes
0answers
153 views

`acpi=off` results in `BUG: unable to handle kernel NULL pointer dereference`

Background I have been getting spontaneous crashes on my newly built NixOS machine. I am trying out different configuration options to see if I can avoid them. Here is my journalctl -b -1 -p 3: Jun ...
0
votes
1answer
118 views

What kernel modules are necessary for using a standard USB 2.0 flashdrive

I am using buildroot to generate an Image to run linux on an Arm A53. I want to be able to shut off and turn on the ability to see a USB flashdrive on command. I went into the settings of buildroot ...