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

1
vote
2answers
76 views

Does modprobe.d blacklist always need the prefix “blacklist-”?

In the german Ubuntu-Wiki it says, that the name of a blacklist in modprobe.d can be chosen as prefered but the filename has to begin with "blacklist-". Is that right? Because in a forum I read a ...
2
votes
1answer
3k views

Building example device driver error: insmod invalid module format

I am following the tutorial @ http://www.embeddedsystemonline.com/home/embedded-system/embedded_linux/lab3-linux-device-driver on step #7 of this tutorial, $ cd ...
21
votes
4answers
618 views

How to find the driver (module) associated with a device on Linux?

On Linux, given: a device, for example /dev/sda, and its major and minor numbers, for example 8, 0, how can I know which module / driver is "driving" it? Can I dig into /sys or /proc to ...
3
votes
1answer
105 views

Finding a char device in /sys using a Bash script?

I have one of these and I am trying to write a Bash script for finding the device path in /sys. My approach goes something like this: start in /sys/modules/usbled since this is the name of the ...
3
votes
1answer
943 views

How to make EDID

I read the post here and I tried to make do with what I understood from the post but here are some questions: Where is the /lib/firmware located in for example /usr/src/linux/lib/firmware or ...
0
votes
0answers
46 views

Install all Linux Kernel Backports?

A series of simple questions concerning the installation of Linux kernel backports: 1) Does anyone have experience installing the unstable ones? Has anyone ever run into problems with them? Or are ...
1
vote
0answers
42 views

Why linux is a monolithic kernel, while you can load/unload modules (e.g. drivers)? [duplicate]

Hybrid- and Microkernels are flexible, in the way one can add any higher-level functionality as a module, is it not the same for linux kernels? Why then linux is called a monolithic?
2
votes
0answers
382 views

Debian Wheezy USB2 ehci_hcd

I have a friend who decided to switch to Linux from Windows. I was helping her to get up and running as quickly as possible but we ran into a problem which I can't seem to solve. She uses Debian ...
0
votes
2answers
1k views

FATAL: Module p80211 not found. RTL8192CUS WLAN regression under antiX 13.1 (Debian Wheezy)

The problem concerns a driver support regression for the RTL8192CUS WLAN chip under antiX 13.1, a Debian Wheezy (stable) based distribution. The chip actually resides in a Edimax EW-7811Un 802.11n ...
1
vote
2answers
960 views

error: “net.inet.ip.fastforwarding” is an unknown key

I've been doing some research into improving performance for OpenVPN and I found out about setting fastforwarding to 1 but when I tried I got the error error: "net.inet.ip.fastforwarding" is an ...
-1
votes
2answers
85 views

Make a new sniffer [closed]

How can use the Linux-kernel to supervise what is going on, about the new connections, new ports, connected hosts? Like I will do a new sniffer. Which files should I monitor to know what is going ...
1
vote
2answers
86 views

Easiest way to upgrade my onboard NIC drivers on a machine without connectivity?

I was assigned a workstation where I work and I needed to install Debian on it. I chose Wheezy because the other machines I use also have it, but I ran into a problem. The workstation is a Dell ...
2
votes
0answers
228 views

TUN/TAP Will not load

I have an OpenVZ server but can't seem to get the tun/tap module to load. I ran modprode tun on the hostnode but when I go under the VM I get: Tue Sep 24 03:08:36 2013 Note: Cannot open TUN/TAP dev ...
0
votes
0answers
154 views

How to compile video4linux for ARM?

I would like to use a webcam using a Linux over ARM board. Through reading, I have discovered video4linux so I would like to compile it for ARM. My unique notes are: git clone ...
6
votes
1answer
912 views

How to disable keyboard?

Without unplugging my keyboard I'd like to disable it from the terminal; I was hoping that this could be done using rmmod but based on my currently loaded modules it doesn't look like it is possible. ...
0
votes
4answers
1k views

How to show loaded kernel modules inside OpenVZ virtual server

I am trying to find out what kernel modules are loaded inside a OpenVZ virtual server. Command lsmod is empty and I believe the reason is the way how OpenVZ's virtualisation is working. Specifically, ...
2
votes
2answers
1k views

What is the sequence loading linux kernel module on startup? How priority is set to them?

I have a Linux kernel module which I compiled dynamically. How is it added to startup? There are lot of .ko files in /lib/modules. How is priority set for loading these modules?
2
votes
3answers
465 views

How do I know which kernel configuration option enabled my driver?

TL;DR: when I was trying to compile a driver for USB DAQ device I have reconfigured the kernel. The driver refused to compile under the default distro's kernel but everything works with my tweaked ...
1
vote
1answer
241 views

Kernel module blacklist not working

I'm trying to figure out how to blacklist modules, and I'm trying it on the usb storage. Unfortunatelly it seems ot have no effect, and I get the module in even if it's not used (apparently). My ...
1
vote
3answers
128 views

Does a fault in a kernel module necessarily result in a system crash?

Or is it possible to overcome the fault, since the code isn't in the monolithic part of the kernel?
0
votes
1answer
51 views

How can I change a module kernel version to a custom version so that it gets loaded on an ARM board?

I'm hacking on an ARM926 based board, with a custom kernel based on 2.6.30. I've got a program that needs a specific kernel module but since I have no kernel source I can't compile the module I need ...
0
votes
1answer
96 views

install a kernel module into BeagleBoard (BB)

I want to install a kernel module (For example "Hello world") on the BeagleBoard(BB). (The installed OS on the BB is an Ubuntu Linux). If anybody already worked on this could you suggest me a step by ...
-1
votes
1answer
325 views

removing kernel modules not working for some modules [closed]

unfortunately i couldnt install a machine with minimal installation as a virtual machine ,so i am trying to prevent loading of unwanted modules from kernel using blacklist file. Added following to ...
2
votes
1answer
898 views

Scaling issues of i7 3520M with intel_pstate module on Kernel 3.10.0

Few days ago I updated my openSUSE 12.3 system from Kernel 3.9.8-1.gf3348a8-desktop to 3.10.0-1.g3dcd746-desktop and since then, turbo mode of my i7 3520M is enabled by default and it does not ...
3
votes
1answer
675 views

Cannot remove or reinsert kernel module after error while inserting it without rebooting

I am learning how to create kernel modules and it was all working fine: I compiled, inserted the .ko with sudo insmod cheat.ko, and the printk messages inside the init function (set by module_init) ...
1
vote
1answer
433 views

Installing a platform driver

I have recently acquired a device driver for an integrated watchdog timer on a x86 board on which I am running a minimal Linux system. The kernel is 3.6.11 and it has been built using buildroot. My ...
1
vote
1answer
313 views

How to set up a blacklist for insmod?

I want to block a certain driver module from loading in the linux kernel. So I created a file in /etc/modprobe.d/cdc_acm.conf. In this file I added the following line: install cdc_acm /bin/false ...
2
votes
1answer
4k views

Excluding kernel modules through /etc/modprobe.d/blacklist.conf does not work

I don't want to load the kernel module nouveau on my debian box at startup, so I put the following in /etc/modprobe.d/blacklist.conf: blacklist ttm blacklist drm blacklist nouveau I even did a ...
1
vote
1answer
3k views

I need a step by step guide to build kernel modules in ChrUbuntu

I don't have experience building kernel modules. And worse, I'm trying to do it on ChrUbuntu, so it seems that I cannot follow the existing Ubuntu guides. For example, this command fails: # apt-get ...
3
votes
2answers
6k views

Ubuntu make fails with No such file or directory /lib/modules/3.4.0/build

I am trying to build the CP210x driver for the 3.x.x kernel on ChrUbuntu. Build instructions: Ubuntu: make ( your cp210x driver ) cp cp210x.ko ...
0
votes
1answer
763 views

Assembly files in obj-m list when building kernel modules

I'm trying to build kexec as a module, but I'm running into a weird problem. My obj-m is: obj-m += kexec.o machine_kexec.o relocate_kernel.o When I run the makefile, it complains that there's "no ...
1
vote
1answer
411 views

Can kexec be built to a standalone binary, to be used where kexec was not built into the kernel?

I have remote embedded Linux devices I am trying to update to a new kernel without having to physically access. However, the command line options they boot with make one of the MTDs read only - I ...
1
vote
1answer
204 views

Integrating custom kernel module into Debian

I've built a kernal module from source and now would like to load the module at boot. The .ko file is in the build directory in my user folder, and I know it works because running insmod ./vizzini.ko ...
0
votes
0answers
63 views

Decreasing mouse sensitivity at kernel level

I have developed a custom-GUI Server, which runs on virtual console of Linux.For mouse-handling purpose, it reads the mouse device file /dev/input/mice and retrieves the event data and updates ...
1
vote
1answer
383 views

Virtualbox kernel modules not loading at boot

I have been running virtualbox on an Ubuntu 12.04 laptop for a while and it has all worked smooth, but suddenly, probably after a kernel upgrade, the vbox* modules are not loading at boot, if I ...
1
vote
2answers
246 views

Does linux modules/drivers belong to kernal space or user space

Some articles say that modules/drivers belong to kernel space as it take part in forming the kernel; (reference: http://www.freesoftwaremagazine.com/articles/drivers_linux) While others say that ...
2
votes
1answer
610 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
821 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
94 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
303 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
255 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
535 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
208 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
732 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
955 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
374 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 ...