Kubernetes CPU quotas and process scheduling behavior
Given a Pod defining a container that runs a single-threaded application, and a CPU limit value of 1:apiVersion: v1kind: Podmetadata: name: single-threaded-workloadspec: containers: - name:...
View ArticleBuild custom Linux Kernel & DTB for Zynq 7000AP
I'm trying to build a linux kernel and DTB (containing custom IP hw configuration). I was aleady able to set up fsbl and the dts with vivado and vitis. I also build u-boot and so far this part seems to...
View Articledifference between the physical address,device address and virtiual address
What is the difference between device address, physical address and virtual address?Actually I am trying for mmap in drivers, I am stuck on this concept.
View ArticleKernel panic MacBook Pro Mid 2014
I have MacBook Pro (Retina, 15-inch, Mid 2014) with BigSur 11.6.2Everyday when I boot my laptop at first time it stay in black screen then my laptop reboot and show this report error.panic(cpu 4 caller...
View ArticleWhat is `int 3` really supposed to do?
According thisint 3 is used from userspace to generate SIGTRAP.But what is that supposed to do from privileged under userspace?Are there more stuff that can generate such from userspace SIGTRAP?
View ArticleWhat's the equivalent of I/O Kit in OS X for iOS device
In the architecture of the XNU kernel in the Mac OS X operating system. I/O Kit is used for managing drivers for input/output devices.Please let me know if iPhone/iOS devices need drivers to be...
View ArticleHow can I diagnose this seemingly suspicious activity in my Activity Monitor...
For a little while I've been dealing with malware (I know, eliminating this from the source would be ideal.. but I've no idea how). I can usually get around and do what I need to but it's become...
View ArticleConnection to the Jupyter Notebook Server could not be established
For the past many months I am trying to code in Jupyter Notebook but whenever I open Jupyter Notebook, then, I see a message where it is written 'A connection to the notebook server could not be...
View ArticleLinux Kernel how to import LIST_HEAD_INIT
I am using the source code from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git .The absolute path of my file is /home/user/repos/linux/drivers/infiniband/hw/irdma/test_pble.c .The...
View ArticleIs it possible to do a 1-byte 4k aligned write to a raw block device?
Is it possible to do a 1-byte 4k aligned write to a raw block device, Or does it need to be a multiple of the sector size?
View ArticleImplementing a Linux Character Driver in User-space
I am trying to build a custom joystick/gamepad device for an embedded Linux system. I am looking for a library or system API that will allow me to create a node in /dev/input from userspace code.I...
View ArticleHow to write a string in 32 protected mode in C language
I would like to print a string on screen in protected mode.I enclose the code.When I go to run it, GCC warns me that the function argument has a type that is incompatible with the parameter.Can anyone...
View ArticleLinux kernel 5.4 how to change code that modifies status change time of a file?
I've found Setting creation or change timestamps, I want to try kernel modification path from the linked answer: https://stackoverflow.com/a/17066309/14557599. However, the answer is 8 years old and as...
View ArticleSymmetric key encryption on Linux kernel
I'm trying to build a Linux kernel module that encrypts a char buffer. This is the code I have wrote so far(taken from here):/* * cryptosk.c */#include <crypto/internal/skcipher.h>#include...
View Articlekernel.c:(.text+0xc): undefined reference to `_GLOBAL_OFFSET_TABLE_'
The operating system of my pc is Ubuntu 20.10 64 bit.I am trying to create a 32bit kernel but when I go to run the makefile:all: runkernel.bin: kernel_entry.o kernel.o ld -m elf_i386 -o $@ -Ttext...
View ArticleOperating system kernel and processes in main memory
Continuing my endeavors in OS development research, I have constructed an almost complete picture in my head. One thing still eludes me.Here is the basic boot process, from my understanding:1)...
View ArticleC++ Trying to compile the latest CE Kernel Driver results in Errors
I'm trying to compile the most recent cheat engine driver but have had no luck so far.I followed four different tutorials already and the driver should compile now. But I'm stuck on an error that is...
View ArticleKernel configuration debian jessie
I have a single board computer with debian jessie install on flash (kernel 3.16.0-4-686-pae).In the config file file i have the CONFIG_RTC_DRV_M41T80 flag that is not set and i would like to enable...
View ArticleWhat is RTN short for in RTN_LOCAL?
I am really confused with the name of RTN_LOCAL.It defined in linux/rtnetlink.henum {RTN_UNSPEC,RTN_UNICAST, /* Gateway or direct route */RTN_LOCAL, /* Accept locally */RTN_BROADCAST, /* Accept locally...
View Article/dev/mem ubuntu tried others [closed]
dev/mem will not open on ubuntu 20.04 I used sudo, changed CONFIG_STRICT_DEVMEM to n in the config files in boot (could not find other config files), and it still wont open, busybox says operation not...
View Article