Specialized software that runs inside the kernel.

learn more… | top users | synonyms

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
36 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
293 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
586 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
405 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
304 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 ...
17
votes
1answer
8k 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 ...
6
votes
1answer
3k 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
2k 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
973 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
657 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
8
votes
3answers
4k 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
373 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
674 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! ...
6
votes
1answer
472 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
191 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
377 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: ...
0
votes
1answer
110 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 ...
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 ...
1
vote
3answers
4k 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
432 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
309 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
315 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
165 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?
4
votes
1answer
750 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 ...
6
votes
2answers
1k 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
284 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
880 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
317 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
328 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
932 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). ...