Android Kernel panic Debugging - Android 10
I am currently building a lineage rom for SM-P555 Samsung Galaxy Tab A deviceFull dmesg log https://hastebin.com/ifavimodum.yamlThe tablet hangs at boot up as shown in...
View ArticleOther than malloc/free does a program need the OS to provide anything else?
I'm working on designing the kernel (which I'm going to actually call the "core" just to be different, but its basically the same) for an OS I'm working on. The specifics of the OS itself are...
View ArticleModifying write system call in linux giving bad RIP value error
I have modified write system call such that it appends date and pid to the all the apache2 logs in /var/log directory.When I explicitly write to a file in this directory the system call works fine but...
View ArticleError when loading cross compiled kernel module
I have cross compiled a simple helloworld kernel module, the host is a x86 machine and the target an ARM board. When I do modprobe to install the module in the target i get this message:FATAL: Could...
View ArticleStructure of Mobile OS
Could someone explain what structure (monolithic, layers, microkernel, or hybrid) is used in a mobile OS like Android or IOS?I have been stuck on this question for the longest time.
View ArticleLocation of OS Kernel Data
I'm a beginner with operating systems, and I had a question about the OS Kernel.I'm used to the standard notion of each user process having a virtual address space of stack, heap, data, and code. My...
View ArticleGetting kernel error while trying to open Jupyter notebook or Spyder
While opening Jupyter notebook or Spyder, I am continuously getting 'kernel error' notification. Tried to reinstall anaconda3, ipython, kernel but the issue stays. I had downloaded Python 3.7 in...
View ArticleKernel crashing at native_smp_send_reschedule smp.c:24
I just compiled a kernel from the latest sources in git. Following the instructions of LFS to the end. When a I try to boot the new kernel it always crashes in this function. Its not even a panic, it...
View ArticleWindows filter driver BSOD on WDFREQUEST duplication
I am currently trying to write a serial filter driver that would be able to modify the data on read wdf requests.The idea is to create a new WDFREQUEST object in the read callback function, here is...
View Article__buildin_expect and if condition behaviour
I wonder how they achieved || functionality with (&& and unlikely) in the below piece of code.if (unlikely(!arch_get_random_seed_long(&v)) &&...
View ArticleHow To Insert LZMA Files
I hope someone can help me on this. This is for the Freescale IMX6Q tablet (Zenithink C-94). This really is a good tablet that never a chance. Originally came out with ICS 4.0 on it. Freescale released...
View ArticleHow to hide linux boot log over boot logo?
I am compiling Yocto for Raspberry Pi 4, I am able to add a kernel boot logo by applying a patch on top of linux-raspberrypi kernel using this blog post. With this blog I am able to boot with the boot...
View Articlerun RTOS on 1 core and Linux on other SMP cores?
Say we have a 64bit ARM dual core CPU (sysmetric dual cores)I would like to run a bare RTOS on one core and assign other cores to Linux. in this way I have run a BLDC motor control (using on chip PWM...
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 ArticleRunning kernel after loading sector
So, I am having issues with running the kernel code. I read the second sector, pad it with 512 bytes, then jump to the address where the kernel is to be. But, instead of printing, like it should, it...
View ArticleLinker Error says Undefined Reference to `my_function`
I'm new to kernel programming.I want to call my function at the scsi drivers.My function is written in drivers/md/raid5.cI declare My function at raid5.h with extern void my_function(void) keyword and...
View ArticleJupyter kernel dies when trying to save as .VTP file
I am trying to execute a vmtkfunction which needs a .VTP file as input but I need a .VTP file as output. However, everytime when specifiying the outputfile location as a .VTP file, I get an error...
View ArticleCan't make menuconfig
I use Debian 7.4 Wheezy. I trying to upgrade my kernel, but when I type "make menuconfig" it says: *** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig'...
View ArticleBig sent socket buffer size cause UDP packet loss
OS: Centos7.6.10kernel: 3.10.0-957.el7.x86_64I use netperf to test UDP.And when I set the sent socket size 8129920;receive socket size 212992,UDP packets are lossed a lot.Only big packets will be in...
View Articlehow to enable BT_RFCOMM, HID, Injection, Nexmon features in my kernel?
I use Nethunter for penetration testing and There are features are not working in Nethunter and I have to enable them in the Android kernel source, I started to compile the kernel source of my device...
View Article