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
0answers
31 views

How to create Linux Kernel Headers from Linux Kernel Source?

I'm working with Tiny Core Linux and attempting to install Vmware Tools, which of course needs the Kernel Headers :-). It does not appear they have the Kernel Headers readily available in a package, ...
0
votes
0answers
10 views

How to handle multiple users for a device driver [migrated]

I am learning to write device drivers. I came across a scenario where there are multiple programs which want to write to the same driver. Instead of showing them a busy error, I would like to place ...
2
votes
0answers
21 views

How do I compile DKMS module for multiple kernel image versions in Debian?

I have versions 3.16 and 4.0 of linux-image package installed. During login I can select which kernel I want to boot in the "advanced options" menu item. However, when I install a DKMS module it is ...
2
votes
1answer
17 views

bdl_pos_adj: set IRQ timing workaround for hda-intel

I get following errors in my logs: kernel: snd_hda_intel 0000:00:1b.0: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj Google found some old posts here and ...
0
votes
1answer
21 views

Kernel modules for compiled kernel

I cannot find kernel-headers. For the first time I compiled and installed the latest kernel (4.0.3) on my Debian Wheezy, and now I am trying to install ndiswrapper using module assistant. For that, ...
0
votes
0answers
41 views

Raspberry PI Fuse exec format error

After installing raspbian on my RaspBerry(model B), I cannot use fuse. when I type modprobe fuse, I get the following error: ERROR: could not insert 'fuse': Exec format error Output of uname -a: ...
2
votes
0answers
30 views

How to work with a kernel one has no information about?

I'm working with a system to automatically assemble Live CDs. It came packaged with a kernel (seemingly based on 3.13.11), that has been working without problems so far. I noticed that, when I try ...
-3
votes
0answers
16 views

Does `sudo modprobe -r iwlwifi` work without reboot?

Someone told me that sudo modprobe -r iwlwifi will work until a reboot But I found the module isn't list in lsmod after running the command. So I don't think I need to reboot, correct?
2
votes
0answers
33 views

Disable backlight device

I have two backlight devices in /sys/class/backlight: toshiba and intel_backlight. The former works only before I put my laptop on sleep and the latter works perfectly. ...
2
votes
1answer
53 views

How do I apply a patch?

I need to apply the following patch, and I don't want to mess up what I have so far. Below I have posted the complete content I found online, which was someone's response to a question similar to ...
0
votes
1answer
176 views

bluetooth - btusb - How to replace module version with a newer one

I have pre-compiled kernel 3.16.7 which has btusb v0.6 module; The current btusb v0.6 I'd like to replace with btusb v0.7 which is located in kernel 4.0; So my question is how to : remove the ...
0
votes
0answers
9 views

How to create a module that can maintain containers for applications? [migrated]

I am trying to implement a module for the kernel that implements page coloring. And now I want to add new features that assign some colors to N linux containers. My question is whether it is possible ...
0
votes
0answers
19 views

Continuety of driver support in linux kernel

I am an embedded GNU/Linux learner. I understand with the new Kernel, driver support for most added hardware is coming through Device Tree Structure (DTS). But I have found out that there are still ...
5
votes
2answers
84 views

Are driver modules loaded and unloaded automatically?

On Ubuntu 14.04, I found that when I don't plug in my external wireless adapter, its module rt2800usb is still shown in lsmod. when does automatically loading a driver module happen? Is it when ...
2
votes
0answers
48 views

Modeline for Dell U2415 1920x1200 resolution

I'm trying here to run my secondary display (U2415) on the native resolution 1920x1200. Xrandr unfortunately reports only 1920x1080, which is not satisfactory. $ xrandr Screen 0: minimum 8 x 8, ...
0
votes
0answers
23 views

centos 7 installation with customized bridge module

I have installed latest Centos 7 x64 edition in my server. I need to modify the linux-bridge module with some customized changes and use it as a default bridge module. Currently I am building centos ...
1
vote
2answers
46 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
21 views

Check the firmware which a module needs

in http://ubuntuforums.org/showthread.php?t=2242147&page=2, The driver requires firmware: $ modinfo iwlwifi filename: ...
1
vote
1answer
24 views

What are files *.ko used for?

The following two commands output the same thing: $ modinfo iwlwifi filename: /lib/modules/3.16.0-34-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko .... $ modinfo ...
1
vote
1answer
24 views

Where (the directory) should I put my newly created module in the kernel?

I have created new module code. And want to compile it for my kernel. But I am not sure about I thing. Should I copy it to some designated directory before I start the compilation? Or I can just ...
1
vote
1answer
35 views

Do I have more thn one wireless driver modules?

$ lsmod | grep iwl iwldvm 232283 0 mac80211 652718 1 iwldvm iwlwifi 179412 1 iwldvm cfg80211 494362 3 iwlwifi,mac80211,iwldvm I heard that ...
11
votes
3answers
1k views

Is USB-to-USB data transfer between two Linux OSes possible?

I want to create a USB-to-USB data transfer system in Linux (preferably Ubuntu). For this I want to use no external hardware or switch (except this cable). It's going to be like mounting a USB drive ...
5
votes
1answer
175 views

Is there a way to determine what kernel version a kernel module was compiled against?

I have recently been playing around with creating kernel modules using some crosstools for an embedded setup. It would be helpful to me in future to have the ability to identify the version of the ...
1
vote
0answers
36 views

Autoloading externally compiled module at hotplug event

I have a pretty outdated embedded linux driven system with v2.6.33.7 kernel, which came without USBNET and CDC_ETHER modules. I compiled those modules to be able to attach a certain USB-LAN stick, ...
2
votes
0answers
23 views

Slackware won't ring my bell

I want to ring bell in bash I've set lsmod |grep pcs pcspkr 1987 0 xset b and finally echo -e \\a But no ring.
0
votes
1answer
61 views

Get base address and size of a loaded kernel module?

How can I get the base address and size of a loaded kernel module?
1
vote
0answers
42 views

Xen Kernel - SCSI_WAIT_SCAN Module

We've recently deployed a HP ProLiant DL180 Gen9 with 12 x Intel 530 SSD Drives. The system is running RAID-10 on top of HP Smart Array P840. Our aim was to use Xen on this server. However, when the ...
0
votes
0answers
33 views

configuring kernel source for manual module compilation

I need to compile an xpad module from source, system is debian wheezy, the platform is ci20. I cannot locate linux headers-3.0.8-(...) anywhere (not on the system, not on the web, not in official ...
2
votes
3answers
136 views

How to take variables from another Makefile in shell script

I want to use the variables from another Makefile under the directory ~/kernelbuild/linux-3.14.37 in my own shell script. Following is the variables that I need: VERSION = 3 PATCHLEVEL = 14 SUBLEVEL ...
2
votes
0answers
73 views

Shell script for automated kernel compilation

I am trying to write a shell script to build a custom kernel on Arch Linux. I have succeeded to do write all the steps described in the Arch Linux kernel compilation page: ...
0
votes
1answer
32 views

How do I install freeBSD headers ?

I have been a arch linux user for the past 2 years and now moving on to freeBSD for kernel development. I have install freeBSD and want to compile a dynamically loadable kernel module for freeBSD. ...
1
vote
0answers
15 views

Fair traffic classification using TC

I want to apply a qdisc I developed on myself (quite similar to netem. Think netem.) to several IP-addresses using the filter classifier. No problem this far, I could do so using the prio qdisc or HTB ...
1
vote
1answer
34 views

web cam starting hangs os

I faced a strange effect as ... when my notebook wakes up from suspend I can start and close my web cam with guvcview 1-3 times; But after while on 3dr or 4th starting attempt (I didn't count for ...
2
votes
0answers
108 views

Do I have a dead NIC?

OK so this is kind of a long one due to command output. Not necessarily in complexity as I'm only showing some basic t-shooting so any feedback would be appreciated. Basically, I have a fairly new ...
0
votes
1answer
56 views

lsmod lists only one single module, no other modules available to load, how do I proceed?

The system debian wheezy, platform ci20, stock imagination kernel 3.0.8. the output of lsmod lists only one module, pvrsrvkm, which is the "out of tree graphics driver" by imagination. The problem ...
1
vote
0answers
1k views

How to install Realtek RTL8723BE wireless driver on debian?

I installed Debian Wheezy 7.8 on a Lenovo G50-70 x64, it seems that I don't have the driver for my wireless card installed, the output of iwconfig: lo no wireless extensions. eth0 ...
1
vote
1answer
113 views

Loading kernel modules that were compiled for another kernel failed

I want to load kernel modules, ip_gre.ko and gre.ko, on a embedded-device running embedded-linux to make that device to support GRE protocol. Since I do not want to change Embedded-linux device's ...
1
vote
1answer
82 views

What's the difference of `/etc/modules-load.d` and `/etc/modules`?

I red the introduction of them and found that, they both deal with module loading during boot time. So, what's the difference of these two different configuation ways?
0
votes
0answers
47 views

Compiling a loadable kernel module(Debian/Ubuntu)

This question is a follow up of this one. I am trying to compile the ELF loader as an individual LKM and use it as a standalone application(replacing the original module within the base kernel sounds ...
2
votes
0answers
72 views

How to insert a modified ELF loader given the current ELF loader is present?

I need to modify the ELF loader's kernel implementation of an Ubuntu 14.04 distribution. Having downloaded the sources using: sudo apt-get source linux-image-$(uname -r) I ran the configuration ...
0
votes
1answer
37 views

Sunix Low Level Parallel port driver not working

Background: I am currently in the process of updating a Industrial PC + software from Debian 4 (etch) to Debian 7 (Wheezy) due to hardware obsolescence, one of the few pieces of hardware being shared ...
0
votes
0answers
37 views

Stability of internal Wireless module or adpater in Ubuntu

This is an update to my previous problem with wireless adapter or module in Ubuntu 12.04 on Thinkpad T400. Now I have installed 14.04. Sometimes when I move my laptop around a little, the ...
0
votes
0answers
50 views

How do I install the `uvcvideo` module on Android 4.4.2

Setup UDOO QUAD Android KitKat 4.4.2 SD image Microsoft LifeCam Cinema Problem Android 4.4.2 SD Image is configured to use the CSI camera. To use USB camera you need to recompile kernel and ...
0
votes
1answer
33 views

Is it safe to upgrade kernel manually on a system which is using NVIDIA drivers?

Upgrading kernel manually on Ubuntu 14.04 can cause trouble with NVIDIA drivers? (one of the troubles could be booting to black screen) I had lot of trouble with installing NVIDIA graphics drivers ...
0
votes
1answer
73 views

Trying to make a Universal Makefile

I'm working on my own netfilter module for the first time. According to internet documentation, The simplest module contains the following C code: //'Hello World' kernel module, logs call to ...
0
votes
1answer
79 views

Few questions about system calls and kernel modules (kernel services in parallel)

I have few questions about system calls and kernel modules. Let's assume we have two applications (A and B) and each of them is running on a different core. (A-CPU 0, B-CPU 1) When two applications ...
2
votes
1answer
70 views

modinfo when a module was compiled into kernel statically wouldn't work — workarounds?

modinfo is rather useful tool when it comes to tweaking module's parameters (at least discovering what options are availalbe), for e. g.: $ modinfo dummy filename: ...
0
votes
2answers
209 views

Buildroot - missing i2c kernel modules

I've used Buildroot to build a minimal operative system. During the configuration step with the menuconfig utility I specified to install I2C tools. The option was is Target Package -> Hardware ...
4
votes
1answer
70 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 ...
1
vote
1answer
207 views

Compiling kernel but doesn't build kernel modules

I am trying to compile a linux-sunxi kernel for my Banana pi. Using this link: http://sunxi.org/Linux_Kernel#Compilation Unfortunately I am getting the following message at the bottom when I am ...