Questions tagged [kernel-modules]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
13 votes
3 answers
20k views

UDP traffic not forwarded from Docker containers -> Docker host

I have a docker container and I am unable to run DNS lookups from inside containers, although it works fine from the docker host. The configuration management code that builds the Docker host is ...
Alex Harvey's user avatar
10 votes
4 answers
48k views

how do I disable the nf_conntrack kernel module in CentOS 5.3 without recompiling the kernel

I'm running CentOS 5.3 and want to disable the nf_conntrack module to improve network performance for haproxy. I'm running iptables with some simple rules. I don't really need the connection ...
user22277's user avatar
  • 271
8 votes
2 answers
8k views

How do I tell which kernel module is servicing a /dev device?

How do I find out which kernel module (as seen by typing lsmod) is servicing a particular device in /dev ? In other words, say I have a device, /dev/mouse0 and I want to find out which kernel module ...
regulatre's user avatar
  • 276
6 votes
3 answers
10k views

How do I build debian packages of kernel modules?

Specifically, I want to build a package for debian/lenny using the latest uvc drivers. I can compile and install them, but I want them packaged in the normal debian fashion. I imagine I want to use ...
Jayen's user avatar
  • 1,867
6 votes
2 answers
8k views

Make kernel modules available that have been deactivated on Fedora

Edit: I turned Cristians answer into a script which does everything automatically: https://github.com/frans-fuerst/magic/blob/master/fedora-activate-can.sh I need some kernel modules which are ...
frans's user avatar
  • 649
5 votes
9 answers
11k views

Howdo I tell which kernel modules are required?

Say, I have a default Gentoo install with all the modules (e.g. device drivers) compiled. From this point, is there an easy way to exclude the unused modules the next time I recompile the kernel?
yanchenko's user avatar
  • 279
5 votes
2 answers
25k views

Linux says a kernel module has an unknown symbol, but another loaded module provides it

I'm trying to install a driver for a USB DAQ box, which annoyingly, I have to compile myself. I believe I've succeeded -- I have two .ko files: -rw-r--r-- 1 root root 45271 2010-03-18 21:24 ...
raldi's user avatar
  • 987
5 votes
2 answers
2k views

NFS Performance issues on Oracle Linux 6.7: Shared libraries on NFS slow down system

I am currently hunting down some performance issues on some VMWare virtual machines with the same amount of memory and cpus, running Oracle Linux 6.6 (Kernel 2.6) and 6.7 (Kernel 3.8). The machines ...
Nodebody's user avatar
  • 151
4 votes
2 answers
4k views

Why Kernel Shared Memory is 0 on Ubuntu 12.04?

Can any one explain to me why KSM is not working does that mean that currently my kernel is not utilizing KSM for less ram utilization. grep KSM /boot/config-3.2.0-23-generic CONFIG_KSM=y cat /...
Kevin Parker's user avatar
4 votes
1 answer
36k views

iptables kernel module missing after upgrade from Ubuntu 18.04 -> 20.04

After a release upgrade from Ubuntu 18.04 to 20.04 (focal), the iptables kernel module is missing: root@server:~# iptables -L modprobe: FATAL: Module ip_tables not found in directory /lib/modules/5.4....
fzeidler's user avatar
4 votes
1 answer
12k views

watchdog service is not working because /dev/watchdog does not exist

There is a ITE8783 watchdog chip placed within my machine (OS Ubuntu 14.04.1). The kernel module it87 supports is. This module was not automatically loaded on startup. So I added it87 to /etc/modules. ...
wenzul's user avatar
  • 225
4 votes
1 answer
2k views

Linode Kernel Headers

I am trying to install the Idera (R1soft) linux agent on a Linode running Ubuntu 12.04LTS. The agent requires a driver which in turn requires the kernel headers. Linode uses custom kernels though so ...
digitaladdictions's user avatar
4 votes
1 answer
83 views

Listing all compiled kernel modules between two trees?

I've got a system with two different kernel tree sources installed. One kernel boots perfectly fine, the other kernel panics from not seeing the hdd / label. How do I compare two different kernel ...
bobby's user avatar
  • 604
4 votes
1 answer
1k views

How to prevent useless kernel-modules from loading?

Our Ubuntu-servers all seem to have various unused kernel-modules loaded wasting RAM and, in the case of jfs for example, running a bunch of useless processes (jfsCommit). I can use rmmod to get rid ...
Mikhail T.'s user avatar
  • 2,337
4 votes
1 answer
14k views

Compiling an individual kernel module (Debian/Ubuntu)

I need to modify the ELF loader's kernel implementation of an Ubuntu 14.04 distribution. Having downloaded the sources using: sudo apt-get source linux-image-$(uname -r) I ran the configuration ...
Sebi's user avatar
  • 229
4 votes
1 answer
2k views

Disabling/Enabling Modules Parameter RHEL

I'm working with kernel module parameters, and I've found myself a bit confused. In particular, I'm attempting to enable posix ACL support for XFS file systems. This requires the XFS module to be ...
Univ426's user avatar
  • 2,149
3 votes
3 answers
446 views

Where would I be able to hire someone for linux kernel hacking contract work? [closed]

The linux kernel credits are in many cases years old, and even when you find someone who seems like a logical fit (don't pester the guy who did virtual memory stuff if you want a serial driver) the ...
John O's user avatar
  • 283
3 votes
1 answer
1k views

How to keep custom kernel modules on kernel updates installed?

I've got a NIC (Asus XG C100C) that is not properly supported in the current Linux kernel. Hence, I installed driver which I compiled from source. Every time when the kernel is updated, I have to ...
SDwarfs's user avatar
  • 385
3 votes
3 answers
4k views

how (linux kernel) network modules gets loaded without modprobe.conf

how (linux kernel) network modules gets loaded without modprobe.conf I have fedora distribution installed and can see e1000e module loaded automatically in the system. Is there a configuration which ...
kumar's user avatar
  • 433
3 votes
1 answer
2k views

Linux kernel module file size

I'm trying to update the kernel on a CentOS 6 machine with a vanilla 3.1.0-rc10 kernel. It seems to work, except the modules that get created are significantly larger in size than those that come ...
tMC's user avatar
  • 215
3 votes
1 answer
1k views

How can I add `snd-aloop` kernel module on public Debian 10(buster) image provided by GCP?

Background I am trying to enable snd-aloop module on a Compute Engine instance running public Debian 10 (buster) image provided by GCP. Output of uname -a: Linux *** 4.19.0-18-cloud-amd64 #1 SMP ...
raidensan's user avatar
  • 131
3 votes
1 answer
2k views

ZFS on Linux: How do I correctly configure the vdev_id.conf file and trigger vdev aliasing?

I have been trying to get ZFS on Linux to read / process the vdev_id.conf file and give me a /dev/disk/by-vdev directory, to no avail. I have a SAS HBA with redundant connectivity to several hard ...
Sam Alsalem's user avatar
3 votes
2 answers
7k views

iptables drops packets after POSTROUTING

I have a malware analysis environment that will intercept traffic to arbitrary domains and Internet services using InetSim. I have a sandbox that has its DNS server set to the InetSim instance, and ...
Matt's user avatar
  • 41
3 votes
0 answers
582 views

How to find out which kernel module opened a socket?

When I try to find the process for an opened socket using e.g. ss I get the following output: ❯ sudo ss -tulpen Failed to open cgroup2 by ID Failed to open cgroup2 by ID Netid State Recv-Q Send-Q ...
sneusse's user avatar
  • 131
3 votes
0 answers
2k views

How to get x86_energy_perf_policy // linux-tools-* for Linux kernel 4.7.0-xyz

I am using pstate-frequency to set our server cpu's frequency. This tool needs the x86_energy_perf_policy which is provided by the linux-tools-common package. Using the distributions standard kernel ...
Flatron's user avatar
  • 318
3 votes
0 answers
275 views

Automatically build kernel modules after unattended upgrades in ubuntu

For automatic upgrades I has installed unattended-upgrades package and configured it. After each unattend kernel upgrade I must run following commands to recompile iscsi kernel modules: apt-get ...
vskubriev's user avatar
  • 686
2 votes
2 answers
16k views

error: "net.ipv4.netfilter.ip_conntrack_max" is an unknown key

I have a problem on Ubuntu 10.04.3 LTS x64 with sysctl net.ipv4.netfilter.ip_conntrack_max . If I run this command on shell, I get back an error: error: net.ipv4.netfilter.ip_conntrack_max" is an ...
Arny80Hexa's user avatar
2 votes
1 answer
507 views

How to load modules on Synology NAS on boot?

I have a Synology NAS (DSM 6.2.4) and I would like to load usbserial.ko and cp210x.ko on boot. When I run: sudo insmod /lib/modules/usbserial.ko sudo insmod /lib/modules/cp210x.ko The drivers work ...
guttermonk's user avatar
2 votes
2 answers
118 views

What do the modified times under Debian's /sys directory mean?

Earlier today I did a full system image restore from backup. Shortly thereafter when I ran: # find / -type f -printf "%TY-%Tm-%Td %TT %p\n" | sort -r I noticed the files under /sys directory had ...
James Bowery's user avatar
2 votes
1 answer
2k views

RHEL7.4 and DRBD 9.0/8.4 Installation

I have a fresh RHEL7.4 Server installation on which I'm trying to install DRBD 9.0 from elrepo. My server is running the latest kernel: 3.10.0-693.1.1.el7.x86_64, yet kmod-drbd90 wants to install ...
keyboard_banger's user avatar
2 votes
2 answers
1k views

How can I manage kernel modules built from source in Debian?

I am installing Debian squeeze on a brand-new Mac Mini, and the Broadcom NIC in it only works with the latest tg3 module from Broadcom. I can build this module easily enough, but performing a manual ...
Phil Frost's user avatar
2 votes
2 answers
2k views

RockyLinux: unable to load cifs module

I have installed RockyLinux 8.5 and am trying to mount a directory via cifs. I get the following error message: # mount -t cifs -o user=<remarked>,domain=<remarked>,password=<remarked&...
Volker Raschek's user avatar
2 votes
1 answer
683 views

ZFS not installed into upgraded kernel (4.19)

I want to use the latest kernel (currently 4.19) with Ubuntu Server 18.04, and I also want to use ZFS. Although ZFS appears to install correctly, it apparently does not get installed into the right ...
Stonecraft's user avatar
2 votes
2 answers
16k views

What can be the reason for "Invalid module format"?

I'm following the steps to compile kernel 2.6.32 from source, and have no problem to go the the last step: ... make modules_install make install And I've also configured grub.conf correctly. But ...
yum's user avatar
  • 579
2 votes
2 answers
2k views

openvpn without tap module? replacement?

I am trying to instal OpenVPN on a special linux distribution that has no tap kernel module, and all howtos available are outdated. I was wondering if there is a way to run OpenVPN without this ...
naugtur's user avatar
  • 284
2 votes
1 answer
233 views

at what level modprobe operates ? - linux

I have a machine with Ubuntu 12.04 64 bit, i have the need for blacklisting a module, i have blacklisted it in blacklist.conf but nothing happened; i have solved my problem passing modprobe.blacklist=&...
user1824407's user avatar
2 votes
1 answer
8k views

Where are the acpiphp and pci_hotplug kernel modules for KVM hotplug in CentOS/RHEL?

On the this how-to I read the following: I loaded the following modules to get pci hotplug working: acpiphp pci_hotplug You can either add these to your distro's module list to ...
Giovanni Bennelli's user avatar
2 votes
3 answers
3k views

Kernel Panic with gentoo boot (root partition not found)

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) grub.conf default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo Linux 2.6.34-r6 root (hd0,0) ...
JB87's user avatar
  • 23
1 vote
1 answer
649 views

Iptables comment module not installed

I want to use -m comment --comment "message" in my iptables rule but do not have the module loaded. Through some searching, the module I need for this is "ipt_comment" but I do not have this installed....
Garrett R's user avatar
  • 219
1 vote
1 answer
8k views

Disable all USB devices but keyboard/mouse/flash-drive

For security reasons, I would like to make sure no USB device can be connected to my servers running RHEL3 except keyboards, mice and flash drives. To sum up : What should work : Mouse Keyboard USB ...
mveroone's user avatar
  • 474
1 vote
1 answer
2k views

BTRFS on RHEL8 - compiling kernel module or making userspace tools work

Context I recently installed RHEL 8 without realizing that it no longer supports BTRFS. Unfortunately, I have 4 disks in BTRFS RAID10. I don't have enough space on my other disks to hold the data ...
catleeball's user avatar
1 vote
1 answer
2k views

selinux blocks unconfined service from loading kernel module

I have a daemon running as unconfined_service_t SELinux type, on Redhat Enterprise Linux 8: # ps -eZ | grep savd system_u:system_r:unconfined_service_t:s0 693 ? 00:00:00 savd It is trying to load a ...
Douglas Leeder's user avatar
1 vote
2 answers
1k views

Cannot Install mac80211(_hwsim) module on GCP Ubuntu 16.04 instance

I am new to GCP services and try to deploy mininet-wifi script to the cloud. On physical machines the installation described in the link and the SDN python script work pretty fine. However, for some ...
Svetlomir Petrov's user avatar
1 vote
3 answers
2k views

install xenserver 6.2 on 3ware 9750 raid5

I would like to install XenServer 6.2 (kernel 2.6.32) on a raid5 managed by a 3ware 9750 controller. The XenServer installer doesn't recognize the raid5 and i think i have to load a driver for the ...
Stephan's user avatar
  • 262
1 vote
2 answers
1k views

Can't build RocketRaid rr268x on Ubuntu 13.04

I am trying to build the kernel module for Ubuntu 13.04 but not having any luck, I have had this card working perfectly fine with 12.10 and the 3.5.0-27-generic kernel but since upgrading to 13.04 ...
Sam Hamilton's user avatar
1 vote
1 answer
426 views

saving loaded kernel modules

I did the following in command line: modprobe ipt_LOG modprobe ipt_multiport modprobe ipt_state modprobe ipt_limit modprobe ipt_recent modprobe ipt_owner modprobe iptable_nat modprobe tun/tap ...
Tiffany Walker's user avatar
1 vote
1 answer
185 views

Size of modules within initrd

I am currently trying to manually replace the kernel within ubuntu-core on an embedded device with a custom kernel. However when I try to update the initrd my initrd becomes much bigger. Here is what ...
LiKao's user avatar
  • 121
1 vote
1 answer
3k views

debian update fails on buildine "new" kernel

my current version $ cat /etc/*elease* PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" ...
francois P's user avatar
1 vote
1 answer
760 views

module be2net not loaded with define parameter in /etc/modprobe.d/

I want to load the be2net module with the parameter rx_frag_size set to 4096, the default value being 2048. As specified by the documentation I created a file /etc/modprobe.d/be2net.conf with the ...
Baptiste Mille-Mathias's user avatar
1 vote
2 answers
465 views

How to run Different congestion control algorithms in FEDORA 17?

I need to use different congestion control algorithms for tcp flow. How can I continue using those flow congestion algorithms from Fedora 11 in Fedora 17?
darklord007's user avatar