From 2ade335e3c7433cf5eadd25dc17ea882c51b2a06 Mon Sep 17 00:00:00 2001 From: Red Bear OS Date: Fri, 10 Jul 2026 16:22:14 +0300 Subject: [PATCH] init: add debug eprintln at startup to locate panic site --- init/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/src/main.rs b/init/src/main.rs index e50b3f4913..40591d8647 100644 --- a/init/src/main.rs +++ b/init/src/main.rs @@ -113,9 +113,11 @@ fn switch_root(unit_store: &mut UnitStore, config: &mut InitConfig, prefix: &Pat } fn main() { + eprintln!("INIT: main() entered"); let mut init_config = InitConfig::new(); let mut unit_store = UnitStore::new(); let mut scheduler = Scheduler::new(); + eprintln!("INIT: about to switch_root (initfs)"); switch_root( &mut unit_store,