0
votes
1answer
121 views

usb kernel module does not load on demand but works fine with insmod and modprobe from the shell

I have a USB Linux Kernel module that compiles and builds. Running insmod loads my module and dmseg and tail -f /var/log/debug shows me it works as expected. Running depmod -a then modprobe from the ...
1
vote
0answers
36 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
207 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 ...
1
vote
1answer
97 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 ...
5
votes
3answers
752 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 ...
1
vote
1answer
443 views

Building kernel module

I have a 3rd party device driver which I am trying to cross-compile. When I build the driver everything goes smooth but I don't see any driver.ko file, however driver.o file is generated fine and I ...
3
votes
1answer
109 views

How to submit a Linux module upstream?

I've written a useful kernel module for a specific fan controller that I want to submit upstream. Where can I find an address to submit my module? Do I need it make GPL or can I use a less ...
2
votes
1answer
7k 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 ...
2
votes
2answers
548 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 ...
4
votes
2answers
632 views

List unused module

Is it possible to list down unused modules? lsmod would only list down dependency by modules, right?
2
votes
1answer
725 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 ...
2
votes
2answers
265 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 ...
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)?