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

Module load map

How can I obtain a module load map? I've tried with the -m flag in insmod but it seems that since 2.6 there is no support for it. Thanks
5
votes
1answer
327 views

Loading speedstep_centrino kernel module

Because of a noisy fan in my laptop, I need to change CPU frequency and for this task I need to load the appropriate kernel module. The CPU in my laptop Acer TravelMate 4002WLMi is: $ cat ...
2
votes
2answers
195 views

IPv6 NDP timer problem

Need to change Fedora Linux's IPv6 stack for NDP DAD timer changes. How to locate the Fedora's IPv6 and IPv4 stack in Fedora distribution dvd/site so that, we can recompile and generate new stack ?
2
votes
1answer
863 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
0answers
37 views

Developing Linux Kernel From Scratch - Step by Step [closed]

I would like to develop my own Linux Kernel. I am pursuing my Final Year in my Bachelor's Degree. I have undergone 2 courses based on this (Operating Systems, reference book is Silberschatz and Unix ...
3
votes
1answer
26 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 ...
4
votes
2answers
3k 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.
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 ...
2
votes
2answers
49 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 ...
1
vote
0answers
22 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 ...
0
votes
1answer
44 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
1answer
17 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
25 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
19 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
24 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
56 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
19 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
22 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
49 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
80 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
24 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
54 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 ...
3
votes
2answers
5k 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
1answer
351 views

Virtualbox kernel modules not loading at boot

I have been running virtualbox on an Ubuntu 12.04 laptop for a while and it has all worked smooth, but suddenly, probably after a kernel upgrade, the vbox* modules are not loading at boot, if I ...
2
votes
0answers
52 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
239 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: ...
8
votes
5answers
3k views

Benefit of kernel module compiled inside kernel?

What's the benefit of compiling kernel modules into the kernel (instead of as loadable modules)?
1
vote
1answer
22 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
80 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
44 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
51 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
24 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
136 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
788 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
68 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 := ...
1
vote
1answer
83 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
54 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 ...
2
votes
1answer
861 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
17 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 ...
1
vote
0answers
90 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 ...
0
votes
1answer
111 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
45 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= ...
20
votes
4answers
470 views

How to find the driver (module) associated with a device on Linux?

On Linux, given: a device, for example /dev/sda, and its major and minor numbers, for example 8, 0, how can I know which module / driver is "driving" it? Can I dig into /sys or /proc to ...
1
vote
2answers
132 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
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 ...
2
votes
3answers
90 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 ...
1
vote
1answer
357 views

Binding lsmod module name with kernel configuration menu entry

Lets suppose I have a module named "mptsas". How can I find out, what kernel configuration menu entry (make menuconfig inside /usr/src/linux) corresponds to that module? By 'corresponds' I mean what ...