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

MacOS High Sierra Kernel Panic

Could someone help me about what the kernel panic is going on below? I copied it from the log after the computer restarted. Unfortunately I don't know where to look and this problem has been occurring...

View Article


Could scheduler automatically migrate the thread whose affinity has been set...

Could scheduler automatically migrate the thread whose affinity has been set to a very busy cpu through sched_setaffinity to a free cpu?Does sched_setaffinity implement a "hard affinity" or a "soft...

View Article


What is a kernel in Jupyter Notebook and how it is different/similar to...

I hear and see a lot of this word "kernel" as I'm using Jupyter Notebook a bit. I just want to know what "kernel" represents in Jupyter Notebook. Is it the same meaning that we use in Operating System?...

View Article

Why does `nanosleep` need the argument of `req` while kernel has the chance...

As per the documentation(https://lwn.net/Articles/17744/), which says "nanosleep(), which is currently the only user of this mechanism, need only save the wakeup time in the restart block, along with...

View Article

Kernel copy_to_user in a for loop

So i have a hard time understanding how copy_to_user works. Lets say i have an array that looks like this1 2 3 4 5 6 7 8 9And i want to print it like this (with a \t in between)1 2 34 5 67 8 9Now in a...

View Article


Is there any potential problems if i set the affinity of threads created by...

Cpuset(7) could set the affinity of user processes indeed. But ,is there any potential problems if i set the affinity of threads created by kernel?

View Article

Add new benchmark to lkp-tests

I want to add a benchmark to lkp-tests, I referred https://github.com/intel/lkp-tests/blob/master/doc/add-testcase.md and...

View Article

Change kernel config but defconfig already there

My yocto repo already has a kernel config file:defconfigRight now, I want to do more modification on kernel config, can I still usebitbake -c menuconfig virtual/kernelor I need to directly edit on...

View Article


Is there any potential problem if i set the affinity of threads created by...

Cpuset(7) could set the affinity of user processes indeed. But ,is there any potential problem if i set the affinity of threads created by kernel?

View Article


How to write custom init process in Android that can be launched by Kernel

I am doing some R&D on Android's init process. I want to write my own custom init process which should in turn be able to launch the Android's actual init. The kernel should launch my custom init...

View Article

copy_to_user set array at index

I am writing a character device driver, but at the moment it freezes, and i have to reboot to stop it or crashes and the terminal exitsI have a global arraychar* array;On which i use kmalloc(9,...

View Article

How to customize linux Krenel on a USB?

I want to install only some packages from Linux kernel on a USB, (DHCP, Network Manager, HostAPD).My question is how to ignore all other packages and customize the installation.thanks in advance.

View Article

What is `int 3` really supposed to do?

According thisint 3 is used from userspace to generate SIGTRAP.But what is that supposed to do from privileged under userspace?Are there more stuff that can generate such from userspace SIGTRAP?

View Article


Why some processes could not be migrated to a certain cpu by `cpuset(7)`?

Why some processes could not be migrated to a certain cpu by cpuset(7)?I found that these processes could not be really migrated to a certain cpu(Though when you check the cpuset filesystem,it seems...

View Article

Docker loading kernel modules

I tried to install a kernel module, xfsprogs. It was successfully installed inside a container. It is really surprising, but lsmod doesn't list this module inside container or in the host system.How...

View Article


How to exactly limit a certain linux user process's usage of cpu resources?

How to exactly limit a certain linux user process the usage of cpu resources?I do not think the scheduling policy works.You could not limit the cpu usage of a user process under a certain level even if...

View Article

Should I make my own OS kernel ELF or raw binary?

I have started my journey through OS development. People usually shout that using raw binary instead of ELF (or other structured format) is a common mistake for applications in a custom OS. I can...

View Article


Notebooks on EMR (AWS): Failed to start kernel

I am creating a notebook with the built-in option from "Amazon EMR" following the steps in the official documentationEverything as defaultEMR-Cluster created with the notebook-WizzardAfter starting...

View Article

How the child process/orphan process is reparented to systemd (as a parent...

I am not able to understand the procedure behind the Linux system that when a parent process of a child is terminated before cleaning the resources of the child process. In this scenario we call child...

View Article

How to add a new device to board init code linux kernel

Hi im am customizing linux kernel with version 2.22.19 and it do not support device tree. So i must use board init code to describe the peripheral. I have check the "spi node" in the board init code as...

View Article
Browsing all 6333 articles
Browse latest View live


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