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
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
494 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
536 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
120 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
461 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
467 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 ...
4
votes
3answers
7k 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
296 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
115 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
812 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?
2
votes
1answer
376 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
13k 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
110 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
153 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
146 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
384 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
205 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
362 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
280 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
188 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
196 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
9k 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
3k 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
336 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
694 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
474 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
344 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 ...
18
votes
1answer
11k 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 ...
7
votes
1answer
4k views

Webcam on Angström

I am running Angström on my BeagleBoard-xm. I want to use a webcam (I have Microsoft LifeCam Cinema and Logitech C310). I installed v4l-utils, libv4l-dev and kernel-module-uvcvideo with opkg. But the ...
2
votes
2answers
3k views

How much strip(1)-ing is okay for kernel modules?

I regularly create packages for Slackware Linux and part of the process is stripping binaries so that they take up less space. I find that if I strip --strip-all (or strip with no options) kernel ...
3
votes
2answers
1k views

Problem at boot-time: “Loading user-defined modules [FAIL]”

After I updated my Kernel to version 3.0, i always get this line when my Arch-Linux system is booting up: Loading User-specified Modules [BUSY] [FAIL] I have no idea what could cause this to ...
2
votes
1answer
706 views

VirtualBox host-only network suddenly stopped working , no interface available inside

I'm unable to setup host-only network in virtualbox suddenly , please see my screenshot , there's no entry in "Name" comboBox
5
votes
1answer
10k views

How to generate Module.symvers?

I recently went through Unpacking kernel-source rpm off-system (OpenSuse)?; and as it took > 10 h on my machine, imagine my surprise that after doing the process described there, I find no ...
9
votes
3answers
5k views

Mount printers at /dev/usb and still use CUPS

Due to a new version of CUPS, I suddenly lost the direct path to my printers that was previously available under /dev/usb/lpXXX. I used this to print directly from the command line. echo "test" > ...
2
votes
0answers
383 views

Kernel 3.0.0-1 and NVIDIA driver boot problems

I can't boot kernel 3.0.0-1 on Asus G53S running Debian, it freezes when booting with: NVRM loading NVIDIA Unix x86_64 kernel module 275.28 then it times out with: udevd[350]: timeout: killing ...
0
votes
0answers
705 views

How to install VGA2USB in ArchLinux?

How do I install VGA2USB in Arch Linux? I downloaded the driver vga2usb-3.26.0.27-ubuntu-3.0.0-12-server_X86_64.tbz I tried with latest kernel did not worked failed with same issue, now showing with ...
5
votes
1answer
2k views

Custom kernel: fails to load firmware when module built-in

I'd like to have all my modules built-in, but this fails with iwlagn: iwlagn 0000:03:00.0: request for firmware file 'iwlwifi-6000-4.ucode' failed. iwlagn 0000:03:00.0: no suitable firmware found! ...
3
votes
1answer
842 views

How can I pass module parameters for bonding driver when compiled into kernel 2.4?

I have an old 2.4 kernel based linux device using NIC Bonding. Instead of having the NIC Bonding module build as a module and modprobe'ed into the system, its compiled directly into the kernel. I'd ...
6
votes
1answer
607 views

Grubby fatal error in Linux kernel installation

I have compiled Linux kernel 2.6.24.6 from source (without problem) and tried to install it. Specifically, after unpacking the Linux source code, I did make && make modules to compile. ...
2
votes
1answer
207 views

rpm content compress

My default kernel rpm has 12mb size, for some reasons I compile a custom kernel and make rpm from that(make rpm command). However, my custom kernel rpm size is 96mb. I look inside default rpm, in ...
2
votes
1answer
2k views

What does 'Invalid module format' mean?

After executing... sudo modprobe rt3572sta I get... Invalid module format What does it mean? I'm trying to get Wusb600n v2 working on Lucid Lynx. Does it mean that kernel versions aren't ...
7
votes
3answers
2k views

Linux Kernel logical address space organisation

According to "Write Great Code" in almost all OS run time memory is organized into following regions: OS | Stack | Heap | Text | Static | Storage/BSS [In increasing address fashion] User ...
3
votes
1answer
389 views

Xenomai and Ubuntu

I have installed xenomai 2.4.8 in Ubuntu 11.04 with this command: apt-get install libxenomai-dev Now I want test a simple vxWorks program, but when I compile my program, I receive this message: ...
2
votes
2answers
635 views

How can I test a kernel module in a mobile device?

I'm writing a module for the Linux kernel. When this module is ready, I'd like it to run in any device running the kernel. How can I test it in an Android phone? Do I need to recompile the whole tree ...
0
votes
1answer
114 views

Config setting for Linux kernel compilation

I need a Linux kernel compiled with debug features for a kernel module development.What all debugging configuration options should I include for kernel compilation,So that I can avail to all available ...
2
votes
1answer
4k views

NVIDIA installer can't find kernel source/build files (compiled from kernel.org)

I just compiled and installed the new 3.0-rc2 kernel from kernel.org on my Fedora 15 system. Everything seems to work fine and I can successfully boot into the system. However, this broke my ...