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

What is the stack used for in CPython, if anything?

As far as I understand:The OS kernel (e.g. Linux) alwaysallocates a stack for each system-level thread when a thread is created. CPython is known for using a private heap for its objects, including...

View Article


Getting error when trying to compile linux kernel

Hi this is my first question and i sorry for probably mistakes that i havei try to compile linux kernel in fedora 32 and i get errori type these commands on terminalmkdir...

View Article


Using Linux kgdb over serial-on-LAN (SOL) using ipmitool

Is it possible to use kgdb over BMC based SOL? I have ability to get to the serial console using ipmitool sol activate. However, I want to use it to connected gdb remotely in order to debug my Linux...

View Article

reasons for STATUS_ACCESS_VIOLATION for a user mode call in ntdll.dll library...

Is it possible to access functions on ntdll.dll from user mode? I used LoadLibrary() and GetProcAddress() to obtain function address of NtOpenFile() successfully. But I get STATUS_ACCESS_VIOLATION...

View Article

Image may be NSFW.
Clik here to view.

How to create a memdisk and floppy.img for a minimal bootable kernel?

I am following a course which involves creating a simple kernel which I can run on a VM(virtualbox) and debugging using gdb(running on another VM - ubuntu) over serial port. The video tutorial shows...

View Article


The reason that IOCTL to kernel give error "not a typewriter" in android...

I prepare some IOCTL interfaces at kernel module of android. Then at android source code I open file dicriptor(fd) with path /proc/aaa and call desire ioctl with this fd. It is working well when I run...

View Article

Modifying transmitter queue on a network driver on the linux kernel

I am trying without success to append or reorder packets on a Linux network driver. I am new on this so any help would be appreciated.First of all I am aware that his is a bad practice and so on, I am...

View Article

What is the fastest connection method to debug a windows 10/7 kernel using...

There seems to be many methods for debugging a windows 10/7, including USB or network or COMBut which of them is the fastest? I have only used COM and it seems to be really slow compared to debugging a...

View Article


eth1 disappear after use new kernel 5.6.0 | uSID | Centos

In order to test SRv6 uSID in Linux, I compiled the new kernel 5.6.0 that in following Github:https://github.com/netgroup/srv6-usid-linux-kernel.gitAfter compiled and reboot, my 2nd network adapter...

View Article


How does the kernel set register cr3?

I understand that the mmu of the processor uses register cr3 to translate linear addresses into physical ones, provided that cr3 is properly set to the physical address of the page directory. But after...

View Article

In a crash dump how should I interpret an instruction pointer offset?

I am trying to debug a kernel module. I have compiled it with -g and I am logging with netconsole.In the output I see:[ 575.335966] RIP: 0010:switch_rtai_tasks+0x329/0x428 [rtai_sched]Which I...

View Article

Running a userspace process in user mode with Linux kernel call_usermodehelper

I tried to execute a userspace binary inside the Linux kernel module with call_usermodehelper. I found the launched application is running in root mode. Is it possible to run the application in a user...

View Article

Jupyter Notebook kernel error after installing ipykernel

I installed Ipykernel along with pandas and PyTorch for a new environment in Anaconda. After the new environment was created and I added the new kernel to my jupyter notebook, I got this error. File...

View Article


Linux operating system ( Ubuntu)

I am tying sudo apt-get install gparted command on terminal but it is not working properly and showing this error. What could be the problem?E: Could not get lock /var/lib/dpkg/lock - open (11:...

View Article

How to get a non-master branch from git hub?

I followed the directions at (https://www.raspberrypi.org/documentation/linux/kernel/building.md), used commands below:git clone --depth=1 --branch <branch> https://github.com/raspberrypi/linuxcd...

View Article


Why argv is allways (NULL) in my execve system call monitor

I wrote lkm hook that monitor the execve system call it basically should print the parameter of the char ** argv .and i tried to print the argv but it didn't worked i must say that the filename...

View Article

Image may be NSFW.
Clik here to view.

what is this mysterious character in kernel main function? How can i remove it?

I am trying to create my own kernel following the link https://wiki.osdev.org/Bare_Bonesthe author has mentioned that " followed by some mysterious character. "Why is this character occurring? How can...

View Article


What can I do after a driver was built with newest Linux source codes?

I don't have Linux source codes corresponding to kernel image version of embedded system at my hand, which version is 4.19.57-v7+. I downloaded Linux source codes (git clone --depth=1...

View Article

how to build debuginfo rpm in the kernel 4.19.x

I use the command make rpm-pkg to build debuginfo rpm for kernel(4.19.1), but it didn't work.so I tried to remove #%debug_package{null} in the scripts/package/mkspec and add find_debuginfo.sh xxxx to...

View Article

How to send multipart messages using libnl and generic netlink?

I'm trying to send a relatively big string (6Kb) through libnl and generic netlink, however, I'm receiving the error -5 (NL_ENOMEM) from the function nla_put_string in this process. I've made a lot of...

View Article
Browsing all 6333 articles
Browse latest View live