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
0answers
8 views

How does bcma relate to brcmsmac?

I am trying to solve some issues with my wireless connection and trying to learn something on the way. From here and here I got to know two different ways to know my wireless driver. Thing is, I get ...
3
votes
1answer
1k 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 ...
1
vote
0answers
14 views

How connected are kernel modules to kernel version?

I'm wondering how custom ROMs port new versions of Android (particularly the Linux kernel) to old phones. As I understand, Linux allows closed source kernel modules. If so, then when the phone ...
6
votes
1answer
2k views

“usb 3-2: can't set config #1, error -110” - USB keyboard works in Windows 8 laptop but on PC only until Linux boots

I tried 2 new USB keyboards that work until Linux starts booting. When booting I saw: [ 8.365211] usb 3-2: New USB device found, idVendor=1a2c, idProduct=0b23 [ 8.404863] usb 3-2: New USB ...
0
votes
1answer
36 views

How do I load a kernel module later in the boot sequence?

I've been experimenting with the g_mass_storage kernel module. I first tried loading it by putting it in /etc/modules and the options in /etc/modprobe.d/file.conf This worked, but when I connected ...
-2
votes
0answers
19 views

how to compile and load a kernel module? [duplicate]

I want to compile a kernel module that is have makefile, .c file and .h file how i can compile it for arm cpus an how i can load this kernel module. --This is my makefile : KERNEL_DIR := ...
0
votes
1answer
14 views

Does CentOS 6 have a kernel-module-extra equivalent?

I am attempting to activate and use my TPM module, but all online instructions suggest I install kernel-modules-extras package. The problem is, I cannot find this package type for CentOS 6. Is this ...
0
votes
1answer
60 views

Debian Jessie Wireless Driver Broadcom Restart (rmmod modprobe) BCM43142 [14e4:4365]

my Dell laptop, running Debian 8 (Jessie), has this wireless device: $ lspci -nn -d 14e4: 02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) And it ...
23
votes
1answer
15k views

Linux: What is a tainted kernel?

Under certain conditions, the Linux kernel may become tainted. For example, loading a proprietary video driver into the kernel taints the kernel. This condition may be visible in system logs, kernel ...
4
votes
1answer
118 views

How do I compile DKMS module for multiple kernel image versions in Debian?

I have versions 3.16 and 4.0 of linux-image package installed. During login I can select which kernel I want to boot in the "advanced options" menu item. However, when I install a DKMS module it is ...
0
votes
1answer
16 views

Execute Terminal Command in Linux Kernel Hook

How do I execute the following command from a loadable Linux kernel hook: echo 5 > /sys/kernel/debug/ieee80211/phy0/ath9k/AggregationLimit
2
votes
2answers
2k views

VirtualBox Kernel Module Installing Issue

I installed VirtualBox, in the first run i got this warning: WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel ...
2
votes
2answers
593 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 ...
2
votes
1answer
17 views

Managing Pre-Built Kernel Modules Across Kernel Versions

Please read the full question before attempting to answer, this is a bit oddball of a situation. I support a lot of server hardware test functionality, and essentially end up managing several ...
0
votes
1answer
786 views

custom kernel and firmware loading

After I have compiled my kernel, and when I type make modules_install, not only are the modules copied into /lib/modules/ but also firmware is copied into /lib/firmware/. The following is the end of ...
2
votes
1answer
46 views

Why does Linux have a maximum number of sound cards? [closed]

I'm specifically asking about CONFIG_SND_MAX_CARDS in the kernel. From the code using this config, for example in sound/usb/card.c for USB cards, soundcards are stored in plain arrays which are ...
3
votes
1answer
884 views

load module via /etc/modules

I want to load my kernel module hello.ko on boot in Ubuntu 12.04. I placed it in /lib/modules/3.8.0-31-generic/kernel/ubuntu/hello.ko, ran depmod -a, and added "hello" to /etc/modules. However, when ...
0
votes
0answers
32 views

Linux kernel running only with use of physical address

Is theoretically possible to make Linux which for its own kernel (include modules) uses only physical addresses? (it means it completely omits MMU) For processes there would be normal virtual space ...
0
votes
0answers
10 views

How can I find the module responsible for interaction with keyboard [duplicate]

I have a laptop and want to be able to turn off keyboard for a while. I use this code: modprobe -r usbhid sleep 10 modprobe usbhid But as my keyboard is not usb, and it only blocks mouse. How can I ...
5
votes
1answer
67 views

Loading WiFi driver results in the whole system becoming unstable. How to debug?

I am not a linux kernel expert, but I got this new laptop and it's WiFi(RT3290LE) is not working. I tried solutions from various sources and they are not working. So it is upto me to solve it, and I ...
0
votes
1answer
14 views

how to build a autoconf module and how to load that for compiling other program

I am using our university's computer cluster which installed GNU autoconf 2.68. Now I need autoconf 2.69 to compile other programs. I don't have root privilege, so I want build my own autoconf module ...
0
votes
0answers
33 views

What USB/WiFi dongle chipsets does Linux support in Client/AP mode?

I had a laptop a year ago which had a wireless card (Atheros QCWB335) which supported creating a virtual interface to broadcast a SoftAP network while retaining a connection to another access point ...
1
vote
0answers
14 views

Autoloading a particular driver, based on a detected specific kernel

I need some help in writing a tiny script and determining its placement within Debian 7.9 filesystem. As the title says, the script needs to be executed automatically on startup and, after checking ...
4
votes
2answers
4k 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
0answers
855 views

kernel: bcm2708_fb soc:fb: Unknown ioctl 0x40187a22

I have a Raspberry Pi running Raspbian. Towards the end of the startup log, I see this error. I believe it has been there a while, and I'm not sure what it may imply. kernel: bcm2708_fb soc:fb: ...
34
votes
5answers
18k 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
0answers
16 views

Finding information on a builtin module [closed]

How do I find more information on a builtin module called module? $ cat /lib/modules/$(uname -r)/modules.builtin Doesn't show module as being a builtin module. s@W530:/sys/module$ modprobe module ...
1
vote
0answers
73 views

Linux Kernel module Remote Debugging with GDB + KGDB, Remote 'g' packet reply is too long

I am trying to remotely debug Linux Kernel and I am having issues. My setup: Target machine with Ubnutu Linux with my custom kernel 4.3 which I built with debugging information and KGDB. ...
1
vote
1answer
34 views

DKMS modules never installed properly on kernel upgrade

I have multiple DKMS modules installed on my system, some of them mine, and some of them belonging to pretty major maintained packages such as Oracle's VirtualBox 5. What I've found is that on every ...
2
votes
1answer
710 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
3answers
3k views

Debian Wheezy, issue connecting multiple monitors

I just recently migrated to Wheezy from Arch, everything has gone very well except I can't seem to get multiple monitors to work. Here is my setup: machine: Dell Latitude E6540 laptop graphics: ...
3
votes
1answer
28 views

Change the parameters a kernel module loads with

When I plug in an SD card in Ubuntu, the module mmc_block loads with the value of mmcblk.perdev_minors set to 8. I am pretty sure this is the default value coded into the module. What file might I ...
5
votes
2answers
2k 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?
0
votes
0answers
12 views

Export network module from one live distro and import into another?

I have two live distros installed on a thumb drive with YUMI. One is a flavor of Ubuntu, and the other is a flavor of Puppy Linux. I want to use Puppy Linux as my primary distro, but it does not ...
0
votes
1answer
45 views

How to write a Patch for VyOS kernel

I am new to VyOS development. I have written a patch which will fetch info from the VyOS kernel module and write it on a netlink socket. But the problem is I am not sure if I should edit the kernel ...
2
votes
1answer
119 views

check-config errors on Linux 3.19.0 kernel, configured under Ubuntu 15.04 x86-64

I'm new to configuring Linux kernels, and am receiving the following errors when running config-check: check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/amd64-config.flavour.generic: loading config ...
1
vote
1answer
26 views

AES-NI module missing in Fedora

I would like to use full disk encryption in the future and wanted to test if my CPU has AES-NI support so I followed guide on nixcraft. It turns out that I do have support, but the kernel modules are ...
0
votes
1answer
41 views

Dummy Network Driver

I have failed to come up with a dummy network driver through google search.i am planning to write a network driver in C that is linked to protocol stack but not linked to any hardware The online ...
1
vote
1answer
26 views

Kernel module version enforcement

Linux can be configured to require that kernel modules be digitally signed. On kernels built for embedded devices and consumer devices (i.e., tablets, smartphones, etc.), I can still see that this ...
6
votes
4answers
26k 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 ...
0
votes
1answer
77 views

Error inserting module: Device or resource busy

When running modprobe to insert a module into kerner I get the following: # modprobe 8192cu FATAL: Error inserting 8192cu ...
3
votes
1answer
754 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
1answer
38 views

Why are there module options AND driver options - e.g. for the i915 module?

The i915 Kernel module has several "module options" like the infamous enable_rc6. However, for the xorg config file, there are further options such as TearFree. I was wondering - why are there two ...
1
vote
1answer
77 views

Linux root on F2FS

I have my Linux root on an F2FS USB flash drive. The kernel is on another device accessible by the bootloader. I'm trying to start it with the parameters root=/dev/sda1 rootwait rootfstype=f2fs, but I ...
0
votes
1answer
42 views

Upgrade Squeeze to Wheezy now no modules.dep

After upgrading Squeeze to Wheezy my server will no longer boot. I'm only able to boot, by selecting a previous kernel (2.6.32). linux:~# find /lib/modules/3.2.0-4-amd64/ -maxdepth 2 ...
0
votes
1answer
35 views

Attaching a phram mtd0 device to gadget serial mass storage

I'm using a Atmel SAMA5D3, I have created two phram devices /dev/mtd0 and /dev/mtd1 I am trying to attach them to a gadget mass storage module. insmod g_acm_ms.ko file=/dev/mtd0,/dev/mtd1 The ...
2
votes
1answer
329 views

Do I have a dead NIC?

OK so this is kind of a long one due to command output. Not necessarily in complexity as I'm only showing some basic t-shooting so any feedback would be appreciated. Basically, I have a fairly new ...
1
vote
0answers
17 views

API for Kernel Module Development

I want to know if there is an API documentation listing all the functions/methods in the Header files? E.g. linux/kernel.h listing functions like printk(), linux/moduleparam.h indicating functions ...
1
vote
1answer
38 views

Install DKMS on self-made Linux system

I am trying to install DKMS on a Linux system that I made from the Linux from Scratch and Beyond Linux from Scratch books. I've found the package source from here but absolutely no info as to how to ...
1
vote
2answers
3k views

How to install AMD Catalyst 15.9 on Ubuntu 15.10?

today I tried to install the fglrx-updates package from the repositories of Ubuntu 15.10, but after rebooting my computer, did not start the display manager. It is assumed that the driver has patches ...