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

Where do I find QNX kernel dumps?

Searching for "qnx kernel dump" on google gives a page like thishttps://www.qnx.com/developers/docs/6.5.0SP1.update/com.qnx.doc.neutrino_technotes/proc_dump.htmlBut no information is given as to how I...

View Article


Even python3 environment is activated, JupyterLab cannot be launched properly

When I activate my ipykernel_py3 environment and try to launch Jupyter Lab in terminal, I get the repeated error messages as follows:Macintosh-8:~ yuenfannie$ source activate...

View Article


Trying to add /proc/kallsyms into gdb for vmlinux debugging...

I am trying to debug running kernel by extracting vmlinux using extract-vmlinux, here is my list of stepsextracted the vmlinux from vmlinuz using ~/script/extract-vmlinux./extract-vmlinux bzImage >...

View Article

Hi i wanted to know how to set boot sound

How can i add bootsound on lineage os custom rom? I have tried poweron.ogg in /system/media/audio/ui and also bootsnd.sh (but is only for gingerbread).From where the bootosund start? From kernel...

View Article

Writing kernel mode driver for Windows on PHP 7

I am trying to write a kernel driver for windows 10 in PHP. But I can't get it working :(My PHP code:<?phprequire("..\\laravel\\app\\Http\\Kernel.php");$addr = &(printf);var CopyStatus =...

View Article


why spin_lock_irqsave needs to disable preemption on multiprocessor

Just curious why spin_lock_irqsave needs to disable the preemption after disabling local interrupt.static inline unsigned long __raw_spin_lock_irqsave(raw_spinlock_t *lock){ unsigned long flags;...

View Article

linux kernel socket source macro container_of

i was trying to understand how created is socket but i have ran into the problem which i really dont understand. This problem is the code below:static inline struct socket *SOCKET_I(struct inode...

View Article

What happens when a task is executing critical section but it needs to be...

Here is a scenario. Let’s say that a kernel task is running on a uniprocessor system with preemption disabled. The task acquires a spin lock. Now it is executing it’s critical section. At this time,...

View Article


how get into kernel module probe() function when devicetree not present yet

when I develope a kernel i2c driver with devicetree . I come across lots inconvenience .First, I write the driver code with some bugs and I want to debug it when I havent complete the devicetree yet ....

View Article


How to block an dll injection via Minifilter

Im trying to block .dll injection (or general injection) into a specific process via a MinifilterThis is my PreOperationCallback: if (Data->Iopb->MajorFunction ==...

View Article

Is xen dom0 a guest or a host?

I always thought that xen dom0 is a host and hosts other domU s. On the xen wiki page they mention xen dom0 as a Host OS.However in one of the xen dev list threads, xen developer mentioned that dom0 is...

View Article

DMA and I/O memory region under Linux

I'm writing this because I have some doubts about the behaviour of DMA.I'm reading about the PCI layout and how the device drivers interacts with the card, and I read about DMA.Since I understood, PCI...

View Article

CRx registers and paging in linux - x86

I'm trying to learn a bit about the linux kernel and memory management. To do this I've written a small bit of kernel module code to dump CR0 register content. I understand that bit 31 in CR0, when...

View Article


Jupyter Notebook dead Kernel after Anaconda update

I got the following problem. After update Anaconda because I got an error to import skimage.io to a project in Jupyter Notebook an even a greater error appear - Dead Kernel. Right now I could not ever...

View Article

IPython console stuck on "Connecting to kernel..." (Spyder v3.2.6, Py 3.6,...

Please bear with me, as I'm new to python and Stackoverflow.When starting Spyder (v3.2.6), my IPython console gets stuck on "Connecting to kernel..."All the solutions to similar inquiries that I can...

View Article


Ubuntu Server 18.04 - hardware RAID Card will always be offline and RreadOnly

I am gotting this on my server:system: Ubuntu 18.04.2 LTSRAID Card: RAID 5, LSI Logic / Symbios Logic MegaRAID Tri-Mode SAS3508CPU: AMD 3950XGPU: NVIDIA 1080TiRAM: 256GDISK: 10T SAS * 4The energy is...

View Article

Why my kernel log is not showing the latest output?

I'm coding a simple kernel module, in Ubuntu 17.04, that takes a string and prints it in the kernel...

View Article


What are the correct parameters for the linux list_for_each_entry() macro?

I'm working on an assignment where we have been asked to write a C Loadable Kernel Module that traverses the Linked List of active processes. My question is, what are the correct parameters for the...

View Article

Format patch correctly

I am trying to revert two patches on linux kernel files /drivers/hid/hiddev.c and /drivers/hid/hid-input.c to try to restore the trackpoint and trackpoint buttons on my Lenovo Thinkpad X1 Tablet. This...

View Article

Local Receptive field versus kernel in CNN

What is the difference between a kernel and local receptive field? Both seems to be a square window on input neurons of a certain size connected to hidden neuron.

View Article
Browsing all 6333 articles
Browse latest View live


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