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

How to improve kaggle kernal for image competition?

There are some queries regarding image based competition on kaggle. Let's say after creating a baseline model for objectDetection/imageClassification/poseEstimation or any other problem. Now the point...

View Article


Examples of use for kobject [closed]

As I keep running into the term kobject again and again, I finally want to understand what a kobject is good for. I read some texts that explain what kobject, ktype and kset are. It is quite hard to...

View Article


KMODE_EXCEPTION_NOT_HANDLED when calling RtLImageNtHeader

I'm trying to get PIMAGE_NT_HEADERS64 from KernelBase by using RtlImageNtHeader but I keep getting KMODE_EXCEPTION_NOT_HANDLED bsod error message whenever I run the driver. (PS I have already checked...

View Article

How to call usermode from Windows kernel?

I'd like to call my app from my driver when an interesting event happens in the Windows kernel. I need to be able to pass at least 4 bytes of data back to user mode. How to achieve this? These events...

View Article

I am making an os, and ran into an error. please help! I have no clue [closed]

When I try to compile link.ld, [below], it throws an error.;link.ld OUTPUT_FORMAT(elf32-i386) ENTRY(start) SECTIONS { . = 0x100000 .text : { *(.text) } .data : { *(.data) } .bss : { *(.bss) } } The...

View Article


How to map a user page to kernel space

I'm trying to understand what I need to do in order to map a user's page to kernel space.Now, I know that the user memory can already be accessed from the kernel using get_user and put_user. This is...

View Article

R Support Vector Machine with Radial kernel classifies all images in the same...

I couldn't find anything about this error so i thought I'd ask:I am training a SVM (supper vector machine) on the mnist dataset containing pixel values of hand written images in greyscale (1 value per...

View Article

ZwCreateFile/ZwOpenFile and STATUS_SHARING_VIOLATION

I need to read SQL Server database files opened by server (with exclusive access I guess). After some research I figured that there are two options: with Volume Shadowcopy Service or kernel mode...

View Article


Are there any differences between Metal kernels on iOS and Mac?

Are there any major differences between the Metal Shader Language on iOS and Mac? I'm trying to port my Metal cifilters from iOS, and they seem to look completely different

View Article


linker.ld throws error: ld:link.ld:6: syntax error [closed]

When I try to compile link.ld, [below], it throws an error.;link.ld OUTPUT_FORMAT(elf32-i386) ENTRY(start) SECTIONS { . = 0x100000 .text : { *(.text) } .data : { *(.data) } .bss : { *(.bss) } } The...

View Article

I am not able to run any code in jupyter notebook [closed]

enter image description here Kernel error, not able to run any code

View Article

Linux run kernel probe systemtap script failed with semantic error: no match"

I've got 2 experimental environment: CentOS 6.8 and Ubuntu 16.04 Both run inside Virtualbox VM.On CentOS I installedyum install kernel-devel kernel-debug On Ubuntu I installed:sudo apt-get install...

View Article

SysFs interface. I can't export gpio pins in a Xilinx's Board (Zybo and other)

Using a linux-kernel compiled as it is described here, I'm trying to make a led blinking following this wiki: Linux GPIO Driver. I'm working with a Zybo-board of Xilinx.I enabled the kernel...

View Article


Windows Driver mouse filter not debug informations .why .in the VM soft ,i...

I don't know Error. in VM. not debug information There should be mouse output Don't know why, I run in a virtual machine, enter image description hereCode form Video :Windows Driver Development...

View Article

how to find the physical address of physical frame number (PFN)?

I used /proc/$pid/maps and /proc/$pid/pagemap to find the PFN (page frame number). Now I copy all the physical memory using this command : dd if=/dev/mem of=mem.txt, how can I find the searched PFN in...

View Article


Damereau-Levenshtein kills kernel inconsistently; Python 2 vs Python 3

I downloaded a package written for Python 2 that works fine except for one specific function call that frequently (but not always) kills the kernel. I found the package at...

View Article

Linux Kernel: Spinlock SMP: Why there is a preempt_disable() in spin_lock_irq...

The original code in Linux kernel is:static inline void __raw_spin_lock_irq(raw_spinlock_t *lock) { local_irq_disable(); preempt_disable(); spin_acquire(&lock->dep_map, 0, 0, _RET_IP_);...

View Article


Extract vmlinux from Android (Samsung) zImage

I'm trying to extract the ELF kernel image from Samsung S9 zImage.All the information I could find is outdated and didn't work for me.Here's what I tried:$ binwalk ./zImage DECIMAL HEXADECIMAL...

View Article

Compiling AOSP Kernel with KASAN

I'm struggling to compile the Linux kernel for usage in AOSP with KASAN & KCOV enabled. I then intend to flash it to a Pixel 2 XL (taimen) and use syzkaller to fuzz it.This is what I did:1. Build...

View Article

change the value of a variable by doing the page walk in linux [closed]

How can i change the value of a variable by doing the page walk using ioct function. any video reference for that. PGD table, PT table and then changing the value of the given variable. I am using the...

View Article
Browsing all 6334 articles
Browse latest View live


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