Old kernels reapear in jupyter even after reinstallation
I had tried to get a ijavascript kernel running (but failed).Now I want to remove it from the available kernels in jupter (lab and notebook).I ran:jupyter kernelspec remove kernel-namejupyter...
View ArticleHow to know whether a page is/may be used for DMA?
I want to track the pages that are/may be used for DMA.I only know a page for DMA is "locked" and its physical position is not allowed to change in the main memory. But how can I tell whether a page is...
View ArticleEPERM after restarting the media application
I have a user space media application written in C.This application works in redundancy mode so that if a server fails, the standby server answers all calls.I encountered an issue with the sendto...
View ArticleProgrammatically determine NUMA node or PCI bus, device, function number of...
I pretty much need the same thing as Programmatically determine NUMA node or PCI bus, device, function number of Direct3D9Ex deviceI'm looking for a way to programmatically determine which NUMA node a...
View ArticleWhere is a thread's context saved and can it be accessed programmatically...
Windows Context SwitchingThe scheduler maintains a queue of executable threads for eachpriority level. These are known as ready threads. When a processorbecomes available, the system performs a context...
View ArticleHow can I know a page is pinned from the struct page?
I want to know whether a page is pinned in the physical memory, i.e., not swappable or migratable.From this post, I know get_user_pages() is commonly used to pin userspace memory in drivers to do DMA....
View ArticleKernel Module Time measuring
I am trying to make a kernel module based on linked list and I want to measure the execution time of insertion of 1000 items into the list.What header file and what function should I use to measure the...
View ArticleEvaluating ksmooth at a point?
so i'm trying to find a way to evaluate a point on the estimated curve fitted to a dataset using k-smooth. ie i've already fitted a curve for dataset using kernel reg. and want to estimate the values...
View ArticleERROR: jupyter_client.kernelspec.NoSuchKernel: No such kernel named python3...
I am trying to run an example papermill notebook that you can find here: at the Official Apache Airflow urlairflow-githubwith a corresponding dag file, found within the same directory as specified...
View Articlewhat is the use of SPL (secondary program loader)
I am confused in clearing my concepts regarding these three questionswhy do we need a secondary program loader ?in which memory it gets loaded and relocated ?what is the difference between system...
View ArticleSampler function not working with custom Color Kernels
Hello I've been struggling to get the sampler function working with custom Color Kernels. Below is what I've tried:extern "C" { namespace coreimage {float4 myColor3(sampler inputImage3, float...
View ArticleMulticast from kernel to user space via Netlink in C
I was trying to write a simple program communicating between kernel and user space using Netlink. Basically here's what I wanted to achieve:User space program starts binding to a user defined multicast...
View ArticleWhere the structure "struct page" is stored on the linux kernel?
I learned that linux kernel manages the memory and the unit for allocate/deallocate the memory is 4KB, which is the page size. And I know that this pages are handled by struct page.I got a actual code...
View ArticlePHC2sys and Syscalls onto NIC take way to long
I'm currently working on a device which is set to give out multiple different timing Protocols from one PTP-grandmaster. For this I have an RockPro64 SOC (https://wiki.pine64.org/wiki/ROCKPro64) with...
View ArticleConfigure kern.log to give more info about a segfault
Currently I can find in kern.log entries like this:[6516247.445846] ex3.x[30901]: segfault at 0 ip 0000000000400564 sp 00007fff96ecb170 error 6 in ex3.x[400000+1000][6516254.095173] ex3.x[30907]:...
View ArticleWhat does the tty do when a process asks for input or outputs to the screen?
Ive read numerous posts about tty. They all start with the historical reasons for the tty name. Please leave this out and just describe the tty system as it exists today. Then they talk about how a tty...
View ArticleSpyder 5.1.5 creates a new kernel after running a custom function
I have this problem where everytime I run a script in Python that contains a function, it just crashes and restarts a completely new kernel. The IPython Window then also shows Restarting kernel...I...
View ArticleWinDbg failed with error 0x80004005 when debugging target machine (VM) using net
When debugging a driver from WinDbg, I get the following error:Could not start debug session, error 8004005: Unspecified errorHost and target are both Windows 10 VMs on VMWare Workstation.
View ArticleReally new to this. Kernel code is somehow messing up Userspace code
First of all, I'm sorry if I have made very obvious mistakes. We were given a version of Pure64 that has a lot of the more complex stuff solved. What we have to do is implement some exceptions...
View ArticleHow to read a certain entry with kernel module
I wanted to create two entries in /proc through the kernel module; So, when the user reads either of them, some different output is printed from each of them.e.g:cat /proc/entry1>>>Hello...
View Article