linux-kernel Questions

0

I am trying to load a firmware file to a specific physical address in RAM on an arm64 device. The device tree already has an entry that defines the region of memory and uses no-map to prevent Linux...

3

I need to install CUDA key-rings, so before installing that i need to install Linux header files, so what is Linux header files and what is the purpose of the header files.
Sortie asked 17/6, 2023 at 6:49

4

Solved

I'm looking for some solutions to use ps auxf command to show all processes without kernel threads, or maybe anyone know any else program to filter that kernel process? What I've tried and found: ...
Alleyne asked 22/1, 2018 at 11:17

3

Solved

I'm trying to compile AODV for ARM linux. I use a SabreLite as a board with kernel version 3.0.35_4.1.0. It's worth mention that i'm using openembedded to create my Linux Distribution for my board....
Coatee asked 20/8, 2014 at 14:26

3

Solved

Is there a good way to extract the same information that uname does from a compressed kernel image? I want this to be able to check the dog tags of kernel sitting in dormant mtd's on an Embedded Li...
Pandit asked 2/3, 2012 at 14:50

2

Solved

I followed some tutorials that explained how to write Linux kernel modules and I am a bit confused. Even after reading the official "documentation", I have poor understanding of the conce...

3

I have seen several other questions on the forum that talk about this schedule() function, but my question is a bit different. I have seen several discussions and literature about it's theoretical,...
Orvas asked 19/12, 2013 at 10:32

7

Solved

I am trying to install the linux-headers for my Kernel Version 3.4.61+ and Debian Version 7.1 I typed this Commands: apt-get update apt-get install linux-headers-$(uname -r) On the last command...
Serilda asked 4/3, 2014 at 7:49

3

Solved

I want to use VS code for developing linux kernel modules. I added the path to my browse path, but unfortunately it's not working. Here's my c_cpp_properties.json: { "configurations": [ { "name...
Expository asked 18/12, 2017 at 10:8

3

remap_pfn_range function (used in mmap call in driver) can be used to map kernel memory to user space. How is it done? Can anyone explain precise steps? Kernel Mode is a privileged mode (PM) while ...

1

Solved

I'm trying to do basic hooking by locating sys_call_table and modify an entry for sys_read syscall to a function in my own kernel module. I have tried kprobes I'm just interested to do it with sys_...
Grof asked 9/6 at 23:15

7

When I try to use malloc in a kernel module I get an error message from the compiler. My code: res=(ListNode*)malloc(sizeof(ListNode)); The compilers error message is: /root/ex3/ex3mod.c:491: e...
Unbalance asked 22/5, 2010 at 14:22

7

Solved

On an SMP machine we must use spin_lock_irqsave and not spin_lock_irq from interrupt context. Why would we want to save the flags (which contain the IF)? Is there another interrupt routine that ...
Grubb asked 1/4, 2010 at 10:11

4

Solved

How can i get USB device file path correctly in Linux. I used command: find / -iname "usb" and got the result as below: /dev/bus/usb /sys/bus/usb /sys/bus/usb/drivers/usb /sys/kernel/debug/usb U...
Sheley asked 15/10, 2015 at 5:47

6

Solved

I have read about system calls in Linux, and everywhere description is given regarding x86 architecture (0x80 interrupt and SYSENTER). But I am not able to track down the files and process for a sy...
Erfurt asked 18/10, 2012 at 4:9

3

Solved

Does exist a virtual GPIO driver to be used for a programming needs? I have to develop a software on my Linux PC, and then try it on some embedded systems with physical GPIOs (C.H.I.P., OpenWRT, a...
Tallbot asked 30/12, 2016 at 13:12

4

I am curious why gdb does not show control registers for x86. I have been using gdb with qemu to debug some kernel stuff. I get register values using info registers and info all-registers. Howeve...
Wicketkeeper asked 11/6, 2014 at 18:4

2

Solved

I'm currently trying to understand how Linux drivers work. As far as I know, A driver's probe/init function is called when the kernel parses the corresponding .compatible string in the device tree....
Representational asked 27/10, 2014 at 8:54

2

On a running Linux system, I want to know which device driver module created a particular sysfs entry. Is it possible to know? I know I can grep for relevant strings in the kernel source and try to...
Taimi asked 25/10, 2012 at 5:20

4

Solved

So, each time I modify the device tree I typically change the dts in a custom recipe and rebuild the image. The rebuild takes a long time since it rebuilds the entire kernel, and then the image nee...
Competent asked 12/8, 2016 at 12:14

4

Solved

in the linux, lsmod lists a lot of modules. but how can we find where those module loaded from. for some modules,linux command "modprobe -l" shows a path but some are not. edited i also tried "find...
Norther asked 14/5, 2014 at 4:22

1

I am trying to use the perf tool of Linux on my WSL2 using Windows10 machine. I have done every step of the accepted answer here:Is there any method to run perf under WSL? When I ran "make&quo...
Slattern asked 30/11, 2021 at 20:5

6

Solved

I'm trying to understand the meaning of the following message: irq N:nobody cared (try booting with the "irqpoll" option) Does this mean the IRQ handler not processing the response even it has g...
Michele asked 13/12, 2012 at 13:52

6

Solved

I am trying to build the kernel source on my platform with the following command: make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- generic-v8-defconfig However, the error messages appear as shown ...
Pellikka asked 17/2, 2015 at 16:0

2

Solved

Intel supports RDRAND (also known as Intel secure key) instruction for returning random numbers. And it's available in Ivy Bridge processors. I wonder, is there any ARM processor featuring instruct...
Macrophysics asked 8/9, 2016 at 11:45

© 2022 - 2024 — McMap. All rights reserved.