Questions tagged [kernel-modules]
The kernel-modules tag has no usage guidance.
105
questions
1
vote
1
answer
304
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)"
...
2
votes
1
answer
210
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 ...
0
votes
0
answers
57
views
Prevent vfio from loading for ethernet and wifi devices when using it for GPU
00:1f.4 SMBus [0c05]: Intel Corporation Comet Lake PCH-V SMBus Host Controller [8086:a3a3]
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Comet Lake PCH-V ...
1
vote
0
answers
67
views
Set number of threads when auto compiling kernel
I use Ubuntu as main operating system.
I have found that when a new kernel is included in a system upgrade, during the upgrade, certain kernel-related items are compiled (kernel modules?).
During this ...
0
votes
0
answers
113
views
GTP-U configuration in OVS
I'm trying to configure a virtual GTP-U interface in OVS, however when I try the below command (from https://docs.openvswitch.org/en/latest/faq/configuration/):
Q: Does Open vSwitch support GTP-U?
A: ...
0
votes
0
answers
250
views
Can't load new modules/driver due to "Exec format error" / "Skipping invalid relocation target"
I'm trying to update the driver for our Intel C62x Chipset QuickAssist Technology add-on card, but getting the mentioned errors when I try to load the modules. I haven't done this in a while, but I ...
1
vote
1
answer
220
views
RHEL8 based system has multiple kernels but module will only load in one of them
As the title says I have multiple kernels on my system
4.18.0-193.19.1.el8_2.x86_64
4.18.0-240.el8.x86_64
4.18.0-372.26.1.el8_6.x86_64
Issue is I am using mpt3sas on my system and when i installed it ...
1
vote
0
answers
136
views
how can I list all static builtin drivers in kernel, such as pcieport and pciehp?
with lspci I can see things like:
Slot: 00:02.0
Class: PCI bridge [0604]
Vendor: Red Hat, Inc. [1b36]
Device: QEMU PCIe Root port [000c]
Driver: pcieport
In dmesg I can see pcieport 0000:00:02.0: ...
1
vote
2
answers
3k
views
Module ip_tables not found after upgrade
Since I upgraded recently my Ubuntu server from 20.04 to 22.04 I have an issue with Docker. Docker will not start any more after reboot, because of the ip_tables module.
After every reboot of Ubuntu ...
0
votes
1
answer
222
views
pcspkr not producing sound using beep (Proxmox): debugging ideas?
I'd like to use the beep command for simple diagnostics for my headless Proxmox-machine in case networking fails. While the BIOS-beep and even the GRUB-beep work fine, issuing beep via SSH does not ...
0
votes
1
answer
650
views
ip link add test_team_slave type team_slave - RTNETLINK answers: Operation not supported
Trying to set up teaming on a Crux Linux with a custom kernel. I have teamd and teamdctl already installed on my system, I managed to find kernel modules for teaming and successfully enabled them. ...
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 ...
2
votes
2
answers
1k
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&...
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 ...
3
votes
0
answers
512
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 ...
0
votes
1
answer
106
views
Linux module load
I have one question one of my Linux box which is RHEL 7.8 the module joydev is loaded on one server but not on the other server.
Server A => Module joydev is loaded successfully
Server b => ...
0
votes
1
answer
115
views
kernel BUG at ./include/linux/skbuff.h:4470 leads Server to Hang
Server with linux version 5.5.0-050500-generic and OS version Ubuntu 20.04 LTS
I have two interface which are connected to ovs bridge. As per normal flow packets are redirected to one interfcae to ...
1
vote
0
answers
179
views
Linux kernel version with (uname -r) does not show distribution version, where can I get the kernel source for this kernel?
I'm trying to compile a specific kernel module for my linux machine running on a hosted dedicated VPS. The VPS instance is running Ubuntu 20.04 64bit.
In order to get the source code for the kernel I ...
4
votes
1
answer
33k
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....
0
votes
0
answers
384
views
RTX 2070 + Fedora 31: nvidia_modeset error freezes computer just before login
I'm experimenting an error -which I'll describe next- with the following Linux system:
Fedora 31 - kernel: 5.5.17-200.fc31.x86_64
GPU is ASUS RTX 2070 SUPER with drivers 440.82, also CUDA 10.1 and ...
0
votes
1
answer
1k
views
Getting network UNCLAIMED in Debian 8.3
When i check for lshw , i get following result
user@user# lshw -c network
*-network
description: Ethernet interface
product: I210 Gigabit Network Connection
vendor: Intel ...
0
votes
1
answer
128
views
Is buddyinfo valid in virtual machines
Buddyinfo shows number of contiguous pages for each order available. Since virtual machine treats host's virtual memory as its physical memory does any kernel module allocating higher order memory ...
0
votes
1
answer
275
views
Unable to print the message sent from user space C application to Linux kernel module
I have developed a simple Linux kernel module :
#include <linux/init.h>
#include <linux/module.h>
#include <linux/fs.h>
ssize_t exer_open(struct inode *pinode, struct file *pfile) {...
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 ...
2
votes
2
answers
108
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 ...
1
vote
0
answers
169
views
How to load ip_nat_pptp module in ubuntu?
How can the module ip_nat_pptp can be loaded in Ubunutu 18.04.2 LTS ? I need this to allow PPTP VPN passthrough.
1
vote
0
answers
78
views
nft_connlimit on RHEL 8 kernel 4.18
Does anyone know what happened to nft_connlimit module on RHEL 8 for nftables?
This should be available from Kernel 4.18 onwards but cannot find it anywhere in the available kernel modules.
Because of ...
2
votes
1
answer
651
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 ...
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 ...
1
vote
0
answers
406
views
RedHat 7.6\8.0 and LSI SAS 2008 controllers
Starting with versions 7.6 \ 8.0beta, RedHat has disabled support for SAS controllers on the LSI SAS 2008 chip. However, in Fedora 29 with the kernel 4.18, the controllers work. So, RedHat simply ...
0
votes
1
answer
247
views
linux: truecrypt/veracrypt/luks/etc without /dev/loop*
I'm using a linux system without any /dev/loop* devices and without the loop module compiled into the kernel, and I don't have the option of upgrading the system or kernel. I want to use luks, ...
1
vote
1
answer
738
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 ...
0
votes
1
answer
90
views
How can I determine which kernel module is responsible for a specific connection showing in NetHogs?
I currently rent a dedicated server from OVH, and I was looking at nethogs to see how much connection capacity a specific process was using. I ended up, however, finding a slew of processes there that ...
0
votes
0
answers
522
views
Package dependency issue, not sure safest way to proceed
I am running into a package dependency issue. Can someone help make sense of how to resolve this?
Q What steps do i need to take when it says Requires: zfs-kmod = 0.7.7
Available: kmod-...
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 ...
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 ...
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 ...
12
votes
3
answers
19k
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 ...
1
vote
1
answer
828
views
How to configure the st kernel module for LTO-6 tape drives?
I found a hint to configure the st module in a mail from 2004 redhat mailinglist about a slow LTO-2 drive.
modprobe st buffer_kbs=1024 max_buffers=128 max_sg_segs=128 blocking_open=1
Are similar ...
-2
votes
1
answer
672
views
What are the benefits of enabling Enhanced Networking for EC2? [closed]
EC2 seems to provide a mechanism to enable Enhanced Networking for certain EC2 instance types. However, the use cases and benefits are not clearly spelled out?
What are they and when is it ...
0
votes
2
answers
9k
views
Failed to find Linux Kernel Module
I`m trying to add driver for specific hardware at startup.
Module file is located at /lib/modules/4.4.0-66-generic/kernel/drivers/misc/.
Also I've tried /lib/modules/4.4.0-66-generic/kernel/drivers/...
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 ...
3
votes
1
answer
1k
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 ...
1
vote
0
answers
1k
views
STP packets dropped (1 packet every 2 seconds) when irrelevant multicast group joined on the interface
I'm trying to understand weird packet drop issue when joining particular multicast group.
I think this issue is related to patch introduced in kernel ver 2.6.37
Beginning with kernel 2.6.37, it has ...
0
votes
0
answers
576
views
nf_conntrack_ftp module has disappearedl
I've been running a Linode droplet for several years with no problems. In the last month, users have reported FTP connection errors, always related to Passive FTP.
Investigation shows that the ...
0
votes
1
answer
42
views
Do I need to compile the kernel again?
Compile the kernel, and an option I forgot to give you my card support.
Do I need to compile the kernel again?
$ Make && make modules_install
$ Make install
or is there an easier way to ...
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 ...
0
votes
1
answer
1k
views
What does the following C-State output mean?
# cat /proc/acpi/processor/CPU0/power
active state: C0
max_cstate: C8
maximum allowed latency: 2000000000 usec
states:
C1: type[C1] promotion[--] demotion[-...
0
votes
1
answer
433
views
How to find out the response time for C-state to change to higher mode
How much time does the CPU wait to go to higher mode, let's say from C0 to C1?
Or if it can be customized, where can I find the current value?
Also, does the the C-State changes in stages like first ...
0
votes
0
answers
1k
views
Kernel headers not found in Cent OS 7
I was trying to install ixgbevf drivers.
# dkms build -m ixgbevf -v 2.14.2
Error! echo
Your kernel headers for kernel 3.13.0-74-generic cannot be found at
/lib/modules/3.13.0-74-generic/build or /lib/...