Is Pthread library actually a user thread solution?
The title might not be clear enough because I don't know how to define my questions actually.I understand Pthread is a thread library meeting POSIX standard (about POSIX, see wikipedia:...
View ArticleThe device tree header verification error was encountered during uboot startup
I have a problem when using orangepi3.I have an image that can be used under normal circumstances,but the following problem occasionally occurs.Once this problem occurs, the image burned in this time...
View ArticleHow to apply patch file of dtsi(or dts) in yocto
I'm using yocto(ver.rocko) on ubuntu 18.04 and trying to apply patch file but I can't...My target machine is qemuarm64 and linux kernel is linux-yocto.Once do $ bitbake core-image-base, kernel source...
View Articlespecifying u-boot in reserved-memory node in kernel dts
What is the use of adding u-boot entry to reserved-memory node in kernel dts? should it have any impact when we collect the ram dump? Like this for example:reserved-memory{ uboot@41000000{...
View ArticleFiles that remain persistent or unchanged on system hard reset in Linux OS...
In linux(Ubuntu 18.04),On system reboot, what all files/directories are removed ?On system reset(hard), what all files/directories are removed?I want to use a .conf file, which shouldn't removed even...
View ArticleProblem converting C# code into kernel code for OpenCL
I'm trying to make my C# code a kernel code that can be executed using OpenCL, Here is my current code:kernel void Execute() { ulong start; ulong stop; start = 1; stop = 10000000000000000001; do {...
View ArticleHow to convert an ASCII trace generated by ftrace to a .dat one?
I have a ASCII trace named trace and I'd like to convert it to a .dat in order to analyze it with kernelshark (I cannot change tool such as TraceCompass, I am constrained to kernelshark).These two...
View ArticleHow is Linux kernel live debugging done and what tools are used?
What are the most common and why are uncommon methods and tools used not to do live debugging on the Linux kernel?I know that Linus, for example, is against this kind of debugging for the Linux Kernel...
View ArticleIs there an archive of older Linux kernels from the tumbleweed repo?
I need to narrow in on what kernel version a change was introduced in the tumbleweed kernels. Any kernels between 4.4 and 4.10 would be useful.Is there an archive of these kernels kept somewhere?I...
View Articlebpftrace single-line commands are not working in wsl ubuntu
I am new to eBPF, kernel tracing, etc. I really just wanted a simple intro to eBPF while learning Rust / Aya eBPF tools / Solana blockchain.My Windows version: Version 10.0.19043 Build 19043Output of...
View Articleusing RtlCompareString to compare user data crashes OS
I have the following code which is responsible to receive and send data between my mini-filter driver and user-mode:NTSTATUS MiniSendRecv(PVOID portcookie, PVOID InputBuffer, ULONG InputBufferLength,...
View ArticleTensorflow virtual environment on Mac in vs code doesn't work help please
yea so I followed this guide: https://github.com/mrdbourke/m1-machine-learning-test to create a virtual environment to run tenor flow on my Mac but I could not get it to run in vs code. somehow the...
View ArticleIs the address of memory mapped io programable
Is the address of memory mapped io programable ?I Know it's hard-wired by hardware in old days.on morden pc, is it can programable?《Understanding linux kernel》said:bios establishes the mapping during...
View ArticleGetting kernel error while trying to open Jupyter notebook or Spyder
While opening Jupyter notebook or Spyder, I am continuously getting 'kernel error' notification. Tried to reinstall anaconda3, ipython, kernel but the issue stays. I had downloaded Python 3.7 in...
View Articlekernel crash when echo 1 > /proc/sys/net/ipv4/ip_forward
When kenel run finished, a code "echo 1 > /proc/sys/net/ipv4/ip_forward" execute in the last of /etc/rc.sh. About restart 10 to 20 times , the kernel will crash once when run this code. I don't know...
View Articlewhich fuse version in my kernel?
I want to know which fuse version do I have, when attempting to execute: locate -i -r /fuseI...
View ArticleChange system date time in Docker containers without impacting host
Is it possible to change the system time in Docker containers without changing the host itself?We are using Docker containers for testing which are sometimes time sensitive. I notice that any changes...
View ArticleCompiling Linux Kernel on Ubuntu generates "no rule to make target" error
I have been trying to compile linux kernel on Ubuntu 18.04.6 and the latest version but when i run the make command, i get the same error in both.no rule to make target 'debian/canonical-certs.pem'...
View ArticleGNU GRUB: error no multiboot header found
I trying boot kernel by grub multiboot, but my boot code for some reason it doesn't work.I using NASM for boot.asm compiling, GCC for c compiling andQEMU. While loading in qemu the grub throws error:...
View Articlepreferable way to disable linux kernel module
Would like to understand the difference in these two approaches for disabling unused kernel modules & what is preferable wayecho "install udf /bin/true" >> /etc/modprobe.d/udf.confvsecho...
View Article