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

0
votes
1answer
10 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
votes
0answers
19 views

What does kernel refer to load modules at boot time? [on hold]

lsmod is command to list loaded modules and I referred man page of lsmod that shows it refers to /proc/modules file. In terms of my os platform, Ubuntu, almost available modules are in /lib/module ...
0
votes
1answer
24 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
48 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
53 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 ...
4
votes
1answer
35 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 ...
0
votes
0answers
36 views

Compiling kernel, MODPOST 0 modules

Building modules, stage 2. MODPOST 0 modules I am trying to compile a linux-sunxi kernel for my Banana pi. Using this link: http://sunxi.org/Linux_Kernel#Compilation Unfortanately I am getting ...
1
vote
0answers
18 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 ...
2
votes
1answer
39 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
53 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, ...
0
votes
0answers
34 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
46 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
34 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 ...
0
votes
0answers
151 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
49 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
79 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
162 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
172 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 ...
2
votes
0answers
41 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: ...
1
vote
1answer
35 views

How do I find out which version of a driver is included in a kernel?

I need to find out which driver/module version is contained in a kernel which isn't installed. Is there a document in the source that contains this or something listed online that haven't been able to ...
1
vote
0answers
58 views

Which kernel option for “Intel 8 Series Chipset Family Thermal Management Controller”

My new machine works fine, but lshw shows the following unclaimed device: *-generic UNCLAIMED description: Signal processing controller product: 8 Series Chipset Family Thermal ...
1
vote
1answer
1k views

insmod: ERROR: could not insert module 8188eu.ko: Invalid module format

I'm trying to use the TL-WN725N as an USB WiFi-Adapter with Fedora 20. I followed these insructions and the adapter worked fine and even survived two updates during the last few weeks. Then I did a ...
0
votes
0answers
141 views

loading ath9k_htc kernel driver fails

could someone please point me in the right direction to get my external wireless stick (TL-WN722N) working on my Xperia Neo (haida) smartphone? So far I've done the following: I downloaded ...
2
votes
1answer
6k 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, ...
0
votes
0answers
61 views

Debian Squeeze: TCP/ICMP stops working suddenly (R8169 Driver)

we suddenly see our NETWORKING stops (TCP/UDP/ICMP) in our client system. tcp: We tried reaching our server every 5 seconds.But , there was no connection establishment TCPDUMP REF: ...
2
votes
2answers
201 views

No build scripts available when compiling module outside of Linux source tree

I am attempting to build a basic module outside of the Linux source tree (3.18.0-rc6). When I build it, I get an error saying it couldn't find scripts/... My directory setup looks like this ...
1
vote
1answer
503 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: ...
0
votes
0answers
59 views

custom built kernel module problems

I have been struggling to find a solution for loading module ath9k into the kernel and I have met a dead end. The kernel is 3.17.1 taken from kernel.org and I am compiling it in Ubuntu Trusty (14.04) ...
3
votes
3answers
764 views

cannot reconfigure virtualbox-dkms

I have installed vitualbox on Debian Jessie according to instructions on debian wiki. By running: apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox During installation ...
2
votes
0answers
58 views

How to determine the wordsize in Linux kernel programming? [closed]

In userspace code, the macro __WORDSIZE is used, included in <bits/wordsize.h>. However, when I do Linux kernel programming, the __WORDSIZE seems not available. If <bits/wordsize.h> is ...
1
vote
1answer
174 views

Kino error:WARNING: dv1394 kernel module not loaded or failure to read/write /dev/raw1394 on Fedora 20, dvgrab works

I want to import and work with my dv's which are from a SONY DCR-PC101E camcorder, I've installed alot of Video editing software on one of my systems, namely my Fedora 20 running on an old HP with ...
0
votes
0answers
63 views

Changing CPU frequency programmatically

I have seen that standard CPU Frequency driver(comes with default package with linux kernel) can change the CPU frequency at runtime, when being used under the supervision of "Ondemand" governor. ...
2
votes
1answer
154 views

Disable KVM Kernel Module while its still in use

In order to run a virtual machine, VirtualBox tells me to disable the KVM kernel module. I googled around and found out that KVM is included in the qemu-*-packages, but none of them is/was installed ...
0
votes
0answers
31 views

rtnetlink No such file or directory error For Red algorithm

I tried the following command on my Ubuntu 14.04 Virtual Machine: tc qdisc add dev eth0 parent 1:1 handle 10: red limit 400000 min 30000 max 90000 avpkt 1000 burst 55 ecn adaptive ...
0
votes
3answers
63 views

Linux Distro name API to get name of linux distro in a driver code?

I am writing a common code in a driver to get the distros name and host name. host name i am taking from struct utsname{nodename[]}, but how do I get the distro name?
1
vote
1answer
61 views

USB Tuner driver not detected

I am using a DVB Tuner, USB tuner. I have added driver to the kernel and it is being registered. But when the device is connected, it doesnt invoke the probe function. Is there anything I have to ...
1
vote
2answers
159 views

Removing a module from the blacklist

How do I remove a module from the blacklist? I need b43 to load on start but journalctl tells me that it is not loading because its in the blacklist. How do I remove it from the blacklist? I'm using ...
0
votes
0answers
18 views

How Do I Reset Modules to Default

Bad form, but I attempted to install a custom module from a project that didn't support an uninstall target. Now I'm getting odd behaviors with kernel panics and brightness zero on boot. How can I ...
0
votes
0answers
141 views

How to display printk messages filtered by level as they come?

I wrote a hello word module that performs a printk when it is loaded in level ALERT and another printk when it is released with level INFO: #include <linux/module.h> #include ...
0
votes
0answers
87 views

Missing macros for VSYSCALL in Linux 3.16.4

I am running Arch with kernel version 3.16.4. I need to compile a kernel module for running Intel Vtune '13 (r17). GCC reports the following: ...
1
vote
0answers
62 views

How are network and SCSI kernel modules handled differently from other kernel modules?

I used modprobe to load the 8021q.ko module on a server. I expected to have to do this every time the server rebooted until I made it persistent. However, to my surprise, it was loaded automatically ...
8
votes
1answer
459 views

Why do user space apps need kernel headers?

I'm building busy-box and iptables for an embedded device and one of the dependencies for them are the kernel headers. I have searched the whole file system for *.ko files and found none. So i ...
0
votes
0answers
405 views

vboxdrv kernel module

I'm just install virtualbox and when i try to launch the program from the terminal i got this error #virtualbox WARNING: The character device /dev/vboxdrv does not exist. Please install the ...
1
vote
1answer
98 views

Can't losetup anything on armhf NAS

I'm pretty new to linux and chrooted my NAS with armhf architecture and tried looping device: losetup -f losetup: Could not find any loop device. Maybe this kernel does not know about the loop ...
2
votes
0answers
664 views

How can I properly reload a kernel module?

Related Question I can't reload a kernel module for trying new flags. Example: thinkpad_acpi default is without fan_control=1. So if my computer runs really hot and the fans don't go to full speed it ...
1
vote
1answer
70 views

Disable bridge module insert?

I have Fedora 20 setup with default kernel configuration, where bridge feature is enabled as a module (CONFIG_BRIDGE=m), and the bridge module loads as the system starts. I don't understand who ...
1
vote
0answers
73 views

Failing to load a module on udev event

I have a pretty simple udev rule which is executed when a USB is plugged into my Debian machine: SUBSYSTEMS=="usb", KERNEL=="sd?", ACTION=="add", RUN+="/usr/local/bin/USB/t.sh \ %k" My t.sh is also ...
1
vote
1answer
130 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 ...
1
vote
0answers
101 views

Get KERN_DEBUG messages into syslog on rhel7/centos7?

I've been trying to get KERN_DEBUG messages logged to a file in centos7, but have had no luck. I can get them just fine from "dmesg," but not /var/log/messages or /var/log/dmesg Here's a MWE kernel ...
3
votes
1answer
189 views

How to see driver parameters? [duplicate]

Drivers often support various parameters. For example NIC driver e1000 supports flow-control (FlowControl) or auto-negotiation (AutoNeg) parameters. Is there a way to see which parameters were passed ...