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
20 views

What is the kernel command line to disable bluetooth in /etc/default/grub?

What is the kernel command line to completely disable bluetooth in /etc/default/grub? I don't have it, don't need it, don't want it, complete waste of resources.
1
vote
1answer
38 views

Is it possible to tell what source loaded a Linux kernel module?

In my Linux distribution there are a number of modules loaded during boot up and I'm trying to find where they're loaded from. [root /proc]# lsmod Module Size Used by ...
1
vote
0answers
8 views

How to catch my bluetooth service events

I have usb bluetooth device which is using btusb 0.6 module (driver). The thing is I am interested to know is: how is the systemctl start bluetooth.service event invoked? I was looking info about ...
0
votes
0answers
12 views

Installing specific usb serial modules in fedora 21

I am trying to use a usb to dual rs232 cable (USB Compound Device due to the number of RS232 connectors) on my fedora 21 system to install another linux os (Gentoo) on a Cobalt RaQ 4i server blade, ...
1
vote
0answers
23 views

Manually compile and add module r8169 (and others)

When typing lspci i get: ... 01:00.0 Ethernet controller: Realtek Semiconductor CO., LTD RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) 05:00.0 Ethernet controller: Atheros ...
1
vote
1answer
23 views

4G modem on an embedded 2.6.32.9 kernel on a Parrot AR Drone 2.0

I am attempting to compile support for a Huawei E3276 usb LTE modem for an embedded Linux/BusyBox installation on a Parrot AR Drone 2.0, which is based on kernel 2.6.32; however, I am running into ...
0
votes
0answers
22 views

Unknown symbol in module

I have a kernel module which is was probably written for kernel version 2.6xx. Now currently I want to plug that module onto kernel version 3.1x and above. I have tweaked and change the code and ...
1
vote
1answer
29 views

Booting encrypted disk kernel error: Cannot initialize device-mapper

I have Ubuntu 15.04 with a default full disk encryption installed on my chromebook Pixel with linux-samus kernel patch and everything is working fine. I've just tried compiling a newer version of the ...
0
votes
0answers
10 views

SystemTap log output to file

I want to log output from my SystemTap script to a file. But when I try to use the -o option like: stap -r $PWD --remote user@hostname -o test.txt -S 1 ./test.stp I can't find the log file. If I ...
0
votes
1answer
29 views

How do I find a directory or a file in Linux file system [closed]

I am using the find command in my Android image; a image which I developed myself and put in an example of a dynamically loadable module. I put the code in the /example directory of my source code, ...
0
votes
1answer
20 views

bluetooth - btusb module remove stops bluetooth service

I just faced a strange issue; Every time after suspend the btusb module is kicked out the RAM (for some reason but its OK cause I can reinit it manually) but as a result the bluetooth.service must be ...
0
votes
0answers
24 views

Broadcom wireless driver source vs dkms

I've a MacBook Air 6.2 with a BCM4360 wireless chip with PCI-ID 14e4:43a0 (rev 03) running Debian Jessie. I installed the wl driver from Broadcom to make the wifi card work, but it crashes ...
2
votes
1answer
33 views

linux kernel module building prerequisites

The "How to Build External Modules" section of the kernel.org kbuild documentation ( https://www.kernel.org/doc/Documentation/kbuild/modules.txt ) says: To build external modules, you must have a ...
1
vote
1answer
21 views

Trace kernel object calls

We have strace to trace programs, ltrace for dynamic libraries, and others. Is there any equivalent for kernel objects, as in tracing just like strace but for a specific .ko? Thanks
3
votes
0answers
65 views

How to create Linux Kernel Headers from Linux Kernel Source?

I'm working with Tiny Core Linux and attempting to install Vmware Tools, which of course needs the Kernel Headers :-). It does not appear they have the Kernel Headers readily available in a package, ...
3
votes
0answers
38 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 ...
2
votes
1answer
48 views

bdl_pos_adj: set IRQ timing workaround for hda-intel

I get following errors in my logs: kernel: snd_hda_intel 0000:00:1b.0: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj Google found some old posts here and ...
0
votes
1answer
30 views

Kernel modules for compiled kernel

I cannot find kernel-headers. For the first time I compiled and installed the latest kernel (4.0.3) on my Debian Wheezy, and now I am trying to install ndiswrapper using module assistant. For that, ...
0
votes
0answers
74 views

Raspberry PI Fuse exec format error

After installing raspbian on my RaspBerry(model B), I cannot use fuse. when I type modprobe fuse, I get the following error: ERROR: could not insert 'fuse': Exec format error Output of uname -a: ...
2
votes
0answers
31 views

How to work with a kernel one has no information about?

I'm working with a system to automatically assemble Live CDs. It came packaged with a kernel (seemingly based on 3.13.11), that has been working without problems so far. I noticed that, when I try ...
2
votes
0answers
49 views

Disable backlight device

I have two backlight devices in /sys/class/backlight: toshiba and intel_backlight. The former works only before I put my laptop on sleep and the latter works perfectly. ...
2
votes
1answer
63 views

How do I apply a patch?

I need to apply the following patch, and I don't want to mess up what I have so far. Below I have posted the complete content I found online, which was someone's response to a question similar to ...
0
votes
1answer
254 views

bluetooth - btusb - How to replace module version with a newer one

I have pre-compiled kernel 3.16.7 which has btusb v0.6 module; The current btusb v0.6 I'd like to replace with btusb v0.7 which is located in kernel 4.0; So my question is how to : remove the ...
0
votes
0answers
23 views

Continuety of driver support in linux kernel

I am an embedded GNU/Linux learner. I understand with the new Kernel, driver support for most added hardware is coming through Device Tree Structure (DTS). But I have found out that there are still ...
7
votes
2answers
122 views

Are driver modules loaded and unloaded automatically?

On Ubuntu 14.04, I found that when I don't plug in my external wireless adapter, its module rt2800usb is still shown in lsmod. when does automatically loading a driver module happen? Is it when ...
2
votes
0answers
77 views

Modeline for Dell U2415 1920x1200 resolution

I'm trying here to run my secondary display (U2415) on the native resolution 1920x1200. Xrandr unfortunately reports only 1920x1080, which is not satisfactory. $ xrandr Screen 0: minimum 8 x 8, ...
0
votes
0answers
44 views

centos 7 installation with customized bridge module

I have installed latest Centos 7 x64 edition in my server. I need to modify the linux-bridge module with some customized changes and use it as a default bridge module. Currently I am building centos ...
1
vote
2answers
67 views

Identify out of tree modules?

I'm attempting to upgrade and test kernel 3.12. What is the most efficient way to identify out-of-tree modules that should be removed before testing? There are a few mentioned (vitualbox, nvidia, ...
0
votes
0answers
34 views

Check the firmware which a module needs

in http://ubuntuforums.org/showthread.php?t=2242147&page=2, The driver requires firmware: $ modinfo iwlwifi filename: ...
1
vote
1answer
30 views

What are files *.ko used for?

The following two commands output the same thing: $ modinfo iwlwifi filename: /lib/modules/3.16.0-34-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko .... $ modinfo ...
1
vote
1answer
27 views

Where (the directory) should I put my newly created module in the kernel?

I have created new module code. And want to compile it for my kernel. But I am not sure about I thing. Should I copy it to some designated directory before I start the compilation? Or I can just ...
1
vote
1answer
42 views

Do I have more thn one wireless driver modules?

$ lsmod | grep iwl iwldvm 232283 0 mac80211 652718 1 iwldvm iwlwifi 179412 1 iwldvm cfg80211 494362 3 iwlwifi,mac80211,iwldvm I heard that ...
11
votes
3answers
1k views

Is USB-to-USB data transfer between two Linux OSes possible?

I want to create a USB-to-USB data transfer system in Linux (preferably Ubuntu). For this I want to use no external hardware or switch (except this cable). It's going to be like mounting a USB drive ...
5
votes
1answer
189 views

Is there a way to determine what kernel version a kernel module was compiled against?

I have recently been playing around with creating kernel modules using some crosstools for an embedded setup. It would be helpful to me in future to have the ability to identify the version of the ...
1
vote
0answers
59 views

Autoloading externally compiled module at hotplug event

I have a pretty outdated embedded linux driven system with v2.6.33.7 kernel, which came without USBNET and CDC_ETHER modules. I compiled those modules to be able to attach a certain USB-LAN stick, ...
2
votes
0answers
24 views

Slackware won't ring my bell

I want to ring bell in bash I've set lsmod |grep pcs pcspkr 1987 0 xset b and finally echo -e \\a But no ring.
0
votes
1answer
91 views

Get base address and size of a loaded kernel module?

How can I get the base address and size of a loaded kernel module?
1
vote
0answers
60 views

Xen Kernel - SCSI_WAIT_SCAN Module

We've recently deployed a HP ProLiant DL180 Gen9 with 12 x Intel 530 SSD Drives. The system is running RAID-10 on top of HP Smart Array P840. Our aim was to use Xen on this server. However, when the ...
0
votes
0answers
44 views

configuring kernel source for manual module compilation

I need to compile an xpad module from source, system is debian wheezy, the platform is ci20. I cannot locate linux headers-3.0.8-(...) anywhere (not on the system, not on the web, not in official ...
2
votes
3answers
184 views

How to take variables from another Makefile in shell script

I want to use the variables from another Makefile under the directory ~/kernelbuild/linux-3.14.37 in my own shell script. Following is the variables that I need: VERSION = 3 PATCHLEVEL = 14 SUBLEVEL ...
2
votes
0answers
87 views

Shell script for automated kernel compilation

I am trying to write a shell script to build a custom kernel on Arch Linux. I have succeeded to do write all the steps described in the Arch Linux kernel compilation page: ...
0
votes
1answer
49 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. ...
1
vote
0answers
15 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
40 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 ...
2
votes
0answers
129 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
1answer
63 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 ...
1
vote
0answers
2k 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
149 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 ...
1
vote
1answer
131 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?
0
votes
0answers
53 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 ...