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
10 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
18 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 ...
10
votes
1answer
2k 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 ...
-2
votes
0answers
28 views

Compile Kernel with Own Device Driver [closed]

Please tell how to compile kernel so as to add my own device drivers into a Kernel such that whenever one person installs/ Compiles this Kernel in their System, My Device drivers should be loaded ...
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
2answers
382 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 ...
-1
votes
0answers
13 views

Can't find where __put_user_1 is defined [migrated]

I have been going through the linux kernel module programming guide, and I decided to find out how put_user(*(msg_Ptr), buffer) works. After all macro expansion is done, it appears that this inline ...
2
votes
0answers
12 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
29 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 ...
2
votes
1answer
963 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
22 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
127 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
34 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 ...
1
vote
2answers
31 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 ...
0
votes
1answer
515 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
33 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: ...
1
vote
1answer
98 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
11 views

Can I create a custom kernel module to extend functionality and use it in C code WITHOUT recompiling the kernel? [migrated]

I have a technical question. I want to write a program that can set the LED color of my DS4 controller on linux. Over USB I can already achieve this on all platforms. When the DS4 controller uses ...
1
vote
0answers
19 views

process duplication [migrated]

how to create a process at kernel level? As the functions do_fork and copy_process are static we cannot use them, so is there any way we could use their functionalities or do I have to implement ...
5
votes
0answers
620 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
0answers
39 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) ...
2
votes
3answers
121 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
36 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
65 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
37 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. ...
1
vote
1answer
50 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
3answers
52 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?
5
votes
0answers
356 views

Loading speedstep_centrino kernel module [closed]

Because of a noisy fan in my laptop, I need to change CPU frequency and for this task I need to load the appropriate kernel module. The CPU in my laptop Acer TravelMate 4002WLMi is: $ cat ...
5
votes
5answers
4k 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: ...
0
votes
0answers
24 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 ...
1
vote
1answer
37 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
40 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
13 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 ...
10
votes
4answers
24k views

Determining cause of Linux kernel panic

I'm running an Ubuntu 12.04 derivative (amd64) and I've been having really strange issues recently. Out of the blue, seemingly, X will freeze completely for a while (1-3 minutes?) and then the system ...
2
votes
1answer
4k 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 ...
0
votes
0answers
64 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
61 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 ...
0
votes
0answers
62 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: ...
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 ...
1
vote
0answers
38 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 ...
1
vote
2answers
108 views

Is this kernel warning a major problem that needs my attention?

Our Linux based Thecus N12000 NAS recently experienced this message in its dmesg log. [2014-05-21 11:34:56] ------------[ cut here ]------------ [2014-05-21 11:34:56] WARNING: at ...
8
votes
1answer
409 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
175 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
80 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 ...
1
vote
0answers
94 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
43 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
44 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
2answers
62 views

Is it bad to have too many Kernel modules?

I'm trying to compile a Linux kernel to debug an issue I have on Arch Linux, and I was configuring modules, but I didn't know what a lot of the stuff was so I left them on. If this kernel works I ...
2
votes
2answers
4k views

VirtualBox: modprobe can't find vboxguest, vboxsf, vboxvideo

I've been following these instrctions to install the guest packages for arch linux. Unfortunatelly modprobe returns: [snooc@archfire ~]$ modprobe -a vboxguest vboxsf vboxvideo modprobe: WARNING: ...
1
vote
0answers
68 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 ...