Skip to main content

All Questions

Tagged with
0 votes
1 answer
26 views

Distinguish between configs and logs/debugs/statistics within sysfs (/sys)

sysfs is a feature of the Linux kernel that allows kernel code to export information to user processes via an in-memory filesystem. The organization of the filesystem directory hierarchy is strict, ...
Kenzo's user avatar
  • 3
0 votes
0 answers
25 views

does `make localmodconfig` take built-in drivers in to account

I am trying to build a minimal kernel for my VM for learning purposes. I found the option make localyesconfig for the linux kernel, which, according to the docs only enables the modules from the ...
Baruch's user avatar
  • 113
1 vote
0 answers
53 views

sysfs missing CPU thermal_throttle information

Background Information: I'm running Ubuntu 24.04.1 LTS (Noble Numbat, kernel 6.8.0-51-generic) on an AMD Ryzen 9 7950X3D, and I'm investigating some odd behavior where the CPU governor/driver will ...
JimXugle's user avatar
0 votes
1 answer
24 views

Collecting memory-intensive data across different machines

I have an EC2 instance that I am using to subscribe to live data. I want to collect the data from several feeds and store it into a postgres database. On average, I get around 10000 updates every 15 ...
Joey's user avatar
  • 107
1 vote
1 answer
56 views

Hit a strange signal settings of a kernel thread in Linux

I am working on an embedded Linux system (kernel-5.10.24), and using busybox as init. Now I hit a strange problem about signal settings of a kernel thread in system. The kernel thread is from a device ...
wangt13's user avatar
  • 591
0 votes
1 answer
33 views

Obtaining information about kernel functions in system log entries

I’m currently investigating some entries in my system logs but haven’t been able to find much information through Google. I’ve also downloaded the kernel source code and tried searching for the ...
supmethods's user avatar
6 votes
2 answers
913 views

Writing file content directly to user space

When reading the content of a file using a syscall like read, why does the kernel first copy it to a kernel buffer and then to user space, instead of directly copying it to user space? I understand ...
yellowspectre's user avatar
0 votes
0 answers
46 views

Why is call trace empty (not shown) in the Linux kernel log?

I've seen few kernel threads being busy on CPU, while there was clearly no work for the driver those threads were spawned by. To learn more about this weird finding, I ran SysRQ+l (backtrace all ...
melonfsck - she her's user avatar
0 votes
0 answers
44 views

Creating a call graph for page table functionaility with Linux?

I have been trying to understand page table functionality within Linux (very recent version 6) and I am having trouble. I've identified functions like pgd_alloc(), pmd_alloc() and pte_alloc(), as well ...
watchy's user avatar
  • 71
0 votes
0 answers
30 views

How to traverse the pgd variable from mm_struct?

I'm using a barebones setup of Linux 6 with busybox. All I wanted to do was simply traverse thru the PGD table, then into PMD table, and then in PTE table for the current process. I've set a ...
watchy's user avatar
  • 71
0 votes
0 answers
96 views

Linux kernel is not booting up from uboot on x86_64 qemu

I have built uboot and linux for qemu-x86_64 and I am booting u-boot.rom and then try to boot linux from there, but I think cpu resets when I execute zboot command and uboot starts again. Here is my ...
Mikhail's user avatar
  • 11
1 vote
0 answers
41 views

Radix Tree vs Multi-level bitmap

The Linux kernel (at least before using XArrays as far as I'm aware, which to my knowledge are wrappers around Radix Trees anyway) uses radix trees in its address_space structs which every file has. ...
Mike's user avatar
  • 11
0 votes
0 answers
146 views

ERROR in file_io_posix.cc, trying to locate scaling_cur_freq and scaling_max_freq and couldn't find it

I'm trying to execute a container based on Ubuntu 20.04 and some additional dependencies. It ended up in an error where the project (something external) is looking for files/programs, as shown below. ...
V B's user avatar
  • 1
0 votes
0 answers
38 views

How can pass to rmii from mii in ethernet chip?

I use ksz8081mnx mii ethernet chip.I made my ethernet configuration and it is succesful. I changed my ethernet chip with ksz8081rnb rmii.I organised dts file but my ethernet not working. sama5d2.dtsi ...
Ertugrul Sahin's user avatar
1 vote
0 answers
119 views

Ubuntu and Debian hard freeze, has display but no mouse and keyboard

I bought 2 rugged fanless embedded computers that appeared to be quite robust with name brand extended temperature components, vibration dampening, etc. I installed Ubuntu 24.04.1 and my desktop ...
CraftyMyner's user avatar

15 30 50 per page
1
2 3 4 5
76