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

Does OpenBSD support parallel Kernel access

I tried to figure out if multiple processes or threads can execute concurrent syscalls, without one of them sleeping.That's to say: Does OpenBSD use something like a Big Kernel Lock...

View Article


Can forked process call father?

Let's suppose I have a process with pid = 30, I forked it with a child process with pid = 20and made parent wait for the child like this:waitpid(20, nullptr, 0);then I stopped the child process, how...

View Article


Getting 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 Article

Calling dll from kernel mode c++ windows

How would I go about calling a dll from kernel mode?I have tried making a custom lib file using multiple techniques but I cannot get anything to work. I have also researched on google but cannot seem...

View Article

How can i build android kernel with modern environment

There is a few step which is i followed for compile Android Kernel with Repo and build/build.sh. But i couldnt succeed about get bzImage or zImage to emulate with emulator.repo init -u...

View Article


Kernel get clear while printing the string with escaping 'mr \x0c'

While running the code a = 'Mr. stack\n\x0c'print(a) my kernel is getting clear what does it mean.But if I slice the string like print(a[:-1]) It was working fine. What does the escaping mean?If any...

View Article

obtain a pointer to task_struct of current process without using current

How can I obtain a pointer to task_struct of current process|task without using current in kernel. just by using cpu register.

View Article

How to create .img file from kernel?

I made a kernel in C and now, I want to create .img file from my kernel. But I only have the kernel file.I'm running my operating system using this command (KGKernel1 is kernel):qemu-system-i386...

View Article


How to troubleshoot an expected CDROM device on custom Linux kernel?

I'm looking for some hints while troubleshooting missing CDROM device.The problem is, missing configuration option for my custom kernel (linux-5.4.78).My current .config...

View Article


Compile a driver made for a newer linux kernel in an older kernel

There is a panel driver committed in the kernel 5 of linux kernel. I have a kernel 4.4.I tried to copy the .c of the new kernel and paste it in my old kernel. Also the Kconfig and Makefile...

View Article

c function doesnt return after using __asm__ command

Im trying to build an operating system from scratch with a guide, https://github.com/cfenollosa/os-tutorial.ive debugged the project ive made so far ( chapter 16 ) and when i try to run it i encounter...

View Article

Failing to downgrade my kernel version Ubuntu 20.04

I am trying to downgrade my kernel version, because I am having problems installing AMD-pro GPU drivers.So I am using Ubuntu 20.04 and my kernel is:IN:uname -rOUT:5.4.0-65-genericI need kernel ver...

View Article

Image may be NSFW.
Clik here to view.

How to Change Jupyter Notebook Kernel Display Name

May I ask how to change the kernel display name from Python [defaul] to Python 2.7.12 for example?I've been trying to modify the kernel.json file, particularly chaning the "display_name" from Python 2...

View Article


Difference Linux Kernel 5.10 with / without PREEMPT-RT patch

With the current Version 5.10 of a vanilla linux kernel, one can configure the kernel as a low-latency version as the mainline have accepted multiple merge requests from the Preempt-rt patch team....

View Article

Copying Memory Pages in SLES Linux is much faster then in Ubuntu

I have two virtual machines running on the exact same Hardware. One of them is SLES12SP5 (Kernel 4.12) (I have similar results with SLES15SP2, but got no at hand at the moment) and one of them is...

View Article


Why interrupts not working in this kernel code?

Trying to make interrupts working in 64-bit higher half kernel.github repo:https://github.com/JustVic/kernel_interruptsall interupts code in this three files:trap.h, trap.c, trap.Strap.h:#ifndef...

View Article

How to determine the memory address range of Linux-Kernel objects

I want to inspect the memory where the functions from kernel/bpf/verifier.c are loaded into.After compilation to verifier.o the object is linked "into" the kernel. At /proc/kallsyms only non static...

View Article


Yocto multiple Kernel packages

I am trying to build an image which has linux-intel as the the virtual/kernel set. I want to inherit the same kernel recipe as require xxx.bb in my another kernel recipe. Essentially both kernels are...

View Article

Makefile variables not working as expected

I am trying to compile a program using this makefile:GCCPARAMS = -m32 -fno-use-cxa-atexit -nostdlib -fno-builtin -fno-rtti -fno-exceptions -fno-leading-underscoreASPARAMS = --32objects = src/loader.o...

View Article

Image may be NSFW.
Clik here to view.

linux kernel - how to get physical address (memory management)?

In linux,Page Global Directory offset address(cr3 + index) can be calculated using pgd_offset() MACRO.Page Upper Directory offset address can be calculated using pud_offset() API.Page Middle Directory...

View Article
Browsing all 6333 articles
Browse latest View live


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