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
187 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
50 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
27 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
57 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
56 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
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 ...
1
vote
0answers
48 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
51 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
17 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
15 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
87 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
18 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
146 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
63 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
47 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
30 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
77 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
419 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
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
76 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
138 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
53 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
57 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
23 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
50 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
82 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
85 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
18 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
32 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
59 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
83 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
6k 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
132 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
31 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
29 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
55 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
141 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
46 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
166 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
42 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
50 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
15 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 ...
0
votes
0answers
38 views

There is possible to read 1-wire (ds18b20) without waiting for conversion?

I want to read temperature value from ds18b20 by 1-wire interface without blocking. There is any way to do that? I tried fnctl(fd, F_SETFL, O_NONBLOCK) but its not working. Actually I have a loop ...
0
votes
0answers
28 views

How do I find corresponding kernel virtual addresses and userspace virtual addresses for a coreboot table driver?

How does kernel virtual addresses relate to userspace virtual addresses and is there a way to map the two with a kernel function? Some background: Coreboot puts some information in a table structure ...
0
votes
0answers
73 views

Is it possible to hide processes from ps or top on modern day kernels?

I'm looking for a way to build a kernel module that can hide processes from ps and top commands. The kernel I'm working with is 3.13.0. I'm not sure what kind of kernel data structure I should be ...
1
vote
1answer
127 views

module issues with kernel

I am currently getting this error message:- iptables v1.4.12: can't initialize iptables table `filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be ...