linux-kernel Questions
4
Solved
I'm developing a ttyACM device with ST microcontroller, and with the same code, my host could sometimes enumerate it successfully (below) but sometimes it just dump the below message. What does err...
Hatching asked 12/3, 2014 at 2:20
3
I have been able to boot a powerpc based system (MPC8544DS to be specific) using the following way to invoke qemu (v1.7.0)
qemu-system-ppc -M mpc8544ds -m 512 -kernel zImage -s -nographic -initrd...
Crespi asked 25/2, 2014 at 4:30
5
Solved
I have here Linux 4.4 (I used to work on an older kernel which failed in the same way) with a PCIe connected FPGA device and a driver for it which are both of my own design. These have been working...
Mesmerism asked 28/9, 2017 at 19:24
4
Solved
I try to use the command printk.
All the examples I can find on the internet is by putting a string directly in the printk like this:
printk(KERN_INFO "Hello %s!", "World");
However, I tried to...
Gingili asked 29/1, 2019 at 22:34
6
I'm only one week Debian 12 user and, to be honest, it's already my 3rd try installing to properly. Today I was trying to configure my wifi adapter TP-Link Archer T4U Plus AC1300 installing d...
Superfecundation asked 10/2 at 18:1
2
I want to setup linux kernel 3.18.1 on my machine. How do I obtain the same?
What I have already tried:
Tried downloading from kernel.org. But the latest version is 3.18.3 and I am unable to fin...
Aerograph asked 25/1, 2015 at 13:15
8
Is it possible to read the MAC address from the NIC directly? I have the code below but it just reads from the layer above but not the card itself.
I'm trying to figure out how to find the original...
Trailblazer asked 19/2, 2013 at 10:45
3
Two threads in same process using rwlock object stored in shared memory encounter crash during pthreads stress test. I spent a while trying to find memory corruption or deadlock but nothing so far....
Migraine asked 27/3, 2017 at 2:9
2
Solved
I want to check the list of symbol exported by the Linux kernel.
So I fire the command,
# cat /proc/kallsyms
0000000000000000 D per_cpu__irq_stack_union
0000000000000000 D __per_cpu_start
0000000...
Tirade asked 9/4, 2012 at 8:45
1
Can somebody explain the usage of WRITE_ONCE and READ_ONCE?
And internally WRITE_ONCE uses a volatile qualifier. Why?
How does WRITE_ONCE and READ_ONCE solve cache coherency problem?
Difference bet...
Leff asked 29/5, 2018 at 17:2
3
Solved
How can docker run on a Debian host maybe an OpenSUSE in a container? It uses different kernel, with separated modules. Also older Debian versions have used older kernels, so how can run it on a ke...
Undercoat asked 29/9, 2015 at 10:49
3
Solved
I've seen that userspace version of ebpf (runtime, assembler, dissasembler) are being developped (uBPF, rbpf).
Why is having an userspace version of eBPF interesting ?
Do those alternatives focus o...
Pomade asked 26/1, 2021 at 16:12
15
Solved
I'm trying to set iptable rules, and I got following error message when I use iptable :
iptables v1.4.14: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhap...
Dekaliter asked 24/2, 2014 at 9:25
2
Solved
I am trying to compile a driver that we have from source and I am working through the issues with a new target environment. One of the slightly disturbing things I see is the following warning:
W...
Primavera asked 24/2, 2012 at 4:43
4
Solved
This is the content of the grub.cfg file of my Arch Linux system.
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /...
Jakie asked 7/6, 2017 at 21:4
1
During my learning of docker, I hear that the Linux command chroot is not enough to isolate the container and we need a new command called pivot_root, Why? I look up the manual for them but just be...
Neri asked 5/8, 2021 at 12:52
2
Solved
What is address-cell and size-cells in the device tree? Is reg is related to address-cell and size-cell? If yes, then how?
For example:
memory: memory@20000000 {
#address-cells = <1>;
#s...
Sikata asked 20/6, 2019 at 10:38
2
I was wondering if there was a macro that could assign my device a random 'magic' number that linux was currently not using. This is obviously in the interest of portability. Also if this is not po...
Ingvar asked 28/3, 2012 at 21:4
2
Solved
When I build a core-image using Yocto Kirkstone for machine beaglebone-yocto, I get a file /boot/extlinux/extlinux.conf. This file looks like:
default Yocto
label Yocto
kernel /zImage
fdtdir /
ap...
Lolland asked 23/5, 2023 at 8:38
14
How do the Linux kernel developers test their code locally and after they have it committed? Do they use some kind of unit testing and build automation? Test plans?
Prolamine asked 5/7, 2010 at 5:15
3
Solved
In my custom environment an interceptor library is preloaded which runs a special implementation of bind(), connect(), etc. calls.
The problem I see is whenever an application is explicitly enabled...
Anthracosis asked 5/8, 2013 at 12:40
4
Solved
I have just started to understand the kernel working and internals and to begin with, I am trying to build the kernel and boot it.
I am using qemu as simulator for x86 architecture.
I am followin...
Recant asked 15/5, 2018 at 11:37
5
Solved
I know insmod and modprobe are used to insert module into the kernel.
But, what's the difference between them?
And, why is it dangerous to insert modules with force option in modprobe?
Broad asked 6/4, 2014 at 8:33
2
Solved
I want to use OpenGL rendering without X, with google i find it: http://dvdhrm.wordpress.com/2012/08/11/kmscon-linux-kmsdrm-based-virtual-console/ there says that it is possible. I should use DRM a...
Nepil asked 17/4, 2014 at 17:40
3
Solved
I am confused in clearing my concepts regarding these three questions
why do we need a secondary program loader ?
in which memory it gets loaded and relocated ?
what is the difference between sy...
Tater asked 6/7, 2015 at 11:36
© 2022 - 2024 — McMap. All rights reserved.