17,841 questions
-3
votes
0
answers
40
views
Failed to start load kernel modules [closed]
I upgraded my raspberry pi 2, (to fix broken OpenVG drivers), with full-upgrade. After reboot, the drivers have been fixed, but kernel modules are no longer loaded, I get the message "Failed to ...
0
votes
0
answers
64
views
While s3 exit need to immediately show some splash before userspace unfreeze [closed]
I am porting Yocto into my board. Usually, system goes to blankscreen once we perform S3. When we try to wake up the system, system should show some splash before userspace unfreeze. It should be ...
0
votes
0
answers
87
views
Change a linux kernel config option from y to m, including its reverse dependencies
I want to build phylink support (CONFIG_PHYLINK) as a module. In my config, some reverse dependencies of CONFIG_PHYLINK are configured as builtin (=y). Is there some tool that helps to switch all ...
-2
votes
0
answers
79
views
Tried to modify Linux scheduler, QEMU boot hangs with this output [closed]
So I tried making some changes to the scheduler of Linux 2.6.38.1 for a uni exercise, but when I try to boot it with QEMU, it freezes with this log. Can anyone help me decode what is happening and fix ...
2
votes
1
answer
214
views
Kernel panic during ROP chain: GDB stepping mismatch and unexpected register state
I am working on a Linux x64 kernel exploitation CTF challenge. I have constructed a ROP chain to execute commit_creds(prepare_kernel_cred(0)).
However, I am encountering a major inconsistency between ...
1
vote
0
answers
57
views
Creating IpSet with libipset in c,Create command keeps failing Error: Invalid create command: missing settype
I'm trying to create ipset through libipset from application layer. below i pasted the code for an function which tries to create an ipset with the help of libipset. but for some reason it's not ...
-1
votes
1
answer
77
views
Passing kernel lsm parameter through U-boot
I'm trying to set
lsm=landlock,lockdown,yama,integrity,apparmor,bpf
on a Arch Linux ARM system.
The options seems to be set in /boot/boot.txt. In its original form, it looks like this:
# After ...
0
votes
0
answers
104
views
How to build a Yocto Linux image for i.MX8QXP MEK when NXP does not provide a BSP enable with Xen virtualisation Support?
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 it for Xen ...
3
votes
0
answers
197
views
In-Order Delivery of UIO Interrupts for Userspace Driver [closed]
I have multiple UIO interrupts defined. I am using Linux 6.12 without the realtime config (so, using the default scheduler, CFS).
My userspace driver is using poll in a loop to watch these interrupts ...
Advice
0
votes
3
replies
90
views
Enforce probe order for device tree overlay fragments
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 ...
-4
votes
0
answers
164
views
Custom board based on i.MX soc: custom driver module crashes after Linux update
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 ...
-1
votes
0
answers
94
views
U-boot loading kernel from FIT fail
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, ...
0
votes
2
answers
88
views
How to reliably map glibc dynamic symbols (e.g., open@glibc) to kernel syscalls (e.g., openat)?
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 ...
0
votes
1
answer
52
views
Where Can I See the Mapping Flow Between .dynsym and Kernel System Calls?
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 ...
0
votes
1
answer
74
views
kretprobe executes the entry_handler function, but it doesn't execute the handler function
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:
#...