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

There i a problem executing code in jupyter notebook

I am learning Python. Now whenever I try to run a code it does not get implemented. It shows In [*] instead of In [1] whenever I run the cell. Is there any solution for the problem?

View Article


Call function of kernal module from another kernal module

I am new in kernel driver development. So i just stuck in that, how can i call function of kernel module from another kernel module. This is my both .c...

View Article


The linux system time has been changed with added 2^32 secoonds in one server...

I didn't ran any command within the shell to change the system time, but it added 2^32 seconds suddenly!We suspect that one unknown user process in background may changed it,but we cannot confirm...

View Article

How to printk value of specific memory adrress?

I want to print 12byte from specific memory address in kernel.Following is my hard coding.void *Unique_Id = 0x5C000234;for(int i=0;i<12;i++){ printk("%02x ", *(uniqueId+i));}This is correct? or...

View Article

How is BAR address range decided by Windows kernel for HW devices?

I see that when a driver and a device have the HW resources mapped properly then we can see under Resources tab i device Manager device's properties the Memory Ranges for BAR0 for instance as well a...

View Article


gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’

first I install cross-tool, then I build the toolchain, then I want to build the kernel but While compiling kernel 2.6.34 for RAM, repeatedly got the error...

View Article

What is the use of the type userptr_t in os161?

I'm trying to complete an assignment for an operating systems course, Here.I had a question from the assignment:What is the purpose of userptr_t?When I searched the source code for userptr_t, Here, I...

View Article

What are UIO_USERISPACE, UIO_USERSPACE and UIO_SYSSPACE in os161?

I'm trying to complete an assignment for an operating systems course, Here.I had a question from the assignment:What is the difference between UIO_USERISPACE and UIO_USERSPACE? When should one use...

View Article


What does the tty do when a process asks for input or outputs to the screen?

Ive read numerous posts about tty. They all start with the historical reasons for the tty name. Please leave this out and just describe the tty system as it exists today. Then they talk about how a tty...

View Article


How to switch an Intel processor from 64bit addressing mode into 32...

How to switch an Intel processor from 64bit addressing mode into 32 compatibility mode?I have been trying to find some solution but nothing i have tried so farseems to work.

View Article

How to revert changes to a kernel driver?

So i installed a kernel driver on my windows machine but accidentally left a while(1) in there (I know pretty stupid) and now OS just hangs when i start it. Is there a way to revert the driver to an...

View Article

executing jupyter kernelgateway --generate-config gives me a NotImplementedError

So I've been trying to turn my jupyter notebook into a rest API to access externally.I was following the instructions of https://ndres.me/post/jupyter-notebook-rest-api/ and first installed the...

View Article

Why do I have a Kernel Error in Jupyter Notebook?

I am a newbie to python. I am getting the below error in Kernel while opening jupyter notebook. Any ideas how I can resolve it? Installation of jupyter has been done via Anaconda3 - tried reinstalling...

View Article


Getting the kernel ID and ram disk ID from aws instance or ami

I have an aws instance and if I look at it from the console or use the aws describe command, there doesn't seem to be a valid kernel ID or ram disk ID. Looking at the ami I used to create the instance...

View Article

Does the kernel keep track of where a process starts in memory or does the CPU?

I'm trying to implement paging in a simple kernel I'm writing. I understand page directories and page tables and how to map memory from a virtual address to a physical address. I've implemented these...

View Article


Is mmap() same in kernel space and user space?

My question is not limited to mmap(), but all the functions (when called from userspace - a systemcall) which are used in both kernel space code and user space code. An example if I call mmap() from...

View Article

Image may be NSFW.
Clik here to view.

How to track kernel memory usage in Windows?

I need to track kernel memory usage, paged and non-paged pools both, absolute values and percentage. The desired result is a kind of graph or table data (e.g. csv). I wanted to avoid creating my own...

View Article


Rpmbuild spec file for building debuginfo rpm for linux kernel 5.x?

Wanna use stap to do some network trace for kernel function on CentOS 7 with kernel 5.6, which requires kernel-debuginfo rpm. Seems no out-of-the-box spec file is present. If anybody has taken care of...

View Article

Image may be NSFW.
Clik here to view.

Why does Process Explorer require debug symbols to show kernel memory limits?

Process Explorer (aka procexp) require debug symbols to show kernel memory limits and a library that provide API for reading them. As I found, the symbols for currently running kernel (ntoskrln*) only...

View Article

Image may be NSFW.
Clik here to view.

Bash kernel in Jupyter Notebook stopped working after upgrading to macOS...

I was using the Bash kernel emulator in Jupyter Notebook while running macOS Mojave, but when I upgraded to Catalina, the kernel emulator stopped working. When I open up an existing Bash notebook or...

View Article
Browsing all 6369 articles
Browse latest View live


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