Looking for Kernel Header file for Macros of INTEL ethernet device related...
where is the header file in Linux headers of addresses macros of PCI register's (address as in Memory IO Mapping of devices) for VendorID, DeviceID,CLASS and BASE addresses MACROs (for IO as...
View ArticleHow to plot decision boundaries of SVM with different kernels? (3 classes, 3...
Hi,I'm trying to plot decision boundaries of SVM with different kernels like rbf, poly, and linear.I am using iris data set available online which is in shape of 150 * 4, so I had dropped the 4th...
View Articleunresolved symbol pthread_create, first referenced in ./armrtk/src/task.obj
I have been trying to figure this out for a few days now and cannot figure it out. I am using CCS as the IDE and I am working on windows. I am trying to create an RTOS Kernel on a MSP432 and need to...
View ArticleC++ Getting Process ID BSOD Kernel Driver
I am attempting to get process id by name through my driver.The driver consists of two parts, the driver itself and a usermode component which interects with the driver to execute its code.I have...
View ArticleHow to test/validate the IP fragment overlapping issue in the Linux kernel...
I am facing IP fragment overlapping issue in Linux kernel 4.1.15I have tried with Linux Kernel Self tests (https://elixir.bootlin.com/linux/latest/source/tools/testing/selftests/net/ip_defrag.c) to...
View ArticleWhat does memory allocation failure in Kernel Logs mean?
Here is the output of a dmesg command on an instance running Linux potentially dealing with memory crunch. Any help on what do these logs mean?dmesg | tail -n 25[23498.234294]...
View ArticleHow does kernel know physical memory base address?
I'm trying to understand 2 closely related issues.Kernel code that runs post-bootloader and prior to enabling the MMU operates in physical/ identity mapped virtual memory. How is this code made...
View ArticleIf i manually load a driver using another driver, will i be able to register...
Lets say for some reason we need to load a kernel driver using another driver manually, meaning we have to basically map it into kernel memory and resolve function addresses and relocations and such....
View Articlelinux module compilng missed folder asm
I am trying to compile a driver. Version of my kernel is 3.2.0-27-generic.I left only includes that I need: #include <linux/init.h>#include <linux/module.h>#include...
View ArticleKernel is DOA for Linux-based Jupyter notebook (and Jupyter lab)
So, after some trial-and-error, I managed to install Jupyter and its key GUIs (notebook and lab) using pip3. The jupyter notebook and the jupyterlab applications load fine. Whenever I try to create or...
View ArticleHUB USB Disconnection, detect and reload without reboot
Our machine uses WiFi & 3G communications. Both devices share the same USB connection through a HUB.Given a time it seems to disconnect both devices and the firmware is unable to recover them.Our...
View ArticleHow do I disable driver signature enforcement across reboots in Windows 10?
I have tried setting the following in an elevated command prompt:bcdedit /set testsigning onbcdedit /set nointegritychecks onbcdedit /set loadoptions DISABLE_INTEGRITY_CHECKSEach command returned a...
View ArticleLinux Kernel API: meaning and stability of nodes under `/sys/devices/pci...`...
The essence of my question is almost painfully simple:Given my current hardware, would the design of Linux sysfs allow me to expect that the device at /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6 will...
View ArticleWhy do I need to provide the location of .text section when using gdb...
What's the purpose of providing this location? I do as this blog suggest. But I don't know why the actual location of .text is needed?I also have checked source ware, but it doesn't provide a clear...
View Articlecannot Debug the Virtual serial port Driver for windows
this is my first time writing driverI found the virtual serial port from microsoft and I tried to run it but it's get this error ( I didn't change the code )Spectre-mitigated libraries are required for...
View Articleneed to debug MMAP so where is the object file for MMAP or module containing...
I am trying to debug MMAP with kprobe but I dont know how to set break points inside MMAP. In my lib/modules there I searched but could not find that resembles mmap containing module. how can I debug...
View ArticleHow to fix Ubuntu ‘end kernel panic - not syncing: Attempted to kill init!’?...
Exit code = 0x00000100How can I fix this?I got it after changing my partitions. First Ubuntu was still working, but than I got a error when I started the system. After doing a hard shutdown, because...
View ArticleuBoot - Bad gzipped data - Synology DS418J
I bought broken Synology DS418j where HDD migration destroyed firmware on the flash.With Serial USB Adapter I have access to uBoot console. This uBoot version has just rudimental commands.To restore...
View Articlekernel keeps dying in jupyter notebook
Whenever I start jupyter notebook and create a new python 3 notebook I get an error message saying kernel has died. I have tried deleting and installing ipython, python3.6.5, and jupyter notebook but I...
View ArticleSystem calls Containing Kernel Modules -- where are the object files and how...
I started learning about debugging Kernel and System calls like MMAP. I know where the address of these system calls, for that I can run strace command and get to find out about it. But I want to use...
View Article