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

1
vote
0answers
11 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
1answer
479 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
173 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
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 ...
3
votes
1answer
509 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 ...
2
votes
0answers
20 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 ...
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
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, ...
6
votes
1answer
1k 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
2answers
2k views

FATAL: Module p80211 not found. RTL8192CUS WLAN regression under antiX 13.1 (Debian Wheezy)

The problem concerns a driver support regression for the RTL8192CUS WLAN chip under antiX 13.1, a Debian Wheezy (stable) based distribution. The chip actually resides in a Edimax EW-7811Un 802.11n ...
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 ...
2
votes
2answers
6k views

Building example device driver error: insmod invalid module format

I am following the tutorial @ http://www.embeddedsystemonline.com/home/embedded-system/embedded_linux/lab3-linux-device-driver on step #7 of this tutorial, $ cd ...
-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
32 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
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
2answers
536 views

No build scripts available when compiling module outside of Linux source tree

I am attempting to build a basic module outside of the Linux source tree (3.18.0-rc6). When I build it, I get an error saying it couldn't find scripts/... My directory setup looks like this ...
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 ...
2
votes
2answers
548 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
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
1answer
32 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
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 ...
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.
5
votes
2answers
79 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 ...
0
votes
0answers
21 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 ...
2
votes
0answers
46 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, ...
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, ...
9
votes
2answers
7k 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
1answer
23 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 ...
0
votes
0answers
20 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
34 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 ...
1
vote
0answers
35 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, ...
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 ...
21
votes
1answer
14k views

How to assign USB driver to device

This question is two-fold: First, how do you manually detach a driver from a USB device and attach a different one? For example, I have a device that when connected automatically uses the ...
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 ...
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 ...
7
votes
2answers
3k views

Adding a new System call to Linux 3.2.x with a loadable kernel module [closed]

I want to add a particular new system call in the linux kernel 3.2.x but as a loadable kernel module (as I don't want to recompile the kernel again and again) I read through many posts on internet ...
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
41 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
32 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 ...
5
votes
4answers
18k views

How to solve “building the main Guest Additions module Failed”

I tried to install the VirtualBox Guest Additions module in a VM guest running CentOS but I get this error message when everything else was okay: building the main Guest Additions module Failed ...
2
votes
3answers
134 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
72 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: ...
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 ...
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
203 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 ...
1
vote
1answer
109 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 ...
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 ...