Specialized software that runs inside the kernel.
3
votes
2answers
987 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 ...
13
votes
4answers
2k 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
2k 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
278 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 ...
0
votes
1answer
188 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
205 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 ...
3
votes
2answers
631 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
78 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
2k 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
191 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
300 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
84 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
275 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
215 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 ...
2
votes
3answers
2k 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
166 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
64 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
906 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
590 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
303 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
194 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 ...
3
votes
1answer
6k 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
...
1
vote
1answer
86 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.
2
votes
1answer
101 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
101 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
246 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 ...
1
vote
1answer
122 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 ?
0
votes
1answer
175 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
126 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
103 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
3k 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
976 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 ...
1
vote
2answers
1k 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
33 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
240 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
1answer
396 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
302 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
246 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 ...
16
votes
1answer
5k 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 ...
5
votes
1answer
2k 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 ...
1
vote
2answers
1k 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
908 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
493 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
2k 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
331 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
539 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
700 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
319 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
160 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 ...