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

3
votes
1answer
376 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
249 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
140 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
54 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
23 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
67 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
325 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
80 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
31 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
80 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
59 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
59 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
61 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
18 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
110 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
23 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
212 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
87 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
13 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
69 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
113 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
770 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
109 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
190 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
73 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
61 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
25 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 ...
1
vote
1answer
65 views

Install DKMS on self-made Linux system

I am trying to install DKMS on a Linux system that I made from the Linux from Scratch and Beyond Linux from Scratch books. I've found the package source from here but absolutely no info as to how to ...
1
vote
1answer
117 views

lsmod not showing module unless using arch-chroot

I am trying to load the rtl8723ae kernel module on Arch Linux. When I run lsmod | grep rtl8723ae ...it doesn't show anything. When I arch-chroot into the install from an Arch install USB, it is ...
0
votes
1answer
125 views

How to write a Patch for VyOS kernel

I am new to VyOS development. I have written a patch which will fetch info from the VyOS kernel module and write it on a netlink socket. But the problem is I am not sure if I should edit the kernel ...
1
vote
1answer
19 views

Where to put modules for different configurations of same kernel version?

To what I see the modules for different kernel versions are stored below /lib/modules, i.e as /lib/modules/{version}/...../...ko Now, while this makes it evident where to store the modules for each ...
1
vote
0answers
42 views

Kernel module inconsistency

everyone. I have special USB device (chinese touchscreen), what I need to connect to my computer with Linux. By default, Linux assign connected device to usbhid (I found this info by execute usb-...
1
vote
0answers
64 views

Installation doesn't happen on new kernel versions?

I have several modules setup in DKMS which should be automatically installing to new kernel versions, but aren't. I'm noticing the same problem on all four of my home-brewed DKMS modules. Here's an ...
0
votes
1answer
135 views

Unable to connect to USB CDC device

I have an 8 channel USB Relay board which I have connected via USB. The manual for the board states that: To use this product with Linux, USB CDC driver needs to be compiled in with the kernel. ...
1
vote
2answers
7k views

How to install AMD Catalyst 15.9 on Ubuntu 15.10?

today I tried to install the fglrx-updates package from the repositories of Ubuntu 15.10, but after rebooting my computer, did not start the display manager. It is assumed that the driver has patches ...
0
votes
0answers
172 views

Does systemd-modules-load.service recognise modprobe.blacklist option on the kernel command line?

I put modprobe.blacklist=configs into my kernel command line booting from gummiboot, and I checked if systemd is still trying to load the module configs, and indeed it is, because a module error ...
0
votes
0answers
20 views

Copying Driver Module files for manual install in another installation

Is it possible to extract the driver module files(including firmware files) from an installation(say i0) and place them manually in the same directory in another installation(say i1), and maybe edit ...
1
vote
0answers
35 views

How to automatically load a new VID&PID to module usb_serial

I have a 4G module that requires me to run echo '03f0 581d' > /sys/bus/usb-serial/drivers/generic/new_id after every startup/resume to make the modem visible. How should I make this automatic? ...
1
vote
1answer
31 views

Kernel not recognizing new devices from DKMS module?

I've done some work backporting the kernel modules for hid-apple and bcm5974 (with lots of help from SicVolo) and writing DKMS scripts for them so I can maintain compatibility across kernel upgrades: ...
1
vote
1answer
69 views

Determine which module is bound by a HID device?

I'm having a weird problem. I've done some hacking based on another person's work to backport support for the internal keyboard on a MacBook Pro 11,5 into kernel 3.19. My GitHub source can be found ...
1
vote
1answer
172 views

Does amdgpu support my Fury X and why isn't the driver loaded?

Currently my linux machine only can detect one monitor and seems to be running the bare minimum for graphic support. My system seems to recognize that the card is a Fury X but doesn't load any drivers ...
0
votes
1answer
57 views

ALSA sounds card volume range numbers, and Difference between Control Names

I'm developing my first sound card driver in Ubuntu with ALSA. Implementing a volume control for the sound card I stumbled upon a few questions. 1) For the function that is assigned to ...
0
votes
0answers
25 views

Driver Module Backup from a Running Installation

Is it theoretically possible to make a backup of all the driver modules (especially the ones that are not merged into the original kernel) from a running installation of LinuxMint? The source of the ...
7
votes
1answer
217 views

How to understand the modinfo output?

I'm just trying to understand the modinfo output that describes a kernel module. For instance, in the case of the module i915, the output looks like this: $ modinfo i915 filename: /lib/modules/...