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

5
votes
1answer
194 views

Linux: What is a tainted kernel?

Under certain conditions, the Linux kernel may become tainted. For example, loading a proprietary video driver into the kernel taints the kernel. This condition may be visible in system logs, kernel ...
3
votes
2answers
146 views

Using multiple layer of kernel modules for interfacing a hardware device?

I am trying to get a conceptual understanding of the purposes the kernel modules can have. The motivation for this question was a realization that interface to an actual hardware goes through multiple ...
0
votes
0answers
200 views

Blacklisting won't work for kernel module “radeon”

I tried to blacklist kernel module "radeon" as it is classhing with my propietary drivers. I tried it doing it in two ways but none of them worked and every time command mkinitcpio -M will list ...
2
votes
2answers
264 views

lsmod outputs: Not tainted [duplicate]

I ran lsmod command on an emulator for a board, and the output is Not tainted . What does that mean ?
2
votes
1answer
65 views

Debian 6 NDISwrapper doesn't install correctly

I'm using Debian 6. I've been trying to set up the Netgear N300 WiFi (model number WNA3100) adapter but haven't been successful. The Ndiswrapper was installed from .deb packages which I downloaded on ...
0
votes
0answers
219 views

USB-ModeSwitch Problem [ Debian Wheezy ]

I'm trying to use a D-Link DWM-156 3G "dongle" on Debian Wheezy.I've tried to "UPGRADE" kernel from(3.2 to 3.12),But that's not effective and problem still exist.Now after reinstalling Debian(3.2 - ...
1
vote
1answer
178 views

How to regenerate initramfs so it can include bcache module?

Eventually I have converted root-fs into bcache (with the help of blocks). I skipped the step update-initramfs -u -k all because I've been using bcache on other partitions for some time, and I've ...
2
votes
0answers
63 views

RNDIS Server to make a computer as a peripheral

First of all my goal is this, have a computer as a peripheral device to connect it to anyone's computer with ssh protocol or web. The idea is doing this by using a plug and play USB cable . Facts ...
1
vote
0answers
56 views

How to disable PAE feature of kernel, after installation?

I am using RHEL 5.3(x86) as a base platform for my development purpose.My machine's spec is as follows: Intel, Core-i3 Processor @ 2.5GHz 4GB RAM Problem is whenever I am attempting to install the ...
0
votes
1answer
360 views

Install kernel module [V4L2]

In order to build and install V4L2 module, do I have to download it, or it is already part of the kernel (and all I have to do is to choose it, in order to build it, via kernel configuration)? I 'm ...
1
vote
0answers
54 views

kernel 3.1x and optimus support

I have encountered a negative observation regarding bumblebee. Namely, using optirun the performance of the GPU seems to be an order of magnitude lower than it should be. To be more specific: I have ...
0
votes
1answer
45 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
86 views

Attaching two network cards two different drivers

I have an Ubuntu 12.04 server that has two 10 Gb ethernet cards that are using the ixgbe driver. I'm installing the PF_RING DNA drivers for these cards (what that is isn't important). I want interface ...
0
votes
0answers
77 views

Card Reader UB6520 on Parabola GNU/Linux

I'm trying to make work the SD card reader UB6250 on Parabola GNU/Linux. Could you help me please? After inserting the SD card, I get the following dmesg: [65408.273667] usb 2-5: new high-speed USB ...
1
vote
1answer
29 views

Is there a way to monitor the Shareable Objects (.so) loaded on launch of a specific application?

I've been through dependency issues, but, finally, have my application running. The problem is I need to force install of some old libraries with dpkg to achieve this, which, in turn, breaks my ...
4
votes
3answers
188 views

Why do I need to comment out the floppy in /etc/fstab in new-ish Debian versions?

I'm using a box with Debian that has gone through many updates (at least lenny, squeeze, wheezy). After a long time, I wanted to mount a floppy again which didn't work as it used to. I found a ...
0
votes
1answer
49 views

What is the equivalent of update-modules in CentOS 6.4?

I am adding files to /etc/modprobe.d, and a README of some software that I'm installing advised to run update-modules afterwards. $ sudo update-modules -bash: update-modules: command not found What ...
0
votes
1answer
61 views

Rmmod module reappeared after plugging back device

I have an arduino that talks to my computer through the serial-usb driver ftdi. I want to use my own module instead when I plug my arduino. I did : sudo rmmod usbserial sudo rmmod ftdi_sio I wrote ...
1
vote
0answers
183 views

I can't find tape device file inside /dev directory

I'm using tape storage drive HP LTO3 1x8 auto-loader which is connected to my server running CentOS. it is detected in CentOS correctly. cat /proc/scsi/scsi Host: scsi2 Channel: 00 Id: 01 Lun: 00 ...
1
vote
3answers
129 views

What is the difference between a linux package and a linux module?

when I do dpkg --get-selections or less /proc/modules I see two different list. I don't understand the difference between the elements of each...
4
votes
1answer
531 views

FedUp, unable to upgrade to Fedora 20

I am upgrading my Fedora OS to the latest version 20 as the current one is nearing end of life. Fedora introduces a new upgrade method called FedUp that allows user to perform an upgrade over the ...
3
votes
2answers
168 views

How can I load a module at runtime?

I just compiled the qcserial module which is a driver module for a Gobi USB modem. Now I have a couple of questions. Now I have two files: drivers/usb/serial/qcserial.ko and ...
2
votes
2answers
318 views

Kernel module parameters vs /sys/class/… explanation

I was making (my first) kernel module to play with the gpio pins of my pandaboard and interrupts. Already "built-in", I noticed you can do (briefly) cd /sys/class/gpio echo 138 > export # a file ...
2
votes
2answers
549 views

Wheezy: how to actually blacklist ehci_hcd?

I'm installing wheezy on a Thinkpad T41. Those are known to have USB2 related problems, which can be avoided by not loading ehci_hcd. But I can't figure out how to actually prevent ehci_hcd to get ...
2
votes
1answer
259 views

GRUB2 Insert additional kernel modules

GRUB2 doesn't have the menu.lst file. How do I configure a boot script. During boot, I hit E on the kernel image that I want to modify and make my modifications. But I would prefer to make the ...
2
votes
1answer
582 views

Error compiling FTDI VCP drivers: Cannot find version.h

driver installation fails of FTDI VCP driver during make install. Running ElementaryOS with kernel 3.11.0-14-generic make install awk: cannot open ...
2
votes
0answers
70 views

How can I automatically include all firmware needed by selected Linux kernel modules

I have certain modules which I need compiled into the kernel. Some of these modules require firmware, which used to be automatically included from /usr/src/linux/firmware/. However, no new firmware ...
4
votes
2answers
172 views

How can I prevent iptables from counting bytes and packets on empty chains?

Background I occasionally have firewall rules that I need to use for maintenance windows, but don't want active (and therefore consuming CPU cycles or slowing the network interface) the rest of the ...
2
votes
1answer
131 views

How to create Linux header for newly compiled kernel?

In Debian when I want to compile my kernel module I need to install linux-header-* package and then I need to write some makefile like this: obj-m := hello.o KDIR := /lib/modules/$(shell uname ...
1
vote
1answer
286 views

Archlinux not configured with iptables

I have been trying to set up iptables on my archlinux server, however when I run iptables -nvL I receive the error iptables v1.4.20: can't initialize iptables table 'filter': Table does not exist ...
1
vote
1answer
47 views

The curous incident of the missing ppa.ko in debian 3.11 kernel?

Ok. Running a version of LDME with a kernel of 3.11-2-amd64 ( basically debian testing). Suddenly with the installation of this particular kernel the module ppa.ko is gone. Further an apt-file search ...
1
vote
0answers
55 views

What are the generic-pae directories in /lib/modules?

When listing the content of the dirctory /lib/modules I see a list of generic-pae directories (Ubuntu 12.04): drwxr-xr-x 4 root root 4096 Apr 23 2012 3.2.0-23-generic-pae drwxr-xr-x 5 root root ...
1
vote
2answers
73 views

Does modprobe.d blacklist always need the prefix “blacklist-”?

In the german Ubuntu-Wiki it says, that the name of a blacklist in modprobe.d can be chosen as prefered but the filename has to begin with "blacklist-". Is that right? Because in a forum I read a ...
2
votes
1answer
2k 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 ...
20
votes
4answers
430 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 ...
3
votes
1answer
98 views

Finding a char device in /sys using a Bash script?

I have one of these and I am trying to write a Bash script for finding the device path in /sys. My approach goes something like this: start in /sys/modules/usbled since this is the name of the ...
3
votes
1answer
762 views

How to make EDID

I read the post here and I tried to make do with what I understood from the post but here are some questions: Where is the /lib/firmware located in for example /usr/src/linux/lib/firmware or ...
0
votes
0answers
46 views

Install all Linux Kernel Backports?

A series of simple questions concerning the installation of Linux kernel backports: 1) Does anyone have experience installing the unstable ones? Has anyone ever run into problems with them? Or are ...
1
vote
0answers
40 views

Why linux is a monolithic kernel, while you can load/unload modules (e.g. drivers)? [duplicate]

Hybrid- and Microkernels are flexible, in the way one can add any higher-level functionality as a module, is it not the same for linux kernels? Why then linux is called a monolithic?
1
vote
0answers
339 views

Debian Wheezy USB2 ehci_hcd

I have a friend who decided to switch to Linux from Windows. I was helping her to get up and running as quickly as possible but we ran into a problem which I can't seem to solve. She uses Debian ...
0
votes
2answers
839 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 ...
1
vote
2answers
831 views

error: “net.inet.ip.fastforwarding” is an unknown key

I've been doing some research into improving performance for OpenVPN and I found out about setting fastforwarding to 1 but when I tried I got the error error: "net.inet.ip.fastforwarding" is an ...
-1
votes
2answers
85 views

Make a new sniffer [closed]

How can use the Linux-kernel to supervise what is going on, about the new connections, new ports, connected hosts? Like I will do a new sniffer. Which files should I monitor to know what is going ...
1
vote
2answers
78 views

Easiest way to upgrade my onboard NIC drivers on a machine without connectivity?

I was assigned a workstation where I work and I needed to install Debian on it. I chose Wheezy because the other machines I use also have it, but I ran into a problem. The workstation is a Dell ...
2
votes
0answers
223 views

TUN/TAP Will not load

I have an OpenVZ server but can't seem to get the tun/tap module to load. I ran modprode tun on the hostnode but when I go under the VM I get: Tue Sep 24 03:08:36 2013 Note: Cannot open TUN/TAP dev ...
0
votes
0answers
127 views

How to compile video4linux for ARM?

I would like to use a webcam using a Linux over ARM board. Through reading, I have discovered video4linux so I would like to compile it for ARM. My unique notes are: git clone ...
6
votes
1answer
600 views

How to disable keyboard?

Without unplugging my keyboard I'd like to disable it from the terminal; I was hoping that this could be done using rmmod but based on my currently loaded modules it doesn't look like it is possible. ...
0
votes
4answers
896 views

How to show loaded kernel modules inside OpenVZ virtual server

I am trying to find out what kernel modules are loaded inside a OpenVZ virtual server. Command lsmod is empty and I believe the reason is the way how OpenVZ's virtualisation is working. Specifically, ...
2
votes
2answers
829 views

What is the sequence loading linux kernel module on startup? How priority is set to them?

I have a Linux kernel module which I compiled dynamically. How is it added to startup? There are lot of .ko files in /lib/modules. How is priority set for loading these modules?
2
votes
3answers
350 views

How do I know which kernel configuration option enabled my driver?

TL;DR: when I was trying to compile a driver for USB DAQ device I have reconfigured the kernel. The driver refused to compile under the default distro's kernel but everything works with my tweaked ...