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

Image may be NSFW.
Clik here to view.

Internal webcamera with hi847 sensor doesn't work on alder lake

I have dualboot system with Windows 11 and Ubuntu 22.10. Notebook based on intel Alder Lake platform with i5 1230u processor. Internal WebCamera (HI847) sensor doesn't work in Ubuntu, but works in...

View Article


insmod command in not completed even after hours

I was trying to set up the MemLiner environment in the CloudLab. I was following the instructions from the GitHub page. When I try to connect the CPU server and memory server nodes in the "2.1 Connect...

View Article


How to build kernel after modifying specific files?

I'm new in kernel development and I modified two kernel files for a research project. Now, I already know how to do a fresh building of the kernel source code and that is what I did. I'm asking if I...

View Article

/tools/build/Build.include: No such file or directory while compiling

I am trying to compile kernel module 4.18.0-240.el8.x86_64. On running make prepare getting the following error DESCEND objtool/usr/src/kernels/4.18.0-240.el8.x86_64/tools/build/Makefile.build:37:...

View Article

How can I fix mt76x2u boot errors?

ProblemSoon after booting my Linux distribution (Arch) I'm getting some errors related to mt76x2u module:$ journalctl --boot --priority err-- Journal begins at Thu 2021-04-01 16:24:56 CEST, ends at Tue...

View Article


iwlwifi: Failed to start INIT ucode: -110 in Arch Linux kernel version 5.5.3

I'm new to Arch Linux. I installed it on my laptop(LG Gram)it seem fine post installation. I don't remember my wlan works post installation because I used wired. But, when I turned on my laptop today...

View Article

Shared memory between user module and kernel module

I'm kind of new to kernel development.I have a custom kernel module that needs to "communicate" some tcp network parameters to a user-level module (a python script). I don't want to rely on netlink...

View Article

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 bootingdell_smbios: No...

View Article


How to deallocate /dev/ram0

I have allocated /dev/ram0:dd if=/dev/zero of=/dev/ram0 bs=1M count=1024Now I have 1Gb sitting in memory. How do I free up the allocated space?

View Article


Reading PHY MII registers beyond 0x1F

I am having some issues with a DP83826 PHY and therefore I want to read some configuration registers. I have used mdio-tool and mii-diag for it, but I just realized that I can only read the first 32...

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

Kernel module to connect ps/2 keyboard to usb?

Is it technically possible to write a kernel module to physically connect a PS/2 keyboard to a USB port using a passive converter? If not, why?(If I simply wanted my keyboard to work I would buy an...

View Article

What's the difference of `/etc/modules-load.d` and `/etc/modules`?

I red the introduction of them and found that, they both deal with module loading during boot time.So, what's the difference of these two different configuation ways?

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

How to simulate a PC speaker?

I bought a modern laptop which seems to lack a hardware speaker. Is there some kernel module to simulate it over ALSA instead or so? I could find only some very old patched modules from late 90s which...

View Article


Linux Traffic Control (tc) not working without reboot

When trying to run tc qdisc add dev $INTERFACE root handle 1: prio priomap 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 tc qdisc add dev $INTERFACE parent 1:1 handle 10: netem loss "${LOSS}"%I get the error...

View Article

WSL 2 does not have /lib/modules/

I have the source code of a hello world kernel module that works in Ubuntu 20 in a laptop.Now I am trying to compile the same code in Ubuntu 20 but inside WSL2. For that I am using this:make -C...

View Article


Image may be NSFW.
Clik here to view.

Binding lsmod module name with kernel configuration menu entry

Lets suppose I have a module named "mptsas". How can I find out, what kernel configuration menu entry (make menuconfig inside /usr/src/linux) corresponds to that module?By 'corresponds' I mean what...

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

How to use gettimeofday in the kernel module?

I'm trying to use the following code in the kernel modulestruct timeval now;gettimeofday(&now, NULL);But getting following error while compiling kerneldrivers/media/i2c/ox05b.c:776:17: error:...

View Article
Browsing all 1181 articles
Browse latest View live


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