Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Browsing all 12312 articles
Browse latest View live

Interrupt Nested, Sequencing

I am reading the Linux Kernel documents and I have these questions(X86_64 Arch);When PIC sends an interrupt to CPU, will that disable that specific interrupt till the acknowledgement comes from CPU? If...

View Article


mdadm: CREATE group disk not found

I am running Kernel 4.14.214 on a QEMU VM, which is based on the FEMU project.I am running the QEMU to get the bzImage through the option -kernel, as well as the -initrd, so I can compile the kernel on...

View Article


How do I access any kernel symbol in a kernel module?

I am wanting to use the function getname in my kernel module. It is not exported. Since I am running into this problem right now, I would like to know how to access and use any kernel symbol that is...

View Article

What are inode generation numbers?

I'm planning to implement a FUSE filesystem using low-level API and currently trying to understand the fuse_entry_param structure.I wonder what unsigned long fuse_entry_param::generation actually...

View Article

BPF filter fails

Can anyone suggest why this (classic) BPF program sometimes lets non-DHCP-response packets through:# Load the Ethertype fieldBPF_LD | BPF_H | BPF_ABS 12# And reject the packet if it's not 0x0800...

View Article


After compiling Linux kernel on a native ARM device, loading module fails

I have a ARM server with a Cortex-A57 processor and 64GB memory. Due to complexity of cross compilation, I want to compile kernel directly on this ARM server.I use the similar command to compile kernel...

View Article

Calculating checksum in BPF kernel module (C)

I'm trying to modify a packet (UDP payload) I receive in a BPF kernel module to send it back to the client, but I'm confused on why it doesn't go out. I suspect it's due to the fact that I don't...

View Article

undefined reference to__aeabi_ldivmod when building kernel for arm32

When building one kernel image for arm32 platform, in the final linking, the error is: arm-eabi-ld -EL -p --no-undefined -X --build-id -o .tmp_vmlinux1 -T obj/KERNEL/arch/arm/kernel/vmlinux.lds...

View Article


Purpose of reserved memory in device tree like encoder_boot, decoder_boot etc

I want to understand the reserved_memory section which will be preset in every kernel device tree file. What is the purpose of reserving the memories for encoder_boot, decoder_boot, m4_reserved etc....

View Article


walk through kernel page table entries

I am trying to disable cache for Kernel space. To do so, I would like to modify flags in the page table entries (PTE) of the Kernel. I found examples for walks through PTE of user space:[url]Linux...

View Article

Image may be NSFW.
Clik here to view.

I get error when installing Kali-Linux on VMware [closed]

I try to install Kali-Linux (kali-linux-2020.4-installer-amd64.iso) on VMware( VMware® Workstation 11.1.2 build-2780323 ) but get this errorAny help ?

View Article

Integrating changes in the kernel using Yocto using patches

If you want to modify the linux kernel such that it excludes certain modules, you usually go to /kernel/msm-4.9/arch/arm/configs/vendor/<machine-name>_defconfig, which has a bunch of Kconfig...

View Article

What could be the reason for nanosleep system call to hang?

Once in several months, a multi-threaded daemon is getting hanged while executing the nanosleep system call. The usleep value is a static 50ms but the execution doesn't return for at least 80 seconds...

View Article


How to use an own device tree and modified kernel config in Yocto?

I am working to build an own "embeeded linux" with yocto. It is based on the SAMA5D3x-MB + SAMA5D3x-CM(RONETIX) with the SAMA5D35. I have two questions:1.) changing the device treeI build an image...

View Article

VcXsrv WSL X server closes unexpectedly. Do I need to disable GPU?

I am trying to run some code with pybullet. I am on windows 10, have the latest vscode, and I am using WSL remote on vscode with ubuntu 18.04 LTS. I have a GTX 2070 graphics card. I just want to see...

View Article


Abnormally large drivers/modules directories when building a custom kernel on...

I'm currently tiptoeing into custom kernel building.I first started on a VM in VirtualBox, installing a fresh distribution of Ubuntu Server 20.04.I followed the following procedure:# getting the...

View Article

Timer disarms when interval is too small

Timers seem to disarm after process is resumed (SIGCONT) ONLY when interval is too small.I use timer_create with CLOCK_REALTIME. For time interval 0.2s it works but for 0.1s it doesn't.My linux...

View Article


Is it possible to compile module firmware inside module itself, not kernel?

I know that I could compile firmwares inside Linux kernel with CONFIG_EXTRA_FIRMWARE, but as I understand, this will compile firmware inside kernel, not module itself.is it possible to compile firmware...

View Article

How to generate .ko file in linux kernel sources?

I am learning linux kernel with the help of qemu. I download the source files of linux kernel(linux-4.4.251) from http://kernel.org, build an initrd and use qemu to boot a system on them.Recently I am...

View Article

ASoC Drivers: Which files are platform, machine, and codec drivers? [closed]

When navigating the Linux ASoC files, which ones pertain to the following categories:Platform Driver: ? (somewhere in sound/soc/ ?)Machine Driver: ? (somewhere in sound/soc/ ?)Codec Driver:...

View Article
Browsing all 12312 articles
Browse latest View live


Latest Images

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