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
2answers
339 views

Can't remount local file systems for read-write (RAID1)

I assembled a new machine on Asus P9X79 motherboard, using its RAID controller to create a RAID1 array of two 500Gb drives. When booting Arch from an external drive I am able to work fine with ...
2
votes
0answers
2k views

WiFi not working - wlan0 FAILED

My Arch (3.6.5-1) is exhibiting a rather peculiar problem: when wifi is set up, all logs indicate that the setup was successful and that the interface is up and functional. However, when attempting to ...
2
votes
2answers
1k views

How to disable the system beep of LMDE?

I got annoyed with the system beep of Linux Mint Debian Edition when I login or logout. I have found some solutions like: echo "blacklist pcspkr" | sudo tee -a /etc/modprobe.d/blacklist but it ...
2
votes
1answer
864 views

VMwarePlayer on debian. Missing kernel modules

Today I changed my workstation to Debian. As Ubuntu is not nearly stable. Now I installed VMware player. I started it and got a message "Before you can run VMware, several modules must be compiled and ...
2
votes
2answers
330 views

Automatically build a manually installed kernel module upon installing a kernel update on Ubuntu

I am experimenting with flashcache on my Ubuntu and it looks interesting enough to do a long term test with it. I downloaded the sources, compiled them and installed the resulting kernel module. So ...
3
votes
2answers
2k views

Prevent usbhid from claiming USB device

Directly related: Prevent claiming of novelty usb device by usbhid so I can control it with libusb? I want to access an RFID reader (works as HID device) from a program that uses libusb-0.1. In the ...
2
votes
1answer
805 views

Cannot load tun module

I cannot manage to load the tun module in my archlinux box. I'm trying to connect with openvpn, but the log says nm-openvpn[6662]: Note: Cannot open TUN/TAP dev /dev/net/tun: No such device ...
4
votes
1answer
500 views

What are EXT4 Security Labels?

During Gentoo installation of Gnome keyring, I am told to switch on EXT4 Security Labels, which is described in the kernel documentation by: Security labels support alternative access control ...
1
vote
0answers
705 views

iptables not starting up

I have inherited a custom built Linux kernel 2.6.30.9 and am just upgrading the underlying OS from RHEL 5.4 to 5.8 (kernels 2.6.18.164 and 2.6.18.308 respectively). When booting, the following is ...
3
votes
2answers
2k 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 ...
2
votes
1answer
840 views

Arch modules not loading on start?

I keep getting errors on startup in Arch relating to my rc.conf: failed to load module "wl" failed to load module "lib80211" etc. It lists all the modules in my /etc/rc.conf This is my full ...
20
votes
5answers
7k views

What is the difference between kernel drivers and kernel modules?

When I do a lspci -k on my Kubuntu with a 3.2.0-29-generic kernel I can see something like this: 01:00.0 VGA compatible controller: NVIDIA Corporation G86 [Quadro NVS 290] (rev a1) Subsystem: ...
1
vote
3answers
5k views

The command to upgrade to a new kernel from Ubuntu repositories

In the distro I'm most familiar with -- ALTLinux, a command like apt-get install kernel-image-std-def#3.0.... would install another kernel, and update the initramfs and the bootloader config ...
3
votes
0answers
396 views

How to load HID kernel module from the kernel command line?

While upgrading a server from kernel 3.2.9 to kernel 3.5 I had a problem with the network (ifconfig eth0 up won't work) so I updated the system to get a newer userspace, but in the process something ...
3
votes
1answer
125 views

How to submit a Linux module upstream?

I've written a useful kernel module for a specific fan controller that I want to submit upstream. Where can I find an address to submit my module? Do I need it make GPL or can I use a less ...
0
votes
1answer
235 views

Xorg.conf, which modules should be loaded for better performance?

In general what is supposed to be in the Module section of the Xorg.conf file in order to get maximum performance from a graphic card? At the moment my Module section is empty... also because I ...
-1
votes
1answer
299 views

Installing a .ko module on an embedded Linux system that does not support modules

From the answers to this question I have discovered that the embedded Linux distribution provided to me, by my hardware supplier, was not built with kernel support. If I am to use this distribution I ...
4
votes
2answers
1k views

Can I detect if my custom made kernel was built with module support?

I have been provided with a vendor supplied minimal linux installation. From an answer to a previous question I discovered that it is possible to build a kernel with or without module support. I have ...
2
votes
0answers
102 views

How to find where driver.mod.c links to?

I'm trying to port the webcam composite gadget from kernel 2.6.37 to 2.6.32. I don't have a choice on this since I depend on other drivers and a SDK which only compile for this version. My train of ...
2
votes
1answer
4k views

How can I install my webcam on Debian?

I'm trying to install the webcam driver for my Logitech C210. After some googling Linux UVC driver seems to be what I need. I followed their typical use in hope to get it installed: git clone ...
2
votes
1answer
461 views

lsmod returns nothing on my embedded device

I have put a vendor supplied embedded Linux installation (called X-Linux) onto a hardware device. I ran lsmod to see what modules are loaded and nothing at all is shown. Also there is no /proc/modules ...
1
vote
0answers
494 views

I can't find my tape library changer under centos 5 with a quantum scalar i40

i have a quantum scalar i40 connect on a centos 5 machine trough SAS interface. I fight with it since a while because the media changer does not work. I finally understood yesterday that the system ...
0
votes
2answers
116 views

Extracting only the module and the libraries from the AMD ATI proprietary drivers

I need to use this drivers in a Linux based system that is highly customized and so I'd like to know if there is a way of having this pieces just ready to be manually installed and/or used. In other ...
1
vote
0answers
435 views

systemd-modules-load print errors when loading builtin kernel modules

I'm running Arch Linux, it uses systemd-modules-load to load modules configured in /etc/rc.conf, but since I use a custom kernel and lts kernel, I had to put all possible modules in that config file ...
4
votes
1answer
392 views

When should I keep debugging symbols in kernel modules?

When installing kernel modules, I have the option to strip out debugging symbols using INSTALL_MOD_STRIP=1. This saves significant disk space. Does it also save memory? Why should one keep the ...
3
votes
3answers
6k views

How to remove kernel module if it's still in use?

[rootSERVER ~]# rmmod -f cifs ERROR: Removing 'cifs': Resource temporarily unavailable [rootSERVER ~]# modprobe -r cifs FATAL: Module cifs is in use. [root@SERVER ~]# lsb_release -a LSB Version: ...
0
votes
1answer
283 views

What is the realtime equivalent of the module r8169?

From here: http://www.xenomai.org/index.php/RTnet:Installation_%26_Testing#Testing_with_a_single_node_.28local_loopback.29 TODO: simplify the following steps. - Then you need to edit the file ...
0
votes
1answer
100 views

What's the difference between CONFIG_R8169 and CONFIG_R8169_VLAN?

.config from /usr/src/linux-2.6.38.8 contains: CONFIG_R8169=m CONFIG_R8169_VLAN=y What's the difference between CONFIG_R8169 and CONFIG_R8169_VLAN?
4
votes
1answer
1k views

How to know whether the Linux driver for the real-time network device was built into the kernel?

From here: http://www.xenomai.org/index.php/RTnet:Installation_%26_Testing#Debugging_RTnet The Linux driver for the real-time network device was built into the kernel and blocks the hardware. ...
3
votes
2answers
1k views

How do I build the iptables kernel module for a loaded kernel?

I've built a kernel with loadable module support for various reasons, one of them the possibility to compile modules and load them without rebooting. This is supposed to be useful when I need a module ...
3
votes
1answer
696 views

Do I have to list modules in both `/etc/mkinitcpio.conf` and `/etc/rc.conf`?

I've added few modules into mkinitcpio.conf. Are they automatically loaded at kernel boot or with udev if I don't specify them in modules list in rc.conf?
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 ...
4
votes
1answer
12k 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
1answer
107 views

Build a module from another kernel

Is it possible to use a module (wacom) from a more recent kernel ? My current kernel is 3.1.2 and the module is from kernel 3.4rc4.
2
votes
1answer
142 views

Identifying kernel modules

How do I get more information about a kernel module, like a long description? For example, I can see kernel modules like lp or hid, but those short codes do not mean anything useful to me.
1
vote
1answer
141 views

Compling KUTE traffic generator 1.4 on Fedora Core 5

I am trying to install KUTE traffic generator on Fedora Core 5 kernel version 2.6.15. When I try to complile I get this error message: [root@dhcppc128 kute-1.4]# make make modules make[1]: Entering ...
1
vote
1answer
359 views

proper way to overwrite debian kernel modules

I just downloaded and compiled tg3.ko kernel module. Where should I put it on a Debian system? There is one in /lib/modules/2.6.32-5-xen-amd64/kernel/drivers/net/tg3.ko already. Ideally, I would like ...
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 ?
1
vote
1answer
345 views

Load module from the boot menu

Is there a way to insert/load a module at the boot menu in Suse? I'm referring to the menu in the screenshot below (this isn't from my machine, just a similar screenshot I took from the web). I ...
0
votes
1answer
252 views

Reading virtual memory

Is it possible to read virtual memory even if /dev/kmem is not available? I know that I can recompile kernel to allow this file, but that's not the solution I'm looking for. Is there some tricky way I ...
1
vote
1answer
173 views

Compiling a kernel module with some options

I have a bug in a driver (iwlwifi/iwlagn), which I have reported, and the developers are asking me to "build the driver with debug options enabled." More specifically: Debugging output is enabled ...
2
votes
1answer
171 views

Running a script every time a new kernel is installed

I'm currently having to recompile my wireless driver from source every time I get a new kernel release. Thinking it would be awesomely hackerish to automate this process, I symlinked my Bash build ...
3
votes
1answer
7k views

How to get a list of installed external kernel modules?

From the documentation of Linux kernel 3.2 (Documentation/kbuild/modules.txt) === 5. Module Installation Modules which are included in the kernel are installed in the directory: ...
2
votes
2answers
2k views

How to enable force feedback in kernel 2.6.34 - 64 bit?

The wheel is Logitech driving force DFGT. The platform: linux-dopx:/home/anisha/ # cat /etc/issue && uname -a Welcome to openSUSE 11.3 "Teal" - Kernel \r (\l). Linux linux-dopx ...
2
votes
2answers
2k views

Can't insert rt2800usb module: Invalid argument

I just got an ASUS N13 USB wireless dongle, and unfortunately it's not detected and I can't load it with modprobe: $ sudo modprobe rt2800usb WARNING: All config files need .conf: ...
0
votes
0answers
37 views

Is it possible that a method inside a module (in kernel mode) be preempted?

My basic question is about system stack of a thread, and system stack of a process Two methods in a module? Which of the methods can be preempted via kernel mode preemption, the one in process ...
2
votes
1answer
319 views

Unable to access linux/skbuff.h

I am writing a kernel module where I need to access sk_buff variables. But when I write #include <linux/skbuff.h> Netbeans says it can't locate that header file.
1
vote
2answers
644 views

Kernel module for Cisco VPN client doesn't compile under ubuntu 10.04 LTS?

I am trying to install a Cisco VPN client under Ubuntu 10.04 LTS. In the extracted folder I type: alex@alex-laptop:~/Downloads/cisco4.8/vpnclient$ sudo ./vpn_install and there is output of activity ...
0
votes
0answers
445 views

Silicon Wave USB Bluetooth Adapter doesn't work

I have been trying to use my usb bluetooth adapter(silicon wave) on ubuntu 11.10 server, it appears in the lsusb list but it doesn't work Bus 005 Device 003: ID 0c10:0000 root@i5-PC:/home/john# ...
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 ...