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
1answer
20 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
25 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
16 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
27 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
20 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
18 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
79 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
23 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
13 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
22 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
14 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
26 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
32 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
14 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
79 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
59 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
55 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
167 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
40 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
53 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
43 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
93 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
2answers
1k 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
24 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
67 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
66 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
115 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
68 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 ...
3
votes
0answers
105 views

Override modprobe.d blacklist

I am using Ubuntu 18.04. I'm trying to make a module load at boot; the module in question is iTCO_wdt. There are many questions about blacklisting a kernel module, but I am trying to whitelist one. ...
1
vote
0answers
59 views

Any interface to access linux's tc flower from another kernel module?

I was looking at linux tc flower source code. I see that when a flow is modified, a netlink message is sent from user space to kernel space to create/delete/modify the flow. Rather than the userspace ...
2
votes
1answer
58 views

Compiled modules support for openWRT

In order to add driver for my wireless adapter, Bus 001 Device 002: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter I am building openWRT for my GL.iNet AR150. The ...
0
votes
1answer
112 views

/usr/lib/modules getting deleted on boot

This is a fresh installation of Manjaro, installed using Manjaro Architect on an existing LVM partition inside a LUKS-encrypted partition and using a separate unencrypted boot partition. I've ...
0
votes
1answer
24 views

gNewSense livecd gives me an Error (callbacks suppressed)

I've a kernel-panic problem (I think) trying to use the liveCD of gNewSense 4.0 for i386. The error is the following: [8.598401] xhci_queue_intr_tx: 78 callbacks suppressed. . . . It's showing the ...
0
votes
0answers
40 views

Cross compiling Linux kernel module

On Ubuntu Trusty x86_84, I have successfully been able to compile Linux kernel v3.7.1 for x86, 32 bit. However, as I am trying to build a simple kernel module by feeding the same kernel sources, it ...
-3
votes
1answer
83 views

Installation of Debian 9 in Dell Inspiron 7559

I want to install Debian 9 in the aforementioned laptop but I know from my experience that it will not be easy (I have tried in the past Ubuntu but only Mint worked - I suppose that there is some ...
0
votes
0answers
64 views

dmesg and udevadm info do not show expected attributes for usb device in a custom Ubuntu kernel

I have a custom Linux kernel and a user mode driver to detect USB barcode scanner. Driver is getting the device information (PID, VID, Serial Number, etc.) using udev but in this environment driver is ...
0
votes
0answers
17 views

How to automate post DNF upgrade tasks like updating grub

I want to automatically: Sign modules and update kernel images when DNF upgrade VBox or NVIDIA. update grub and resign for new kernel when DNF upgrade kernel. Mostly I need some guidance on what ...
0
votes
1answer
96 views

Linux modules for PC speaker: pcspkr vs snd_pcsp

What is the difference between these two modules pcspkr: PC-Speaker driver snd_pcsp: PC-Speaker driver different tutorials call for different ones
1
vote
1answer
106 views

VBoxClient: Failed to connect to the VirtualBox kernel

I'm trying to run VBoxClient --clipboard, but I keep getting an error message, VBoxClient: Failed to connect to the VirtualBox kernel I see that systemctl is showing the process loaded, UNIT ...
-1
votes
1answer
50 views

How do you wii-u-gc-adapter working on 64-bit debian?

Following these guides (https://github.com/ToadKing/wii-u-gc-adapter/blob/master/README.md and https://dolphin-emu.org/docs/guides/how-use-official-gc-controller-adapter-wii-u/#Linux) - I've tried ...
1
vote
1answer
98 views

Is `pam_limits.so` used like a command?

From http://man7.org/linux/man-pages/man8/pam_limits.8.html SYNOPSIS top pam_limits.so [conf=/path/to/limits.conf] [debug] [set_all] [utmp_early] [noaudit] Does the ...
0
votes
1answer
61 views

How to use ubifs image with modprobe? To extract ubifs image

I try to do something like this - link. All examples in the web are not working at all. modprobe ubi mtd=0 modprobe: module ubi not found in modules.dep modprobe ubi modprobe: module ubi not found ...
0
votes
0answers
69 views

how to optimize Ubuntu for older hardware

Partly to go with the herd, partly to be more towards the cutting edge, I'd prefer Ubuntu 18.04 over Bodhi Linux. Bodhi boots reasonably quickly, logs in well, etc -- everything it's intended for. ...
0
votes
1answer
308 views

How to add a public key into system keyring for kernel without recompile?

I want to add a public key from the keypair that I used to sign my kernel module, into system_keyring. However, there's a problem: With the command of cat /proc/keys | grep system_keyring, I've got ...
2
votes
1answer
72 views

kernel module: set executable bit? compress with xz?

I wrote/tweaked a custom kernel module and installed it. It works as expected, but I've noticed that other kernel modules on my system are compressed with xz and have 0444 permissions, whereas I did ...
0
votes
0answers
29 views

Start module before boot

Is there a way to start a module (framebuffer display driver, fbtft_device) before boot so that it can be used for boot-time splash screen? Its like issuing a modprobe command before boot. I want to ...
1
vote
1answer
449 views

Radeon GPU not found after kernel upgraded to CentOS 7.5 - “[AMD/ATI] display unclaimed”

My system has a three monitor setup: Monitor 1 connected to the onboard i915 chip Monitor 2 & 3 connected to a Radeon RX 560 GPU This configuration worked until I upgraded CentOS to the 3.10.0-...
1
vote
0answers
56 views

Failure removing module, still in use/not found

I'm trying to remove a module I have created, but it doesn't work for me. Assuming my module name is xyz : When I try to run rmmod xyz I get the following error: rmmod: ERROR: Module xyz is in use ...
0
votes
0answers
43 views

How to setup nvmetcli for FC loopback mode?

I have a NVMe SSD, KC1000, from Kingston and a HBA, QLE2672 2-port 16Gb Fibre Channel Adapter, from QLogic and are installed on Linux kernel 4.16.6. Then I would like to set up a scenario which has ...
0
votes
0answers
509 views

CentOS 7 persistent module loading at boot

I need to load the drbd module on my CentOS server at boot time. I know a module can be loaded without the need of a restart using modprobe drbd but of course after a system reboot I would have to ...