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

How to install drivers for integrated intel graphics?

I am building a minimal Debian system. I installed Debian Wheezy with the netinstall iso, and selected to install only basic system utilities, no desktop environment. The computer that is running this ...
0
votes
0answers
9 views

rmmod/modprobe -r of nmi_watchdog but the module/device is still working

I have a theory that the mni_watchdog device is still operating on a system despite the given module being removed with modprobe -r. Is it possible, and under what conditions, that a module would ...
0
votes
1answer
15 views

usb wifi adapter using ath9k_htc not working on linux

I have a TL-WN821N wifi adapter that is supposed to work using purely free software. It used to work when I used the Trisquel linux distribution but now when I have switched to Debian it does not ...
0
votes
0answers
3 views

usb_buffer_alloc, kmalloc, usb_alloc_coherent error writing USB Device Driver [migrated]

I'm writing a USB Device Driver for simple communication with an FPGA (UART / USB) and I intend to end this available for use in the Linux community. Introduction to the problem: I wrote my code and ...
1
vote
1answer
24 views

Are Modules listed under /sys/module all the Loaded Modules?

I'm wondering if I can use the directory listing of /sys/module instead of lsmod to get a list of currently loaded modules. Is that the list of loaded modules only? Or maybe that combined with ...
0
votes
0answers
7 views

Registering virtual SPI master device

I need to create a virtual SPI master device. Having a proprietary solution that communicates directly with a sensor using SPI I want to move the sensor away. To do so I want to create a kernel ...
0
votes
0answers
17 views

check-config errors on Linux 3.19.0 kernel, configured under Ubuntu 15.04 x86-64

I'm new to configuring Linux kernels, and am receiving the following errors when running config-check: check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/amd64-config.flavour.generic: loading config ...
1
vote
0answers
20 views

Linux ioctl return value interpreted by who? [migrated]

I'm working with a custom kernel char device which sometimes returns large negative values (around the thousands, say -2000) for its ioctl(). In userspace, I don't get these values returned from the ...
0
votes
0answers
28 views

Linux: Using module functions [migrated]

Let's say I have a module which has this function my_open: int my_open( struct inode *inode, struct file *filp ) { filp->private_data = //allocate private data if( filp->f_mode & ...
1
vote
1answer
18 views

What module in the kernel that inform the DHCP client to start DHCP negotiation?

DHCP client is a process instead of kernel code. How the DHCP client know when to start sending DHCP discover message? Is it the IP module in the kernel that inform the DHCP client?
2
votes
1answer
42 views

Which system file is loading the “wl” (wifi) kernel module at boot time?

I've recently installed the "wl" (wifi) kernel module on my system. It's a driver that makes my Broadcom wifi card work. Unfortunately the module gets enabled at boot time (wifi light comes on), which ...
1
vote
0answers
78 views

How to downgrade VirtualBox after a kernel upgrade to 4.1.4-1?

I run Arch Linux and did a complete pacman sync and upgrade of my entire system. One of the updates was a kernel upgrade that I am happy with and had no other problems with. One of the packages that ...
1
vote
1answer
74 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
31 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
14 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 ...
2
votes
0answers
39 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
86 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
30 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
29 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
154 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
26 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
28 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 ...
0
votes
1answer
16 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
28 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 ...
1
vote
1answer
49 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
20 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
1answer
22 views

NVIDIA drivers as LKMs in Unix: Module nvidia not found

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
26 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
vote
1answer
51 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
58 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
56 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
49 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
54 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
21 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
52 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
51 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
91 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
81 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
15 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
36 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
44 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
114 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
47 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
27 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
137 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
60 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
181 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
41 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
140 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: ...