Virtualbox 6.1.10, Ubuntu 20.04 bad return status build on kernel 5.8.0,...
Not so much as a question as a documentation.This is regarding a failing apt-get install or update related to virtualbox 6.1.10, Ubuntu 20.04, and virtualbox-dkms package failing to build.I had an...
View ArticlePython New Env created by Anaconda Prompt not showing in Jupyter Notebook...
I created a new python env using Anaconda Prompt by using the following steps:conda create --name py3-TF2.0 python=3conda activate py3-TF2.0conda install tensorflowpip install --upgrade tensorflowpip...
View ArticleAnaconda jupyter notebook "connection failed" error
I recently installed anaconda and tried to run Jupyter Notebook. I am using Windows 10. I opened a folder and ran the notebook. Whenever I click to open a file, after a few seconds of loading the file...
View ArticleHow can I show printk() message in console?
The information which is printed by printk() can only be seen under Alt+Ctrl+F1 ~ F7 console.These consoles are very inconvenient for debugging since they can't roll back. I am using KDE desktop...
View ArticleWhere is SYSCALL() implemented in Linux?
In my last job interview I was asked what seems to be a very straight forward simple question:Q: In which library syscall (The one is kernel space not the wrapper in libc) is implemented?A: I answered...
View ArticleWhy Linux kernel ticker is 100Hz but monitor refresh rate can be 60Hz
I'm reading the "Linux Kernel Development" by Robert Love. in the Chapter 11 "Timers and Time Management" he mentioned that:The kernel defines the value in <asm/param.h>.The tick rate has...
View Articleelixir.bootlin doesn't work to search Linux files?
I am having a wide problem dealing with linux.I am trying to find the implementation of do_execv and sys_execv so I went to: https://elixir.bootlin.com/linux/v4.15.12/A/ident/do_execvand searched for...
View ArticleCopy data from reserved memory using DMA kernel module
We are developing a custom module that will read data that are written by a FPGA into a reserved memory location. Once the data are ready, an interruption is triggered to warn the module that it could...
View Articlemmap(): changes propagation from underlying file to the mapped region
I have a reader thread that mmaps a files as read-only shared mapping. The other thread re-writes regions of that file on disk with write/fsync.How exactly the changes propagate back to the mapping? My...
View Articlehow to find all related kernel config options from kernel source
Is there any easy way to find all the kernel config options available from source code instead of going through the menuconfig and selecting and checking various options and dependent options.Maybe...
View ArticleTSS usage in linux kernel
While reading linux kernel code, I came across usage of tss (task state segment) inside __switch_to (arch/x86_64/kernel/process.c#L441).Since linux handles saving/restoring process context via...
View Articleconflict with boot menu order and efibootmgr
I wanted to boot ubuntu from usb.I was facing a problem of changing boot order from bios boot menu as after I changed and saved the order and rebooted the laptop, it would not boot according to the...
View ArticleUse netfilter in a mininet container network
I am trying to use a netfilter kernel module to modify the TCP connection state based on SYN-ACK packets in a Mininet container network. However, it seems that the module is only invoked for packets...
View ArticleHow is hardware context switct used/unused in Linux?
Old x86 intel architecture provided context switching (in the form of TSS) at hardware level. But I have read that, linux has long "abandoned" using hardware context switching functionality as they...
View ArticleCloned environment causes Kernel to die on a jupyter notebook
I have just cloned an environment from an Anaconda3 backup.When running Jupyter Notebook on new computer with cloned environment, Kernel dies. I keep receiving the following message:"The kernel appears...
View ArticleWhy does my serdev transmission complete is not set
Hello on my serdev when i set it up the transmition complete is not set:stm32-usart 4000f000.serial: transmission complete not setI configurated my device tree like this:&usart3 { compatible =...
View ArticleCant update and upgrade in ubuntu 20.04 also cant install programe [closed]
E: Sub-process /usr/bin/dpkg returned an error code (1)every time return this text. sudo apt-get update && sudo apt-get upgrade.also cant install any program.
View ArticleKernel died when I add parameter class_weight to a CNN
Basically the kernel dies whenever 'class_weight' is inserted in it. I have ran the exact same model but without class_weight and had no problem. I'm using jupyter notebook (6.2.0) on Macbook Pro M1...
View ArticleWhat are some resources for getting started in operating system development?...
One thing I've always wanted to do is develop my very own operating system (not necessarily fancy like Linux or Windows, but better than a simple boot loader which I've already done).I'm having a hard...
View ArticleMonolithic kernel used in Android
I have just learned about the Monolithic kernel and its security in detail. Now I'm trying to get information about Android architecture(focusing on its kernel mainly)I've studied that there is...
View Article