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

Missing __TEXT segment in KEXT Big Sur

In our KEXT, we have a Plugins/kext to "aid" with linking, as produced by the APPLE tool kextsymboltool. However, on Big Sur the produced binary appears to not be compatible any more.kextload...

View Article


Extract vmlinux from vmlinuz or bzImage

I want to generate System.map from vmlinuz,cause most of machines don't have the file System.map.In fact,vmlinuz are compressed to vmlinuz or bzImage.It's any tool or script can do this?I tried:dd...

View Article


Can I draw the conlusion that vmalloc calls kmalloc to allocate each page...

As per the article(https://www.oreilly.com/library/view/linux-device-drivers/0596005903/ch08.html), which says that[emphasis mine]:One minor drawback of vmalloc is that it can’t be used in...

View Article

Is there a way to block system calls from a specific program in linux? [closed]

For example let's take firefox , Is there a way to make kernel ignore the syscalls from firefox so that when i try to run firefox it doesnt execute or do anything.

View Article

How to start with U-boot network for PPC in Qemu?

I'm running u-boot for powerpc in Qemu.qemu-system-ppc -M ppce500 -m 512 -kernel u-boot -cpu mpc8572 -nographic -device pcnet,netdev=mynet1 -netdev user,id=mynet1U-Boot 2020.07-rc4 (Jun 25 2020 -...

View Article


U-boot : Solving error "Bad FIT kernel image format!"

I am trying to boot Linux on a custom embedded system.But the boot process stops when u-boot tries to start the kernel :enter U-Boot 2019.01 (Jun 23 2020 - 15:52:05 +0000)Board: Xilinx ZynqMPDRAM: 127...

View Article

Writing to a file from a kernel module

I need to implement the following function as part of a kernel module:ssize_t write(struct file *filp, const char *buf, size_t count, loff_t *f_pos)which writes buf into the file filp using f_pos, and...

View Article

PXE boot fail with kernel panic: Unable to mount root fs

I am having an issue on some servers since some time, and fail to find the issue.These are x86_64 server, with Intel Xeon, configured to boot in UEFI over network, through an iPXE rom.Kernel and...

View Article


How to create a simple circuit with push button connected to computer with...

I would like to design a very simple circuit using a breadboard, pull down resistors and a push-button. I would like to pass the information as to whether or not the button is pushed to a computer via...

View Article


Why are there so many free movable DMA32 blocks on the x86 64bits platform?

Why are there so many free movable DMA32 blocks on the x86 64bits platform?As its name, I think it is used for DMA. But 730 free blocks(with order 10) means more than 1GB memory. How huge the memory...

View Article

MiniFilter Driver - The right implementation and the Microsoft signature

I am working on malware analysis. I use a mini-filter driver to intercept file system access. Then I apply algorithms to detect malicious activity.My questions:It knows that the driver will need a...

View Article

Is Exception Vector a better name for Interrupt Vector? (in context of ARM)

I've understood the difference between an interrupt and an exception but I'm not able to understand the difference between an exception vector and an interrupt vector.What I found after doing some...

View Article

Can i compile kernel with little-outdated source for newer build version?

I'm trying to compile kernel for my device (SM-J400F)My build version :My build versionHowever, in opensource.samsung.com, the build version is J400FXXU4BSJ3 (a little-outdated, same os)So, the queston...

View Article


inode reference counter how does it work?

I understood that If one file is used by one process, the inode->i_count.counter is incremented.I made a simple C program to open a file wihout closing it (infinite waiting loop), and this i_count...

View Article

Is there any solution for out of memory issues in Linux other than reboot?

When the system goes Out of Memory, it first tries to kill the non-prioritized process but even though it goes out of memory. Why the kernel does not kill the process until it frees up enough memory.

View Article


How to convolve a 2D array with a gaussian 2D kernel in Python

I have written a code to produce a 2D "Image" of a protoplanetary disc based on the Flux of the disc. I have used the contourf function to create the figure. The x and y axes use AU or arcsec units and...

View Article

Is change of intel_idle.max_cstate kernel parameter possible even after boot?

Due to some bug in intel driver I need to use kernel parameter "intel_idle.max_cstate=4" - otherwise the screen flickers after suspend/resume.But of course, this is a drawback in power consumption. So...

View Article


Mod pacman.conf to stop kernel upgrades but allow kernel upgrade in pamac...

Linux 5.7.6-arch1-1 kernel, what else do I need to supply?I like my upgrades to go through with #me:~>sudo pacman -Syu, but I'd still like to be able to run a kernel update with pamac.Can that be...

View Article

Getting Log of Windows Kernel through Serial Port

I am making a driver for windows kernel and I am using COM1 for getting log of kernel, the host machine is Ubuntu and guest is qemu. Windows 10 is installed inside it. The problem is there is a bulk of...

View Article

Do mutexes only function correctly if all relevant threads attempt to acquire...

I'm just learning about locks for the first time prior to taking an OS class for the first time. I originally thought that locks would literally "lock some resource" where you would need to specify the...

View Article
Browsing all 6382 articles
Browse latest View live


Latest Images

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