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

What are the relations between a kernel control path a kernel thread?

Understanding The Linux Kernel says:A kernel control path denotes the sequence of instructions executed by the kernel to handle a system call, an exception, or an interrupt.and Besides user processes,...

View Article


Can't install a simple kdmf driver. Driver has been blocked from loading

My driver is being blocked for some reason on testing virtual box with windows 10. It throws me this error - https://prnt.sc/r2raz4 Quite confused about that, because more complex driver works fine by...

View Article


What is the purpose of "HighAtomic" page migration type in linux?

Based on the contents of /proc/pagetypeinfo there are 6 types of page migration type.But what does HighAtomic mean?

View Article

Why is the close function is called release in `struct file_operations` in...

I'm trying to make a linux kernel module, which supports open, close, read and write operations. So I want to register these functions via struct file_operations, however I can't find 'close' entry in...

View Article

Image may be NSFW.
Clik here to view.

Questions about Page Attribute Table (PAT)

I'm trying to write a kernel, and some of the memory need to be uncacheable.I read the Intel document for PAT, and understand the following:1.There is "IA32_PAT MSR" register holding 8 slot like the...

View Article


How do you know what system call is invoked when an executable file is run?...

If you open sublime-text in Linux Mint, which of exec() or system() gets called?

View Article

How to analyse kernel crash logs in Ubuntu 14.04?

I followed the procedure mentioned in This But couldn`t download find : find-dbgsym-packagesWhen I run this command then I get following error:/var/log# find find findfs findmnt When I run :sudo...

View Article

Changing parameters to counter dst cache overflow

I am using the kernel version 2.6.32 , from a couple of days with traffic running live on the machine I would encounter dst_cache in dmesg logs. It results in system turning to hung state and has to be...

View Article


Windows Kernel to Usermode fastests method of communication with memory

I found this repository https://github.com/alxbrn/km-um-communicationWhich has some methods of Kernel mode to User mode communication specificly with memory.The list is:callback, dispatch, function...

View Article


Bootloop after repacking boot.img(LineageOs 16) with bootimg_tools_7.8.13

please help me solve the problem. I can’t repackage the kernel. Tablet: Xperia Tablet Z LTE, Firmware: LineageOS 16.0 I unpack the boot.img kernel with bootimg_tools_7.8.13, and then repack it. But...

View Article

How to fix Kernal error in jupyter notebook?

So I am trying to install anaconda to use jupyter notebook on my windows computer. When I open jupyter and type code no output comes out. I am asuming this is in realation to the kernal error which is:...

View Article

What does native_write_msr in kernel do?

I have a python script that is sometimes slow at the beginning. I ran perf top on it the other day and all I could see was: PerfTop: 2 irqs/sec kernel:100.0% exact: 0.0% [4000Hz cycles], (target_pid:...

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


Deny Access for Browser to upload or open system Files

I and My team are working on a project where our main task is to block the browser or particular website to have upload access. For eg, if we go to Facebook and want to upload a new profile picture,...

View Article

Problem while accessing user space memory in a trap handler in Linux

I am trying to make the invalid opcode trap handler able to print out the offending opcode. The platform is an x86-64 machine. I am doing it by rewriting the handler asdotraplinkage void...

View Article


What is the "current" in Linux kernel source?

I'm studying about Linux kernel and I have a problem.I see many Linux kernel source files have current->files. So what is the current?struct file *fget(unsigned int fd) { struct file *file; struct...

View Article

Simple Kernel Mode Driver

I'm creating simple Kernel Mode Driver (Empty Project) to try someread/write memory operations on user mode apps.I'm getting errors while compiling the project On these lines : NTSTATUS NTAPI...

View Article


Why am i getting Bootloop after repacking boot.img(LineageOs 16) with...

Please help me solve the problem. I can’t repackage the kernel. Tablet: Xperia Tablet Z LTE, Firmware: LineageOS 16.0 I unpack the boot.img kernel with bootimg_tools_7.8.13, and then repack it. But...

View Article

System blocked when delayed work is schedulated

i'm working on an accademic project and i have to understand the usage of linux's workqueue. For this reason i've developed a small module that simply schedule the execution of a work on a custom...

View Article

Get variables datatypes in kernel mode drivers windows

i want to know if there is any method in kernel mode drivers which gives us datatypes of variables. like if i declare:INT i = 0;and ask about datatype of "i", it must return as INT and same thing i...

View Article
Browsing all 6333 articles
Browse latest View live


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