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

Laravel 5.4 - Session store not set on request

On my Laravel 5.4 production server, I forgot to run the php artisan config:cache command after I implemented a multi authorization system. It all works in my development environment, however it does...

View Article


OS X kernel panic when attempting to access PCI memory-mapped register

the code i'm referring to is herewhen i create a memory mapping for a pcidevice, i am always getting the same value for getPhysicalAddress and getVirtualAddress:e.g.pciDevice =...

View Article


Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y

I’m big enthusiast of Manjaro since 2015 but today I got a problem that I couldn’t resolve on my own. After big updates done few days ago (by update manager) I have a problem with compiling Kernel...

View Article

Intel Onboard-LAN I217-V | e1000e kernel module not loading driver | ubuntu...

Expected result: Using onboard LAN, not using USB-tethering from phone.Actual result:Days of trying to figure out why the onboard lan broke and why it won't load/bind the driver from the kernel...

View Article

Incorrect selection of kernel headers: expected 4.19.x, got 3.18.x

I'm trying to compile buildroot with a kernel 4.19 but when I'm compiling I have this error : Incorrect selection of kernel headers: expected 4.19.x, got 3.18.xpackage/pkg-generic.mk:306: recipe for...

View Article


Install unsigned driver only once, as jcoder suggested

I have written a kmdf driver to activate the performance counters. I used devcon to install it after disabling driver signing during startup in Windows 10 (driver works). After restart without...

View Article

Replace Syscall in Userspace in various Operating Systems

TL;DR: I am trying to reroute system calls in various operating systems, so that a system call like open does different things than it did beforeBackground Info (for those readers who do not know what...

View Article

fatal error: openssl/bio.h: No such file or directory

I have tried to recompile the kernel with make command for config but this error occured:scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory #include...

View Article


Error compiling Linux kernel 2.6 on a new version of GCC

I downloaded Linux kernel 2.6.34 and I wanted to compile it with GCC v8.3.0 on Debian10. Initially, I had problems with PIE executables that I solved by adding -fno-pie to the Makefile's CFLAGS. I...

View Article


Windows kernel-debugging makes physical machine hang on startup for some time

Trying to enable kernel-debugging via direct ethernet connection between two notebooks. Everything works fine but the target computer's Windows loads very... very slow (it's taking like 5-10 mins...

View Article

Why am I getting a Python 2 kernel error on Jupyter Notebook, and why aren't...

When creating a new notebook in Jupyter Notebook, selecting the Python 2 kernel, I get the red kernel error box at the top right corner. The error message when I click on the kernel error box is:Failed...

View Article

Image may be NSFW.
Clik here to view.

Kernel problem while initializing Jupyter notebook

I have installed Anaconda and along with it I tried working with Jupyter notebook but can't seem to have kernel while opening a notebook python file. In the below image (line 2) it can be seen that...

View Article

Is there a way to make a 64-bit system implement interrupt 2E?

I made a kernel mode rootkit that hooks the idt in the 2e entry on 64-bit machine.I noticed that ntdll.dll checks ds:7FFE0308h to check whether the machine is 32-bit or 64-bit. ntdll.dllNow i'm trying...

View Article


Why i got many error when running "make"?

I need pro devs for my problem. I installed a toolchain (linaro) for building android kernel. Then, I export the CROSS_COMPILE variable with :export...

View Article

Is cross compiler really required?

I came across two guides for making a simple kernel in C.http://wiki.osdev.org/Bare_Boneshttps://github.com/arjun024/mkernelThe first one develops a kernel for i686 architecture, while the second one...

View Article


How to get correct global variable initialization in C?

I'm currently writing a custom kernel.I've remarked that none of my declared global variables gets initialized to the correct values.Here's an example :#include <tty.h>#include...

View Article

How to get mount point for a given path in custom linux kernel module

As the title says I have a problem with my custom kernel module. My goal is to retrieve the root mount point of a given path. Just like using df:df "/tmp/some_dir/some_file"vvvvvvvv out...

View Article


Am I correctly implementing copy_from_user?

I am implementing the write file operation for my module, and I want to know if I'm correctly implementing the copy_from_user function. The module is a tictactoe game, so I take an input from the user....

View Article

gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’

first I install cross-tool, then I build the toolchain, then I want to build the kernel but While compiling kernel 2.6.34 for RAM, repeatedly got the error...

View Article

How is LFR/LRU implemented?

How are page replacement policies like LRU/LFU implemented ? Does the hardware MMU track the reference count(in case of LFU)?Is it possible for it to be implemented as part of the kernel?

View Article
Browsing all 6402 articles
Browse latest View live


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