Quantcast
Channel: Active questions tagged kernel-modules - Unix & Linux Stack Exchange
Browsing all 1184 articles
Browse latest View live
↧

How to find the kernel boot parameter for a given boot configuration option?

I have a Dell laptop running Debian Sid. Current kernel (4.15.4) is configured to load dell_smbios as module (CONFIG_DELL_SMBIOS=m). This produces the followning error while booting dell_smbios: No...

View Article


Udev rule setting up SocketCAN socket only works correctly only when run...

I want to start slcand (the userspace daemon for the serial line CAN interface driver) when my Lawicel CanUSB dongle is plugged in. I followed Pascal Walter's step-by-step guide and all seems to work...

View Article


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...

View Article

Compile kernel module and insert on-the-fly

is it possible to take a kernel compiled without a module (I mean not compiled with that module as builtin [*] nor as a module [M]), and compile just that module (let's say as [M]) and then insert it...

View Article

How to automatically deactive a linux kernel module after kernel panic?

I need to connect the Linux kernel module in such a way that if a kernel panic occurs the module would not be active after rebooting. Probably I am looking for tricky way with modprobe/instmod...

View Article


Unable to load SFP+

I am using CentOS7 7.5.1804. I have a Intel 82599 based 10gig SFP+ card. When I try my SFP's I get: failed to load because an unsupported SFP+ or QSFP module type was detected. I tried everything I...

View Article

Cannot enable TPM in the kernel

I'm building a machine with Yoctoproject. I need TPM module for some purposes but I can't enable it. I tried this way: I ran bitbake -c menuconfig virtual/kernel, accessed Device Drivers >...

View Article

Wildcard in Makefile doesn't do anything

I'm trying to compile a kernel module named DAHDI in a FreePBX (RHEL). I get the following make output error: You do not appear to have the sources for the 3.10.0-957.21.3.el7.x86_64 kernel installed....

View Article


Unable to print the message sent from user space C application to linux...

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) {...

View Article


Unable to access/(auto)-mount SD card on Fedora 28

I am trying to access SD cards on Fedora 28, but do not have any success. System info is as follows: $ lsb_release -a LSB Version:...

View Article

yocto not including kernel module in final image

I am trying to enable the CP210X kernel module in my yocto-poky build. I have enabled this option in the bitbake -c menuconfig <name>. I have it included in my meta layer config files under the...

View Article

How to export kernel functions which written in assembly?

I am working with a PowerPC processor and have to use dcache functions in my kernel module, like: "clean_dcache_range()", implemented in $KERNEL_SOURCE/arch/powerpc/kernel/misc_32.S. this assembly file...

View Article

Mediatek MT7630e not working on Linux 5.0.2 & 4.20

Under Elementary OS Juno, I am trying to use Mediatek M7630e WiFi, which doesn't work. I know that in Fedora 29 with the officially supported Linux 4.20 it does instead, even if not perfectly - I tried...

View Article


How to configure buildroot to add a sound device?

I've used a given board configuration to reconfigure it for my individual board. My board has a CS4270 sound device of Cirrus Logic. My uImage is booting successfully on my target hardware, but an...

View Article

"__count_memcg_events undefined" while make

Using Debian Bullseye (testing) on 5.2.0-3. Try to compile ncpfs-module. I try to compile a module which worked fine til 5.2.0-2. But if I try to "make" under 5.2.0-3 I got:make[1]: Entering directory...

View Article


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...

View Article

Difference between C-state and S-state?

I was going through the Linux power management files, and I am confused about the C and S states.The C-states are defined in /sys/devices/system/cpux/cpuidle/. From what I understand they are used to...

View Article


lsmod "used by" [ refcnt ] is showing very large value

bash-4.3# lsmod Module Size Used by klm_one 1328 372630150 bash-4.3# cat /sys/module/klm_one/refcnt 372630150 Linux: 4.1.21 Background:I am moving from 3.14 to 4.1 kernel, as part of this am...

View Article

Ubuntu suspend hangs when WinTV USB Tuner attached

I'm running Ubuntu 18.04 (Bionic Beaver) on a Dell N7010 laptop using a WinTV-HVR-955Q USB tuner stick. All software was installed from the default Ubuntu apt repositories. Almost everything is working...

View Article

Find out why linux kernel module was loaded

The debian backports 4.8 standard kernel loads the module fjes on my thinkpad T460s.How can I find out why this module is loaded, i.e. which hardware triggers loading this module?

View Article
Browsing all 1184 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>