pls help me restore a centos 7 kernel header (3.10.0-1062.el7..x86_64)
the current environment:[root@localhost ~]# uname -r 3.10.0-1160.6.1.el7.x86_64 root@localhost ~]# ls -l /usr/src/kernels/ total 12 drwxr-xr-x. 22 root root 4096 Jul 10 06:12...
View ArticleKernel Panic - not syncing: VFS: Unable to mount root fs on...
my virtual machine (Vmware) showed me this Kernel Panic Error. I tried booting via livecd and running the following from the terminal.sudo update-initramfs -u -k 3.13.0-32-genericas described in...
View ArticleIncluding a .metal file that just defines a function causes fragment shader...
If I include a .metal file with just these three lines in my app with other .metal files, a fragment shader in the app runs about 10x slower, even though the code in the .metal file is not used...
View ArticleLinux kernel: how to wait in multiple wait queues?
I know how to wait in Linux kernel queues using wait_event and how to wake them up.Now I need to figure out how to wait in multiple queues at once. I need to multiplex multiple event sources, basically...
View Articlewhy we need to push the stack (rbp) before calling an extern C function in...
I am new to assembly and I was trying to call an extern function of C within assembly code, I tried to call strlen function as shown in the below code:global _my_strlensection .textextern...
View ArticleKernelRestarter: restart failed in jupyter , Kernel died
[I 10:43:53.627 NotebookApp] 启动notebooks 在本地路径: /opt/soft/recommender/jupyter[I 10:43:53.627 NotebookApp] 本程序运行在: http://10.48.204.120:8888/[I 10:43:53.627 NotebookApp]...
View ArticleDifference between 4.9 and 4.19 Kernel versions causing fread crash [closed]
I have a linux system where recently the kernel version was upgraded from 4.9 to 4.19. This resulted in a different behaviour while reading a file which was locked.E.g.:On Kernel Version 4.9, on...
View Articlehow to take data from user space buffer into a kernel space
I am coding a write function in a device driver linux kernel module (I am very new to this so please bar with me). I don't know how to extract the data from the user space buffer into a string that I...
View ArticleWhat do I use to do framebuffer VGA graphics for my kernel in C? [closed]
I'm currently trying to make a graphics demo with my new kernel.However, I can't find any resources on how to get framebuffer graphics working.How do I get it working?
View ArticleSimulating WiFi device in android emulator with mac80211_hwsim kernel module
I am looking to simulate an additional WiFi device in a rooted android emulator (to simulate a device my company makes). So far I have found the linux kernel module, mac80211_hwsim, which seems like it...
View ArticleProblem: Restart kernel on Pydev console when trying to install a python package
Hi I am using Pycharm to work on my data. The console has the following details:Python 3.7.9 on win32IPython 7.19.0PyDev console: using IPython 7.19.0My problem is everytime I want to install a python...
View Articleenable linux kernel driver dev_dbg debug messages
is there a simplest possible way to enable linux kernel driver dev_dbg debug messages (actually it's a trace style messages) hopefully without messing up with the kernel patching/recompiling or the...
View ArticleMySQL btr_search_guess_on_hash high load
as I'm having some, let's say, "optimisation issues" with a multi source/channel replication slave, I was checking for "perf top" output to detect kernel function load anomalies.The output shows a in...
View ArticleWhy ip_forward_use_pmtu added in the result of sysctl in linux server
So I did an OS version-up in a linux server, and was seeing if any setting has been changed.And when I typed "sysctl -a | grep "net.ipv4.ip_forward"The following line was...
View Articlehow to find the right vm_area_struct from a mm_strucnt and a buffer
so in the mm_strucnt there is list of vm_areas ,struct vm_area_struct *mmap_cache; and I want to find the one that contain my buffer for example function that would get sturc_mm and would return the...
View ArticleLinux kernel defconfig options not in resulting .config using BuildRoot
I am building kernel version 2.6.39.4 via BuildRoot for an arm target.I am using a custom defconfig file, into which I added the following 3...
View ArticleLZOP 1.03 ACC Conformance check fails
Trying to build LZOP as part of rpi-buildroot build.Keep getting ACC conformance failure.Is there a way to turn off this check ?It seems like its justa different way of doing gzip. Is there a way to...
View ArticleError while building a linux kernel for xiaomi device
While building kernel i get error:In file included from ../arch/arm64/kernel/sys.c:27:../include/linux/syscalls.h:195:18: warning: ‘sys_arm64_personality’ alias between functions of incompatible types...
View ArticleGetting “Code: Bad RIP Value” kernel panic when trying to boot up after reboot
Description of problem:I have installed Debian 10 Buster. EA01A NEC M2M LTE Dongle is attached to Device and configured for internet access.I have scheduled a reboot everyday at 1 AM. and I have...
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 Article