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
24 views

How do I find out what filesystem drivers are compiled-in into the linux kernel?

On a running linux system, what is a portable (among linux distributions) way to find out what filesystems the current kernel has compiled-in (not through modules) support for? Consider for example ...
2
votes
2answers
42 views

How can I install Fedora with a newer kernel?

I want to install Fedora on my computer with a netinstall, but it seems that the kernel doesn’t support my ethernet chip (Intel I218V). I tested Ubuntu 14.04 and Arch Linux and the ethernet chip ...
0
votes
1answer
31 views

aircrack-ng shows negative channel

On many Linux distributions, be it BackTrack, Kali, BackBox, Ubuntu, Mint, etc., whenever I use anything from the aircrack-ng suite my wireless card is shown as channel -1. This problem has been ...
1
vote
0answers
20 views

CPUFreq Kernel module

I would like to try the CPUFreq module on my board (Marvell Soc based on ARMv7 running a v3.15 linux kernel). My architecture is obviously not supported by the default source code (located in the ...
1
vote
1answer
15 views

Which kernel module name is currently correct “usb-storage” or “usb_storage”?

I have found a number of examples how to prevent a kernel module from being loaded. One of them is about USB storage module. The next code has been provided: echo "blacklist usb-storage" | sudo tee ...
1
vote
1answer
18 views

unrecognized inateck hdd enclosure with linux Mint

I have put in a Hitachi 2.5 inch hdd inside a Inateck hdd enclosure. I have connected the enclosure to a Toshiba R630-156 using a usb2 cable on a usb3 enclosure port. I can hear and feel the hard ...
0
votes
0answers
15 views

Calling speaker-test from usermode-helper API

I needed to call come audio-producing applications from kernel in a toy module. In order to test that, I thought of calling speaker-test from a simpler module, but no sound would ever come from it. I ...
0
votes
0answers
23 views

Virtual serial port problem

Background: I've to test external GSM module, connected to PC with serial port. Since I'll have to either send messages both to do more, I need to create two virtual serial port (script provided by ...
0
votes
0answers
51 views

How to get an Wacom Intuos CTH-480 to work under Easy Peasy 1.6 (Ubuntu 10.04)?

Is there any way to make a Wacom Intuous CTH-480 work under Easy Peasy 1.6 (Ubuntu 10.04)? I have installed the Wacom Driver files according these instruction, replacing 3.7 with 2.6.30, as Easy ...
-2
votes
2answers
18 views

Check multiple files with string

i.e. for each .csv file, do the following: Check if the file contains the string “HEADER” in the first line. If its missing, do the following: Display, “ERROR: Missing HEADER record for ” Rename ...
1
vote
0answers
19 views

Opensuse remove kernel module

I recently installed OpenSuse. I have a problem with the mouse left click. I had the same problem in Debian but when I removed the psmouse module everything started working perfectly. I tried the same ...
2
votes
0answers
44 views

How can I set up an offbrand display link (Trulink) to work with arch linux?

I recently bought a USB to DVI adapter and it works great in Windows. However, I wanted to use it on Arch since that's where I do most of my work. Unfortunately it doesn't work. I've installed all ...
-1
votes
0answers
11 views

How to use termios and ioctl functions in kernel module? [migrated]

I wrote a kernel module for a touch screen monitor and earlier I used inputattach (written in userspace) to open serial port, set baud rate, control flags, line discipline etc. But now I want to ...
2
votes
1answer
75 views

kmod-staging-3.14* on Fedora 19?

I use Fedora 19 (Schrödinger’s Cat) on most computers as I prefer it over others (I probably would use Fedora 20 if I could have Gnome 3.8 plus a few other packages). My problem is that I use ...
2
votes
1answer
22 views

200+ instances for fglrx?

I was browsing the basic info about the modules that my kernel is currently using on a machine I have, and this piece of information pops up. $ grep fglrx /proc/modules fglrx 8085343 200 - Live ...
1
vote
1answer
47 views

From Python script to Kernel Module [closed]

So I have a python script that emulates an ESC_KEY on pin 17 (Raspberry Pi). #!/usr/bin/env python #Imports for Pins,input import RPi.GPIO as GPIO import uinput from time import sleep #Setup ...
2
votes
0answers
48 views

kernel build: why does 'make install' complain about missing modules?

I'm building a 3.2.x kernel on a RedHat Enterpise system. During 'make install' it takes a very long time and is complaining : ERROR: modinfo: could not find module xxx I assume its probing ...
1
vote
1answer
18 views

How to preserve .d files after kernel compilation?

I'm compiling third-party kernel modules. Their build system goes to /usr/src/linux-headers-[version] (of a custom kernel chroot) and runs make from there. I want to find out, which files - sources ...
3
votes
0answers
208 views

How to compile AMD Legacy driver on 64-bit kernel, Linux Mint 17

I'm trying to get the legacy driver for my HD 2400 GPU but I had an error while it was building. I looked at this answer, and have the same result, in the driver manager is empty: ...
1
vote
1answer
19 views

Compress memory on low Ram VM

Is there a way to get out more out of your limited Ram on a VM? I have a VM running on a cloud hoster and try to optimize a quite low on RAM mashine. I heard, there is a way to compress parts in the ...
0
votes
0answers
76 views

Virtualbox installation

I'm trying to install virtualbox. But when I run dpkg -i {dpkg package} I get following error: sudo dpkg -i virtualbox-4.1_4.1.18-78361~Ubuntu~precise_amd64.deb Selecting previously unselected ...
1
vote
0answers
41 views

EDAC (Error Detection And Correction) infrastructure in linux kernel

I am wondering how I can make use of the EDAC infrastructure in linux kernel. I have a i7-4600M CPU and I have compiled EDAC as a module in my kernel: --- EDAC (Error Detection And Correction) ...
1
vote
0answers
48 views

CPU usage by kernel modules, routing and forwarding rules

I have a system with a loopback kernel module installed. Through a bunch of routing and iptable rules, packets coming out of the loopback interface are sent over an ipsec tunnel. I am seeing that ...
1
vote
0answers
23 views

Adding IPVS to the kernel

I am trying to setup keepalived on a pair of VPS load balancer servers. I have hit the road block of IPVS not being included with the kernal. IPVS: Can't initialize ipvs: Protocol not available I ...
3
votes
1answer
130 views

Library routines in linux kernel

In the linux kernel, there is a section "Library routines" with a snippet shown below: Library routines ---> <M> CRC-CCITT functions <M> CRC ITU-T V.41 functions <M> CRC7 ...
2
votes
2answers
693 views

VirtualBox: modprobe can't find vboxguest, vboxsf, vboxvideo

I've been following these instrctions to install the guest packages for arch linux. Unfortunatelly modprobe returns: [snooc@archfire ~]$ modprobe -a vboxguest vboxsf vboxvideo modprobe: WARNING: ...
1
vote
0answers
57 views

Is this kernel warning a major problem that needs my attention?

Our Linux based Thecus N12000 NAS recently experienced this message in its dmesg log. [2014-05-21 11:34:56] ------------[ cut here ]------------ [2014-05-21 11:34:56] WARNING: at ...
1
vote
0answers
62 views

Kconfig - compiling kernel module

I stumbled over this site about USB video grabber under Linux, I'm trying to compile the code found here. I have read about makefiles but this one confuses me, cause it's so short: usbtv-y := ...
0
votes
1answer
53 views

Why does kernel-devel contain so many “empty” directories?

I have been a Windows kernel developer for many years. Now I start to develop Linux kernel modules. To begin with, I installed kernel-devel under /usr/src/kernels/$(uname -r). However, after checking ...
1
vote
1answer
74 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
0answers
14 views

information about txop in ath9k wlan driver

I'm trying to implement the rate control algorithm into ath9k wireless LAN driver. I need to find if the transmission of first packet in the TXOP has failed or succeeded (ack received or not). I ...
0
votes
1answer
103 views

set permission 0666 on /dev files at boot time

I have to load a few additionals modules. One of them generates /dev/knem file. I have to set the permission to 0666, so a basic chmod 0666 /dev/knem works, but I would like to assign it directly at ...
1
vote
2answers
43 views

CONFIG_PPP_MPPE=m vs CONFIG_PPP_MPPE=y

What is the difference between 'm' and 'y'? I am reading a guide, and the first step is to make sure that my kernel supports PPP and MPPE. It should be: # cat /boot/config-`uname -r` | grep G_PPP= ...
1
vote
0answers
86 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
2answers
124 views

FATAL: Module hello.ko not found

I'm using CentOS-6.5 and default kernel is 2.6.32-431.11.2.el6.x86_64. I downloaded 2.6.32 and built that kernel (under /lib/modules/2.6.32). I wrote a module for simple hello world program. This ...
0
votes
1answer
67 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 ...
2
votes
3answers
87 views

Placement of kernel binary and sources for kernel module building?

I'm trying to setup an environment for kernel module development in Linux. I've built the kernel in the home folder and would like to place the sources and binaries to the correct place so include ...
2
votes
1answer
1k views

unable to load module: disagrees about version of symbol module_layout

Following this tutorial to write my first driver. The Makefile is: # Makefile – makefile of our first driver # if KERNELRELEASE is defined, we've been invoked from the # kernel build system and can ...
1
vote
1answer
97 views

Loading module 8192cu fails

I 'm running Angstrom Linux (3.0.7) on embedded device BeagleBoard-xM. I want to load a module (downloaded from here) and copied into: /lib/modules/3.0.7/kernel/drivers/net/wireless/rtlwifi/8192cu.ko ...
0
votes
0answers
76 views

Configuring VMWare 7 Workstation on Fedora 20 x86_64 KDE

When I first time around installed VMWare, it Installed successfully and when I ran the program it got me to where you have a dialog box to select the kernel module, now when I install it the program ...
2
votes
1answer
792 views

usb kernel module does not load on demand but works fine with insmod and modprobe from the shell

I have a USB Linux Kernel module that compiles and builds. Running insmod loads my module and dmseg and tail -f /var/log/debug shows me it works as expected. Running depmod -a then modprobe from the ...
0
votes
0answers
21 views

CLEAN CACHE On X86 Desktop Boxes?

I was building 3.12.13 linux kernel and I came across the CONFIG_CLEANCACHE option. it would seems to reduce I/O considerably especially in conjunction with CONFIG_FRONTSWAP. But I want to know if ...
0
votes
1answer
64 views

User id in kernel module [closed]

I'm trying to intercept clone system call so that i could print user id and process id before actual system call executes. I am using get_user_id()->uid to access user id in kernel module but it ...
4
votes
1answer
637 views

How to build a custom kernel with localmodconfig that support hardware of multiple machines?

When configuring a server to run a single task, like an appliance, there might rise the need to build a custom kernel. For example to save disk space. Ubuntu Core 13.10 amd64 root filesystem is a ...
0
votes
1answer
152 views

What is the purpose of kernel module dm_mirror a.k.a. dm-mirror?

When running an $ lsmod command, the output lists: dm_mirror 21715 0 dm_region_hash 15984 1 dm_mirror dm_log 18072 2 dm_region_hash,dm_mirror I have tried to ...
0
votes
1answer
108 views

Auto-load B43 wifi card module in Arch Linux

I am using a Dell Vostro 1500 (looking to buy a new computer) and I have installed the wifi drivers with b43-fwcutter or whatever the actual name of it is, but you probably know what I'm talking ...
0
votes
0answers
16 views

use bluetooth-next development tree for kernel

It possible to change the kernel module of bluetooth that is using the kernel, instead of using the stable tree i would like to use the development tree?
1
vote
0answers
102 views

Looking for a list of modules that are used during boot sequence

I'd like to use deferred init calls. This function allows to load modules in userland, that should actually be loaded during the boot sequence. Just for testing I'd like to modularize as many entries ...
0
votes
3answers
96 views

On petalinux, lsmod does not work

I have seen that when I do lsmod in petalinux , I get "not tainted" message. Is there any alternative for lsmod then ?
3
votes
2answers
541 views

BSD Kernel Vs. Linux kernel? [closed]

I wanted to know in technical terms; what is the difference between BSD Kernel and Linux Kernel. In Linux, we can download the source kernel then patch it and make and make modules it. Even we have ...