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

Dummy Network Driver

I have failed to come up with a dummy network driver through google search.i am planning to write a network driver in C that is linked to protocol stack but not linked to any hardware The online ...
0
votes
0answers
31 views

Installing USB TV UTV383E card in linux

Recently I have bought a USB TV Card UTV383E. How can I install it in Debian Jessie or LUBUNTU. I have both the system installed in same machine, a HP Pro-book 420 ? Any help ?
0
votes
1answer
104 views

How to compile kernel module without a makefile?

Is it possible to compile a kernel module without a makefile and if so, how?
0
votes
2answers
59 views

difference between /lib/module/$(uname -r) and /sys/module

I apologize if the query is too simple. But I want to ask is there a difference between linux system modules and linux kernel modules. If there is a difference then where are both located. Is it that ...
3
votes
1answer
267 views

How to boot linux without an initramfs?

As the title says I'm looking for a way to boot an existing linux kernel without an initramfs. According to this link it should be possible simply by editing /boot/grub2/grub.cfg. But if I try this ...
7
votes
2answers
884 views

What decides which kernel modules are built in the kernel statically during compilation?

I just compiled a new kernel and asked myself: What decides during the compilation process which kernel modules are built in the kernel statically? I then deleted /lib/modules, rebooted and found ...
1
vote
0answers
123 views

weak-modules from module-init tools directory

I see in module-init directory, files named as weak-modules*. bash # ls /usr/lib/module-init-tools/weak-modules* /usr/lib/module-init-tools/weak-modules /usr/lib/module-init-tools/weak-modules2 ...
1
vote
1answer
337 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
41 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
2answers
256 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 ...
1
vote
1answer
60 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
100 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 ...
2
votes
1answer
213 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
1answer
62 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
281 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 ...
0
votes
0answers
543 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
446 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
41 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
31 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 ...
3
votes
0answers
191 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
118 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
162 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 gets 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
39 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
571 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 ...
2
votes
0answers
60 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
105 views

Linux: Two different 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
50 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
107 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
40 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 ...
2
votes
1answer
348 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
85 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 ...
2
votes
1answer
185 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 ...
1
vote
1answer
97 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
246 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
215 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
178 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
216 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
124 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
36 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
128 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
145 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
380 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
260 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
26 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
119 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
144 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 ...
2
votes
0answers
444 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
124 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
70 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
4
votes
0answers
522 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, ...