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
1answer
28 views

web cam starting hangs os

I faced a strange effect as ... when my notebook wakes up from suspend I can start and close my web cam with guvcview 1-3 times; But after while on 3dr or 4th starting attempt (I didn't count for ...
0
votes
1answer
17 views

How do I install freeBSD headers ?

I have been a arch linux user for the past 2 years and now moving on to freeBSD for kernel development. I have install freeBSD and want to compile a dynamically loadable kernel module for freeBSD. ...
2
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
9 views

Fair traffic classification using TC

I want to apply a qdisc I developed on myself (quite similar to netem. Think netem.) to several IP-addresses using the filter classifier. No problem this far, I could do so using the prio qdisc or HTB ...
1
vote
1answer
103 views

Compiling kernel but doesn't build kernel modules

I am trying to compile a linux-sunxi kernel for my Banana pi. Using this link: http://sunxi.org/Linux_Kernel#Compilation Unfortunately I am getting the following message at the bottom when I am ...
1
vote
1answer
59 views

Loading kernel modules that were compiled for another kernel failed

I want to load kernel modules, ip_gre.ko and gre.ko, on a embedded-device running embedded-linux to make that device to support GRE protocol. Since I do not want to change Embedded-linux device's ...
0
votes
1answer
17 views

Sunix Low Level Parallel port driver not working

Background: I am currently in the process of updating a Industrial PC + software from Debian 4 (etch) to Debian 7 (Wheezy) due to hardware obsolescence, one of the few pieces of hardware being shared ...
0
votes
1answer
49 views

lsmod lists only one single module, no other modules available to load, how do I proceed?

The system debian wheezy, platform ci20, stock imagination kernel 3.0.8. the output of lsmod lists only one module, pvrsrvkm, which is the "out of tree graphics driver" by imagination. The problem ...
2
votes
0answers
60 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 ...
0
votes
0answers
21 views

Compiling a loadable kernel module(Debian/Ubuntu)

This question is a follow up of this one. I am trying to compile the ELF loader as an individual LKM and use it as a standalone application(replacing the original module within the base kernel sounds ...
1
vote
0answers
247 views

How to install Realtek RTL8723BE wireless driver on debian?

I installed Debian Wheezy 7.8 on a Lenovo G50-70 x64, it seems that I don't have the driver for my wireless card installed, the output of iwconfig: lo no wireless extensions. eth0 ...
1
vote
1answer
44 views

What's the difference of `/etc/modules-load.d` and `/etc/modules`?

I red the introduction of them and found that, they both deal with module loading during boot time. So, what's the difference of these two different configuation ways?
2
votes
0answers
39 views

How to insert a modified ELF loader given the current ELF loader is present?

I need to modify the ELF loader's kernel implementation of an Ubuntu 14.04 distribution. Having downloaded the sources using: sudo apt-get source linux-image-$(uname -r) I ran the configuration ...
1
vote
0answers
36 views

Compiling a loadable kernel module outputs several warnings about undefined functions [closed]

This question is a follow up of this one. I am trying to compile the ELF loader as an individual LKM and use it as a standalone application(replacing the original module within the base kernel sounds ...
1
vote
0answers
9 views

Issue with network up/down in kernel [migrated]

I am trying to write a Linux kernel module that with the correct command, will bring down the the network interface (lets say wlan0) change its IP address to the one specified, then bring the ...
0
votes
0answers
8 views

Stability of internal Wireless module or adpater in Ubuntu

This is an update to my previous problem with wireless adapter or module in Ubuntu 12.04. Now when I move my laptop around a little, the wireless connection is lost but very quickly back on (update: ...
0
votes
0answers
7 views

pr_debug not giving any output [migrated]

I have a loadable kernel module and its init is as given below static int __init id_init(void) { struct identity *temp; /* some code which is not relevant to the question */ temp = ...
0
votes
0answers
21 views

How do I install the `uvcvideo` module on Android 4.4.2

Setup UDOO QUAD Android KitKat 4.4.2 SD image Microsoft LifeCam Cinema Problem Android 4.4.2 SD Image is configured to use the CSI camera. To use USB camera you need to recompile kernel and ...
0
votes
0answers
23 views

Is it safe to upgrade kernel manually on a system which is using NVIDIA drivers?

Upgrading kernel manually on Ubuntu 14.04 can cause trouble with NVIDIA drivers? (one of the troubles could be booting to black screen) I had lot of trouble with installing NVIDIA graphics drivers ...
0
votes
1answer
32 views

Trying to make a Universal Makefile

I'm working on my own netfilter module for the first time. According to internet documentation, The simplest module contains the following C code: //'Hello World' kernel module, logs call to ...
1
vote
2answers
273 views

Library routines in linux kernel

In the linux kernel, there is a section "Library routines" with a snippet shown below: Library routines ---> <M> CRC-CCITT functions <M> CRC ITU-T V.41 functions <M> CRC7 ...
2
votes
2answers
514 views

How can I install Fedora with a newer kernel?

I want to install Fedora on my computer with a netinstall, but it seems that the kernel doesn’t support my ethernet chip (Intel I218V). I tested Ubuntu 14.04 and Arch Linux and the ethernet chip ...
0
votes
1answer
35 views

Few questions about system calls and kernel modules (kernel services in parallel)

I have few questions about system calls and kernel modules. Let's assume we have two applications (A and B) and each of them is running on a different core. (A-CPU 0, B-CPU 1) When two applications ...
2
votes
1answer
53 views

modinfo when a module was compiled into kernel statically wouldn't work — workarounds?

modinfo is rather useful tool when it comes to tweaking module's parameters (at least discovering what options are availalbe), for e. g.: $ modinfo dummy filename: ...
0
votes
2answers
80 views

Buildroot - missing i2c kernel modules

I've used Buildroot to build a minimal operative system. During the configuration step with the menuconfig utility I specified to install I2C tools. The option was is Target Package -> Hardware ...
2
votes
1answer
377 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 ...
4
votes
1answer
41 views

How to list all loadable kernel modules?

I'm looking for a few kernel modules to load i2c-dev and i2c-bcm2708. But the modprobe command returns: sudo modprobe i2c-dev modprobe: module i2c-dev not found in modules.dep How can I list all ...
1
vote
4answers
7k 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 ...
1
vote
2answers
678 views

Blacklisting won't work for kernel module “radeon”

I tried to blacklist kernel module "radeon" as it is classhing with my propietary drivers. I tried it doing it in two ways but none of them worked and every time command mkinitcpio -M will list ...
1
vote
0answers
22 views

Kernel compilation for minimum program execution

Compiling the Kernel requires me to configure modules. I am unsure how to configure a Kernel which only supports following things: Programs compiled with gcc on other machines (glibc). I want to run ...
0
votes
1answer
415 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
2answers
2k views

debian does not detect serial PCI card after reboot

I have installed a PCI card with two serial and one parallel port on it. the chipset is MCS9865. I downloaded the latest driver(V1.0.12) from here. I ran make and make install. now the two serial ...
2
votes
1answer
42 views

What is /proc/filesystems supposed to be and why is it different from /lib/modules/linux_ver/kernel/fs?

The very little documentation about /proc/filesystems says it is a "list of supported file systems". I see a lot of file system modules in /lib/modules/linux_ver/kernel/fs, most of which do not appear ...
0
votes
0answers
42 views

keyboard still working after calling free_irq(1, NULL);

I'm developing a kernel module which free the IRQ number 1 in order to disable the keyboard in Intel architectures. according to wikipedia the IRQ 1 is used for keyboard. but after building and ...
0
votes
0answers
66 views

Using usbserial kernel module on Fedora 21

Currently using Fedora 21 uname -r 3.17.8-300.fc21.x86_64 I have a thermal printer which connects using RS232 and has a cable which can be connected to a USB port. When I connect this device, ...
4
votes
3answers
17k 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 ...
2
votes
1answer
7k views

rtl8723be Realtek Wifi-Card driver not working on Ubuntu 14.04

I installed Ubuntu 14.04 on my new Lenovo G50-70. The wifi works perfectly in windows, however it behaves strangely on Ubuntu. It is slow, doesn't load heavier sites at all, and after a while, ...
3
votes
2answers
2k 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 ...
0
votes
0answers
67 views

intel_agp kernel module not found

I trying to use intel embedded HD 4400 graphics. As best as I know, it's need to load i915 kernel module (and the kernel module loader also try to load it) without success because it's depends from ...
0
votes
0answers
39 views

Trying to understand the wacom tablet plugging in usb causes kernel panic

First, I realise that askubuntu exists, but a kernel panic is probably more GNU/Linux (kernel and low-level system programs) than distro specific. So I already have a solution to mitigate the kernel ...
2
votes
1answer
222 views

lz4 Kernel Module in CentOS without recompiling

I just installed CentOS 7 on a vServer to play around with. Usually I use Debian. Since I had good results, I want to use zswap. I enabled it by putting zswap.enabled=1 zswap.compressor=lz4 in the ...
0
votes
0answers
201 views

Broadcom driver on Kali Linux

I recently installed Kali Linux, switching from Scientific Linux. The only problem is my wireless driver, which doesn't want to install at all. lspci -nn | grep Net : 02:00.0 Ethernet controller ...
0
votes
1answer
67 views

How to add an alias to a kernel module?

I'd like to add an alias to a kernel module, e.g. make nvidia-343 available as nvidia on Ubuntu 14.10 with Linux 3.18.1, so that it can be loaded under the alias name and so that the alias appear in ...
0
votes
0answers
109 views

Linux driver (module) won't load at boot time although installed with depmod

Environment FriendlyARM mini210s Netis dongle Linux 3.0.8 [root@mini210s 3.0.8-FriendlyARM]# uname -r 3.0.8-FriendlyARM Goal I want to network the mini210s using the wireless Netis wf2190 ...
1
vote
2answers
224 views

How do compile Linux Driver for Netis WF2190 Wifi dongle for FriendlyARM mini210s?

GOAL I want to install the Netis WF2190 wifi dongle linux driver onto my FriendlyARM mini210s. Environment FriendlyARM mini210s S5PV210 ARM Cortex-A8 Board ... running Linux 3.0.8-FriendlyARM ...
1
vote
1answer
144 views

rts5139/rtsx_usb borked in 3.15+

Some time in 3.15, someone moved the rts5139 driver out of staging (I cannot find a changelog of this) and it got renamed to rtsx_usb. This, unfortunately, broke support for at least the RTS5139 card ...
2
votes
1answer
235 views

linux 3.17 supports hotplug of thunderbolt of non-chained thunderbolt devices — what is this?

Linux 3.17 has a commit which supports hotplug of thunderbolt of non-chained thunderbolt devices. But what does "non-chained thunderbolt devices" mean? Is a thunderbolt to ethernet adapter a chained ...
13
votes
1answer
5k 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
1k 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) ...
2
votes
0answers
49 views

How can I find which module driver holds of i2c address?

I want to communicate over a I2C bus using Python. But the address cannot be used because it is used by another driver. # i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: ...