Python 3 Kernel not showing in GCP
I am facing problem that in GCP(Google Cloud Platform) instance, the jupyter notebook is not showing anymore the kernel(Python 3)Anyone know the solution? I already tried this but didn't work
View ArticleKeyboard IRQ within an x86 kernel
I'm trying to program a very simple kernel for learning purposes. After reading a bunch of articles about the PIC and IRQs in the x86 architecture, I've figured out that IRQ1 is the keyboard handler....
View ArticleLinux kernel Crypto API GCM(AES) [closed]
*Hi! I am learning how to use Linux Crypto API.I used the following code with success with .salg_type = "skcipher", .salg_name = "cbc(aes)"However with "aead"/"gcm(aes)" sendmsg fails as below.What is...
View Articlecopy_to_user not copying data
I have this code in c where I'm supposed to copy data from one string to another. However, it's not copying and I don't know the specific reason. Any ideas why?asmlinkage long sys_receive_message(int...
View ArticleC- displaying CPU info using kernel module
I've recently learned about kernel modules and I was thinking on how to create one that does what cat /proc/cpuinfo does.Is it possible to do this without opening/reading the file directly (fread)?...
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 ArticleWhat is the difference between Trap and Interrupt?
What is the difference between Trap and Interrupt?If the terminology is different for different systems, then what do they mean on x86?
View ArticleVirtualBox kernel error when upgrade fedora
i found some problem with VirtualBox when upgrade my Fedora os to version 31.an error appear when i try to startup my virtual machine.Kernel driver not installed (rc=-1908)The VirtualBox Linux kernel...
View ArticleWhich is the best book on kernel development? [closed]
I want to learn about kernel development since I have dreams of writing my own kernel. Which are the books or resources I should study?
View ArticleKernel Panic- not syncing : fatal exception in interupt while installing...
VirtualBox Starts to boot Manjaro Cinnamon normally, takes me to menu, and then when I click boot Manjaro, it shows this message. Help please!Manjaro VirtualBox Snapshot
View ArticleHow the CPU's MMU reads linux memblock structures?
I just finished reading about linux memblock on https://0xax.gitbooks.io/linux-insides/content/MM/linux-mm-1.html. It's an API for storing memory regions, where memory regions map to physical...
View Articleecho 1 > /sys/devices/system/cpu/cpu3/online Write error
I'm using the kerneluname -r5.8.13-050813-genericIn latest version due to 'CPU HOTPLUG' 2 CPU's are online and other 2 are offlinenproc 2lscpuOn-line CPU(s) list: 0,1Off-line CPU(s) list: 2,3I...
View ArticleHow does OS X generate a crash report?
The material available from web, mail-list, books like Mac OS X Internals, and even source code is quite limited.Now I know that xnu kernel raise an EXC_CRASH, which notify launched to start "Problem...
View ArticleHow to fix error: passing argument 4 of 'proc_create' from incompatible...
I am trying to load things to my kernel to learn about how you can add things!I have two files here!Below is skynet.c:#include <linux/module.h> // included for all kernel modules#include...
View ArticleHow to call exported kernel module functions from another module?
I'm writing an API as a kernel module that provides device drivers with various functions. I wrote three functions in mycode.c. I then built and loaded the module, then copied mycode.h into < kernel...
View ArticleWhy do we have only limited system calls in Linux Kernel
Why can't we have more number of system calls? Why only limited syscalls, say 338 or so.Any answers are welcome and appreciated.
View ArticleHow to extract vmlinux on aarch64?
I would like to convert a compressed vm image to a decompressed one with the official tool that Linux has (extract-vmlinux) [1].How ever it fails with the following:./extract-vmlinux vmlinuz-virt >...
View Articlemake Linux kernel config minimum possible [closed]
so I want to compile kernel in virtual box Ubuntuand I'm now in the config but I want to compile and install the minimum I canI just want the new Kernel to start and have the terminal and run some few...
View Articlethread-aware gdb for the Linux kernel
I am using gdb attached to a serial port of a virtual machine to debug linux kernel. I am wondering, if there is any patches/plugins which can make the gdb understand some of linux kernel's data...
View ArticleWhere the structure "struct page" is stored on the linux kernel?
I learned that linux kernel manages the memory and the unit for allocate/deallocate the memory is 4KB, which is the page size. And I know that this pages are handled by struct page.I got a actual code...
View Article