SchOS/cmd
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz d437e42b49 LDLS: every MDIO read was RFLAGS; ACPI: an Embedded Controller
On the TUF A15 Linux's r8169 found its PHY and read its ID as 0x02460246.
mdio-bus keeps the register it has just read in r11 across
preempt_enable(), which on x86 is `decl %gs:__preempt_count; je` to a
call that preserves every register. LDLS gave __preempt_count zeroes, so
the count reached zero and the call was made -- to a logging stub,
whose syscall left RFLAGS (0x246) in r11. __preempt_count now starts at
PREEMPT_ENABLED (x86 keeps NEED_RESCHED inverted), and preempt_schedule
and its notrace twin are a bare ret.

The same laptop reported its battery full and on AC, unplugged. The EC
owns both, and with no EmbeddedControl handler _REG never told the
firmware the EC was usable, so _BST and _PSR answered their fallbacks.
The EC is found by PNP0C09 or the ECDT and served by the ACPI 12.3
byte protocol, installed before _INI. SCI queries are not handled yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 15:11:36 +01:00
..
chvt Demand paging, the RTL8168H, links that come up late, and Ctrl+Alt+F1..F12 2026-10-25 11:27:48 +01:00
dynhello exec, mmap, musl: dynamic linking 2026-10-24 10:59:52 +02:00
evtest epoll, eventfd, timerfd, signalfd 2026-10-24 10:59:52 +02:00
fbinfo include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
httpd include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
hwreport include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
inputtest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
ldlsd LDLS: every MDIO read was RFLAGS; ACPI: an Embedded Controller 2026-10-25 15:11:36 +01:00
loadkeys include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
locktest flock, fcntl record locks 2026-10-24 12:22:36 +02:00
memfdtest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
netecho include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
nettest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
pcitest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
ping include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
reflink include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
resolvconf bug pass: whole console lines, a quiet SCI, an honest reserve warning 2026-10-23 16:03:33 +02:00
schattr include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
schdbg include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
schdbgd include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
schinit build: an apk-managed root, with SchOS as a package 2026-10-24 15:28:32 +02:00
schinitd bug pass: whole console lines, a quiet SCI, an honest reserve warning 2026-10-23 16:03:33 +02:00
schmode include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
shmtest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
sigtest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
socktest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
tone include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
vgpud bug pass: whole console lines, a quiet SCI, an honest reserve warning 2026-10-23 16:03:33 +02:00
xready input, fb, vt, sysfs: the kernel calls Xorg makes 2026-10-24 12:06:04 +02:00