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

3
votes
1answer
1k views

load module via /etc/modules

I want to load my kernel module hello.ko on boot in Ubuntu 12.04. I placed it in /lib/modules/3.8.0-31-generic/kernel/ubuntu/hello.ko, ran depmod -a, and added "hello" to /etc/modules. However, when ...
0
votes
0answers
9 views

What Linux kernel configuration options do I have to set to what to support all the hardware of a 13" MacBook Pro Early 2011?

What Linux kernel configuration options do I have to set to support all the hardware of a 13" MacBook Pro Early 2011? I noticed that with all the distributions I tried, none of the FX keys worked (at ...
1
vote
2answers
326 views

Debian Jessie Wireless Driver Broadcom Restart (rmmod modprobe) BCM43142 [14e4:4365]

My Dell laptop, running Debian 8 (Jessie), has this wireless device: $ lspci -nn -d 14e4: 02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) And it ...
6
votes
1answer
3k views

“usb 3-2: can't set config #1, error -110” - USB keyboard works in Windows 8 laptop but on PC only until Linux boots

I tried 2 new USB keyboards that work until Linux starts booting. When booting I saw: [ 8.365211] usb 3-2: New USB device found, idVendor=1a2c, idProduct=0b23 [ 8.404863] usb 3-2: New USB ...
18
votes
3answers
16k views

Find out which modules are associated with a usb device?

Could you recommend a way to figure out which driver is being used for a USB device. Sort of a usb equivalent of lspci -k command.
0
votes
1answer
46 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 ...
1
vote
1answer
954 views

Do I have to compile the kernel every time, even for a small change?

In my project I configure the kernel (2.6.32) in block/ioctl.c. We all know that kernel compiling and building takes few hours. Even for a small change, I'm compiling from scratch. So is there any way ...
1
vote
1answer
12 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 ...
4
votes
1answer
110 views

Loading WiFi driver results in the whole system becoming unstable. How to debug?

I am not a linux kernel expert, but I got this new laptop and it's WiFi(RT3290LE) is not working. I tried solutions from various sources and they are not working. So it is upto me to solve it, and I ...
6
votes
5answers
7k views

How to determine which module taints the kernel?

My kernel keeps panicking when connected to a certain wireless network. I'd like to send a bug report but my kernel is apparently tainted. From /var/log/messages: Apr 17 21:28:22 Eiger kernel: [...
3
votes
1answer
30 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 ...
2
votes
0answers
12 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 ...
0
votes
1answer
38 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 ...
0
votes
1answer
300 views

USB WiFi adapter using ath9k_htc not working on Linux

I have a TL-WN821N wifi adapter that is supposed to work using purely free software. It used to work when I used the Trisquel Linux distribution but now when I have switched to Debian it does not ...
1
vote
1answer
104 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
60 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
505 views

Can only initialize Ad-hoc mode after restarting iwlwifi mod and network manager

I am running Ubuntu 12.04.4 with network interface: *-network description: Wireless interface product: Centrino Advanced-N 6235 vendor: Intel Corporation ...
1
vote
1answer
54 views

How does bcma relate to brcmsmac?

I am trying to solve some issues with my wireless connection and trying to learn something on the way. From here and here I got to know two different ways to know my wireless driver. Thing is, I get ...
10
votes
2answers
8k views

How to list all loadable kernel modules?

I'm looking for a few kernel modules to load i2c-dev and i2c-bcm2708. But the modprobe command returns: sudo modprobe i2c-dev modprobe: module i2c-dev not found in modules.dep How can I list all ...
3
votes
1answer
1k views

Scaling issues of i7 3520M with intel_pstate module on Kernel 3.10.0

Few days ago I updated my openSUSE 12.3 system from Kernel 3.9.8-1.gf3348a8-desktop to 3.10.0-1.g3dcd746-desktop and since then, turbo mode of my i7 3520M is enabled by default and it does not ...
0
votes
1answer
879 views

custom kernel and firmware loading

After I have compiled my kernel, and when I type make modules_install, not only are the modules copied into /lib/modules/ but also firmware is copied into /lib/firmware/. The following is the end of ...
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 ...
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 ...
1
vote
0answers
23 views

Finding information on a builtin module [closed]

What does the builtin module called module do? $ cat /lib/modules/$(uname -r)/modules.builtin Doesn't show module as being a builtin module. $ modprobe module -v builtin module Looking at the ...
2
votes
2answers
498 views

Identify out of tree modules?

I'm attempting to upgrade and test kernel 3.12. What is the most efficient way to identify out-of-tree modules that should be removed before testing? There are a few mentioned (vitualbox, nvidia, ...
0
votes
0answers
31 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 ...
1
vote
1answer
52 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
1answer
18k views

insmod: ERROR: could not insert module 8188eu.ko: Invalid module format

I'm trying to use the TL-WN725N as an USB WiFi-Adapter with Fedora 20. I followed these insructions and the adapter worked fine and even survived two updates during the last few weeks. Then I did a ...
1
vote
0answers
18 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 ...
1
vote
0answers
59 views

Linux kernel running only with use of physical address

Is it theoretically possible to make Linux which for its own kernel (include modules) uses only physical addresses? (it means it completely omits MMU) For processes how would you know if there was ...
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
31 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
35 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
662 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?
2
votes
1answer
168 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
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?
1
vote
2answers
86 views

How do I find out which version of a driver is included in a kernel?

I need to find out which driver/module version is contained in a kernel which isn't installed. Is there a document in the source that contains this or something listed online that haven't been able to ...
0
votes
1answer
150 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
55 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
27 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
96 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)...
3
votes
3answers
18k views

Ubuntu make fails with No such file or directory /lib/modules/3.4.0/build

I am trying to build the CP210x driver for the 3.x.x kernel on ChrUbuntu. Build instructions: Ubuntu: make ( your cp210x driver ) cp cp210x.ko /lib/modules/<kernel-version>/kernel/drivers/...
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
30 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 (...
3
votes
1answer
377 views

Unable to build Vulkan on linux mint rafaela

How can I build the Vulkan driver for linux mint? I'm running Linux Mint Rafaella, 17.2, with Intel Graphics 5th gen, i3-5010U. I tried to compile https://cgit.freedesktop.org/mesa/mesa/tree/?h=...
1
vote
1answer
73 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 ...