Questions tagged [kernel]
Everything about Unix kernels: development, configuration, compilation, design, etc.
3,615 questions
5 votes
2 answers
495 views
Can I Automatically List Supported Kernel Parameters in GRUB?
In GRUB, when loading a kernel, you can pass various parameters to linux/vmlinuz, for example: menuentry 'GNU/Linux' { ... linux /live/vmlinuz boot=live config live-media=removable ...
0 votes
0 answers
34 views
Launching I2C communication from within ISR
I have an external I2C device that signals when data is ready using a pin. I want my Linux SBC to trigger I2C transfer routine after GPIO interrupt triggers. How would this be done within kernel space?...
0 votes
0 answers
31 views
qemu-system-mips kernel loops indefinitely on serial output
I'm exploring qemu system emulation with custom-built Linux kernels, starting with mips. To start, I'm trying to get to the point of the kernel simply panicking before I add a rootfs, but I can't even ...
1 vote
0 answers
39 views
Why does Linux CFS need a periodic timer interrupt more frequent than the time slice?
OSTEP says Note that CFS utilizes a periodic timer interrupt, which means it can only make decisions at fixed time intervals. This interrupt goes off frequently (e.g., every 1 ms), giving CFS a chance ...
0 votes
1 answer
48 views
Curiosity: it looks like a second Power-on self test or init (like the BIOS POST does at boot) is happening after the GRUB O.S. selection? What is it?
Glad to a new keyboard and a mouse that have plenty of lights now, I've noticed this: When I turn on my computer the BIOS Power-On Self Test (POST) happens. And I can see that my mouse and keyboard ...
1 vote
1 answer
74 views
file-nr keeps increasing forever
I have a cloud VM running linux-yocto 6.17 and a few daemon processes--postfix, dovecot, rspamd, nginx, sshd, fail2ban and redis. Ever since upgrading from 6.11 to 6.17, I've noticed that /proc/sys/fs/...
1 vote
1 answer
413 views
Can I deny the root access to the user keys in the Kernel key retention service?
I know the Linux kernel has a key retention service even though I haven't used it myself. I'm constructing a system where anybody with root cannot check the keys in that service that were registered ...
1 vote
1 answer
77 views
How to set charging threshold of a Toshiba laptop directly from Linux
I just had to order a new battery which died after just one year of usage. Apart from the cost, this is a bit environmentally wasteful - waste of lithium and rare earths. So now I have learned that ...
3 votes
2 answers
89 views
Is changed LVM device info not fully updated in kernel? Any workaround? Is this a bug?
My system is working just fine. The questions at the end of all this are; does the kernel keep a cache of device information; is it possible for it to be only partly updated, leaving a mix of new &...
0 votes
1 answer
59 views
Fast question about gnu-libre kernel
This kernel is identical to Linux official kernel but they remove all proprietary binary firmware and there is not possibility to load it, this mean more safety and more os. https://linux-libre.fsfla....
2 votes
1 answer
92 views
kernel panic after suspend starting from kernel 6.16
I've a problem with kernel versions starting from version 6.16. it was working in kernel 6.15. In kernel 6.15, when I put my laptop to sleep and resume from it, the Wi-Fi does not resume. So I am no ...
0 votes
0 answers
46 views
Ubuntu Kernel build & install problem
Running on Ubuntu 24.04, trying to rebuild the existing 6.14.0-33 kernel with some modifications I need around RT & Power management. I followed the instructions here : https://canonical-kernel-...
5 votes
1 answer
354 views
How to interpret the refcnt field in /proc/crypto?
Here's an example /proc/crypto entry: name : md5 driver : md5-generic module : kernel priority : 0 refcnt : 1 selftest : passed internal : no type : shash ...
1 vote
1 answer
44 views
rsyslog holds on to dirty pages and does not flush pages to disk
We have kernel dirty bytes settings configured as below. vm.dirty_background_bytes = 262144000 vm.dirty_background_ratio = 0 vm.dirty_bytes = 0 vm.dirty_expire_centisecs = 0 vm.dirty_ratio = 10 vm....
0 votes
1 answer
79 views
Cross compile for ppc64 kernel, no way to generate Debian package?
I start to cross-compile a kernel for an old ppc64 machine using a fast amd64 machine. I have installed all deps apt -y install bash-completion make build-essential linux-source bc kmod cpio flex ...