How do i get Interrupt Descriptor Table to work?
I'm trying to implement an Interrupt Descriptor Table into my kernel (using assembly) but am having trouble. First I turned off interrupts. Then I load the GDT using the lgdt instruction, then I loaded...
View ArticleKernel died when running ngram
vectorizer = TfidfVectorizer(sublinear_tf=True, max_df=0.5,stop_words='english',use_idf=True, ngram_range =(2,2)) My jupyter notebook's kernel keep restarting when implementing TFIDF with ngram=2. Is...
View ArticleIs it possible to get kernel version from EFL image file without disassemble...
I have a vmlinuz EFL image file. I need to get the kernel version from the image file without disassembling it. Is it possible to get kerenel version from offsets of that compressed image file? The...
View ArticleSyscall hijacking x64- unable to handle kernel paging request at...
I write a kernel module which replaces syscall and have a problem. Module can't be loaded because is some problem in memory. I tried fix it for 3 hours, but it still not work. This code is working,...
View Articlepthread.h in a kernel driver for OS X (using Xcode)
I am trying to port the fantastic ASUS XONAR-series driver for Linux, written by Clemens Ladisch, to Mac OSX.Right now, a very rough version that compiles is available at: github.com/i3roly/CMI8788My...
View ArticlePyCUDA accessing a point inside an Array of 3d points- to find neighbors of...
Given an array of 3d Points, I want to find the neighbours of each point in that array within a specified radius.This is the Kernel code which I want to implement.at error 1 line: I get below...
View Articlecannot create directory 'device-tree': Operation not permitted
I am on linux operating system. I am Trying to Load device tree Overlays via Configfs.I tried below steps:$ sudo su # mount -t configfs none /sys/kernel/config The mount was successful. however when I...
View ArticleCompile and Install old kernel on latest ubuntu
I want to compile and install kernel 3.10.61 on Ubuntu 18.04.I compiled kernel 3.10.61 successfully. (It didn't been compiled, so I downgraded my gcc to 4.4 from 7)But, after I install the kernel using...
View Articlesys/kernel/debug/krpobes/list empty
I'm trying to attach to a kprobe event for purposes of tooling, but I'm not too familiar with kprobe events. I've read that the list of registered kprobes are available in...
View ArticleProblems removing identity mapping in x86 kernel
I'm doing a bit of operating system development and here's my target. I've enabled paging and want to remove the identity mapping. Previously, I had two mappings, identity map of 0-4M and kernel at...
View ArticleWhat would be the dependencies of linux kernel to be booted?
I have a question.Recently, I've tried to compile the old version of Linux kernel(before 2007) and boot it on Ubuntu 14.04, however, it made a kernel panic and was not able to boot.I think there could...
View ArticleIs it possible to get kernel version from ELF image file without disassemble...
I have a vmlinuz ELF image file. I need to get the kernel version from the image file without disassembling it. Is it possible to get kerenel version from offsets of that compressed image file? The...
View ArticleExecute cmd commands from windows kernel driver
I want to ask if there is any way to execute cmd commands (like we execute via system(command) in user mode in C++) in kernel mode?
View ArticleC pointers casting
I am trying to print the first byte if a function in the Kernel.The function I want to print is 'filldir'.I found it in the kernel using /proc/kallsymsit's code is (address is ffffffff812e6020) -...
View ArticleHow do I see which thread was executed before from a breakpoint?
As in the subject, how do I see which thread was executed before from a breakpoint in kernel mode?
View ArticleHow to send some logs from windows kernel driver to serial port in VMware and...
I want to send some logs from windows kernel driver (in VMWare) to host machine via COM Port, How can we achieve it?
View ArticleCan i normalize Kernel Density Estimation using min-max normalization?
I am using gaussian_kde for Kernel Density Estimation.After that, I would like to compare between multi Density plots.In this case, Should I normalize each Density plot using min-max normalization?And,...
View ArticleHow to get current working directory from Android Linux kernel?
I have a custom Android 7.1 build and trying to add a wifi driver to it.The Realtek driver loads the correct rtl8xxxu.ko module file but it is giving a file not found error when it tries to load the...
View ArticleRaspberry Pi 3B+ crystal oscillator - How accurate is it?
I have developed a spectrum analyzer driver using the kernel of the RPi where every time I sample the data, I sample the time, too. The results I received are pretty good but a little bit inconsistent...
View ArticleWhy isn't Juypter notebook working on my raspberry pi
I have installed Jupyter notebook on a fresh install of debian for pi. I had it working perfectly on a previous install. I do not understand why it is not working on this install. Kernal will not...
View Article