Chrome Os, error: you need to load the kernel first
So, I tried to install Chrome Os with the instructions in this video :Chrome OS Triple Boot InstallI used this video without having Windows installed but I installed Linux Mint like he said. I followed...
View ArticleError during compile linux kernel module with clang: unknown warning option...
I made example module and it compile very well with gcc. But when I try to compile with clang, it report error and stop. How can I solve this problm?This is my Makfile:obj-m += example_module.oDIR =...
View ArticleCan x86-64 return instruction cause a page fault in linux? Is the current...
I know a return instruction will transfer "program control to a return address located on the top of the stack" (page 1205).Is the stack for the current process always in memory?Assuming I return to a...
View ArticleWhat is the maximum buffer size that can be passed from user space to kernel...
In my homework I came to know that we can send a buffer of size 4096(kernel page size) between user space and kernel space.How can we send more sized buffer?I think fragmentation is a way to increase...
View ArticleThere is not kernel-debuginfo verison match with kernel veision in centos 7
I want to update my kernel vision to 4.4+. But I can not find matched kernel-debuginfo vision in the internet.For example,There is kernel-lt-4.4.213-1.el7.elrepo.x86_64.rpm...
View ArticleSnapshot recreation not working with Mini Filter
I am developing a file system mini-filter driver which is being used for tracking SQL Server database files (namely mdf and ndf files). The agenda is to track all the write operations that take place...
View Article"timeout" entry not created under /sys/class/watcdog/watchdogN
Implemented a watchdog driver for my platform on linux. Able to load driver but "timeout" and "status" sysfs entries under /sys/class/watchdog/watchdog0 not created. I need to those entries to set...
View ArticleARM64-Ubuntu20.04 virtio-gpu on Qemu not working
I created a virtual machine by using qemu which emulates ARM64 Ubuntu 20.04 on x86_64 hardware.And now I want to use that machine with a desktop.But the kernel of the virtual machine wasnt supporting...
View ArticleWhy argv is allways (NULL) in my execve system call monitor
I wrote lkm hook that monitor the execve system call it basically should print the parameter of the char ** argv .and i tried to print the argv but it didn't worked i must say that the filename...
View ArticleBSOD Kernel Secuirty Check - BUGCHECK_ERROR 139 parameter 3 from minidump
Laptop : Acer aspire E-5 551-GCPU: Amd a10 with r6 integrated graphicsGPU: Amd r7 dedicated graphics card1tb hdd8gb ramContext: My dedicated graphic card is toast, so i had to disable it from device...
View ArticleKernel Mode Driver Signing Using Test Certificates
So, I Checked Everywhere About Kernel Mode Driver Signing.My Searches End Me To The Conclusion that, There Is No Method Except To Buy A EV Code Signing Certificate From Digicert, Global Sign, Commodo...
View Articleperf: Couldn't record kernel reference relocation symbol
I have compiled perf for my kernel (3.11.10). During the compilation, some libraries were missing, so I have installed those.But now when I run perf, I get following message:Couldn't record kernel...
View Articleioctl vs kernel modules in Linux
I know that kernel modules are used to write device drivers. You can add new system calls to the Linux kernel and use it to communicate with other devices.I also read that ioctl is a system call used...
View ArticleWhy do we need device drivers, why can't we just send/receive data over Serial?
I'm going to use the Arduino board as an exmaple. We can talk to this device (I'm assuming without any drivers?) using UART Serial transmission.Using the USB to Serial chip on the board.I know drivers...
View Articlestarting gpfs having error Unable to verify kernel/module configuration
[root@localhost ~]# /usr/lpp/mmfs/bin/mmstartup -aFri Nov 15 18:42:06 IST 2019: mmstartup: Starting GPFS ...localhost: mmremote: startSubsys: The...
View ArticleLinux Sound: How to ''listen'' to an arbitrary sound played by an arbitrary...
Okay, hello fellow geeks and other people ^^I've always been wondering whether there is a "good" (aka commonly accepted) way to hook on / intercept data streams and actions on Linux, like"How to write...
View ArticleKeras LSTM, which initial State is fed via call argument
There are some options regarding initialization of kernel, recurrent or bias initializers; and there is a option to provide an initial state as input like so:ar, _, cr =...
View ArticleHow to start developing PostgreSQL and add support of io_uring? [closed]
I have set up an EC2 instanceDownloaded and installed the latest kernelConfigured liburingDownloaded and installed PostgreSQL*I am unable to find which file to update yo include the support!I have...
View ArticleCross Compiling Linux Kernel ARM64
I want to create a custom kernel for ARM64 ubuntu emulation with qemu.For this purpose I did the following cross-compilation:kernel.org: downloaded linux-5.4.tar.xzunxz -v linux-5.4.tar.xztar xvf...
View ArticleWhy I'm not receiving my messages from kernel?
I'm trying to send a message from kernel to user space using generic netlink and libnl, the part of my code which does this is implemented as follow:int struct my_callback(struct sk_buff *skb, struct...
View Article