Questions tagged [kernel-modules]
The kernel-modules tag has no usage guidance.
105
questions
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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 /...
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....
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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&...
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 ...
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 ...
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 ...
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=&...
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 ...
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)
...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
...
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 ...
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)"
...
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 ...
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?