linux
Tags: computers
- Currently Linux plumber and hobbiest occupy two different workds
- Desktop linux and DevOps middleware are paid employees, vs poeple who use suckless softawre, musl-based distros
Crashes
- Breakpad and Crashpad from google allow for dump tracing
- https://www.instapaper.com/read/1524786035
- Linux uses signals to register SIGABRT/BUS/etc
- By default, signal handlers are called on the same stack where the crash occured, which is fine for most cases execpt a stack overflow
- Apple computers use Mach exceptions: https://flylib.com/books/en/3.126.1.109/1/
- https://developer.apple.com/library/archive/documentation/Darwin/Conceptual/KernelProgramming/Mach/Mach.html
- https://docs.darlinghq.org/internals/macos-specifics/mach-ports.html
Tracing
Debian
perf
performance issues
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911815
- when not linked against libbfd,
perf
calls out toaddr2line
for every address lookup, which is infeasible - possible solution: https://michcioperz.com/post/slow-perf-script/
- patches: https://lore.kernel.org/linux-perf-users/[email protected]/
- when not linked against libbfd,
Linux Audio
- Pipewire: http://pipewire.org
- provides low latency, graph based processing for audio
LD_PRELOAD and LD_LIBRARY_PATH
- Different usages on os x, uses
DYLD_LIBRARY_PATH
andDYLD_FALLBACK_LIBRARY_PATH
Linux Kernel Headers
Cellular Modems
- https://forums.lenovo.com/t5/Ubuntu/P14s-Gen-3-Ubuntu-22-Fibocom-L860-GL-not-working/m-p/5177047?page=4#5967453
- https://forums.lenovo.com/t5/Fedora/Fedora-on-X1-Extreme-Gen-3-WWAN-Fibocom-L860-GL-4G-LTE-Advanced-Cat-16-not-working/m-p/5044699?page=7
- https://support.lenovo.com/us/en/solutions/pd031426
io_uring
Huge Pages
-https://www.evanjones.ca/hugepages-are-a-good-idea.html