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
9 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
26 views
+50

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
16k 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 ...
0
votes
1answer
849 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 ...
1
vote
0answers
9 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
50 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 ...
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 ...
2
votes
1answer
18 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
14 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, ...
0
votes
1answer
764 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
votes
0answers
6 views

Link Counts in a Custom VFS

I'm working on building a custom VFS, and I"m having trouble getting correct link counts. I thought it was somehow build into the filesystem itself. Instead, I'm returning drwx------ 1 root root ...
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
7 views

How to use a char device from inside a char device driver (kernel module)? [migrated]

I have a virtual machine in VirtualBox. I can use the HGCM interface to send arbitrary data from the guest to the host and the other way around. This works by sending ioctl's to the /dev/vboxguest ...
1
vote
1answer
26 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
37 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
0answers
15 views

How to access the node created in user space from kernel? [migrated]

I am doing an exercise in which I want to access the node /dev/snd/controlC0 of the sound card from the kernel to set up the tinymix control from the kernel space instead of user space using a tinymix ...
0
votes
2answers
102 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 ...
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 ...
0
votes
1answer
9 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
63 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?
0
votes
0answers
3 views

dma_free_coherent doesn't work for a large array - Kernel module [migrated]

I am trying to allocate an array of 0x40000 bytes (256kB) for dma purpose with dma_alloc_coherent in a driver (so in kernel space). I allocate this array inside the probe function and I free it with ...
1
vote
2answers
78 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
98 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
27 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
11 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
21 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
29 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 ...
3
votes
3answers
17k 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 ...
1
vote
0answers
24 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
21 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
271 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 ...
1
vote
1answer
46 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 ...
0
votes
0answers
2k views

Broadcom driver on Kali Linux

I recently installed Kali Linux, switching from Scientific Linux. The only problem is my wireless driver, which doesn't want to install at all. lspci -nn | grep Net : 02:00.0 Ethernet controller ...
1
vote
1answer
21 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 ...
0
votes
1answer
94 views

How to install kernel sources

I 'm running Angstrom distribution (console only) on BeagleBoard-xM. Image was build on Narcissus, with Bootloader Files (x-load/u-boot/scripts) added. I noticed that usr/src directory is empty. I ...
1
vote
1answer
72 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
109 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
10 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 ...
0
votes
2answers
33 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? ...
1
vote
0answers
80 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 ...
0
votes
1answer
79 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 ...
-1
votes
1answer
17 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
58 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
49 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": ...
0
votes
1answer
72 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 ...
1
vote
1answer
89 views

An error during boot that I can not see

When I boot fedora, It shows an failure about modules and it disappears and then splash appears. I checked the /var/log/boot.log but there was no errors or failures there. Where can I find it?
0
votes
1answer
59 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
52 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 ...
3
votes
0answers
27 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 ...