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,703 questions
0votes
0answers
7views
disabling I8042 driver completely
"i8042 is still probing even though I disabled CONFIG_SERIO_I8042. Does it have dependent configurations? Even after passing kernel command-line arguments: i8042.nopnp i8042.noaux , I still see ...
0votes
2answers
28views
how do I find the current i2c bus speed?
I am building custom game controllers on Linux that use the i2c bus present in video ports such as HDMI, dvi, and VGA, on standard PC hardware (x86_64). I would like to verify my current i2c bus speed ...
2votes
1answer
39views
Is it possible that multiple network interface (net_device) tied to a single physical adapter
I am new to the Linux kernel. Recently, I read some articles about Linux "network interface", understanding that it is a logical abstraction layer of the underlying physical adapter (NIC), ...
1vote
0answers
19views
Load new version of non-removable running kernel module
I have an embedded Linux device (Ubiquiti EdgeRouter-X, see this thread for more detail) for which I cross-compiled the kernel module nf_conntrack.ko (part of netfilter) to support a protocol that was ...
0votes
0answers
34views
I am having BTRFS error. Does not know what it is?
I am using Parrot OS and doing just regular stuff (web surfing etc) and encounter this error. It is a File system error but could not figure out what this mean and how to resolve it. This is my first ...
1vote
1answer
28views
How to debug the Linux kernel or device driver if the motherboard has no serial port?
I am used to debug Linux device driver through the serial port on the motherboard to see the real-time message before the system hang. But now I have a brand-new server board, MSI MPG Z890 CARBON WIFI,...
2votes
1answer
91views
What is a parked thread in Linux kernel?
What is a parked thread in the context of Linux kernel? I mean a thread that is in TASK_PARKED state? How this state differs from TASK_INTERRUPTIBLE and TASK_UNINTERRUPTIBLE? From which state a thread ...
0votes
0answers
12views
hugepages allocated via mmap not being freed up by Kernel even after unmounting hugetlbfs filesystem (OL9/UEK7)
We have an c++ application that allocates and uses hugepages memory (via Jemalloc hooks). Chunk (2MB) allocation happens via mmap with protection flags PROT_READ | PROT_WRITE and flags MAP_SHARED | ...
0votes
0answers
13views
CPU affinity not following cpuset
When I run taskset -p <pid> of a process I am getting something like this back: # taskset -p 1078 pid 1078's current affinity mask: 3f And it keeps changing what it reports, sometimes it's 5f, ...
1vote
1answer
29views
What does "BTRFS warning (device nvme0n1p7): devid 1 physical 0 len 4194304 inside the reserved space" mean?
On mount, I see the following warning in dmesg: [ 0.913159] BTRFS warning (device nvme0n1p7): devid 1 physical 0 len 4194304 inside the reserved space More log context: [ 0.909896] BTRFS: ...
0votes
0answers
28views
Kernel APIs to disable/enable CPU cores within a driver module
I have a linux kernel version 6.8.0-57-generic (Ubuntu Jammy). I want try disabling and enabling the cores in the CPU through the linux kernel module (from kernel space) What is the right way to do ...
0votes
1answer
23views
Unable to Mitigate GDS (gather_data_sampling) using Fedora 41, 40 Intel HP
I was using Fedora 40 and upgraded the system to Fedora 41 still getting this from my cpu information $ cat /sys/devices/system/cpu/vulnerabilities/gather_data_sampling Vulnerable: No microcode The ...
0votes
0answers
21views
Limit length of a scatterlist entry produced by dma_map_sg
The documentation for DMA in Linux kernel states: The implementation [of dma_map_sg] is free to merge several consecutive sglist entries into one (e.g. with an IOMMU, or if several pages just happen ...
0votes
2answers
93views
What is `BLKSECDISCARD`?
I've been trying to get a "clean" f2fs format on a WD SSD drive. But there is something that bugs me, and I cannot seem to find any specific details on it. When I format the SSD with f2fs: $ ...
0votes
1answer
82views
Debian | can't install linux-headers-6.12.12+bpo-amd64; function “strlcpy” is unknown
I'm a Debian 12 derivative and I'm trying to install Nvidia drivers. To do so, I needed to install linux-headers and dependencies: First, I've checked my kernel info, uname -r 6.12.12+bpo-amd64 After ...