Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [kernel-module]

The tag has no usage guidance.

1
vote
0answers
22 views

Raspbian compile single kernel module gfs2

I'm trying my best to get GFS2 mounted in dual-primary on Raspbian, but I'm hitting an issue. Whenever I try to mount the GFS2 volume, I get an error: mount -t gfs2 -o noatime,nodiratime,noquota /dev/...
0
votes
0answers
27 views

Linux kvm module compile causes dependency cycles kvm->kvm_intel->kvm

I have a fresh 4.19.13 linux kernel, which is able to compile and install normally. Then I have some modification to the kvm module in it, and I only want to re-install the kvm modules instead of the ...
0
votes
1answer
152 views

Missing TUN/TAP driver on embedded Linux

I came a long way to encounter this problem, so several dead end steps will be omitted. I was trying to create a TAP interface. The first step taken was to check if I have the needed tool (which I ...
0
votes
1answer
55 views

i2cdetect -l don't return anything

I need to use the SMBus, but when I run the command i2cdetect -l I do not receive anything as output, on Windows it was recognized, I do not see anything about SMBus even doing lspci. I installed and ...
0
votes
1answer
321 views

Where did snd-aloop go?

I'm on arch linux and I've been using snd-aloop to create a virtual audio devices without issues for a year now. Since yesterday's system upgrade to the new Linux kernel (4.18.3) however, the module ...
0
votes
1answer
304 views

Iptables kernel module in stock Arch

When attempting to use iptables on an Arch install with the default kernel, I'm receiving the error iptables v1.6.2: can't initialize iptables table `filter': Table does not exist (do you need to ...
3
votes
3answers
4k views

VMWare Workstation vmmon broken on Ubuntu 18.04

I upgraded to Ubuntu 18.04 and the vmmon.ko module for VMWare Workstation 12.5.9 now fails to build. /usr/lib/vmware/modules/source/vmmon-only/linux/driver.c: In function ‘LinuxDriverInitTSCkHz’: /...
0
votes
0answers
44 views

How to I automate re-compilation of a kernel module on Debian / Ubuntu?

I have the source for a kernel module which I want to re-compile every time the kernel gets updated - is there a sophisticated way to do this? Of course I could always compile the module on system ...
0
votes
0answers
256 views

sound driver - snd-aloop kernel module setup issue with AWS EC2 ubuntu 16.04 instance

Unable to use snd-aloop audio driver in AWS EC2 ubuntu 16.04 instance On running modprobe on snd-aloop $modprobe snd-aloop modprobe: FATAL: Module snd-aloop not found in directory /lib/modules/4.4.0-...
2
votes
1answer
954 views

What is “modloop” option in Alpine?

I'm trying to understand what is the difference of making Alpine installation medium as read-only type (LiveCD) and as a standard disk mode (where the OS state can be saved). I've seen the modloop ...
2
votes
0answers
93 views

how to know who start a Linux kernel module

There is a running kernel module (netns_vrf) in my Linux computer, like this: $ lsmod | grep vrf netns_vrf 8388 0 This kernel module is not from Linux distribution, it is from a third ...
0
votes
1answer
36 views

Configure built-in modules in cross-compiled linux

I'm in the beginning stages of using a cross compiler (ELDK) to build an embedded Linux system from the kernel source. The Kernel is built successfully with make ARCH=powerpc CROSS_COMPILE=powerpc-...
2
votes
0answers
769 views

VWare Workstation 14 and new hostif.c on kernel 4.13 for fixing a memory error

I'm running vmware 14.0 on Fedora 26/kernel 4.13 Everything works fine in kernel 4.12. Since kernel 4.13, I can't start the VM, and the message relates to an "insufficient memory error". I found a ...
0
votes
1answer
74 views

Identify kernel module for analogue video capture card Multimedia video controller: Adaptec (formerly DPT) Device 9065

I'm trying to identify a kernel module to make an analogue video capture card work on video4linux. lspci: Multimedia video controller: Adaptec (formerly DPT) Device 9065 02:04.0 Class 0400: Device ...
2
votes
1answer
308 views

why there are modules loaded not being used?

I'm running ArchLinux with default linux kernel,playing around with lsmod I noticed that there are around 20 modules for either hardware that I don't have or they are not being used for anything, I ...
0
votes
1answer
28 views

How to have access control for all users, including root, for R/W regular files, in Linux kernels newer than 2.6.35?

I have a Linux Security Module (LSM) on RedHat ES 5, kernel 2.6.18. The LSM implements access control for all users, including root, when they Read/Write regular files. I'd like to implement the same ...
2
votes
1answer
1k views

No OpenSSL sign-file signing_key.pem leads to error while loading kernel modules

I am having problems while loading/installing a kernel module. The kernel module builds successfully, but whenever I try to make module_install, the kernel seems to fail to load. It leaves the below ...
1
vote
1answer
584 views

How do I completely remove Xen or at least stop these errors from occurring?

I installed the xen-hypervisor package but that froze my system, and didn't know how to solve it so I compiled from source. That exhibited the same issue so I assumed it was hardware related, and ...
1
vote
0answers
2k views

How to fix module_layout in kernel-module?

I have compiled a new module into the Linux kernel. Unfortunately, I can not load it. The module is loaded on the remote machine. It was compiled by a cross compiler. The problem is module_layout. ...
1
vote
0answers
4k views

install kernel modules on ubuntu 16.04 ( no /lib/modules )

I have several Ubuntu 16.04 machines without /lib/modules directory, and if the result of lsmod is : root@bla:~# lsmod Module Size Used by xfs 970752 1 libcrc32c ...
0
votes
1answer
70 views

How to view options tkernel module was loaded with?

How could one view options/parameters that were passed to kernel when loading it? modinfo -p <modulename> doesn't fit for this problem as it displays it seems all available parameters. Linux ...
1
vote
0answers
199 views

Installing tun module without kernel source

I have a Verizon Mifi 5510L that I'd like to run an OpenVPN client on (I can't run it on my iPad because my school won't let me). I managed to get a shell and get root on it and I can get files to it ...
1
vote
0answers
414 views

PCIe driver error for enabling device and allocating memory

I'm using PCIe bus on Freescale MPC8308 (as root complex) and the endpoint device is an ASIC with just one 256 MB memory region and just one BAR register. The device configuration space registers are ...
1
vote
1answer
2k views

Why are some udev workers timing out?

A few weeks ago, ALSA and USB stopped working on my laptop. Things like YouTube videos just don't have sound in Firefox; mpv prints [ao/alsa] Playback open error: No such file or directory. Could not ...
0
votes
1answer
302 views

both USB ports randomly stop working, then when shutdown, stuck on blinking cursor

the problem usually occurs about once per day, seemingly at random, but occasionally two times, and occasionally zero times. devices connected are: a new STAR printer with it's own power supply, ...
4
votes
0answers
2k views

Delete kernel module completely

I would like to ask you how can I delete some kernel module completely? I mean really delete, not unload or prevent to load. I tried to use rmmod, but it just unloaded module, same as modprobe -r. So ...
3
votes
0answers
861 views

No kernel sources available for 4.4.4-301.fc23.x86_64

I am trying to use vagrant on Fedora 23, but it isn't working at all. It isn't working because virtualbox's kernel modules will not install and compile with 4.4.4-301.fc23.x86_64. I installed ...
1
vote
1answer
24 views

Will my kernel module be reloaded after system reboot?

I'm starting a "Hello World" module, but I'm afraid to do some kind of error. If I break my system for some reason will my module be reloaded at reboot (crashing again my system)? I guess it won't, ...
1
vote
1answer
365 views

How to see Kernel Oops/Panic? and provide “proof”

I'm doing this assignment and I'm kind of confused on providing proof for kernel oops/panic static int __init hello_init(void) { printk(KERN_INFO "Hello world!\n"); return 1/0; //...
0
votes
2answers
458 views

Ubuntu 15.10 modified kernel module won't load - must be done manually

A module called alx, which drives my Qualcomm AR8161 Ethernet, loads up on boot and is visible with lsmod. This module is buggy. I found the patches, download the source code for my running kernel, ...
1
vote
1answer
4k views

How to install AMD Crimson on 64 bit Arch Linux?

I have been trying to install the latest AMD drivers on my Linux machine, but after getting it to compile I am greeted with this message: modprobe: ERROR: could not insert 'fglrx': Unknown symbol ...
16
votes
1answer
30k views

How do I figure out why systemctl service “systemd-modules-load” fails?

For some time I've seen some red text flashing by during boot. Today I decided to look into it. The systemctl service systemd-modules-load.service is failing with this text: tomas@bonus-debian:~$ ...
4
votes
1answer
475 views

Backing Up Kernel Modules from a GNU/Linux installation

How can I create a backup of all the driver modules (especially those that are not part of the original kernel yet) from an installation of GNU/Linux OS? The original source of the proprietary ...
1
vote
0answers
45 views

How do I compile a module with different active kernel/kernel-after-reboot versions?

Let me explain, I updated my kernel but have to recompile the wifi module to work with the new one. The thing is, I can't reboot and compile, because it's my media server to which I only have access ...
1
vote
0answers
69 views

How do I compile DKMS module for multiple kernel image versions in Debian?

I have versions 3.16 and 4.0 of linux-image package installed. During login I can select which kernel I want to boot in the "advanced options" menu item. However, when I install a DKMS module it is ...
2
votes
1answer
3k views

Force a Linux kernel module to be compiled as a module instead of built-in

I have the sources of the kernel of an embedded Linux box (specifically a QNAP NAS) which is running a 64-bit v3.12.6 Linux kernel, together with the kernel config files. What I'm trying to do is ...
1
vote
1answer
2k views

Start a module at startup on gentoo

I use gentoo. I have a module nammed "cgosdrv" (for instance). I can launch it without problem with "modprobe cgosdrv" (as root) I want to start it automatically at startup, so I add to /etc/conf.d/...
1
vote
1answer
3k views

udev pci device rule is not working

I have a PCI device which have an own drivers (not integrated in Linux kernel). I've collected device information using udevadm. udevadm info -a -p /sys/devices/pci0000:00/0000:00:1e.0/0000:0d:02.0 ...
-2
votes
1answer
316 views

How to compile the linux without any audio codecs?

I want "no audio" functionality in an embedded system. So, any idea about how to configure kernel without any audio? Thanks.
0
votes
1answer
294 views

Where can I find the origin of specific modprobe conf option to erase it?

When I do modprobe -c |less The configuration files contains: options nouveau modeset=1 options bbswitch load_state=0 unload_state=1 options b43 nohwcrypt=1 qos=0 options rd md=0 options rd dm=0 ...
0
votes
1answer
399 views

How add mppe to Debian kernel 3.2.54-2 x86_64

I use debian. 3.2.0-4-amd64 # 1 SMP Debian 3.2.54-2 x86_64 GNU / Linux. I'm trying to setup pptpd, but I'm having trouble adding support "mppe". I' m searching "kernel-patch-mppe" on the debian site ...
1
vote
1answer
3k views

Mount UFS partition on CentOS 7

There is instructions to mount UFS partitions on CentOS (like this), but they use kmod-ufs package from ELRepo, and there isn't such package in ELRepo for CentOS 7. How to install UFS kernel module ...
2
votes
1answer
462 views

Whitelist USB drivers(kernel modules)

I am looking for a way to configure a whitelist of allowed usb drivers on Fedora. All other USB drivers should not be loaded. What's the simplest way to do so? I know how to blacklist drivers using a ...
2
votes
1answer
300 views

Linux module blacklist GUI

Is there a GUI like application that lists all the kernel modules that are inserted at boot-time, with a little description and with an option to remove them? P.S. I'm aware of the manual mode with ...
2
votes
1answer
8k views

dkms does not find kernel source

For days now I am trying to get ZFS-on-Linux working on Debian 7 but the module doesn't want to compile: # dpkg-reconfigure zfs-dkms ------------------------------ Deleting module version: 0.6.3 ...
1
vote
1answer
11k views

What is the difference between “make modules” and “make modules_install”

I'm currently looking up compiling a custom kernel and I find various guides that first say make modules and then make modules_install in the step when you compile and install the modules while other ...
3
votes
0answers
309 views

3g modem is not recognized as an ethernet device without rebooting

I have two CentOS5 servers with kernel versions 3.4.52 and Huawei e353 usb 3g modem. When I plug the modem to my server usb_modeswitch runs and I can see the modem as an ethernet device with ifconfig -...
1
vote
0answers
688 views

Linux - How to list all device nodes using a specific device driver

I know I can see what driver is being used for a device node if I know the major and minor number of the device(see this link). But I want to know if there's a way to list all device nodes that are ...
0
votes
1answer
338 views

Linux 2.6.39.4 how to find available loadable kernel modules

I'm customizing the 2.6.39.4 linux kernel on an arm platform and trying to test out a "Hello World" driver I created. I selected "M" (loadable) in the kernel make menuconfig and verified that it ...
2
votes
1answer
2k views

Does radeon.hw_i2c=1 has any thing to do with temperature readings?

I want to read the temperature out from an Advanced Micro Devices [AMD] nee ATI RS880 [Radeon HD 4290] card if possible. It is integrated on an ASUS M4A89GTDPRO/USB3 motherboard. sensors-detect ...