Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

I am trying to build a Linux image for the NXP i.MX 8QuadXPlus (i.MX8QXP) Multisensory Enablement Kit (MEK). NXP’s official BSP release (L6.x / L5.x / L5.15.x) does not provide a pre-configured ...
Tanvi Zehra's user avatar
2 votes
0 answers
61 views

I have multiple UIO interrupts defined. I am using Linux 6.12 without the realtime config. My userspace driver is using poll in a loop to watch these interrupts as described here. Sometimes, due to ...
Woodrow Barlow's user avatar
0 votes
0 answers
21 views

I’m trying to get Snap working on Debian 13 (Trixie), but whenever I try to install any Snap package, I get the following error: error: system does not fully support snapd: squashfs mount returned no ...
Armin Mulic's user avatar
Advice
0 votes
3 replies
61 views

I am building a dto for a display using an Ilitek 9806e controller and a Goodix Gt911 touch controller. These two components share a single reset line, so this reset line should only be asserted once ...
sAm_vdP's user avatar
  • 331
-2 votes
0 answers
66 views

I'm developing a custom Linux kernel module for managing device resources, and I need to implement proper reference counting to prevent use-after-free (UAF) vulnerabilities. My module maintains ...
Gunjan Ghangare's user avatar
-4 votes
0 answers
110 views

Introduction: I'm using a custom board based on an i.MX6q SoC that communicates with an FPGA on the EIM bus: this communication is managed via custom driver module. The DTACK signal and memory WDOG ...
ronin80's user avatar
0 votes
0 answers
85 views

I using u-boot v2017.09 for rk3566, i want to load kernel from FIT(kernel, dtb, ramdisk). I hardcoded bootargs(boot_get_cmdline) in u-boot: int boot_get_cmdline(struct lmb *lmb, ulong *cmd_start, ...
artEA's user avatar
  • 1
0 votes
2 answers
79 views

I am trying to build a mapping between the dynamic symbols in ELF files (from glibc) and the actual kernel syscalls they invoke. My environment is x86_64 Ubuntu 22.04. What I've Tried Parsing man 2 ...
신경철's user avatar
0 votes
1 answer
47 views

I'm struggling to reconcile the difference between the symbols listed in my ELF file's dynamic symbol table (.dynsym) and the system calls observed via strace. When I perform static analysis using ...
신경철's user avatar
1 vote
1 answer
62 views

I'm interested in the arguments and the return value of the function __bread_gfp, so what i did was install an entry_handler for the arguments and a handler for the return value. Here's my code: #...
Damiano De Orazi's user avatar
1 vote
0 answers
42 views

I have two k8s pods that communicate using TLS. I am loading an eBPF TC code on the egress of the sender pod. This code adds 28 bytes to the optional space of the TCP headers after TCP options. If I ...
alepvn33's user avatar
0 votes
1 answer
129 views

I am trying to implement a manual implementation of strstr in eBPF but cannot get past verifier. Before starting, I know there is an existing bpf_strstr() implementation, but it's on 6.17+ linux ...
Stefan Misu's user avatar
0 votes
0 answers
43 views

I have a ZynqMP board with 4GB of PS RAM and 2GB of PL RAM. I have to write stream data to PL RAM using the AXI DMA s2mm channel and transmit it through 1G Ethernet. I've done this in a bare metal ...
Дмитрий Кортиков's user avatar
Best practices
0 votes
3 replies
60 views

I'm writing a kernel patch (you can see a project here) that, when any program is launched in the system, checks whether the program has the bitX attribute in its хattr. If it's missing or equal to 0, ...
oditynet's user avatar
0 votes
0 answers
175 views

I'm unable to access the linux.pslist.PsList plugin (and others) in Volatility 3 Framework 2.27.0. The plugin fails to resolve the kernel layer and symbol table, even though a Linux symbol file for ...
BarTech's user avatar
0 votes
0 answers
97 views

I am writing a C program that periodically loads/unloads a dynamic library. The dynamic library performs network operations using DPDK, and in my setup, it relies on the VFIO framework. This is a ...
ellerre's user avatar
  • 41
2 votes
1 answer
85 views

I am trying to understand how Linux Perf manages hardware counters when profiling a multithreaded process. According to the documentation, the perf_event_open syscall can be used in two ways: To ...
LorienLV's user avatar
3 votes
1 answer
147 views

I've been doing some kernel development on the Google pixel 9a "tegu" platform (latest version on https://developers.google.com/android/drivers), where Google uses Bazel to compile the ...
samallen985's user avatar
1 vote
1 answer
78 views

I am trying to implement request steering in Linux kernel’s blk-mq layer to distribute I/O requests across CPU cores based on load. My goal is to redirect requests from busy cores to less busy ones to ...
kdh's user avatar
  • 194
0 votes
1 answer
136 views

When a system call is invoked by a user program, a software interrupt (trap) is raised, control first passes to the fixed location of the interrupt vector (IR) which contains the ISR associated with ...
Fabio's user avatar
  • 33
0 votes
0 answers
53 views

I have been creating a basic core management tool which is able to dynamically turn CPU cores on and off using Arm's PSCI CPU_ON and CPU_OFF functions. This worked great on QEMU, however moving onto ...
Mike's user avatar
  • 21
2 votes
0 answers
318 views

I'm running Ubuntu 24.04 LTS with kernel 6.14.0-32-generic and trying to use bpftool for eBPF dev. After some struggling in setting up, I realized that the linux-tools-6.14.0-32-generic package is ...
zephyrus1's user avatar
0 votes
1 answer
102 views

See the below logs, A critical kernel driver cannot apply for a large block of continuous memory and then panic: [29001.362425] kworker/u12:4: page allocation failure: order:4, mode:0x40dc0(GFP_KERNEL|...
wonderzyp's user avatar
1 vote
2 answers
140 views

I am attempting to introduce bus errors on the I²C bus using the i2c-gpio fault injector already available under drivers/i2c/busses/. For my target platform (AST2600), I’ve enabled the following ...
Srinivasa Rao Mareedu's user avatar
0 votes
0 answers
67 views

I'm working in a Yocto environment and trying to enable the Raspberry Pi Sense HAT joystick. I've added the following device tree entry: sensehat-joystick@46 compatible = "raspberry Pi, sense hat-...
Prashanth's user avatar
  • 348
1 vote
1 answer
88 views

So I am trying to understand if I am missing anything about calling futex_wait inside a signal handler for a SIGSEGV access violation. Ostensibly, it is not on the list of async-signal-safe calls, ...
Spiff's user avatar
  • 35
2 votes
0 answers
225 views

In the android docs, it mentions that we can use bazel to build the .img file for the kenrel (which we can flash with fastboot). However, I don't seem to have the //common:kernel_aarch64_dist target ...
Vivek Jagadeesh's user avatar
1 vote
0 answers
31 views

I am working on a Raspberry Pi 5 (aarch64). uname -a: Linux rpi5 6.8.0-1036-raspi #40-Ubuntu SMP PREEMPT_DYNAMIC Mon Aug 18 09:50:42 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux I load a kernel module I ...
Gal Kaptsenel's user avatar
1 vote
0 answers
77 views

I have the following code to track what process wake up which process in __pollwake linux kernel 6.6.6x /fs/select.c: static int __pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *...
Henry Leong's user avatar
1 vote
0 answers
119 views

I have a device driver that provides quite simple functionality that does not belong to any of the classes. The driver exposes one attribute through sysfs. Currently I can get an access to my device ...
bielu000's user avatar
  • 2,261
0 votes
1 answer
75 views

I am studying a performance (progress guarantee?) problem of an x86 hypervisor software. The current hypothesis is like this. There is a high intensity of interrupt requests caused by concurrently ...
Grigory Rechistov's user avatar
1 vote
0 answers
123 views

As explained here it's clear to me that user-space calling conventions don't apply when dealing with kernel-space system call execution, so basically no register is clobbered after an ecall ...
SilenceDesigner's user avatar
2 votes
0 answers
120 views

Wrote an eBPF code to count cache refs and miss of a target process. The program seems to work, albeit the counts dont match even closely to the perf stat output. I am assuming there is some issue ...
ultimate cause's user avatar
0 votes
1 answer
76 views

I would like to define my own custom kfunc (in a loadable linux kernel module) that I can then use in a bpf program. I think I'm 99% there, but I'm stuck on loading the bpf program with bpftool. What ...
Sławek's user avatar
  • 25
2 votes
1 answer
81 views

I was attempting Experiment 2 specified on the site, which involves modifying the first parameter (the file path of the executed program) in the sys_enter_execvfunction. However, when I called ...
C JH's user avatar
  • 23
0 votes
2 answers
115 views

I am trying to build a full-disk encryption scheme in ArchLinux. I found that GRUB cannot pass header parameters, so I think I need to write a custom hook script to guide the LUKS header and key file. ...
akuya's user avatar
  • 1
0 votes
0 answers
73 views

I’m trying to debug a kernel panic on my custom rom Android device. I have access to /console-ramoops-0 , but I’m struggling to pinpoint the cause. Linux version 4.19.111 (android-build@dev-android-...
peal mazumder's user avatar
0 votes
1 answer
47 views

In the Linux scheduler, each CPU has one struct rq, which contains sub-runqueues for each sched_class (CFS, RT, DL, idle). For CFS, the runqueue stores a task’s sched_entity (p->se) instead of the ...
void_brain's user avatar
0 votes
0 answers
100 views

I’m trying to understand the rationale behind the Linux kernel’s initcall mechanism. My current understanding: Kernel subsystems expose one-time initialization functions using macros like ...
void_brain's user avatar
1 vote
0 answers
57 views

I'm writing a Linux kernel module that prints the routing tables using dmesg. To do this, I'm trying to use the fib_get_table function to access FIB (Forwarding Information Base) tables. Here’s a ...
Alessandro Torrisi's user avatar
0 votes
0 answers
136 views

I am building my linux drivers, the 686 version builds fine, the amd64 version fails. My last driver build for amd64 that worked was under kernel 6.6.x. However, the 6.15.x amd64 build is failing; I ...
user3161924's user avatar
  • 2,549
1 vote
0 answers
146 views

I faced the issue that my integration tests get 3x performance boost on Ubuntu 20.04 with Kernel 5.4 but on Ubuntu 22.04+ and all Linux kernels after 5.10.135 there is not such boost. Integration ...
Oleg Neumyvakin's user avatar
6 votes
2 answers
555 views

My CM749 UGREEN Bluetooth 5.4 adapter does not work on Linux kernel 6.15.7, since when the kernel sends Read_­Local_­Extended_­Features to CM749, by the time the adapter finishes responding, the ...
Seth Martin's user avatar
6 votes
2 answers
419 views

Context I bought a CM749 UGREEN Bluetooth 5.4 USB adapter for my Nixos machine. It is recognized by lsusb as ID 33fa:0010 USB2.0-BT, but is not detected by KDE/Plasma's bluetooth daemon. I dug deeper ...
Seth Martin's user avatar
2 votes
1 answer
145 views

I'm trying to understand how platform_devicesare instantiated from the Device Tree during early kernel boot. I noticed that the function of_platform_default_populate_init() is called via ...
void_brain's user avatar
-2 votes
1 answer
208 views

I am trying to build a driver for my IP in an FPGA. I have: static const struct of_device_id myip_of_match[] = { { .compatible = "xlnx,myip-controller-1.022", }, {}, }; ...
bLAZ's user avatar
  • 1,767
1 vote
1 answer
70 views

Each scheduling policy (like SCHED_NORMAL, SCHED_FIFO etc..) is implemented as a struct sched_class, and instances like fair_sched_class, rt_sched_class, dl_sched_class, etc., are defined using the ...
void_brain's user avatar
2 votes
1 answer
150 views

If I were to mmap() a very large file (for read-only access) pages would be read-in, by the kernel, after a page fault indicates that the page is not already cached in RAM. Pages will remain cached ...
aSteve's user avatar
  • 2,056
0 votes
0 answers
96 views

While testing my rust Aya xdp ebpf program i came across this error Error: the BPF_PROG_LOAD syscall failed. Verifier output: fd 10 is not pointing to valid bpf_map verification time 215 usec stack ...
ΠΑΝΟΣ ΚΩΣΤΟΠΟΥΛΟΣ's user avatar
1 vote
1 answer
55 views

Can anyone help me address the problem why Connection Refused happen when I run the program in docker container? If I set --net=host --privileged when running docker container, it works, otherwise ...
Kevin Mai's user avatar

1
2 3 4 5
357