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

Add symbols of LKM to kernel

I am trying to get my android kernel working but I have a kernel module that is needed in order to get access to the file system of the device. Unfortunately there is no source code available so there ...
1
vote
0answers
175 views

Loading new wlan driver

TL;DR. Two issues: can't get wlan0 working, can't get wpa_supplicant working. I compiled & installed kernel 4.4 (rev. eb4d55) with revamped rtl8xxxu support enabled. In order to compile &...
-1
votes
1answer
21 views

Drivers, Module - Kernel

Can somebody explain to me what is a character driver? Can somebody explain to me what is a character driver? Can somebody explain to me what is a character driver?
3
votes
1answer
140 views

lsmod shows -2 in the “Used by” column

This is what happens when i run lsmod on an arm board (banana pi) running on kernel 4.3.0 # lsmod Module Size Used by async_raid6_recov 1434 -2 async_pq 5548 -...
1
vote
1answer
104 views

“make” stops during installation of tty0tty (null-modem emulator)

I try to install tty0tty a null-modem emulatom like in the linked installation guide, but I have a problem at "3. Build the kernel module from provided source": user@linux-bmne:/run/media/.../...
0
votes
1answer
255 views

Installing Netis WF2190 driver on Ubuntu 14.04 w/ kernel 4.2.0-27-generic gives me an error: implicit declaration of function ‘strnicmp’

Linux # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty uname # uname -a Linux qb123 4.2.0-27-generic #...
0
votes
2answers
60 views

CPU: 13 PID: 15452 Comm: ssd_blk/0 Tainted: G B I E 3.19.0+ #1

I developed a module which works as an emulator for a block device. When I write into the block device, I get this in dmesg and the module crashes. I cannot get any hint about what is going on? [...
0
votes
1answer
165 views

Linux Headers not found for VMWare Player

I recently installed debian 8 on my machine, which went fine. When I tried to install the vmware player 2.5.5-328052 the vmware software complains about not being able to find the linux headers ...
4
votes
0answers
34 views

How to switch static drivers like switching kernel module drivers?

I have a linux embedded device that I need to switch between USB file storage gadget driver and USB Ethernet gadget driver at runtime. The approach I use now is to build both drivers into kernel ...
1
vote
2answers
31 views

Are there sandboxing concepts for proprietary binary kernel modules in linux?

Quite a lot has been going on to advance inter-process security (UID the same) and priveledge dropping in userland, yet it is common that proprietary linux kernel components are used (it seems that ...
1
vote
0answers
17 views

Rationale behind PulseAudio in userspace [closed]

Why is PulseAudio implemented in userspace? Seems to me that the same arguments for implementing fs, nfs etc. would also hold for pulse audio. Also, I can imagine that there are strict latency ...
4
votes
0answers
15 views

Problem in making Perf Kernel Counter work

I have written a kernel module which creates a performance counter via "perf_event_create_kernel_counter" API and then periodically reads its value. My application works on Kernel version-4.0.9 (and ...
0
votes
1answer
113 views

Unable to boot a kvm guest via qemu/kvm-tools

I am using ARM Foundation Model to emulate a arm-v8 environment(I need both TrustZone and KVM), and I run a kvm-enabled linux on it as the Host OS, the kernel version is 3.14.0(I clone it following ...
0
votes
1answer
103 views

Load firmware on ro live cd

Basically I have the situation when box is booting from usb (gentoo-minimal.iso) but installation is lacking the firmware for killer 1525 (ath10k). The filesystem is mounted as ro and I can't put ...
0
votes
1answer
80 views

module not loaded at boot

I'm on an archlinux 4.4.1-2 and I'm trying to set up a netctl service. Problem is that for netctl to work I need to have bcma and b43 loaded. Since these two are not out-of-tree modules I thought I ...
-2
votes
1answer
27 views

Is the kernel module made before or after a new system call? [closed]

I'm trying to incorporate a new system call in the kernel source. However, on checking some resources over the web, I cam across this term called "kernel module". I am confused how to go about it : ...
1
vote
0answers
87 views

Kernel 4.1.18 doesn't support aes-xts-plain64

My root partition is under a luks crypt and when I type in my password it tells me to make sure my kernel supports aes-xts-plain64 and to check syslog for more info. Obviously I can't check syslog ...
3
votes
1answer
442 views

Unable to build Vulkan on linux mint rafaela

How can I build the Vulkan driver for linux mint? I'm running Linux Mint Rafaella, 17.2, with Intel Graphics 5th gen, i3-5010U. I tried to compile https://cgit.freedesktop.org/mesa/mesa/tree/?h=...
2
votes
0answers
278 views

Nvidia driver for kernel 4.4.1? Any luck, anyone?

After some challenges getting Kernel 4.4.1 (Ubuntu 15.10 ) to work on my hardware (MSI GS40 Phantom laptop) it looks like I have to go back to Noveau as the nVidia driver doesn't work. Has anybody ...
2
votes
0answers
18 views

Verifying kernel modules using a list of hashes

I'm interested in preventing replay attacks on kernel module verification. I feel that using a list of hashes of kernel modules would be better for this than using digital signatures. My Motorola ...
2
votes
2answers
184 views

Module vfat fails to load (I've tried the obvious fixes)

The module vfat doesn't load on boot, and attempts to force the issue with a modprobe vfat produce the error modprobe: ERROR: could not insert 'vfat': Unknown symbol in module, or unknown parameter (...
1
vote
1answer
72 views

How does bcma relate to brcmsmac?

I am trying to solve some issues with my wireless connection and trying to learn something on the way. From here and here I got to know two different ways to know my wireless driver. Thing is, I get ...
2
votes
0answers
26 views

How connected are kernel modules to kernel version?

I'm wondering how custom ROMs port new versions of Android (particularly the Linux kernel) to old phones. As I understand, Linux allows closed source kernel modules. If so, then when the phone ...
0
votes
1answer
84 views

Does CentOS 6 have a kernel-module-extra equivalent?

I am attempting to activate and use my TPM module, but all online instructions suggest I install kernel-modules-extras package. The problem is, I cannot find this package type for CentOS 6. Is this ...
1
vote
2answers
406 views

Debian Jessie Wireless Driver Broadcom Restart (rmmod modprobe) BCM43142 [14e4:4365]

My Dell laptop, running Debian 8 (Jessie), has this wireless device: $ lspci -nn -d 14e4: 02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) And it ...
0
votes
1answer
100 views

Execute Terminal Command in Linux Kernel Hook

How do I execute the following command from a loadable Linux kernel hook: echo 5 > /sys/kernel/debug/ieee80211/phy0/ath9k/AggregationLimit
2
votes
1answer
33 views

Managing Pre-Built Kernel Modules Across Kernel Versions

Please read the full question before attempting to answer, this is a bit oddball of a situation. I support a lot of server hardware test functionality, and essentially end up managing several ...
0
votes
1answer
118 views

How do I load a kernel module later in the boot sequence?

I've been experimenting with the g_mass_storage kernel module. I first tried loading it by putting it in /etc/modules and the options in /etc/modprobe.d/file.conf This worked, but when I connected ...
2
votes
1answer
61 views

Why does Linux have a maximum number of sound cards? [closed]

I'm specifically asking about CONFIG_SND_MAX_CARDS in the kernel. From the code using this config, for example in sound/usb/card.c for USB cards, soundcards are stored in plain arrays which are ...
3
votes
2answers
3k views

VirtualBox Kernel Module Installing Issue

I installed VirtualBox, in the first run i got this warning: WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (3.10.0-...
1
vote
0answers
70 views

Linux kernel running only with use of physical address

Is it theoretically possible to make Linux which for its own kernel (include modules) uses only physical addresses? (it means it completely omits MMU) For processes how would you know if there was ...
0
votes
0answers
10 views

How can I find the module responsible for interaction with keyboard [duplicate]

I have a laptop and want to be able to turn off keyboard for a while. I use this code: modprobe -r usbhid sleep 10 modprobe usbhid But as my keyboard is not usb, and it only blocks mouse. How can I ...
0
votes
0answers
75 views

What USB/WiFi dongle chipsets does Linux support in Client/AP mode?

I had a laptop a year ago which had a wireless card (Atheros QCWB335) which supported creating a virtual interface to broadcast a SoftAP network while retaining a connection to another access point ...
0
votes
1answer
20 views

how to build a autoconf module and how to load that for compiling other program

I am using our university's computer cluster which installed GNU autoconf 2.68. Now I need autoconf 2.69 to compile other programs. I don't have root privilege, so I want build my own autoconf module ...
1
vote
0answers
16 views

Autoloading a particular driver, based on a detected specific kernel

I need some help in writing a tiny script and determining its placement within Debian 7.9 filesystem. As the title says, the script needs to be executed automatically on startup and, after checking ...
4
votes
1answer
121 views

Loading WiFi driver results in the whole system becoming unstable. How to debug?

I am not a linux kernel expert, but I got this new laptop and it's WiFi(RT3290LE) is not working. I tried solutions from various sources and they are not working. So it is upto me to solve it, and I ...
1
vote
0answers
24 views

Finding information on a builtin module [closed]

What does the builtin module called module do? $ cat /lib/modules/$(uname -r)/modules.builtin Doesn't show module as being a builtin module. $ modprobe module -v builtin module Looking at the ...
1
vote
0answers
248 views

Linux Kernel module Remote Debugging with GDB + KGDB, Remote 'g' packet reply is too long

I am trying to remotely debug Linux Kernel and I am having issues. My setup: Target machine with Ubnutu Linux with my custom kernel 4.3 which I built with debugging information and KGDB. ...
2
votes
1answer
104 views

Change the parameters a kernel module loads with

When I plug in an SD card in Ubuntu, the module mmc_block loads with the value of mmcblk.perdev_minors set to 8. I am pretty sure this is the default value coded into the module. What file might I ...
0
votes
0answers
15 views

Export network module from one live distro and import into another?

I have two live distros installed on a thumb drive with YUMI. One is a flavor of Ubuntu, and the other is a flavor of Puppy Linux. I want to use Puppy Linux as my primary distro, but it does not ...
1
vote
1answer
82 views

AES-NI module missing in Fedora

I would like to use full disk encryption in the future and wanted to test if my CPU has AES-NI support so I followed guide on nixcraft. It turns out that I do have support, but the kernel modules are ...
1
vote
1answer
31 views

Kernel module version enforcement

Linux can be configured to require that kernel modules be digitally signed. On kernels built for embedded devices and consumer devices (i.e., tablets, smartphones, etc.), I can still see that this ...
1
vote
1answer
150 views

DKMS modules never installed properly on kernel upgrade

I have multiple DKMS modules installed on my system, some of them mine, and some of them belonging to pretty major maintained packages such as Oracle's VirtualBox 5. What I've found is that on every ...
0
votes
1answer
984 views

Error inserting module: Device or resource busy

When running modprobe to insert a module into kerner I get the following: # modprobe 8192cu FATAL: Error inserting 8192cu (/lib/modules/3.8.13-118.2.1.el6uek.x86_64/kernel/drivers/net/wireless/8192....
2
votes
0answers
1k views

kernel: bcm2708_fb soc:fb: Unknown ioctl 0x40187a22

I have a Raspberry Pi running Raspbian. Towards the end of the startup log, I see this error. I believe it has been there a while, and I'm not sure what it may imply. kernel: bcm2708_fb soc:fb: ...
1
vote
1answer
119 views

Why are there module options AND driver options - e.g. for the i915 module?

The i915 Kernel module has several "module options" like the infamous enable_rc6. However, for the xorg config file, there are further options such as TearFree. I was wondering - why are there two ...
1
vote
1answer
221 views

Linux root on F2FS

I have my Linux root on an F2FS USB flash drive. The kernel is on another device accessible by the bootloader. I'm trying to start it with the parameters root=/dev/sda1 rootwait rootfstype=f2fs, but I ...
0
votes
1answer
81 views

Attaching a phram mtd0 device to gadget serial mass storage

I'm using a Atmel SAMA5D3, I have created two phram devices /dev/mtd0 and /dev/mtd1 I am trying to attach them to a gadget mass storage module. insmod g_acm_ms.ko file=/dev/mtd0,/dev/mtd1 The ...
0
votes
1answer
65 views

Upgrade Squeeze to Wheezy now no modules.dep

After upgrading Squeeze to Wheezy my server will no longer boot. I'm only able to boot, by selecting a previous kernel (2.6.32). linux:~# find /lib/modules/3.2.0-4-amd64/ -maxdepth 2 /lib/modules/3.2....
1
vote
0answers
26 views

API for Kernel Module Development

I want to know if there is an API documentation listing all the functions/methods in the Header files? E.g. linux/kernel.h listing functions like printk(), linux/moduleparam.h indicating functions ...