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

0
votes
0answers
686 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
1k 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
729 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
520 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
204 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 ...
6
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
382 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
586 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
112 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 ...
4
votes
2answers
694 views

List unused module

Is it possible to list down unused modules? lsmod would only list down dependency by modules, right?
5
votes
4answers
2k views

Best way to get into Kernel programming?

Not so much asking what books (although if you know of any guides/tutorials that'd be helpful) but what is the best way to start doing kernel programming and is there a particular distro that would be ...
2
votes
3answers
5k views

possible to load kernel module that “disagrees about version of symbol”

I downloaded the sources for my kernel, applied a patch and rebuilt it and now I have a kernel module that, when I try to insmod, complains "Unknown symbol in module" with dmesg giving the error ...
2
votes
1answer
458 views

[FreeBSD] rc.conf, loader.conf vs static kernel linking

I'm curious: What, exactly are the benefits to statically linking modules into the kernel rather than loading through rc.conf, etc? For example: To add linux emulation, I could add ...
5
votes
2answers
318 views

Unclaim a device

So I am using Ubuntu and trying to use some hardware which I had some problems with before. The problem before was that the company who made my hardware sold their internal parts to another company ...
2
votes
1answer
328 views

wacom pen & touch cth-460 on debian [closed]

Following instructions at http://lik.noblogs.org/post/2010/05/07/wacom-debian/ Though, i downloaded and built linuxwacom-0.8.8-11 ./configure --enable-wacom ...
2
votes
1answer
8k views

Xorg -configure doesn't work with nouveau drivers

I'm having problems setting up X.org on Gentoo. At the moment I have kernel 2.6.37-gentoo-r4 installed and have built X against this kernel. I have nouveau drivers installed and they seem to be ...
2
votes
2answers
6k views

I am failing to build VirtualBox driver for Linux 2.6.38

I am running Debian 6, and decided to install 2.6.38 kernel from Unstable. I also installed the headers so that I can later on : sudo apt-get install --target-release=unstable ...
1
vote
1answer
1k views

Module Stacking in Linux device drivers

I am trying my hand with Linux, just come across the concept of module stacking. It can be used to use symbol exported by other Modules. Means we can use something already made in some module so we do ...
6
votes
1answer
179 views

How's a module approved to be included into the linux kernel?

I'm now compiling the linux kernel 2.6, and finding there are more than 1,000 modules in total. How is a module approved to be included into the linux kernel?
2
votes
1answer
774 views

Where can I find information on Linux device driver parameters?

I want to work on Linux module programming (Device Drivers). And as a my college project I have to do profiling or benchmarking of a kernel modules based on various parameters. Everywhere I looked, I ...
4
votes
1answer
770 views

Booting without initrd

Is it possible to boot linux without a initrd.img ? I am planning to add default drivers as a part-of-kernel itself and avoid initrd completely. What are the modules that should be made ...
2
votes
2answers
272 views

“Linux supports the dynamic loading of kernel modules. ”

I read in a book written by Robert Love that: Linux supports the dynamic loading of kernel modules. He said this is the difference between Linux and Unix, but I seem to recall there is also KLD ...
2
votes
1answer
339 views

load program/module at boot

I'm trying to load a program I wrote at boot. The program is also a module.ko and a small bash script. For the module I tried doing depmod mymodule.ko and modprobe -a and messing around with modprob ...
6
votes
2answers
2k views

What does mkinitrd change when it adds kernel modules to the initrd?

When creating an initrd using mkinitrd (CentOS 5.5), the kernel modules it adds to the initrd get modified in the process. For example, the initrd's /lib/sata_via.ko is not binary identical to ...
6
votes
2answers
2k views

How do I debug a kernel module in which a NULL pointer appears?

I have a custom kernel module that I compiled from this patch that adds support for the logitech G19 keyboard among other G series devices. I compiled it just fine against Ubuntu's maverick kernel's ...
3
votes
1answer
295 views

Changes to input_get_keycode function in linux kernel (input/input.c)

I'm working on building a kernel module for an input device, and I noticed that in the module source, there's a couple calls to input_get_keycode(data->input_dev, scancode, &keycode); When I ...
3
votes
1answer
937 views

Do I need pata_atiixp or ata_generic kernel modules on a SATA only system?

I don't have any IDE drives and my only SATA hard drive is running in AHCI mode, but my initrd image loads the pata_atiixp module. Is it safe to disable this module? And what about the ata_generic ...
4
votes
2answers
330 views

How to debug an inserted kernel module?

I would like to debug a loaded kernel module I don't have the source code to; I suspect it's a virus. Is there a way to feed it into GDB for analysis?
3
votes
1answer
347 views

`power/persist` file not found in USB device sysfs directory

The file /usr/share/doc/linux-doc/usb/persist.txt.gz mentions that the USB-persist capability can be enabled for a given USB device by writing 1 to the file persist in that device's directory in ...
1
vote
3answers
2k views

vga_switcheroo not in /sys/kernel/debug in 2.6.35-22 (kubuntu maverick)

I have a sony VPCZ12 laptop. It has those dual video cards that are a pain to get working in linux. The new 2.6.35 kernel is supposed to support that with the vga_switcheroo module which is supposed ...
2
votes
1answer
995 views

who loaded my kernel modules?

I have compiled a kernel with some modules, for example the ath9k for my wireless card. I don't have anything in the autoload configuration (i.e my file /etc/modules.autoload.d/kernel-2.6 is empty). ...
8
votes
5answers
2k views

Benefit of kernel module compiled inside kernel?

What's the benefit of compiling kernel modules into the kernel (instead of as loadable modules)?