How to access the Internet only via BIOS?
I'm writing a mini OS just for fun. I want to save some key information to one securiry server on the Internet and ever fetch it BEFORE booting my OS.So my problem is: How to access the Internet only...
View ArticleEstimate blur kernel from two overlapped image
I Have two aerial images.One is sharp and the other is blurred.This two images have 60% overlap and I want to estimate the blur kernel of the blurry image by using the sharp image.Any idea or solution...
View ArticleHow to get correct address to the money and edit it with kernel driver (C#)
I have question about working with pointers. I made simple trainer for Elden Ring on C# which using Memory.dll.x64 to edit memory. In my trainer pointer to address which contains money looks like this...
View ArticleWhy are you not able to modify the OS kernel code while its running? [closed]
I know you can download the Kernel code and modify from there but why is it that we can't edit the Kernel while its running on a system?
View ArticleTried installing geopandas using an new env, but now kernel error as below
File "E:\gnair\envs\geo_env\lib\subprocess.py", line 1435, in _execute_childhp, ht, pid, tid = _winapi.CreateProcess(executable, args,FileNotFoundError: [WinError 2] The system cannot find the file...
View ArticleAll the drivers in Linux works in the same context or in a different contexts?
All the drivers in the Linux running in the same context (address space of the kernel-space), or each in a different (similar to how the different processes work in a different address spaces in...
View ArticleIn Linux, Can a kernel driver used by a user process corrupt the heap memory...
In Linux, while a kernel driver used by a user process is using the user process's heap memory, can it corrupt the heap memory of another user process unrelated to this user process?In other words,...
View ArticleMonitoring and settings of transfers using the Linux AF_UNIX?
I'm trying to setup a robust AF_UNIX data transfer.So I make this test (on a Ubuntu 20.04):I generate logs :for a in `seq 1 1000000`; do echo $a | logger; echo $a ; doneI check my log file :tail -f...
View ArticlePorting 32bit structures for use in ZwQuerySystemInformation to 64-bit and...
OK so I've been reading the book Undocumented Windows 2000 Secrets by Sven B. Schreiber that provides source code to obtain the base address of ntoskrnl.exe. But the issue that I'm running into is that...
View ArticleUnable to generate wpp trace in a simple driver
I try to display wpp logs from a very simple driver. I followed this tutorial.Below code of my simple driver:#include <ntddk.h>#include <wdf.h>#include "trace.h"#include...
View ArticleFrequency set by cpufreq keeps changing
I am trying to change the frequency of all the cores to a particular custom frequency.So far I have managed to change the governor to userspace and also disable intel_pstatesand then followed the rest...
View ArticleTrying to set ThreadIoPriority
I wonder if any of you fine folks can explain why this piece of code is not working?IO_PRIORITY_HINT priority;priority = IoPriorityHigh;NTSTATUS status = NtSetInformationThread(ZwCurrentThread(),...
View ArticleI want to know how to implement the cpu scheduling process in Linux operating...
I'm curious about CPU scheduling.Q1.Do developers directly write system calls that implement CPU scheduling in application files such as games and EXCEL?Q2.Then, when the application programs are...
View Articleadding patch and another git source does not work in yocto
I have tried to add another git sources from another project and a patch like follwoing in bbappend file (fyi in the bb file I have the first git repo where I get my kernel source and it works)...
View ArticleCan somebody explain what is a spatially varying kernel?
I have performed 2D convolution on image matrix using:A. Matrix multiplication B. Fast Fourier Transformation.My question is can I apply any of the above techniques (let's say FFT) for performing...
View ArticleUnable to read from status port in ATAPIO mode
I recently got interested in developing my own operating system for fun. While creating the OS and the drivers, I encountered several issues while making the ATA driver. One of the major issues is that...
View ArticleThe opinion that the scheduler built into the kernel is the program and the...
I looked up the CPU scheduler source code built into the kernel.https://github.com/torvalds/linux/tree/master/kernel/schedBut I have a question.There are mixed opinions on the cpu scheduler on the...
View ArticleDocker loading kernel modules
I tried to install a kernel module, xfsprogs. It was successfully installed inside a container. It is really surprising, but lsmod doesn't list this module inside container or in the host system.How...
View ArticleBTF: .tmp_vmlinux.btf: pahole (pahole) is not available
Getting this error while compiling the kernel version :5.7-rc4BTF: .tmp_vmlinux.btf: pahole (pahole) is not availableFailed to generate BTF for vmlinuxTry to disable CONFIG_DEBUG_INFO_BTFmake: ***...
View ArticleIs the scheduler built into the kernel a program or a process?
I looked up the CPU scheduler source code built into the kernel.https://github.com/torvalds/linux/tree/master/kernel/schedBut I have a question.There are mixed opinions on the cpu scheduler on the...
View Article