Can the data=journal mode of EXT4 avoid user data loss?
journal modedata=journal mode provides full data and metadata journaling. All newdata is written to the journal first, and then to its final location.In the event of a crash, the journal can be...
View ArticleAdvantage of registering USB endpoint as device
I have a question regarding registering endpoints as real device. What is the advantage of registering USB device endpoints as a real...
View ArticleWhich type of memory model (i.e. flat / segmentation) is used by linux kernel?
I am reading about x86 protected mode working, In that I have seen the flat memory model and segmentation memory model. If linux kernel is using flat memory model then, How it protects the access of...
View ArticleoneAPI successfully installed but vtune won't run
I'm using windows' ubuntu terminal, which i'm sure in the problem, but I've installed the linux version of intel's oneAPI on the ubuntu terminal. its says Intel's oneAPI base toolkit has been...
View ArticleRTNETLINK answers: Operation not supported [closed]
In fact, I want to use pipework to add an ipoib interface into docker container.Pipework use ip command to do this. But when running the command...ip link add link ib0 name ib0.2613 type ipoibI...
View Articlehow to iterate over the current process and all it's descendants recursively...
i am writing a code where i add a new function to the linux kernel .the function is supposed to return the "total weight" of the current process, which is the sum of weights of the current process and...
View ArticleGetting Linux kernel debug information after a kernel crash
Is there a way to get kernel previous debug information after kernel crash occurs.I am trying to develop a kernel module which basically captures IP packets in the IP layer inside the kernel network...
View ArticleWhy is the MTF bit reset after a while in kvm?
I have been playing around with VMX and KVM and have a few more general and some more precise questions.I created a VM with the virtual manager because I assumed (from what I have read online) it to be...
View Articlekernel version requires an × 86-64 cpu but only detected an i686cpu [closed]
HELP!!! showing kernel version requires an × 86-64 CPU but only detected an i686cpu I have turned on virtualization but also it's not coming and about HV in control panel it is not there any one please...
View ArticleRed Hat packages list description
Hello,Is there any difference between package kernel-rt-debug and kernel-debug? What -rt stand for?
View ArticleFlashing custom kernel into Android phone (Pixel)
I'm trying to modify the kernel of a Pixel 4a 5g phone.For that, I've downloaded the stock boot.img from https://developers.google.com/android/images.I've also got a kernel src code...
View Articlehow to use LTP (Linux test Project) for Linux kernel testing on real hardware?
I have linux based embedded device where I need to test LTP but the problem is there are not enough space that I can push opt/ltp/ folder there and run the tesecases.is there any other way that I can...
View ArticleIs it safe to skb_clone for calling dev_queue_xmit and return NF_ACCEPT from...
I need to catch the packet and resend it (duplicate) using dev_queue_xmit. But at some cases I also need that my computer will process the packet (with routing) as well.So I have a bridge PreRouting...
View Articlekernel fails allocating crashkernel memory when using the KASLR kernel feautre
i am using the 4.19.149 kernel on x86_64 platform running on centos6.2.my compile kernel configuration contains the following...
View ArticleHow do I get started with contributing to the Linux Kernel? [closed]
I want to start contributing to the Linux Kernel, plus I would like to, one day, fork the repository on github and add some modifications to it. How do I get started with contributing to the kernel? Is...
View ArticleCalling printk in a simple IRQ handler crashes the kernel
I'm new to kernel programming and I couldn't find enough information to know why this happens. Basically I'm trying to replace the page fault handler in the kernel's IDT with something simple that...
View ArticleMendel Kernel Live Patching
Is there a way to live patch the kernel on Mendel? I'm looking to deploy the coral dev kit and need a way to ensure that it is up to date with the latest kernel security updates.It looks like the only...
View ArticleHow to prevent any interference when benchmarking code execution in the linux...
I'm following this whitepaper by intel to benchmark code execution.It uses cpuid to fence the reads of the timestamp registers, which seems to work alright.I'm more interested in the commands...
View ArticleHow to determine if a specific module is loaded in linux kernel
I am just curious is there any way to determine if a particular module is loaded/installed. $lsmod lists all modules (device driver loaded).Is there any way to check or a command that returns...
View ArticleHow do I get 'stress --hdd' to stop at end of '--timeout' period?
I am using stress --hdd 1 --timeout 10s -v to stress the IO/disk on an Ubuntu system. Sometimes when running this command, I get something like:stress: info: [16420] dispatching hogs: 0 cpu, 0 io, 0...
View Article