Is it possible to get kernel version from ELF image file without disassemble...
I have a vmlinuz ELF image file. I need to get the kernel version from the image file without disassembling it. Is it possible to get kerenel version from offsets of that compressed image file? The...
View ArticleJupyter Notebook kernel installation error
I'm using Pycharm and I've installed conda&Anaconda and the jupyter project, however when I try to "register project interpreter as kernel" I get this error, how do I solve it? Traceback (most...
View Articlehow to test effectiveness of preempt_rt patch?
I'm doing a study to compare the linux default kernel with the kernel patched with preempt_rt.I used a lot of tools (stress-ng, T-Sui, CPU burn, cycletest) to check the effectiveness of the patch. But...
View Articlecocalc : how to add a julia kernel?
I have installed cocalc image on google cloud (https://github.com/sagemathinc/cocalc-docker/blob/master/Dockerfile)I have tried to add julia 1.4 kernel to jupyter but it failed.I have set .julia to be...
View ArticlePeriodically calling a function since system initialization
Assume I have a per-CPU variable declared with DEFINE_PER_CPU(struct var, var) and associated to each struct var is an attribute int count. This occurs during system initialization and is therefore...
View ArticleEgg/Chicken problem of linux booting process
Linux Booting process follows below steps.BIOS excuted. Post and Find MBR.Read first sector of disk and find bootloader.Bootloader extracts kernel, initramfs and load them on RAM. From this stage, what...
View ArticleSetting a C array as a new call stack (ESP) from inline asm?
As hinted from my title, I am interested if it would be possible to allocate a C array, and make it behave like a stack by pointing ESP register to it accordingly.Some code example...void foo(){ int x...
View ArticleDocker Container vs Virtual Machine
I am using docker desktop on windows 10. I downloaded an image for windows server core 1909. then created two containers from the same image.Docker run -it mcr.microsoft.com/windows/servercore:1909...
View ArticleWhy is the Windows NT kernel said to be a hybrid model?
According to Wikipedia, the Windows Kernel is a hybrid model, meaning it has both a monolithic and microkernel architecture.But both definitions are very opposite: monolithic is that there is a shared...
View ArticleMac driver development
I am thinking about migrating a Windows driver into OS X. Now I am just starting to look around to see what is available and there is a lot about objective C and cocoa. Seems that the language and the...
View ArticleWhat does the linux page address '0xdead0000~~' mean?
I used kgdb to debug linux kernel and print *page.The result shows some addresses started with '0xdead'Like, {lru = {next = 0xdead000000000100, prev = 0xdead000000000122},0xdead pagesWhat those pages...
View ArticleLinux kernel System Keyring physical location
I have enabled Integrity Measure Architecture (IMA) with signature in kernel (4.19.108). An IMA X509 certificate is loaded at run time located at /etc/keys/x509_ima.der. The IMA cert is signed by...
View ArticleSpyder - kernel not loading, psychopy crashes 'unexpectedly'
I have uninstalled and reinstalled Anaconda (Python 3.7.0), launched Spyder, repeatedly, ran different problem shooting tips nothing works. My Kernel won't start, it just gets stuck trying to connect....
View ArticleWhy isn't Juypter notebook working on my raspberry pi
I have installed Jupyter notebook on a fresh install of debian for pi. I had it working perfectly on a previous install. I do not understand why it is not working on this install. Kernal will not...
View ArticleHistory of users modifying a file in Linux
I am wondering if its possible to list who all modified the file with course of time. I am aware that stat or ls -lrt will give the last user who modified the file. But I want to find out if it is...
View Articlelibpcap not filtering VLAN packets correctly, ignoring VLAN (0x8100) or...
I am using libpcap 1.9.1 to capture packets in combination with custom kernel (4.9.0).While googling and analyzing the strange behavior, I came to the conclusion that kernel removes (why?) 0x8100 or...
View Articleundefined reference to memset shown even though included string.h
I wrote GDT/IDT table loader for my own kernel, and I linked it with ld. But when I generate the binary, the error has appeared.ld.exe: desc_tablesc.o:desc_tables.c:(.text+0x1e7): undefined reference...
View ArticleWhy VxWorks Price is High
First of all this is not an opinion based question.I am asking here what an RTOS prices so High especially VxWorks. I am searching an RTOS over the internet. There are many products available in the...
View ArticleProblem in Pycuda call to kernel, "No registered converter was able to...
The code bellow is giving the following error:"No registered converter was able to produce a C++ rvalue of type unsigned int from this Python object of type numpy.int32" in the callf_tri(data3_gpu,...
View ArticleUbuntu kernel version to mainline commit
i've got Ubuntu, with kernel version 4.15.0-91-generic. My question is how to get exact commit in mainline kernel, corresponding to this kernel? Thank you
View Article