Reload kernel module until (usbhid) device is initialized correctly (systemd,...
I have a system where multiple USB HID devices are connected to (keyboard, mouse, joystick ...)My problem is the Joystick. Sometimes it is not initialized correctly (no hidraw or input device shows...
View ArticleLinux modules version error "Invalid module format"
I made Linux external module and because my module need Linux kernel symbol,I set the Modversion config and make it.(also did make modules_install)My module was made exactly in lib/modules/(my...
View ArticleCan't manage to connect with Windbg
I followed this tuto https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/setting-up-a-network-debugging-connection-automatically to launch a kernel debug, but when I launch my debug...
View ArticleAdd linux headers in gcc command
So I'm trying to include some headers in a c file on ubuntu16.04.#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/stat.h>#include <sys/mman.h>#include...
View Articlelinux device driver in C
I am currently working on a device driver where I want to write a sentence to that driver and display it in the kernel. Reading an internal buffer and calling the driver with cat works perfectly fine....
View ArticleWhy Heroku unable to start worker?
I have a Rails app deployed to heroku but it doesn't work. Here is what i got in heroku logs --tail2022-07-06T09:59:13.574745+00:00 heroku[web.1]: State changed from down to...
View Articleis it possible to use several different platform devices in one platform...
I am writing a kernel driver for beaglebone c. My assignment: write a uart driver that receives data from the gpyo and sends it to the user I have Device Tree and I have to use two platform devices:...
View Articleadding patch and another git source does not work in yocto
I have tried to add another git sources from another project and a patch like follwoing in bbappend file (fyi in the bb file I have the first git repo where I get my kernel source and it works)...
View ArticleWriting into a device file prints "Invalid argument"
I am currently working on a device driver where I want to write a sentence to that driver and display it in the kernel. Reading an internal buffer and calling the driver with cat works perfectly fine....
View ArticleLinux kernel on my centos 8 server is filling up /boot partition [closed]
I am having this issue in my instance where /boot partition is getting full . I would like to remove the old kernels that are in my instance to clean up the /boot partition. However, when I run this...
View ArticleWhat does linker meaning?
I am learning how to write an operating system by using Rust. I am trying to config my target system, (Does the target system means the operating system I want to create?),and I added"linker-flavor":...
View ArticleNew windows 11 update now matplotlib causes kernel to die in jupyter lab
Most questions about matplotlib causing kernel to die involves reverting freetype to version 2.10.4. But when I checked mine it was already that version, so I proceeded to update instead but the issue...
View ArticleUbuntu 22.04 kernel panic and wifi problem
After I updated from 19.sth to 22.04 there is kernel panic on 5.15I tried 5.19 but it doesn't work tooOnly 5.13 starts with no errors, but it doesn't support any wifi connection.UPD: when i start 5.13...
View ArticleDoes kernel spawn some processes (not user process) that keep running in...
I'm learning the concepts of operating system. This is part I've learned: kernel is key piece of os that does lots of critical things such as memory management, job scheduling etc.This is part what I'm...
View ArticleWhat impact does a discardable section have in a kernel driver if it is...
I'm intrigued by the DISCARDABLE flag in the section flags in PE files, specifically in the context of Windows drivers (in this case NDIS). I noticed that the INIT section was marked as RWX in a driver...
View ArticleClear VGA memory in the kernel
I've setup a bootloader and a kernel which has basic print functions using VGA, And I need to be able to clear the video memory in order to write new things when the space is full.Here's how I'm...
View ArticleUnable to restart kernel in spyder after changing the enviroment
I created a new environment to download packages.When I try to restart the kernel after changing the environment, I am not able to restart the kernel, and I get this :Restarting kernel... The following...
View ArticleAndroid: How can I get device hardware information with adb command?
I would like to know how to retrieve specific hardware information, for example, from the camera, using an adb command. I would like to know if its possible to retrieve hardware ID or Physical device...
View Articlefrom cat '/proc/meminfo' , KernelStack and Sunreclaim take up more and more...
from cat '/proc/meminfo' , KernelStack and Sunreclaim take up more and more space, finally run out of memory ,however user process and kernel thread are normal from 'ps' command, did somebody meet the...
View ArticleMinimum TTL option (IP_MINTTL) is not working on raw socket
We are implementing TTL security feature to OSPF. As part of this, We need to validate the incoming ospf packets based on ttl value.For this, we are using IP_MINTTL socket option to validate the...
View Article