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

2
votes
1answer
700 views

List of packages managed by DKMS

How do I get a list of packages (and their versions) managed by DKMS so I can easily add/remove them?
1
vote
2answers
885 views

What module for network card Intel Corporation Device 1521?

I'm installing a new server and I'm not able to figure out what module should I load to make its on-board network card work. Calling lspci prints: Ethernet controller: Intel Corporation Device 1521 ...
5
votes
4answers
3k views

How to determine which module taints the kernel?

My kernel keeps panicking when connected to a certain wireless network. I'd like to send a bug report but my kernel is apparently tainted. From /var/log/messages: Apr 17 21:28:22 Eiger kernel: ...
2
votes
2answers
5k views

Automate modprobe command at boot time on Fedora

My distribution is Fedora 17 Gnome. Every time I reboot/restart my computer I need to run this command as root: modprobe rt2800usb How can I make it permanent?
3
votes
2answers
2k views

Why does modinfo say “could not find module”, yet lsmod claims the module is loaded?

According to the man page of lsmod the command shows “what kernel modules are currently loaded”. I wrote a script that uses modinfo to show what kernel object (.ko) files are actually in use: ...
1
vote
1answer
96 views

how to stop adding unused module to loadable kernel module?

Is there any way how to stop unused module to loadable kernel module other than putting them in the mod probe blacklist.
2
votes
1answer
329 views

How to run Different congestion control algorithms in FEDORA 17 ..?

Earlier versions of Fedora has different loadable kernel modules which includes diffrent congestion control algorithms etc at (/lib/modules/"kernel-name"/kernel/ipv4).These are present in the form of ...
1
vote
0answers
270 views

How to load kernel module in Chromium OS?

I've installed the Chromium Vanilla by Hexxeh to a USB drive, but I can't use it on my computer because it lacks the carl9170 driver, which is needed by my adapter (a D-Link DWA-160.) I've managed to ...
4
votes
2answers
578 views

kernel module function call

I write a kernel module which has initialize and end function. I want one more function and want to call it from the user space process at any time i want. Is it applicable ? If so, how ? I am ...
2
votes
0answers
224 views

How to configure buildroot to add a sound device?

I've used a given board configuration to reconfigure it for my individual board. My board has a CS4270 sound device of Cirrus Logic. My uImage is booting successfully on my target hardware, but an ...
4
votes
2answers
786 views

Kernel Modules: .o vs .ko

It seems that files containing kernel modules are called .o, at least that's what I figure when looking at a tutorial like this one. However, on my debian squeeze box, these files seem to be called ...
5
votes
3answers
1k views

Disadvantages of linux kernel module?

I am trying to understand the disadvantages of using Linux kernel modules. I understand the benefits of using them: the ability to dynamically insert code into a running system without having to ...
0
votes
2answers
1k views

How to load a module in Gentoo?

I am using Gentoo, with kernel 2.6.30, and I tried to load a module with modprobe usbcore, but it fails with modprobe: module 'usbcore' not found. However, I can find a directory with that name in ...
2
votes
1answer
395 views

(Solved) Linux cdc_acm device - unexpected characters sent to USB device

I'm having trouble with unexpected characters being sent on a USB port with the cdc_acm driver. What makes this all the more perplexing is that the code runs fine on Ubuntu 12.04 (3.2 kernel) but ...
1
vote
0answers
169 views

after enabling Xinerama (in AMD condor Dual-Head Graphics Card) the system graphics hangs

I have a problem in my AMD Condor Dual-Head Graphics Card When I enable Xinerama from "System → Preferences → AMD Catalyst Control center (Administrative)" my RHEL Server 6.3 (x64) Graphics hangs. ...
2
votes
1answer
922 views

Kernel config for ASUS P8Z77-V mainboard series

I want to build a kernel (3.6 series) for a system with a ASUS P8Z77-V mainboard. Which settings fit to the built in components? (The ideal answer would contain an example .config for this board.) # ...
5
votes
2answers
1k views

What package could “linux-headers-3.7.5-1-ARCH” mean?

I'm debugging a closed-source software installer that seems to have some pre-conceived notions about my distribution. The installation aborts after not finding apt-get. The command it attempts to run ...
3
votes
1answer
3k views

Sound not working when both the sound card and HDMI use the Intel HDA driver. How to exchange their device loading order?

I have an Acer Aspire One 522 netbook which has an Intel HDA sound card based on the Conexant CX20584 chipset. Although KDE does output sound when starting up, flash and probably many other apps which ...
1
vote
1answer
499 views

Compile Linux Kernel w/ Dynamically (Un)loadable usbserial Module

I've attempted to install drivers for an FPGA device, but require that I remove the usbserial module. This happens to be impossible because usbserial is a built-in module. It was suggested that I ...
2
votes
1answer
79 views

Standard way to expose device file to userland applications running on an unprivileged user account?

I just finished the first version of a Linux kernel module I've written in C. The module creates a device file (/dev/wn0) that controls a USB device with three LED lights. For example, running as ...
9
votes
4answers
21k views

Determining cause of Linux kernel panic

I'm running an Ubuntu 12.04 derivative (amd64) and I've been having really strange issues recently. Out of the blue, seemingly, X will freeze completely for a while (1-3 minutes?) and then the system ...
8
votes
2answers
4k 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
508 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 ...
6
votes
1answer
3k 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
665 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
2k 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
370 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
92 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
497 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
838 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
384 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
3k 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
1k 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
408 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
3k 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
879 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 ...
5
votes
1answer
577 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
769 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
936 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
8k 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
6k 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
427 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
147 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 ...
2
votes
2answers
2k views

debian does not detect serial PCI card after reboot

I have installed a PCI card with two serial and one parallel port on it. the chipset is MCS9865. I downloaded the latest driver(V1.0.12) from here. I ran make and make install. now the two serial ...
0
votes
1answer
245 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
307 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
107 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 ...