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
0answers
8 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 ...
1
vote
0answers
14 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 ...
-2
votes
0answers
19 views

how to compile and load a kernel module? [duplicate]

I want to compile a kernel module that is have makefile, .c file and .h file how i can compile it for arm cpus an how i can load this kernel module. --This is my makefile : KERNEL_DIR := ...
0
votes
1answer
14 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 ...
0
votes
1answer
60 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
16 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
17 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
36 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
46 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 ...
2
votes
2answers
2k 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 ...
0
votes
0answers
32 views

Linux kernel running only with use of physical address

Is theoretically possible to make Linux which for its own kernel (include modules) uses only physical addresses? (it means it completely omits MMU) For processes there would be normal virtual space ...
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
33 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
14 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
14 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 ...
5
votes
1answer
67 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
16 views

Finding information on a builtin module [closed]

How do I find more information on a builtin module called module? $ cat /lib/modules/$(uname -r)/modules.builtin Doesn't show module as being a builtin module. s@W530:/sys/module$ modprobe module ...
1
vote
0answers
75 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. ...
3
votes
1answer
28 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
12 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
26 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
26 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
34 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
78 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 ...
2
votes
0answers
856 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
38 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
77 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
35 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
42 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 ...
1
vote
0answers
17 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
38 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
48 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
45 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
13 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
24 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 ...
1
vote
0answers
51 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
41 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
3k 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
71 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
16 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
27 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
23 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
27 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
85 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
36 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
23 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 ...
6
votes
1answer
84 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: ...
2
votes
1answer
33 views

'modinfo --field' possible values?

modinfo --field allows filtering for fields like "autor", "description", which is nice. Question: Where can I find a complete list of possible values for --field What I've tried so far: man 8 ...
1
vote
1answer
34 views

Setting up a single driver to be automatically compiled with DKMS from kernel tree

I'm on Ubuntu 14.04 with the HWE from Vivid, meaning I'm running kernel 3.19 for now, until 15.10 hits and the kernel is made available through HWE. I'm on a MacBook Pro and my particular Bluetooth ...
1
vote
0answers
11 views

Specify driver for given device?

I have an interesting problem. I'm on Ubuntu 14.04 (distro: elementary OS Freya). I have a MacBook Pro in a dock which provides ethernet over USB 3. The USB ethernet device id is 0b95:1790 and uses ...