attempting to install new kernel, error modules.order & Makefile Error 2
Attempting to install a new kernel.once it is compiled, I enter:su -c "make modules_install install"this error populates : sed: can't read modules.order: No such file or directorymake[1]: ***...
View ArticleDeactivate Linux Sleep/freeze/hibernate state without systemctl
I have a system with a very specific Linux compilation that runs on ARM CPUs. It lacks almost all services (systemctl included) and generally-included software (apt-get, snap, etc.) and it is not...
View ArticleLearning Linux Kernel programming on a virtual machine on Ubuntu?
I am just learning linux kernel programming with the LINUX KERNEL DEVELOPMENT book(I am beginner linux kernel programming but not on linux programming). It is possible to test programs in a kernel...
View Articledm-verity linux kernel feature for several partitions
We use dm-verity to verify /dev/sda6 linux partition. In order to do this, we created verity.conf file and there we have this line to add cmdline parameters:KERNEL_CMD_PARAMS_append =...
View ArticleLinux kernel module programming - hooking to sys_wait4 system call
I try to do hooking to system call sys_wait4 and every time I try to do rmmod to module the kernel crashes.This is my code.void **sys_call_table;//pointer for the system call's tabletypedef asmlinkage...
View ArticleIs it possible to run run a kernel written in C on github-pages with...
I have a custom kernel written in C, but I want people to be able to play around with it(ie with Github Pages or something similar) when they visit my Github repo. Is there a way for me to deploy this...
View Articlekernel keeps dying in jupyter notebook
Whenever I start jupyter notebook and create a new python 3 notebook I get an error message saying kernel has died.I have tried deleting and installing ipython, python3.6.5, and jupyter notebook but I...
View ArticleSwitch camera the screen black
While test switching camera, the screen got black, and it happened once in a while. I have got the log, it shows kernel error as below:pm_qos_update_request() called for unknown object------------[ cut...
View ArticleWrite to CR2 during PageFault ISR
I'm writing a pagefault handler, and I'm wondering what happens if the ISR changes the value of cr2 right before the ISR returns.For example, if some code does this:mov rax,QWORD PTR [rip+0x23]mov...
View ArticleImplementing a custom hypercall in kvm
I am very new to Virtualization and of late I have been trying to familiarize myself with the way VMMs operate and how hypercalls are made.Talking about which I plan to implement a new hypercall in KVM...
View ArticleDifference between fdt_addr and fdt_addr_r in uboot?
I have been working on implementing u-boot on a 64bit RPi4 for a few weeks.My last big mistake was that when booting the kernel in boot.cmd -> I was using the variable fdt_addr_r instead of...
View ArticleTrying to use Tensorflow with RTX 3090 Errors
I'm attempting to use Tensorflow with a Rtx 3090 GPU, however I've been experiencing a variety of issues for several days. I tried the remedies suggested here and in other places, but they didn't work....
View ArticleWhat part of drivers/gpu/drm changes a mode->status to MODE_BAD?
I have a custom graphics mode which I need to use:"1080x1920": 60 138375 1080 1140 1150 1185 1920 1928 1932 1940 0x48 0xa status: 0At some point, this mode is being set to MODE_BAD (-2).I cannot find...
View ArticleStarnge INVALID_OPCODE exception when initialising IDT (64-bit kernel)
Here is the code that sets up the IDT.global lngmd_startextern kernel_mainextern gdt.datasection .textbits 64lngmd_start: mov ax, gdt.data mov ss, ax mov ds, ax mov es, ax mov fs, ax mov gs, ax call...
View ArticleWhat is it needed to support new L2 header[SGT Secure Group Tag which is of...
should be able to support parsing eth type 0x8909should be able to maintain mappping of ip to tagshould be able to parse the sgt header for incomming packetsshould be able to add sgt header for...
View ArticleArm Mali T-624 gpu arithmetic pipeline depth kernel
I am doing a research on an Arm Mali T-624 board and i want to discover how many stages does the gpu arithmetic pipeline has and i am doing the running the following kernel __kernel void...
View Articlehow to port audio kernel drivers from one device to another
I'm looking for someone who can fix an audio problem on my Samsung tab 8.9. this tablet has an outdated android version "3.2" and It's the Chinese model sch-739. I searched on XDA in the hopes of...
View ArticleThe sharpening filter and edge detection kernel relationship?
From Wikipedia:(The sharpening filter) is obtained by taking the identity kernel and subtracting an edge detection kernelCan someone explain to be how is that the case.As for as I understand it, to...
View ArticleRemove Kernel Extension which causes kernel panic after migration to other mac
I migrated my mac book pro to a mac mini. Right now I have a kernel panic at each startup. Booting with safe mode works and I identified that the kernel extension com.eltima.eveusb.kext.controller...
View ArticleError when inserting kernel module: module * uses symbol * from namespace *,...
When compiling driver for rtl8189fs, a warning was generated without terminating the compilation:WARNING: module 8189fs uses symbol kernel_read from namespace...
View Article