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

x86 does not generate pstore logs on sysrq-triggered panic

I am using linux kernel 3.14.x and that has ERST registered as pstore backend.[ 1.738779] ERST: Error Record Serialization Table (ERST) support is initialized. [ 1.746408] pstore: Registered erst as...

View Article


C++ class destructor using cuda function

If I implemented a c++ class ClassName. It contains an array. The element of the array is linked list and the memory space is allocated on GPU using CUDA. For example://classname.cuh//data structure...

View Article


OpenCL race condition with clSetKernelArg

from the Khronos website on the thread safety of clSetKernelArg:All OpenCL API calls are thread-safe except clSetKernelArg, which is safe to call from any host thread, and is safe to call re-entrantly...

View Article

Why is getpid implemented as a system call?

I'm in the middle of taking my first OS class, so hopefully I don't have any big misconceptions here.I was wondering why getpid() is implemented as a system call in Linux. As I understand it, certain...

View Article

Linux Kernel C code to simulate userland writing / setting a value to /proc...

What's the best way to simulate the same thing as a user doing an "echo a > /proc/file"But doing it from the KERNEL (2.6 in my case) even when the ROOT partition is unreachable.As far as I know the...

View Article


Problema com o cx_Freeze [closed]

Quando executo o cxfreeze ele me devolve esse texto e depois começa a converter mas quando tento iniciar o executável ele abre e fecha instantaneamenteO texto que devolve é...

View Article

Using a different device tree binary (dtb) file for the existing machine in...

I am trying to build an image for a sama5d27 eval board and my PCBA which has the sama5d27 chip. I'm following this guide to do so:https://www.linux4sam.org/bin/view/Linux4SAM/Sama5d27Som1EKMainPageI...

View Article

DebugView doesn't capture KdPrint output

I cannot make DbgView.exe work properly on my Windows 10 64-bit v2004 Virtual Machine. The program doesn't capture any kernel message from the driver if using KdPrint, but works fine with DbgPrint....

View Article


How to change kernel image when booting from eMMc in Beaglebone black?

I'm booting my beagle-bone black from eMMc with "Debian GNU/Linux 8 BeagleBoard.org Debian Image 2016-01-24" eMMc image. I have added a driver to my kernel source and compiled and got uImage and zImage...

View Article


Are existing proc files available to the kernel if system loses access all...

If the answer is NO, that if root filesystem disk partition is lost for any reason, like dying hard drive or if booted via nfs rootfs and network is lost etc, if in these cases the kernel "no longer"...

View Article

Linux SocketCAN behaviour of recvmsg

I'm writing a CAN logger program. The way I log the data is similar to the way the candump-tool is doing it, when invoking candump like candump...

View Article

Dead Kernel while working on jupyter notebook in Google Cloud Datalab

I have been working on a GCP for one of my current projects and I occasionally use Datalab for writing snippets of data wrangling/processing codes. I have succesfully set up my project and VM and have...

View Article

how kernel have each process its own memory? [closed]

i am learning operating system and came across this line EACh PROCESS hAS ITS OWN MEMORY SPACE IN MAIN MEMORY.I got this point and the purpose of itBut I have a doubt,If every process as its own memory...

View Article


Load Kernel file from disk bootloader [closed]

I created a bootloader that loads a second stage bootloader from the second sector and then loads the kernel, witch all of them were situated it the same file ("os.img").But what i couldn't do and i'm...

View Article

IOMMU mapping error in AMD processor having mellanox NIC

I have a mellanox card plugged in numa node 6.The CPU is AMD with 8 NUMA nodesI have these messages popping up[387380.177067] 0000:c1:00.1: IOMMU mapping error in map_sg (io-pages: 2097152)This goes on...

View Article


Android: Is there a way to validate KASLR at runtime

I would like to know if there is a way to check if KASLR is enabled at run time in android target.I know that ASLR can be validated by checking /proc/sys/kernel/randomize_va_space against value...

View Article

Image may be NSFW.
Clik here to view.

Condition is not resolved as expected

I'm using this library to get the amount of free disk space:[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Auto)][return: MarshalAs(UnmanagedType.Bool)]private static extern bool...

View Article


clear pending interrupts in linux kernel

say I have some code as follows:local_irq_disable();... // some interrupts come during this timelocal_irq_enable();after I called local_irq_enable(), all interrupts blocked(pending interrupts) are...

View Article

How do I print my IP address in a system call (Ubuntu 20.04 LTS)?

I'm learning to add system calls to the kernel. Ubuntu 20.04 LTS is my system.So far, I understood how to print "Hello", but I'd also like to print my IP address. How is this done? Do I have to do this...

View Article

Communicating with Windows kernel driver PCIe device via user space script

This is my first time doing kernel driver development and I want to get my FPGA board that should plug into my PCIe port in my mother board and I need to communicate with it; maybe write some registers...

View Article
Browsing all 6333 articles
Browse latest View live