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

Busybox `uname -r` shows wrong kernel version

My kernel is 3.2.27 and /lib/modules/ contains 3.2.27 + folder. But when I am using /# uname -r 3.1.9+ It's showing a strange output. My problem is that for modprobe depends on uname when I put ...
4
votes
1answer
2k views

ALSA/ASoC: How to correctly load devices/drivers?

I am using Buildroot to build an embedded Linux (2.6.39.2) system for the NXP LPC3250 microcontroller. Right now, I'm trying to get ALSA/ASoC up and running, but I'm having some issues with getting ...
2
votes
1answer
591 views

Build kernel in one machine, install in another

I want to build my Linux kernel on my host and use it in my VWware virtual machine. They both use the same Ubuntu kernel now. On my Host, I do make and make configure. Then, what files should I copy ...
7
votes
2answers
1k views

How to block loading kernel module only in single user boot when blacklist fails?

On a "Linux debian 2.6.32-5-amd64 #1 SMP" installation where loading a kernel module (mpt2sas) is desired to be delayed to be loaded after starting sshd and users can remotely login, the mpt2sas ...
2
votes
1answer
348 views

lsmod returns error unless called with sudo

Fixed: The install README for libusb suggests added a call to export LD_PRELOAD=/path/to/libusb-driver.so It was this .so file that was getting called and interefering with lsmod (and it turns ...
1
vote
1answer
88 views

What happen when we plug a device in to computer

I'm currently learning about device developement for linux, I have glaced at some books such as LLD3, .. but I still can't understand what happen when we plug a device into computer, That's my ...
4
votes
1answer
455 views

Automatically apply module patch and compile kernel when updated?

I've recently applied a one-line patch to drivers/bluetooth/btusb.c in order to enable compatibility with my Bluetooth device. However, whenever I get a kernel upgrade, the patch will be lost until ...
1
vote
1answer
704 views

Building kernel module

I have a 3rd party device driver which I am trying to cross-compile. When I build the driver everything goes smooth but I don't see any driver.ko file, however driver.o file is generated fine and I ...
1
vote
2answers
351 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
906 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
360 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
827 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
518 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
727 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
864 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 ...
21
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
406 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
132 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
239 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
301 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
2k 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
103 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
470 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
504 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
117 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
447 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
409 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
288 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
106 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
733 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
360 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
2answers
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
109 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.
3
votes
1answer
147 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
363 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
199 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
354 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
259 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
178 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 ...