Face Recognition project in python [closed]
helloI have Face Recognition Project. I used these librariesI run the following code, it works fine, but when some cells run, the kernel restarts automaticallyWhen I execute this code snippet : Kernel...
View ArticleStorport Virtual Miniport Driver stopping on AdapterControl
^Hi Community,can anyone give me a clue on why my StorPort Virtual Miniport Driver (KMDF) stops working after it's AdapterControl function ist first called?Currently, the following is happening after...
View Articlelinux kconfig command line interface
My goal is to change kbuild configs using the command line without messing up dependencies.For this I've created a 'reference' config by editing my default .config with make menuconfig. The 'only'...
View ArticleKernel OOPS in GNU Linux causing panic and unwanted reboot/resets
We are seeing kernel oops followed by a crash in our system(GNU/Linux). From application perspective we have disabled all asserts but still see these crashes occuring randomly without anyclear...
View ArticleNot able to get the total memory in linux [closed]
I have a VM with 16GB of memory. But total memory in the free command output or in the /proc/meminfo, it always shows lesser value than the 16GB. I understand from other readings that the remaining...
View ArticleKernel-space: can .probe be called simultaneously/concurrently?
I have a simple kernel module for embedded ARM-based system associated with it's .compatible. As we know, multiple ".compatibles" can occur in one device tree and .probe will be called for each matched...
View ArticleTrying to use Tensorflow with RTX 3090 Errors
I'm attempting to use Tensorflow with a Rtx 3090 GPU, however I've been experiencing a variety of issues for several days. I tried the remedies suggested here and in other places, but they didn't work....
View ArticleHow to print 32 bit value complete?
I want to know that how to print the complete integer value with zero also in C only.And i am in kernel space ,want to print some values in kernel module.Like if a is a 32 bit integer thenint a =...
View ArticleHow to install kernel-devel and kernel-headers mathching 5.x kernel?
I upgraded Kernel to 5.x referring this blog.Now, when I run uname -r, the kernal version shows 5.x. However, the kernel-devel and kernel-headers are still 4.x.What I tried?Uninstalled kernel-devel and...
View ArticleUser mode and kernel mode: different program at same time
Is it possible that one process is running in kernel mode and another in user mode at the same time?I know, it's not a coding question but please guide me if someone knows answer.
View ArticleKernal Connection issue ([SpyderKernelApp] Error Exception in Message...
When I load up Spyder (even as an administrator) I continuously get this errorTraceback (most recent call last): File "C:\Users\aaron\anaconda3\lib\site-packages\spyder_kernels\comms\frontendcomm.py",...
View Articleserdev_device_driver probe not called
Hello on my kernel module my probe funtion gets not called.static const struct of_device_id stm32_match[] = { { .compatible = "st,stm32-uart", .data = &stm32f4_info}, { .compatible =...
View ArticleIn the PWM driver in Linux, exporting a device will create a link
In kernel 4.17.0, when I want to export a pwm_device0 from pwm_chip0, a link corresponding to this pwm_device0 is created under /sys/class/pwm. When I want to export pwm_device0 from pwm_chip1, it...
View ArticleStoring values in a specific memory address in C
I'm trying out OS development and have been following a book that goes on explaining the process well, but I have come into a roadblock as the example shown doesn't work for me. The function accesses...
View ArticleWhere is the RaspberryPi 4 Kernel Load Address documented?
I have been reading about bare-metal programming on the RaspberryPi 4, and the article I was reading mentioned that the Pi loads the Kernel to memory address 0x80000. I usually try to find references...
View ArticleALERT! UUID=3ce51be3-8348-4330-8631-d2d9390f3d33 does not exist. Dropping to...
I am compiling a custom kernel.I use the default setting for 64Bitsmake ARCH=x86_64 x86_64_defconfigeverything turns out fine, until I apply the command:make installI reboot the system, it stays in the...
View Articleplease help me NNAPI analysis
I'm studying android platform, especially nnapi.I found out Arm nn driver processes requests from application through NNAPI.I was trying to figure out the flow of the function in the code base, and I...
View ArticleHow to allocate huge page to array in device driver?
I am studying device driver in Linux.I want to create a large data structure that has a virtually contiguous range. And I want that my data structure is allocated in huge page granularity(2MB size)At...
View ArticleWhy a kernel vulnerability can be exploited from docker container [closed]
I am wondering that what kind of kernel features are usually the attack surface from the view of a default docker container.Because I have seen some kernel vulnerabilities, like: CVE-2017-7308, they...
View Articlejupyter notebook - kernel is not connecting on raspberry pi 4
On my raspberry pi 4 I installed jupyter notebook using these commands in command line (exactly according to the manual):sudo apt-get update,sudo apt-get upgrade -y,sudo apt-get update...
View Article