29,776 questions with no answers
0
votes
0
answers
20
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 ...
3
votes
0
answers
71
views
How do I assign slurm job name containing both parent and child script names in nested slurm scripts?
I am running a program that consists of a parent script (run.sh) submitted to slurm that submits child scripts (step1.sh, step2.sh, etc.). I need to run the parent script for each of several years, so ...
0
votes
0
answers
48
views
Problem installing the Hyphen package in Quarto / R Studio
I'm using Quarto 1.6.42 in R Studio (R 4.5.2) on a Linux Ubuntu 24.04 environment to generate a PDF document.
When I try to render the document to generate the PDF file, I receive the error message ...
0
votes
0
answers
23
views
buildroot foces adding hash file in BR2_GLOBAL_PATCH_DIR?
I'm using buildroot 2024.02.
I set BR2_GLOBAL_PATCH_DIR+="$(BR2_EXTERNAL_MY_PATH)/patches". Its contents:
% tree /home/admin/buildroot-external-my/patches
/home/admin/buildroot-external-my/...
1
vote
0
answers
36
views
How do I disable blink-and-insert upon entering closing bracket in mg editor c-mode?
I use the mg MicroGNUEmacs editor, a small emacs clone, and encountered a problem upon using c-mode. Whenever I type "}", ")", or "]", the cursor is taken to the matching ...
1
vote
0
answers
136
views
Bash script returning whole array instead of single element
I wanted to make a CLI tool that will display a random quote (from a list of .sh scripts which show ANSI art along with said quote) and also let you filter by author.
It works fine when I pick an ...
0
votes
0
answers
53
views
PostgreSQL Docker Container Permission Issues with NFS Mount and Domain User
Problem Summary
I'm experiencing permission issues when deploying a PostgreSQL 9.6 container in Docker Swarm that uses an NFS-mounted volume for data storage. The container fails to start with the ...
0
votes
0
answers
132
views
Parse string with comma to double on Linux
I want to show double numbers with "," as decimal separator and have to convert strings to double considering the same issue. I do this using the intl package.
Get Locale: String myLocale = ...
2
votes
0
answers
75
views
Python when sounddevice.PortAudioError: Error opening InputStream: Invalid sample rate [PaErrorCode -9997]
I am currently building a voice AI agent using LiveKit. My current code base is from LiveKit.
from dotenv import load_dotenv
from livekit import agents
from livekit.agents import AgentSession, Agent, ...
1
vote
0
answers
88
views
Is there a way to clear a line-wrapped text in a GNU Readline prompt?
I have been writing a simple REPL application in C. One of the required features was syntax highlighting so I wrote my own rl_redisplay function that allows me to highlight the test using ANSI escape ...
3
votes
0
answers
175
views
What is causing multi single-Byte access to packed Bit-field on GCC as opposed to single double word access on Clang?
While investigating some spurious tests in a x86-64Bit Yocto-based Linux system, that there were multi Byte writes to a register of a PCIe card, instead of an expected single double word write.
A ...
0
votes
0
answers
78
views
build kernel-6.6 for riscv met "undefined reference to __efistub_efi_zboot_entry" issue
I was building kernel6.6(source from openkylin2.0 a down stream distibution of debian) on riscv platform, I met an issue while build with command dpkg-buildpackage -us -uc, part of the build log is as ...
1
vote
0
answers
124
views
Optimizing file locking for 1000+ concurrent NFS users: What is the best practice?
I'm developing a bash script for a project involving NFS (specifically NFS3 and NFS4), aimed at managing critical sections. The script must efficiently handle over a thousand concurrent processes ...
0
votes
0
answers
291
views
Bind a new terminal to a 'rich' console
I'm using the rich library for formatting a live console window in Linux to show the progress of some tasks.
I want to start a new terminal from within Python, and provide that context to rich somehow,...
0
votes
0
answers
86
views
BSD UDP: When do socket descriptors become invalid due to OS intervention?
I'm working with Linux UDP sockets and need to identify scenarios where socket descriptors become invalid due to OS intervention rather than application errors, i.e. where the application can get ...
1
vote
0
answers
40
views
Lnav format can't find the warning lines
Hello I have a log like this:
Aug 18, 2025 9:33:43 PM 161ms ++++++++ Important process trimtables terminated with exit value 143.
Aug 18, 2025 9:33:43 PM 161ms ++++++++ Important process SmsGateway1 ...
1
vote
0
answers
100
views
Segfault while appending args to DBus Message
I am trying to learn dbus programming from BLE linux guide. Because most of the example code in guide is written in python, I am trying to mimick same examples in c and libdbus. This is my small ...
0
votes
0
answers
184
views
AMMYY router don't start on Oracle linux 7.9
community! :)
When I try start binary ammyy_router on Oracle linux 7.9, that hosted on Oracle cloud free tier, I get following error:
-bash: ./ammyy_router: cannot execute binary file
without any ...
1
vote
0
answers
117
views
Enable GSO on Ubuntu 22.04 LTS
I’m working with a Linux TUN device (MTU 65535) where I write jumbo TCP packets (10KB+), and my goal is for the kernel (via software GSO) or the NIC (via TSO if available) to segment them into MTU-...
0
votes
0
answers
43
views
mplayer make error with " fatal error: alsa/asoundlib.h: No such file or directory"
When I try to make the mplayer on the ubuntu, the following error is occurred.
libao2/ao_alsa.c:38:10: fatal error: alsa/asoundlib.h: No such file or directory
#include <alsa/asoundlib.h>
I ...
0
votes
0
answers
60
views
USB Driver [usb_bulk_msg]
When I was writing a USB driver, I used the usb_bulk_msg function to send data. When I used an array created with stack space, I could only send data under 8 bytes. If I sent more than 8 bytes, the ...
1
vote
0
answers
162
views
Control CPU P states programmatically in Linux?
Is it possible to control the CPU P-states programmatically on Linux from userspace?
For example an app wants to ensure the CPU is running at its highest performance capability, there's no power-...
1
vote
0
answers
81
views
How to move Gtk::Window position after program is executed under gtkmm4
Glib::RefPtr< Gdk::Display > display = Gdk::Display::get_default() ;
if( nullptr == display )
{
return ;
}
Gdk::Rectangle geo ;
Glib::RefPtr< Gio::ListModel > monitors = display->...
1
vote
0
answers
76
views
pr_info print inside __pollwake triggers kernel panic
I have the following code to track what process wake up which process in __pollwake
linux kernel 6.6.6x
/fs/select.c:
static int __pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *...
2
votes
0
answers
1k
views
How to reserve a RAM area to store some warm-reset-proof data?
I have a board with ppc405, 128M RAM populated and booting with u-boot + linux 2.6.10 kernel. For some reason, I need to make sure some data can survive after warm-reset. As far as I know, u-boot have ...