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,739 questions
0
votes
1
answer
30
views
Linux: how to enable second (external) monitor during early boot (initramfs)?
How do make newer kernel's (e.g. 6.14) initrd (aka initramfs, aka early user space) to recognize my external monitor(s) and duplicate output there like kernel 5.15 do?
The acceptable solution might be ...
1
vote
1
answer
34
views
File open(2) time complexity with many mounts
A modern system with snapd installed can reach 50+ mounts in the initial namespace. Old Unix systems' userspaces were efficient and only had a few mounts. In contrast, Docker uses namespaces so doesn'...
0
votes
1
answer
46
views
Why Ubuntu general kernel is times smaller than mainline?
https://wiki.ubuntu.com/Kernel/FAQ
The official version of an Ubuntu kernel tells you a number of things, including the base upstream version, the current Ubuntu ABI identifier and the kernel flavour....
2
votes
0
answers
79
views
Linux hangs on IO operations
Since several days now, my Linux desktop (Fedora Linux 43 Workstation) has occasional IO "hangs". So far I noticed
Playing MP3s from an NFS filemount
Writing to the local filesystem (e.g. ...
1
vote
1
answer
60
views
How to exit from kernel soft lockup? (terminate 100% CPU user task - sensors)
I've noted my other laptop on same Linux Mint based distro went to unresponsiveness and loud fan noise several times in recent weeks.
As I use basically same software I suspect some hardware issues (e....
0
votes
0
answers
35
views
Why does defining the macro CONFIG_USB_EHCI_TT_NEWSCHED make my USB connection non-functional?
I'm using an Android tablet,
Samsung Galaxy Tab A 8 (2017) (T380)
Kernel: 3.18.120
to communicate with a peripheral using USB OTG in isochronous mode. All data transfers in this mode were failing ...
0
votes
0
answers
23
views
Can `set_cpus_allowed_ptr` be called BEFORE starting a kernel thread?
Can the function set_cpus_allowed_ptr can be called on a kthread right after kthread_create_on_node'ing it, but before waking it up via wake_up_process?
Context: trying to solve this problem. Long ...
0
votes
0
answers
46
views
kdump: cannot allocate memory in init process
I am using a Debian-based OS and testing kdump and crash on a Linux kernel version 6.12 (preinstalled).
So I am doing: sudo apt install kdump crash, in /etc/default/grub.d/kdump-tools.cfg setting ...
2
votes
1
answer
271
views
How to fix /bin/sh: can't access tty; job control turned off .I am building minimal linux os
I am building a minimal Linux OS from scratch using:
Vanilla Linux kernel (x86_64)
initramfs-based root filesystem
Static BusyBox
QEMU
Serial console only (ttyS0)
No systemd, no getty, no ...
0
votes
0
answers
45
views
Trigger panic on slab allocation failure
A virtualized system has 1 GiB memory and plenty of swap. However, likely due to a large number of open connections that must be tracked, the slab memory pressure is quite high:
[46464.851427] 32262 ...
0
votes
1
answer
51
views
Can I check Linux kernel source for laptop model-specific compatibility?
I'm going to buy a new laptop from online shop.
And I'd like to have an idea about issues before booting a LIVE USB, the only way to prove compatibility.
There is a plethora of models but both vendors ...
6
votes
0
answers
128
views
Strange Console Screen Seen Just Before Login Screen Appears During Boot Up
Debian Bullseye. Kernel: 5.10.0-37-amd64
Immediately after updating from Kernel 5.10.0-36-amd64, the following console screen started appearing immediately before the login screen during boot up:
As ...
1
vote
1
answer
185
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
546
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
54
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?...