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

How can I stop to restart the kernel with PyRoot?

I'm new to Pyroot and I don't know how to fix a little problem. I'm using Pyroot on Spyder 5.1 (Anaconda) because ROOT isn't compatible for now with macOS Monterey. I installed Root 6.24/08 on Spyder,...

View Article


"relocation truncated to fit" errors with ld when trying to link asm cand c++...

Hello I am trying to link several files together for the use of building a kernel. For the boot code I am using nasm to assemble to a .o file using the following command nasm -f elf64...

View Article


Cross compile Linux kernel module for MIPS

I need to cross compile the Linux kernel module ftdi_sio for a modem running Linux 32 bit on mips. The output of the uname command on the modem is this:Linux localhost 2.6.30 #1 SMP PREEMPT Mon Jun 8...

View Article

What happens when we write int x; and return from the main function in C...

I just wanted to know if declaring a variable as mentioned above is a system call to the Kernel?Because I have read that Kernel is only responsible when memory is being allocated dynamically if it is...

View Article

Linux Azure GDB ECMP hashing for a flow - dummie level

I'm an oldie network / systems engineer with some basic knowledge of gdb but not such an expert when it comes to C programming & co (I can read code but that's not my field).On a Linux router / GW...

View Article


'C:\Users\HP' is not recognized as an internal or external command, operable...

I tried installingpip install vpythonGetting error like restart kernel and 'C:\Users\HP' is not recognized as an internal or external command, operable program or batch file.

View Article

How to create a kernel mode keyboard hook for modifying input

I've made a user mode keyboard hook in windows modifying input.Right now I got my eyes on making a kernel hook for the exactly same task, which by the looks of my last hour of 2 of search is not easy...

View Article

In the PWM driver in Linux, exporting a device will create a link

In kernel 4.17.0, when I want to export a pwm_device0 from pwm_chip0, a link corresponding to this pwm_device0 is created under /sys/class/pwm. When I want to export pwm_device0 from pwm_chip1, it...

View Article


Differance between Linux Kernel Version 4.14 & 5.10

I would like to know what is the difference between the Linux Kernel Version 4.14 & 5.10.(specific to building the kernel modules or generating the libraries using obj-m & obj-y)

View Article


Jupyter Notebook dead Kernel after Anaconda update

I got the following problem. After update Anaconda because I got an error to import skimage.io to a project in Jupyter Notebook an even a greater error appear - Dead Kernel. Right now I could not ever...

View Article

Read A Bool From A Elf File [closed]

So Im Wondering How I Can Read A Bool From My Kernel's elf file on my bootloader code and if the bool is true then skip the md5 check but if is false then do a md5 check and if the md5 is equal then...

View Article

Process protection driver using obregistercallback

I have developed a driver for protecting the process from being killed.I have registered a callback handle creation operation. Whenever the handle operation is requested, I have removed the process...

View Article

Equivalent to ZwQueryVirtualMemory that works on system memory?

ZwQueryVirtualMemory reports on virtual memory in the address space of a process. I would like to do the same thing, but for paged memory in system space. Is there an equivalent function that deals...

View Article


Viewing how Windows syscalls are handled by OS

I am trying to figure out how syscalls are performed on kernel, Are there any good explanation about what exactly happens on kernel, when a "syscall" instruction is encountered. What are the ways to...

View Article

Trying To Print Out All The Names Of The Processes And Their PID In Kernel Mode

I am trying to print all the names of the processes and their PID.But when I print the PID, it doesn't print it.It does print all the other stuff and everything else is working.I think the problem is...

View Article


How can i get the thread ID in the PsSetCreateProcessNotifyRoutine callback...

I am using the older version for process creation callback (PsSetCreateProcessNotifyRoutine) to support older systems.My question is, what is the easiest way inside my callback function to obtain the...

View Article

Linux kernel module crash debug: general protection fault: 0000 [#1] SMP

I have a kernel module for splitting incoming rtp packets and merging rtp outgoing packets. The program crashes once in 2/3 days. If would be very convenient for me if its possible to find the exact...

View Article


Image may be NSFW.
Clik here to view.

Unable to use type command to concatenate files, says syntax is not correct

I am building my own kernel and have 2 .bin files boot.bin and kernel.bin in my project, and I want to concatenate both of them into a single .img file called os.img. I am performing this action with...

View Article

Restart kernel in Google Colab

I´m trying to restart the kernel in a Google Colab Jupyter Notebook through a cell. The option given previously:import osos._exit(00)is ok, but it seems to me that this is not a very "pythonic" way of...

View Article

Trouble in Spyder5.2.2. kernel

I've reinsalled spyder via pip with the lastest version 5.2.2 | Python 3.9.7 64-bit | Qt 5.12.10 | PyQt5 5.12.3 | Windows 10 .Lunched the program, I've obtained an error on the kernel:An error ocurred...

View Article
Browsing all 6333 articles
Browse latest View live


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