Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Browsing all 6333 articles
Browse latest View live
↧

Compiling AOSP Kernel with KASAN

I'm struggling to compile the Linux kernel for usage in AOSP with KASAN & KCOV enabled. I then intend to flash it to a Pixel 2 XL (taimen) and use syzkaller to fuzz it.This is what I did:1. Build...

View Article


How drivers work out of the box in x86 and not in embedded computers like...

I'm curious about how the drivers work out of the box in x86 motherboards, like display, USB controllers etc.For example : Booting a toy custom kernel in x86 can display to screen without doing any...

View Article


Walking page tables of a process in Linux

i'm trying to navigate the page tables for a process in linux. In a kernel module i realized the following function:static struct page *walk_page_table(unsigned long addr) { pgd_t *pgd; pte_t *ptep,...

View Article

QEMU - No kernel output after "Booting kernel"

I try to boot precompiled kernel in QEMU self-created machine.Serial peripherial is configured and I sucessfully can boot precompiled U-boot image for this machine.In U-Boot all serial IO works great...

View Article

How do I use ioctl() to manipulate my kernel module?

So I'm trying to write a kernel module that uses the linux/timer.h file. I got it to work inside just the module, and now I am trying to get it to work from a user program.Here is my kernel...

View Article


Multiple interrupt vector tables for multiple processes

My thoughts:Suppose two applications are running in parallel in Linux x86 (multi-tasking), and they both share keyboard peripheral. if I press a button on keyboard, interrupt occurs and control has to...

View Article

What is the meaning of -probe, in modprobe

I use modprobe to load kernel modules, but its naming keeps confusing me a little. -probemeans in its verb form:physically explore or examine (something) with the hands or an instrument.So, I would...

View Article

Is there any way to figure out that child process was killed with SIGKILL by...

I have a situation where there is a nonroot (so i can't read kernel logs) parent process and its child, the child may have been killed with SIGKILL by the kernel for consuming a lot of memory. When it...

View Article


"AttributeError: 'NoneType' object has no attribute 'thread'" Error while...

I'm getting the following error when I try to commit on Kaggle.Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/opt/conda/lib/python3.6/logging/__init__.py", line 1944, in...

View Article


An kdump tool issue with the customized kernel

when we are using the kdump tool, we need to install the according kernel-debug*.rpm at first.My questions is , the linux I am using is compiled by myself with lots of modifications. When could I find...

View Article

Linux Module Programming fails and caught in loop

OK, So I am programming this for a HW assignment but could either use some help or insight. I know I've read everywhere that you shouldnt open files in modules but its our assignment...Anyway my module...

View Article

Getting iOS system uptime, that doesn't pause when asleep

I'm looking for a way to get an absolute, always-incrementing system uptime on iOS.It should return the time since the device was last rebooted, and not be affected by changes to the system date.All...

View Article

Warning vboxdrv kernel module is not loaded

Well I run this command aptitude purge ~oTo delete all the Obsoletes files that aptitude show me big mistake I guess after that I update the system everything works fine but when I restart the system...

View Article


Why is the kernel couldn't be connected on IBM Watson studio platform?

Why is the kernel couldn't be connected to the IBM Watson studio platform?

View Article

How to manage paging in assembly/C kernel?

My project is to execute my own JVM on a little piece of kernel that i'm trying to code in C and assembly. So, I'm still learning how do the kernels do their main jobs.Now, following some guides, I set...

View Article


Windbg does not break or do anything but connect when kernel debugging...

Im trying to make kernel drivers for a virtual machine. When I try to do this I see that it says "Debuggee is running..." but when I break it does nothing at all.I tried every video and website I can...

View Article

When I open Jupyter Notebook there is a Kernel Error appears

I've been trying to work on a Python project about object detection with TensorFlow. Everything was okay until I run my Jupyter Notebook in my environment "tensorflow1". When Jupyter Notebook opens...

View Article


Image may be NSFW.
Clik here to view.

Error starting VM - CentOS Kernel Panic - not syncing: Attemped to kill

Clone a VM in VirtualBox and restore from VMware, but starting a VM seemed like an error.

View Article

Windbg gets no output from Windows 10 (64-bit) Hyper-V VM from kernel driver

Everything on Administrator Windbg (64x) works perfectly and connects but when I try to load a driver with "KdPrint" functions nothing from the driver shows up.I tried using Microsoft's own example...

View Article

Kernel panic caused when flashing images to an imx6 board

I'm using an imx6sll board with yocto bsp, and mfg tool to flash images.The kernel and u-boot seem to flash without any issue but on flashing rootfs I get an error saying:Writing inode tables: Kernel...

View Article
Browsing all 6333 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>