Questions tagged [linux-kernel]
Questions about Linux kernel and Linux kernel related topics eg. implementation details such as system calls, kernel customization, etc. For Linux user space topics which do not involve kernel details, [linux] or distribution tag are more suitable.
3,735 questions
1 vote
1 answer
52 views
Kernel doesn't seem to boot (stuck on "Booting `Buildroot`")
My goal is to flash a very simple Linux image on an Advantech ASR-A502-X0A1 board using buildroot. After many unsuccessful tries, I decided to do as simple as possible and simply flash buildroot's ...
5 votes
2 answers
496 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?...
6 votes
1 answer
954 views
Are Linux kernels compiled with UBSAN turned on?
For those who don't know, UBSAN is Undefined Behavior Address Sanitizer, and it places a whole bunch of checks in a compiled piece of code to detect mistakes, such as out-of-bounds access and various ...
1 vote
2 answers
74 views
How to capture boot steps
I have a linux-box. My hdd is nvme, hence boot is fast. I need to analyze each line of after grub. Can I pass a kernel parameter to capture my boot lines?
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 ...
1 vote
0 answers
56 views
How to use dm-mirror, or 'dm-raid raid1', with dmsetup only (no LVM automation)?
The goal is to create a mirror (aka raid1) device from two devices (to be mirrored), and (if needed) a third device that serves as the dirty region log / metadata / whatever. That, without using LVM ...
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/...
0 votes
1 answer
65 views
Is there any way to trace how a keypress is processed from beginning to end in Linux?
I would like to find out why my power button press isn't handled correctly. I've set power manager in XFCE4 to 'ask' me, but all that happens is I'm getting logged out of my session. I have contacted ...
2 votes
1 answer
48 views
systemd-networkd drop-in files for configuring network adaptors
The Issue I am reading this systemd documentation I have the following files: /usr/lib/systemd/network/80-wired.network [Match] eth0 [Network] Address=192.168.3.40/22 Gateway=192.168.0.1 /usr/lib/...
0 votes
0 answers
20 views
initramfs images gzip compressed on Oracle Linux 8 UEK6 systems but not UEK7
I'm troubleshooting /boot usage differences between Oracle Linux 8 systems that use different UEK kernel streams. On some hosts, the initramfs images are gzip-compressed, while others produce ...
1 vote
1 answer
418 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 ...
0 votes
0 answers
32 views
Linux boot on Verdin iMX8MP stops after “Freeing unused kernel memory” when booting via TFTP
I am experiencing a problem when booting Linux on the Verdin Dahlia Carrier Board, where the boot log only goes up to: ################################################################# ###########...
1 vote
1 answer
53 views
Alpine linux failed kernel upgrade and unresponsive keyboard in recovery shell
I tried to upgrade my alpine linux kernel version from linux-lts to linux-stable because support for a device I am installing was added in a newer kernel version. I changed the apk repositories from ...
1 vote
1 answer
76 views
Why is there a discrepancy between the stack address in /proc/PID/maps vs. /proc/PID/stat?
Why does there appear to be a discrepancy between a process stack address within /proc/PID/maps compared to the stack start address within /proc/PID/stat, where the latter is a smaller subset of the ...