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

Jupyter notebook connects and disconnects to kernel

After installing jupyter in Ubuntu 18.04, the notebook would get stuck with the message "connecting to kernel", but never actually connecting. After following some StackOverflow advice, I downgraded...

View Article


How does /dev/net/tun works? Do I get back what I write?

Suppose that I want to send and receive data through a tun device. I found the answer https://stackoverflow.com/a/35735842/6655884 where it opens /dev/net/tun as if it were a file and reads from it....

View Article


Does the shell interact with the kernel or OS?

I've seen sites that say when a command is entered in a terminals shell, this gives it to the OS which is where the actual change is done; while others say the shell allows users to communicate with...

View Article

how can i get the CPU number of current task (In kernel)?

Is there any way to get CPU number of current task?(What I need is not the number of CPUs the task is running on, but which CPU the task is running on)This process must be in kernel-level, therefore...

View Article

Check specific kernel version from kernel.org

how can I check what is the latest version of a specific kernel version/tree?Let's say, I am running kernel 5.15.x and I want to know the latest version (the highest x) available for that kernel...

View Article


What is the difference between /proc/kmsg and dmsg?

We normally do cat /proc/kmsg or dmesg to see the kernel logs from user space.I understand the dmesg is a circular buffer which copies from kmsg. But is kmsg also not a circular buffer?What is the...

View Article

Where is kernel machine_desc table information?

I'm trying to understand how devicetrees work.According to the kernel documentation, they are used, in arm architecture, in the following manner:In the majority of cases, the machine identity is...

View Article

Implementing GDT with basic kernel

I've recently become fascinated with kernel development, and started with the bare bones tutorial on the OSDev Wiki. After implementing the Hello World example, I moved on and began attempting to...

View Article


why not found device obj?

I write driver .Creates an Device Object (name = ICOCTL_1) when the service starts but getlastError function return not_foun_file(code 2)enter image description here void...

View Article


Kernel keeps dying while using BERT-based sentiment analysis model

I'm trying to use german bert sentiment analysis on Jupyter Notebook. I have installed pytorch correctly but the Kernel keeps dying. I'm on a MacBook Pro '21 with MacOs Monterey 12.3.1. I've installed...

View Article

I compiled and enabled Kernel 2.6.33.3 with Ubuntu 9.1, but it's stuck at...

I have compiled the Kernel 2.6.33.3 kernel using Ubuntu 9.1 without any serious errors during the compilation process, but I am stuck here when booting with the new kernel. I can't learn of any errors,...

View Article

Assembly instruction 'jmpi' is not work in my code

Currently, I'm reading the Linux kernel source code of v0.01. I'm trying to imitate the code and make it work. But got stuck at the very beginning of the bootsector.In bootsect.s, the program first...

View Article

Trying to use Tensorflow with RTX 3090 Errors

I'm attempting to use Tensorflow with a Rtx 3090 GPU, however I've been experiencing a variety of issues for several days. I tried the remedies suggested here and in other places, but they didn't work....

View Article


kernel assisted function callbacks on memory accesses

I'm not sure if it's possible, but I'm wondering if there is a mechanism, either kernel assisted or just in user-space that would trigger a function callback on a memory access.I'm thinking something...

View Article

linux kernel log shows general protection fault: 0000 [#1] SMP

I have a java application which uses processBuilder to start a new shell script process. Every few days, that shell script process hang and we saw following message in kern log:general protection...

View Article


What is the difference between the kernel space and the user space?

What is the difference between the kernel space and the user space? Do kernel space, kernel threads, kernel processes and kernel stack mean the same thing? Also, why do we need this differentiation?

View Article

"this_cpu_vector" error when compiling kernel

When im tring to compile my kernel getting this issiue. How to fix this?Using Proton Clang Kernel Version: v4.14.281Source: https://github.com/siimsek/project_lightningError And Logs:...

View Article


I want to write a kernel driver program where when a file is created I need...

I used the reference of this project where it creates a handler for IRP_MJ_CREATE. which displays all the files which are created or opened the system.The documentation of IRP_MJ_CREATE is this:The I/O...

View Article

How do I install x86_64-elf-ld on ubuntu 20.04? [closed]

I am trying to write an OS kernel and I need a certain dependency for compiling the assembly to an iso binary. The dependency is x86_64-elf-ld. I cannot find any resources for installing it on ubuntu...

View Article

SageMath notebook in windows 10

I have installed jupyter notebook for my windows10and I want to add the kernel of SageMath and to use it in VScodeis it possible to connect it?

View Article
Browsing all 6333 articles
Browse latest View live


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