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

Unable to install new kernel in ubuntu server. “gzip: stdout: No space left on device” error even though abundant disk space

I am trying to install a new kernel on Ubuntu Server and I am unable to complete it due to a "gzip: stdout: no space left on device" error. The full error was produced after running sudo make ...
2
votes
1answer
25 views

Recompile kernel without modules that are not currently in use

Is there a neat way of stripping the Linux kernel to only support the devices that are currently in use. After NVIDIA complaining about GCC version mismatch, I decided to recompile the kernel with the ...
0
votes
0answers
11 views

microusb to rj45 usage

I just got these (generic) devices today: Micro USB 2.0 to Ethernet 10/100 M RJ45 Network Lan Adapter Card. No vendor listed. I came with a mini cd that is not readable from linux. I'm headed to a ...
0
votes
0answers
11 views

Loading mod_deflate, mod_expires on Suse 2.2.10

Running Apache/2.2.10 (Linux/SUSE) Loaded modules: core prefork http_core mod_so mod_authz_host mod_actions mod_alias mod_auth_basic mod_authz_groupfile mod_authn_file mod_authz_user mod_autoindex ...
2
votes
0answers
20 views

EDID - help to detect proper DPI and refresh rate values

I just tried to extract EDID file data with read-edid util; The thing is the output shows : $sudo get-edid | decode-edid ... Manufacturer: AUO Model 20ec Serial Number 0 Made week 0 of 2013 EDID ...
-1
votes
1answer
78 views

RAM Disk related questions [duplicate]

there is a developed kernel subsystem that needs a chunk of memory allocated to itself that only it could manipulate this chunk. this memory should be physically contiguous and also it need the access ...
1
vote
0answers
16 views

Binding/unbinding GPU between host OS and pci stub while host OS is running

Using a Debian 8 host, I'm interested in setting up a Windows VM guest which get's direct access to my dedicated/discrete graphics card, to see what sort of performance I can get out of it for games ...
3
votes
1answer
27 views

Is a disabled kernel option equivalent to not loading the corresponding module?

Suppose I set a tristate kernel configuration option to be built as a module, but I don't load the corresponding kernel module at runtime (and it doesn't get loaded automatically). Is the ...
1
vote
0answers
82 views

i915 - Intel BayTrail - graphics artifacts

I just noticed I have some kind of graphics artifacts which effect visual discomfort like so called "blurry"; And, moreover, I am not sure I have correct DPI settings right now (give me advise ...
1
vote
0answers
17 views

Signing a module for prebuilt kernel

I am developing linux driver for my own PCI device. I have stucked up on starting my module: [14941.205599] mymod321: module verification failed: signature and/or required key missing - tainting ...
1
vote
0answers
25 views

Linux: Two differen drivers for two (mostly) identical PCI devices

for some obscure reason I want to use two different drivers for two identical PCI devices on the same system. The drivers have different characteristics, which is why I want one physical device ...
0
votes
1answer
25 views

edit module requirements when compiling kernel

I would like to compile the realtime kernel for raspberry pi (https://github.com/emlid/linux-rt-rpi) and want to use the pi with a soundcard - the tascam us122l. The problem that I have is the ...
1
vote
0answers
5 views

Opening/Writing to a file from a KProbe handler [migrated]

I am writing a Linux kernel module using Kprobes to trace specific system calls, and I need to write to a file from within a KProbe handler (specifically, a Kretprobe). I know this is generally not ...
0
votes
1answer
12 views

Use of MODULE_FIRMWARE(filename) macro in Linux modules

What is the use of the MODULE_FIRMWARE(filename) macro in Linux kernel modules?
0
votes
0answers
27 views

Why am I able to compile kernel modules without “#include”ing the relevant header files?

Based on the common practices shouldn't I have to include <linux/stat.h> and <linux/module_param.h> in the following program? #include<linux/module.h> char str[7] = "hello"; int ...
0
votes
0answers
14 views

Giving S_IWUGO permission to module parameter results in compilation error (while S_IRUGO or S_IXUGO doesn't) - why? [migrated]

I wrote a simple kernel module to learn module_param feature of the kernel module. However, if I give the S_IWUGO, S_IRWXUGO or S_IALLUGO permissions for the perm field, I get the follwing ...
0
votes
1answer
18 views

What does the xpad kernel module provide? (And what would I lose by disabling it?)

Backstory I wanted to use xbox controller for some steam-on-wine games. I found xboxdrv which claims to make xbox controller work for wine programs. When I run $sudo xboxdrv I get: xboxdrv 0.8.5 - ...
0
votes
1answer
17 views

make for linux kernel module

I have recently started learning kernel module programming using the book The Linux Kernel Module Programming Guide and I dont understand how does this make work obj-m += hello-1.o all: make -C ...
1
vote
0answers
14 views

NVIDIA drivers as LKMs in Unix: when do they get linked to the kernel?

Some time ago, I installed GeForce GTX 970 on my computer running under Fedora 20. An import thing to know is that I'm using the card only as an accelerator (not for graphics). Until recently, it ...
0
votes
0answers
17 views

An error during boot that I can not see

When I boot fedora, It shows an failure about modules and it disappears and then splash appears. I checked the /var/log/boot.log but there was no errors or failures there. Where can I find it?
-1
votes
0answers
16 views

Which module utilities are the conf files in /etc/modprobe.d consulted for?

Are the conf files in /etc/modprobe.d consulted only for modprobe command or are they consulted for other module utility commands such as insmdod, rmmod, depmod etc as well? I found it mentioned in a ...
1
vote
1answer
33 views

Some questions regarding linux kernel external module build process

The Linux kernel documentation page for building external modules (https://www.kernel.org/doc/Documentation/kbuild/modules.txt) says this: === 2. How to Build External Modules To ...
0
votes
1answer
36 views

ACPI – how to select correct LED and LCD module

I'm facing a strange issue. I have ASUS x551ma notebook; As I can get it, after a while (20-30 min) watching LCD, I suffer eye strain. The graphics (video card) seems fine but the LED is micro-shaking ...
1
vote
0answers
40 views

Custom driver for keyboard GNU/Linux 4.1.0-rc8 (Fedora)

I am writing a driver for a Logitech G110 USB keyboard for Kernel 4.1.0-rc8. My driver is perfectly loadable with insmod (Debugging message prints to dmesg that it get's initialized through ...
0
votes
1answer
33 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
48 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
18 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
30 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
40 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
66 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 ...
1
vote
1answer
46 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
14 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
32 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
33 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
56 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
39 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
24 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
98 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
51 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
89 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
37 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
110 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
68 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
82 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
334 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
26 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
200 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
109 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
55 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 ...