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

learn more… | top users | synonyms

0
votes
0answers
11 views

Make a bootable ubuntu-core for Raspberry pi2

I've been trying to build a minimal Ubuntu system for my raspberry pi2, based on an Ubuntu 14.0.4 core (base) image. here: wiki.ubuntu.com/Core I deployed the image to the SD card, Cross compiled a ...
0
votes
0answers
13 views

Error with modprope and ndiswrapper

I'm trying to install a wireless usb dongle driver using ndiswrapper but I'm getting a modprobe error. Output from ndiswrapper -l: vnwl: driver installed device (1106:3253) present Output ...
0
votes
0answers
28 views

I would like to unload kernel modules that show as busy

I want to unload the modules "gsch and redirfs" from kernel on RHEL 7.2 , which is causing frequent kernel panic. But when I try to unload , I am getting below error. # modprobe -r gsch modprobe: ...
1
vote
1answer
15 views

modprobe events not logged in /var/log/messages

I'm trying to understand Linux better, specifically driver registration and such so I'm trying to follow what happens when I insert modules and drivers. From what I thought I understood, kernel ...
0
votes
1answer
50 views

How to load custom Linux kernel module that is not Linux kernel version dependant using RPM

I have a 3rd party library which provides a kernel module (module.ko) and is required to be loaded automatically on bootup. However, module.ko is not tied to a specific version of the Linux kernel and ...
2
votes
0answers
13 views

Build and install kernel module into a defined /lib/module/*kernel directory

I hope someone can help. I had problems with my distribution's kernel, so I built a kernel (same version) to build my modules. My modules would be compatible. However, if I install the modules, the ...
3
votes
1answer
32 views

Makefile: installing external Linux kernel module

I am writing a simple Makefile for an external kernel module. Building it with: obj-m += usbtherm.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules compiles only the ...
0
votes
1answer
42 views

How to turn off stack protector in linux kernel easily? [duplicate]

I wrote a simple module for the Linux Kernel and it has a stack buffer overflow vulnerability. I want to exploit the module, but I have to turn off the stack protector in the kernel first. How could I ...
1
vote
0answers
15 views

Package additional in-tree modules

Targeting an up to date Fedora whose kernel unfortunately lacks a module: Is it possible to package the module (using kmod or whatever existing infrastructure), so that the module package has the ...
1
vote
1answer
121 views

No wifi-interface on ThinkPad T460P with debian

I've just installed a new Debian 8.4.0 on my ThinkPad T460P and now I need to config WIFI. I've installed the intel driver with apt-get install firmware-iwlwifi but the kernel module won't load on ...
1
vote
1answer
61 views

Udev rule setting up SocketCAN socket only works correctly only when run manually

I want to start slcand (the userspace daemon for the serial line CAN interface driver) when my Lawicel CanUSB dongle is plugged in. I followed Pascal Walter's step-by-step guide and all seems to work (...
1
vote
0answers
8 views

Manually Select Driver (AHCI/SATA Drive)

I am wondering if there is a way to bypass the default driver when using a SATA Host Bus Adapter (I want it to use my LKM). The other way of doing this is black listing the default driver so mine ...
0
votes
1answer
37 views

psmouse kernel module recompiling

I have a ultrabook and its touchpad doesn't work. Linux mike 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) x86_64 GNU/Linux touchpad doesn't work and it is also not listed in output of ...
0
votes
0answers
35 views

Do I need to install vxlan.ko to get vxlan support?

I am trying out vxlan on an ubuntu with kernel version - 3.18.3-031803-generic. I see that there is a kernel module vxlan.ko that is not loaded. I however have been able to get vxlan to work without ...
2
votes
1answer
53 views

How to prevent a kernel module from opening a specific device?

I am using two devices, one of which requires usbserial for proper operation (a GPS, using gpsd; this guide specifies that usbserial is required), and one of which requires usbserial to be unloaded (...
1
vote
0answers
19 views

Load NVIDIA module for X and load nouveau module for framebuffer: automatically

NVIDIA driver doesn't have support for framebuffer console. I want Linux kernel to automatically load NVIDIA for X window system, and nouveau for framebuffer console. There should be a method to ...
2
votes
1answer
24 views

Can module loading be globally disabled on modern Linux kernels?

Once upon a time (before kernel 2.6.25), one could use /proc/sys/kernel/cap-bound to drop CAP_SYS_MODULE system-wide, and be assured that the set of code that was presently loaded into kernel space ...
0
votes
0answers
35 views

MT7601 WiFi drivers on uClinux

I have an ARM based board running uClinux on it. It had a working ra0 interface (MT7601 WiFi module) before I recompiled and installed new kernel on it. Before writing new kernel and filesystem to it, ...
1
vote
1answer
37 views

How to block drivers built-into Kernel, i.e. drivers who are not a module

I configured and compiled Linux kernel with nouveau driver built-into kernel, i.e. with <*> as opposed to <M> when doing make menuconfig inside Linux kernel source directory. Now, I ...
2
votes
2answers
42 views

Saving time while compiling Kernel

I have to demonstrate a practical where I have to make my own module, add this module to a kernel's source and implement the system call. I'm using 3.16 kernel on Ubuntu but it takes around 2 hours to ...
0
votes
2answers
755 views

Linux/compiler-gcc5.h: No such file or directory

I run into problem compiling a kernel scheduler for testing the compiling error linux-2.6.32-rc3/include/linux/compiler-gcc.h:86:30: fatal error: linux/compiler-gcc5.h: No such file or directory ...
0
votes
1answer
11 views

Is there a module for a DS28CM00 serial chip?

A google search reveals a patch for this Maxim/Dallas chip was added in 2008, but I can't track it down in Linux 4.1. Does this module still exist in the 4.1 version of the kernel?
0
votes
0answers
10 views

it terms of terminology is there an accepted difference between a kernel agent and a kernel module or a kernel driver?

In terms of terminology is there an accepted difference between the concept of a kernel agent, kernel module, or a kernel driver?
2
votes
1answer
181 views

How to compile kernel module for different kernel version?

I have the following kernel installed: [root@localhost ~]# uname -r 2.6.32-573.el6.x86_64 And the following kernel source: linux-2.6.32-573.1.1.el6.x86_64 I am trying to compile a kernel module ...
0
votes
1answer
156 views

Avoiding a buggy kernel version with “Oops” in radeon module

I have exactly the same problem as described here. I can find the same "Oops" messages in /var/log/kern.log. I also have an older Radeon HD (so I have to use the free driver). I downloaded the current ...
1
vote
0answers
60 views

How to know when I could reactivate HWP (Hardware PStates)

I have a x1 carbon 4gen, and my computer hangs during boot on "HWP enabled" message. For now the solution is to disable HWP (Hardware PStates) with the option intel_pstate=no_hwp on boot. There is a ...
0
votes
0answers
22 views

Kernel make install error for RTAI 3.8 on CentOS 6.5

Before posting I have read almost every similar post I could find on this and other websites but I haven't found an useful answer. I have to install a custom software that needs RTAI 3.8 on top of ...
1
vote
0answers
28 views

Invalid module format

I try to install a module using this command: sudo insmod mymod.ko [arg1] [arg2] but I get this error while loading the module: insmod: error inserting 'mymod.ko': -1 Invalid module format my ...
1
vote
0answers
103 views

How to enable kernel pstore?

I'm trying to enable the kernel persistent storage (pstore) in order to help debug a module which malfunctions and freezes my laptop on suspend, but I'm having difficulties doing so. My kernel (4.1.20)...
1
vote
0answers
29 views

How to trace the life cycle of kernel threads by following creation and switching?

How to trace the life cycle of kernel threads by following creation and switching ? kernel_thread() and schedule() are the 2 functions I know that but have no idea how to implement it..
1
vote
1answer
32 views

Is there a linux fs kernel driver for NTFS R/W and how does it compare to the fuse solution?

Is there an out of tree linux kernel NTFS kernel driver that provides R/W capabilities? I know there's fuse+NTFS-3G, but I've had it consume way too many CPU cycles. My question is: is there a (...
1
vote
1answer
82 views

Wifi stopped working, “Unknown symbol wireless_nlevent_flush”

As of this afternoon the wifi on my Dell XPS 13 stopped working (running Debian sid with kernel 4.4.0-1-amd64). lspci detects my wifi card, but ifconfig -a shows only the loopback interface. I tried ...
1
vote
1answer
28 views

Temporarily enabling a blacklisted kernel module from the cli

I have disabled a kernel module on my system >> uname -a Linux zyx 4.3.0-1-amd64 #1 SMP Debian 4.3.5-1 (2016-02-06) x86_64 GNU/Linux >> cat /etc/modprobe.d/blacklist.conf # Disable ...
1
vote
1answer
94 views

Why do the Linux kernel headers contain references to nonexistent headers?

I'm trying to build IBCS (source here) on Ubuntu 15.10 (Linux 4.2.35). This module is obviously pretty old, because its CONFIG.i386 file gives gcc an option -m486, which doesn't exist anymore, but ...
1
vote
1answer
264 views

Your kernel headers for kernel 2.6.32-504.e16.x86_64 cannot be found

I have centos 6.6 installed on virtualbox. In order to use features like copy/paste, being able to share folders, etc, I need to install Guest additions on it. I've clicked Device -> Insert Guest ...
0
votes
1answer
11 views

Add symbols of LKM to kernel

I am trying to get my android kernel working but I have a kernel module that is needed in order to get access to the file system of the device. Unfortunately there is no source code available so there ...
1
vote
0answers
143 views

Loading new wlan driver

TL;DR. Two issues: can't get wlan0 working, can't get wpa_supplicant working. I compiled & installed kernel 4.4 (rev. eb4d55) with revamped rtl8xxxu support enabled. In order to compile &...
-1
votes
1answer
21 views

Drivers, Module - Kernel

Can somebody explain to me what is a character driver? Can somebody explain to me what is a character driver? Can somebody explain to me what is a character driver?
3
votes
1answer
111 views

lsmod shows -2 in the “Used by” column

This is what happens when i run lsmod on an arm board (banana pi) running on kernel 4.3.0 # lsmod Module Size Used by async_raid6_recov 1434 -2 async_pq 5548 -...
1
vote
1answer
88 views

“make” stops during installation of tty0tty (null-modem emulator)

I try to install tty0tty a null-modem emulatom like in the linked installation guide, but I have a problem at "3. Build the kernel module from provided source": user@linux-bmne:/run/media/.../...
0
votes
1answer
183 views

Installing Netis WF2190 driver on Ubuntu 14.04 w/ kernel 4.2.0-27-generic gives me an error: implicit declaration of function ‘strnicmp’

Linux # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty uname # uname -a Linux qb123 4.2.0-27-generic #...
0
votes
2answers
50 views

CPU: 13 PID: 15452 Comm: ssd_blk/0 Tainted: G B I E 3.19.0+ #1

I developed a module which works as an emulator for a block device. When I write into the block device, I get this in dmesg and the module crashes. I cannot get any hint about what is going on? [...
0
votes
1answer
112 views

Linux Headers not found for VMWare Player

I recently installed debian 8 on my machine, which went fine. When I tried to install the vmware player 2.5.5-328052 the vmware software complains about not being able to find the linux headers ...
4
votes
0answers
34 views

How to switch static drivers like switching kernel module drivers?

I have a linux embedded device that I need to switch between USB file storage gadget driver and USB Ethernet gadget driver at runtime. The approach I use now is to build both drivers into kernel ...
1
vote
2answers
30 views

Are there sandboxing concepts for proprietary binary kernel modules in linux?

Quite a lot has been going on to advance inter-process security (UID the same) and priveledge dropping in userland, yet it is common that proprietary linux kernel components are used (it seems that ...
1
vote
0answers
17 views

Rationale behind PulseAudio in userspace [closed]

Why is PulseAudio implemented in userspace? Seems to me that the same arguments for implementing fs, nfs etc. would also hold for pulse audio. Also, I can imagine that there are strict latency ...
4
votes
0answers
14 views

Problem in making Perf Kernel Counter work

I have written a kernel module which creates a performance counter via "perf_event_create_kernel_counter" API and then periodically reads its value. My application works on Kernel version-4.0.9 (and ...
0
votes
1answer
97 views

Unable to boot a kvm guest via qemu/kvm-tools

I am using ARM Foundation Model to emulate a arm-v8 environment(I need both TrustZone and KVM), and I run a kvm-enabled linux on it as the Host OS, the kernel version is 3.14.0(I clone it following ...
0
votes
1answer
95 views

Load firmware on ro live cd

Basically I have the situation when box is booting from usb (gentoo-minimal.iso) but installation is lacking the firmware for killer 1525 (ath10k). The filesystem is mounted as ro and I can't put ...
0
votes
1answer
67 views

module not loaded at boot

I'm on an archlinux 4.4.1-2 and I'm trying to set up a netctl service. Problem is that for netctl to work I need to have bcma and b43 loaded. Since these two are not out-of-tree modules I thought I ...