Questions tagged [kernel-modules]

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 feature such as a filesystem.

266 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
242 views

custom built kernel module problems

I have been struggling to find a solution for loading module ath9k into the kernel and I have met a dead end. The kernel is 3.17.1 taken from kernel.org and I am compiling it in Ubuntu Trusty (14.04) ...
1
vote
0answers
362 views

Changing CPU frequency programmatically

I have seen that standard CPU Frequency driver(comes with default package with linux kernel) can change the CPU frequency at runtime, when being used under the supervision of "Ondemand" governor. ...
1
vote
1answer
546 views

USB Tuner driver not detected

I am using a DVB Tuner, USB tuner. I have added driver to the kernel and it is being registered. But when the device is connected, it doesnt invoke the probe function. Is there anything I have to ...
1
vote
0answers
1k views

vboxdrv kernel module

I'm just install virtualbox and when i try to launch the program from the terminal i got this error #virtualbox WARNING: The character device /dev/vboxdrv does not exist. Please install the ...
1
vote
2answers
1k views

Disable bridge module insert?

I have Fedora 20 setup with default kernel configuration, where bridge feature is enabled as a module (CONFIG_BRIDGE=m), and the bridge module loads as the system starts. I don't understand who ...
1
vote
0answers
1k views

“disagrees about version” message

I get a message "disagrees about version" on boot time, after compiling kernel and modules with KGDB. Why should this happen ? Is there any problem with KGDB ? This is the relevant log at boot: ...
1
vote
0answers
679 views

How to get an Wacom Intuos CTH-480 to work under Easy Peasy 1.6 (Ubuntu 10.04)?

Is there any way to make a Wacom Intuous CTH-480 work under Easy Peasy 1.6 (Ubuntu 10.04)? I have installed the Wacom Driver files according these instruction, replacing 3.7 with 2.6.30, as Easy ...
1
vote
0answers
245 views

Opensuse remove kernel module

I recently installed OpenSuse. I have a problem with the mouse left click. I had the same problem in Debian but when I removed the psmouse module everything started working perfectly. I tried the same ...
1
vote
0answers
745 views

Error while building Linux module of a wireless driver

I have recently installed Debian Wheezy onto one of my old computers to test it out and to become more familiar with Unix. To my surprise I enjoy the interface very much so far, but I have run into a ...
1
vote
0answers
704 views

CPU usage by kernel modules, routing and forwarding rules

I have a system with a loopback kernel module installed. Through a bunch of routing and iptable rules, packets coming out of the loopback interface are sent over an ipsec tunnel. I am seeing that ...
1
vote
0answers
651 views

Kconfig - compiling kernel module

I stumbled over this site about USB video grabber under Linux, I'm trying to compile the code found here. I have read about makefiles but this one confuses me, cause it's so short: usbtv-y := usbtv-...
1
vote
0answers
506 views

Looking for a list of modules that are used during boot sequence

I'd like to use deferred init calls. This function allows to load modules in userland, that should actually be loaded during the boot sequence. Just for testing I'd like to modularize as many entries ...
1
vote
0answers
733 views

How to disable PAE feature of kernel, after installation?

I am using RHEL 5.3(x86) as a base platform for my development purpose.My machine's spec is as follows: Intel, Core-i3 Processor @ 2.5GHz 4GB RAM Problem is whenever I am attempting to install the ...
1
vote
0answers
103 views

kernel 3.1x and optimus support

I have encountered a negative observation regarding bumblebee. Namely, using optirun the performance of the GPU seems to be an order of magnitude lower than it should be. To be more specific: I have ...
1
vote
0answers
197 views

What are the generic-pae directories in /lib/modules?

When listing the content of the dirctory /lib/modules I see a list of generic-pae directories (Ubuntu 12.04): drwxr-xr-x 4 root root 4096 Apr 23 2012 3.2.0-23-generic-pae drwxr-xr-x 5 root root ...
1
vote
0answers
730 views

How to compile video4linux for ARM?

I would like to use a webcam using a Linux over ARM board. Through reading, I have discovered video4linux so I would like to compile it for ARM. My unique notes are: git clone git://linuxtv.org/...
1
vote
0answers
145 views

Decreasing mouse sensitivity at kernel level

I have developed a custom-GUI Server, which runs on virtual console of Linux.For mouse-handling purpose, it reads the mouse device file /dev/input/mice and retrieves the event data and updates the ...
1
vote
1answer
160 views

how to stop adding unused module to loadable kernel module?

Is there any way how to stop unused module to loadable kernel module other than putting them in the mod probe blacklist.
1
vote
0answers
214 views

after enabling Xinerama (in AMD condor Dual-Head Graphics Card) the system graphics hangs

I have a problem in my AMD Condor Dual-Head Graphics Card When I enable Xinerama from "System → Preferences → AMD Catalyst Control center (Administrative)" my RHEL Server 6.3 (x64) Graphics hangs. ...
1
vote
0answers
1k views

Busybox `uname -r` shows wrong kernel version

My kernel is 3.2.27 and /lib/modules/ contains 3.2.27 + folder. But when I am using /# uname -r 3.1.9+ It's showing a strange output. My problem is that for modprobe depends on uname when I put /#...
1
vote
0answers
1k views

iptables not starting up

I have inherited a custom built Linux kernel 2.6.30.9 and am just upgrading the underlying OS from RHEL 5.4 to 5.8 (kernels 2.6.18.164 and 2.6.18.308 respectively). When booting, the following is ...
1
vote
0answers
559 views

systemd-modules-load print errors when loading builtin kernel modules

I'm running Arch Linux, it uses systemd-modules-load to load modules configured in /etc/rc.conf, but since I use a custom kernel and lts kernel, I had to put all possible modules in that config file (...
0
votes
0answers
22 views

How to correctly create and stop kthreads?

I wrote the following kernel module: #include <linux/module.h> #include <linux/kernel.h> #include <linux/delay.h> #include <linux/kthread.h> #include <...
0
votes
0answers
42 views

How Linux links driver with device file?

I have a question about device file and drivers, based on ULK hence 2.6.11 kernel. My understanding is the following: When user does syscall open() on some device file, at some point kernel will ask ...
0
votes
0answers
72 views

Buttonless Elantech Touchpad Issues

Recently, my touchpad has broken a few different ways: No "area" functionality for Mouse Click Emulation No click-and-drag with one finger click and another finger drag libinput has incorrect ...
0
votes
0answers
23 views

x_tables: exports duplicate symbol xt_alloc_entry_offsets (owned by kernel)

I have enabled Xtables in my kernel but I get this error whenever I try to modprobe $ sudo modprobe ip_tables modprobe: ERROR: could not insert 'ip_tables': Exec format error dmesg tells me ...
0
votes
0answers
25 views

How can I build linux kernel module with multiple c file?

I'm trying to build some kernel module acts like simple firewall for practicing kernel programming. I'm trying to build my module split to multiple c and header files but it won't finish build with ...
0
votes
0answers
22 views

Eject live CD on reboot/shutdown

This problem has been posted before but didn't seem fully resolved (link: Eject CD on shutdown). So the problem is booting off of live CD then I want to eject the CD on reboot or shutdown. I have ...
0
votes
0answers
47 views

Wifi not working on any Linux distro

I have a HP 255 G2 notebook PC. I stuck with Linux Mint 17.1 after a hopping through a few distros. After I upgraded to LM 18, WiFi wasn't working anymore. Being the noob that I am, I just tried ...
0
votes
0answers
37 views

how to make the Debian9 load amdgpu module other than vesa

buddies! I have a hybrid laptop(sorry) with AMD A10 cpu (integrated with R5 graphic) and isolated Radoen R7 Topaz graphic. The Ubuntu 16.04.6 was run on this box more than 2 years.Ubuntu just ...
0
votes
0answers
11 views

DSL/knoppix linux appends 0 to port names. How to remove?

I just installed the latest version of "Damn Small Linux". It uses kernel 2.4 and knoppix. When I boot the PC and look at dmesg, I noticed the following entry for the serial port on my system: <...
0
votes
0answers
37 views

Passthrough of GTX 1070 to linux guest crashes host, so does unbinding from nouveau

After successfully using an NVIDIA GTX 1070 passed though to a Windows guest under KVM, I now want to pass it to a linux guest, and that is proving to be a problem. First, I tried creating a VM with ...
0
votes
0answers
17 views

How to compile kernel in XU4 (armv7l)? Error compiling kernel 4.14.127: “sha512_block_data_order” undefined

I'm trying to compile the 4.14.127 kernel for my XU4 obtained here (https://wiki.odroid.com/odroid-xu4/os_images/linux/ubuntu_4.14/ubuntu_4.14) as I need the USP/IP related modules and, unfortunately,...
0
votes
0answers
89 views

Strange wpa_supplicant logs about SIOCSIWAP and SIOCSIWENCODEEXT

I am interested in strange log entries and I would like to understand their nature. Why there are ioctl errors when using the r8188eu driver? Can I resolve these errors? Logs Jul 09 02:34:00 tower ...
0
votes
0answers
47 views

Failing to load kernel module

So, I have just started going through Designing BSD Rootkits and I seem to have ran into a problem right away. hello.c: #include <sys/param.h> #include <sys/module.h> #include <sys/...
0
votes
0answers
367 views

“Required key not available” error when trying to load signed module

I made a module and compiled it with make modules_install. I ran these commands following this gist: openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -subj "...
0
votes
0answers
168 views

Automatic module signing for distribution in Linux

I'm new to writing Linux modules (drivers) and digital signatures, so please correct me if any of my understanding is incorrect. When I run make modules_install on my module, I get the following ...
0
votes
0answers
27 views

Compiling module crc32_intel_glue fails

I have two CentOS hosts and want to install the kernel module crc32_intel_glue.  I don't find it in the official repo, so I tried to build it from source, and failed. I downloaded crc32c-intel_glue.c ...
0
votes
0answers
46 views

Unload running kernel module

With lsmod I can watch all kernel modules that running in my linux. How can I suspend and resume spesific kernel module? I tried use modprobe -r <module_name> but got error can't change ...
0
votes
0answers
32 views

Linux kernel module address randomization

I'm booting the same 16.04 Ubuntu server image (4.4.* kernel) and checking where modules are loaded with cat /sys/modules/[module_name]/sections/.text. After every boot I get different text segment ...
0
votes
0answers
67 views

Can I copy over .ko files to another Linux?

I am working on a wifi chipset from Atmel (ATWILC3000) and following its user guide here. I built the kernel and flashed on their development board SAMAD4XULT (has an ARM). Since the kernel modules ...
0
votes
0answers
76 views

Configuring virtio vsock for android (aosp)

I want to use virtio vsock for communication between host machine and vm. My host is running ubuntu. I understand by default virtio vsock module is enabled for ubuntu so I don't need to do any ...
0
votes
0answers
24 views

Using GPIO in a kernel module

I am working on a simple kernel module for the Raspberry Pi. This involves using the GPIO. I see that the old gpio_* API is deprecated in favor of the gpiod_* API. However, all of the documentation I'...
0
votes
0answers
85 views

linux kernel auto load driver module

I want to know how linux kernel know which module must load on startup ? i know some modules must defined in /etc/modules . but what happened if i change physical hardware ? for example ...
0
votes
1answer
53 views

How can I add support for a new file system type to an existing kernel?

I have an ARM device running an OpenEmbedded-based kernel. A new requirement is going to involve mounting an ISO 9660 file system, but that file system is not currently listed in /etc/filesystems. I ...
0
votes
0answers
42 views

How to specify GPIO port for dht11 driver?

I'm working with dht11 sensor on my raspberry pi 3. I found dht11 driver's source code in linux https://github.com/torvalds/linux/blob/master/drivers/iio/humidity/dht11.c And I successfully ...
0
votes
0answers
36 views

Linux kernel: how to load module last

I wrote a kernel simple module, and I can select my module with make menuconfig. The module compiles and executes without a problem. Is there a method to force the kernel to load my module last - ...
0
votes
0answers
45 views

Cannot build new image with loadable kernel modules

I am trying to build an image using kernel version socfpga-4.14.73-ltsi from altera to put on my SOC and using Buildroot 2018.02.10 but I am getting an error when I include my loadable kernel driver ...
0
votes
0answers
183 views

bind to vfio-pci or pci-stub at startup

I'm trying to bind a NIC to pci-stub or vfio-pci at startup so my libvirt-managed VM can use it on autostart, but the NIC keeps being claimed by ixgbe. I tried inserting into /etc/initramfs-tools/...
0
votes
0answers
30 views

MAC address is removed with tainted VirtualBox modules on Fedora 29

I am getting crash reports. net/mac80211/driver-ops results in drv_remove_interface. My network interface is removed and I can't connect to the WiFi. I can recover this by shutting down or going in ...