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

Create BSOD from user mode?

I was getting bored with my XP box one day, so I decided to try some of the answers to this question to see if any of them would cause a BSOD.They didn't, and they seemed like they would be the most...

View Article


Who performs the TLB shootdown?

I read this SO question describing what a TLB shootdown is. I'm trying to understand if this is an operation performed by the kernel or by the processor or both?My questions are :-Does a TLB shootdown...

View Article


IBM Watson Studio - connection failed error

Using Microsoft EdgeWhen I open a Jupyter notebook, the kernel isn't connecting to Python and I can't seem to fix it. I have tried restarting the kernel in the notebook, stopping the active environment...

View Article

My newly compiled kernel loses Networking in qemu

I compiled a kernel from source :make defconfigmake kvmconfigmake -j 4After this , i use the resulting bzImage for my qemu command:qemu-system-x86_64 -hda debian.img -kernel bzImage -append...

View Article

Platform driver probe function isn't being called despite same compatible values

I am developing a simple platform driver with device tree, but it doesn't seem like the probe is being called.From my understanding, in order for the probe to be called, you need to have matching...

View Article


how to order seaborn pointplot

Here's code from kaggle Titanic competition kernel:grid = sns.FacetGrid(train_df, row='Embarked', size=2.2, aspect=1.6)grid.map(sns.pointplot, 'Pclass', 'Survived', 'Sex',...

View Article

How does OS kernel get notified when memory is accessed?

As far as I know, OS kernel maintains the translation from virtual address to physical address, and the userspace program uses virtual address, the CPU uses physical address.Since all machine codes are...

View Article

How to get the inode structure of the /proc/pid/fd/n file of an opened file...

For a given fd number, I know I can get the inode structure of the opened file by calling fget_raw. But what I actually want to get is the inode structure of the file /proc/pid/fd/n, which is actually...

View Article


Allocating memory for array of struct in linux kernel and got strange output...

I wrote a program in linux kernel, which should allocate memory for 5 simple structures each of with unique id, so i used static int in a constructor and increment it and in the end i just print...

View Article


Connect the windows kernel driver to physical serial port (COM1) in windows

I need to connect my kernel driver in windows to com port (COM1) and I want to write some data on COM1, How can I do it? Need suggestions.

View Article

Read a .txt file in C++ without any libraries [closed]

I'm trying to build an Operating System from scratch, and the problem with that is, that you can't use libraries like iostream, string, etc.. So that makes me have to make my own libraries and...

View Article

Linux: Difference between inode and file_inode(file)?

in source/arch/x86/kernel/msr.c, the msr_open callback for the character device uses the following construct to extract the minor number of the character device file used:static int msr_open(struct...

View Article

Linux interrupt serving time 0 in /proc/stat

I'm doing CPU utilization monitoring on a Ubuntu server using statistics provided by /proc/stat. I want to figure out how much time do the CPUs take to process packets under high network load. However,...

View Article


What is the difference between how freestanding and hosted versions of C are...

When you have a 'freestanding' implementation of C (such as one you might use when writing a kernel) are the standard libraries written in Assembler, but have C headers?Would a Windows/macOS/Linux C...

View Article

How to crash a system programmatically [closed]

If I could write a user program that would crash my OS (not my application), how would I do it?I was thinking somehow switch my usermode program to kernel mode and cause a memory corruption. Is it...

View Article


How are kernels (and operating systems in general) written in C? [closed]

I'm trying to understand how you set about writing an OS in something like C.I've always used C to write applications - using commands like malloc and fork and so on to request things from the OS. If...

View Article

Crash on getting process name for file read access in miniflter

The system crashed with ERROR CODE as PAGE_FAULT_IN_NONPAGED AREA when trying to get the process name for any file read access. The code works great for some time. It's approx 30 mins. When spyShelter...

View Article


Image may be NSFW.
Clik here to view.

How Can i add specific python kernel to jupyter notebook?

i want to add python 3.7.4 to my jupyter notebook kernel.this is an image from my kernel list (contains only 1 kernel) :Version of python in "Python 3" kernel is 3.7.3.Now i want to add new kernel with...

View Article

Linux kernel version macro that accepts a 16-bit stable release number?

Stable versions 4.4.256 and 4.9.256 were released recently and the maintainer said that LINUX_VERSION_CODE(4,4,256) is the same as LINUX_VERSION_CODE(4,5,0):...

View Article

How to use the kernel? [closed]

I have a question concerning: how to directly implement the linux kernel,what is needed to observe and togenerate - for to do so? To saywithout any distro architectures inuse!Theirfore it is a general...

View Article
Browsing all 6333 articles
Browse latest View live


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