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

How to get the syscall that currently works?

I am a new to linux kernel coding,so now i am writing function that i need to know which syscall is working now ,to build the function according to which system call is executing? so is there a...

View Article


build kernel module do_softirq() undefined

#include <linux/init.h>#include <linux/module.h>#include <linux/interrupt.h>MODULE_LICENSE("Dual BSD/GPL");static int example_init(void) { printk("<1>EXAMPLE: init\n");...

View Article


Questions on signals processing in linux

I would really appreciate if someone can help me find answer for below questions related to signals in linux? Did lot of searching but did not receive an answer.Does a signal (eg : SIGINT) interrupt a...

View Article

Initialize global variable in kernel linux

I am trying to initialize a static global variable (global because it needs to e available in the kernel from boot to shut down).I am not sure where can I initialize the global variable or how to...

View Article

How to alternate the reboot command behaviour to perform cold reset safety on...

The machine is running Linux for embedded and it has FPGA (Altera Cyclone V) fabric.When testing the system we encountered with some problem that trapped the FPGA logic in some bad state. This is a...

View Article


Linux g_printer module PNP printer recognition problem

I want my Raspberry Pi 4B to be detected as an EPSON TM-T88VI printer.for this, I found information that it is necessary to edit /etc/modprobe.d/g_printer.conf and write a certain line there, which is...

View Article

How to do a TRUE rescan of PCIe bus

I have an FPGA (Like most of the people asking this question) that gets configured after my Linux kernel does the initial PCIe bus scan and enumeration. As you can guess, the FPGA implements a PCIe...

View Article

Compiling Linux v0.01 [closed]

I'm trying to figure out how OS kernels work, and one day I wish to make my own OS. There's a lot going on, so I figured an easy place to start was with an early version of Linux. It's a fairly small...

View Article


How to determine if a specific module is loaded in linux kernel

I am just curious is there any way to determine if a particular module is loaded/installed. $lsmod lists all modules (device driver loaded).Is there any way to check or a command that returns...

View Article


How does Nouveau driver allocate memory on the GPU side?

I've been looking into the Nouveau GPU driver (open-source GPU driver for Nvidia GPUs) because I'd like the understand what's actually going on inside the driver.Specifically, I've been trying to...

View Article

USB ports in Linux system

When I check "/sys/kernel/debug/usb/devices" in a Linux system, I could see that two devices are on the same port(T: line in below output). Also the port numbers in "D:" line is different.Device1:T:...

View Article

process hung in D state

we are seeing our application hung up occasionally in the kernel with below stack trace, we are using centos 7.6 with 3.10.0-1062.4.2.rt56.1028.el7.x86_64 kernel. The application got hung at the below...

View Article

linux headers are consuming a lot of disk space on the EC2 machine. Is it...

EC2 machine on aws is filled with multiple linux headers and currently / is 100% full on disk space. I ran commands like apt-get autoremove but it is throwing an error saying No apport report written...

View Article


Linux find out Hyper-threaded core id

I spent this morning trying to find out how to determine which processor id is the hyper-threaded core, but without luck. I wish to find out this information and use set_affinity() to bind a process to...

View Article

Linux Kernel x86_64 vs i686 vs i386 [closed]

I have an AMD Ryzen 5 1600 processor which is, to the best of all available evidence, a 64 bit processor.But when I attempt to install Linux (Centos 7, Linux Mint), the installer complains that it is...

View Article


Is that a valid state of a SKB ? (where skb->user=1 and...

The next issue is regarding linux kernel buffers for managing network packets, as known as sk_buff.I read quite a bit about the linux kernel sk_buff structure and API, but there are still some issues I...

View Article

Data corruption when memcpy from DMA

EDIT:Not sure if that's a problem or not, but here is something I've noticed about:The rx_skbuffers are allocated in two places: once when the driver is been initialized, it calls...

View Article


CONFIG_x86_x32 enabled but no binutils suppot kernel compilation error

I am trying to compile the Linux kernel and I am getting the errorCONFIG_x86_x32 enabled but no binutils support kernel compilation errorI have tried to change to the value of CONFIG_x86_x32 to "n" in...

View Article

net.ipv4 kernel variables affect on DPDK ports

Sorry beforehand if this question is trivial or even if the answer is the question.Our devices have an application that employees DPDK to use its NICs.As part of the device setup some init done, part...

View Article

Undefined Reference Error while Compiling Linux Kernel in Ubuntu 20 LTS [closed]

During compilation of kernel I am getting an error:arch/x86/entry/syscall_64.o:(.rodata+0x1120): undefined reference to `__64_sys_helloworld'What's going on?

View Article
Browsing all 12322 articles
Browse latest View live


Latest Images

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