1. Compatibility Is a Matter of Survival for an Operating System, Not a Nice-to-Have
Throughout history, every “better kernel” has died on compatibility: Plan 9 died gracefully, GNU Hurd has failed to mature over three decades, and BeOS—despite its technical edge—was crushed by Windows’ application ecosystem. The lesson is always the same: users don’t switch kernels; what they switch to is simply “more hassle.” Any new OS must answer this question: can my existing software, existing hardware, and existing operational experience be migrated over smoothly?
FuzigOS’s answer is not “rewrite everything”, but two compatibility tracks + one fallback.
II. Track 1: L2 Linux Compatibility Layer — Software Compatibility
Design: Implement the Linux syscall compatibility layer in user space (230 handlers dispatched via a whitelist, with #[cfg(feature = "linux_compat")] conditional compilation); Linux binaries are loaded unmodified, and syscalls are intercepted and translated into microkernel service calls.
Measured progress (honest methodology):
- ✅ BusyBox sh running in Ring 3 (shell + common utilities)
- ✅ Static musl programs (the complexity path from hello up to redis-server level has been paved)
- 🔄 Dynamic musl binaries — under active development (R74→R286+, 200+ archived rounds: RELR infinite loop, AT_PHDR/AT_BASE auxv, interp TLB stale entries, PML4[0-3] residue — resolved one by one; this is the current P0). The redis PING→PONG full round-trip has been verified (R609u, KVM 3/3 passed)
- nginx live-fire progress: musl dynamic build of 1.26.3 (PIE + libpcre2/libz dependency tree) → M1 cross-compilation artifact → M2 dynamic linker loads it to entry (real load addresses of libz/libpcre2 measured) → M3 master ready under active work (a batch of real gaps fixed: dup2/socketpair/fcntl)
- Known gaps: 18 stubs (chown/namespace/swap, etc.), all gaps annotated
- Compatibility layer depth metrics: 230 registered handlers (L1 16 + L2 dispatch table with 400 slots); 5 filesystems (EXT4 read-only / exFAT read-write / FAT32 / FuzigFS / tmpfs, unified under the FsDriver trait); network stack at 5,387 lines (TCP/UDP/DHCP/DNS/epoll/IPv6 link-local)
Why this path is the right one: Industry trends corroborate it — Linux 7.0 (2026-04) made Rust support official, and uutils (a Rust rewrite of coreutils) has 23.8K stars; meanwhile, Asterinas, pursuing the isomorphic route, has already tested Nginx/Redis/SQLite in practice. Linux ABI compatibility = directly inheriting the 30-year software ecosystem. This is already the consensus strategy in the microkernel camp; the disagreement lies only in implementation depth.
3. Track 2: L1 Linux Driver Domain — Hardware Compatibility
Design: A Type-1 Hypervisor (12,385 lines of Rust, as measured) runs a Linux VM as the driver domain — the Linux driver ecosystem is “borrowed” wholesale, and the FuzigOS kernel doesn’t need to write a single line of driver code. Key mechanisms (kernel/src/l1/kvm/):
- EPT second-level address translation (4-level page tables, 4KB/2MB/1GB huge pages, MMIO tracking, VPID) — hardware-level translation of guest physical addresses to host physical addresses;
- virtio/vfio device model + driver assignment policy (driver_assign) — which device goes to which domain, with an auditable policy.
Why this path is the right one: This is the lineage that Xen/Qubes/L4Linux have validated over 20 years — Qubes OS used Xen driver domains to underpin its secure desktop, and Fuchsia leans on Starnix for Android compatibility. Not a single successful new OS has rewritten all of its drivers. Where FuzigOS differs: others use Linux as the hypervisor host, while FuzigOS itself is a Type-1 hypervisor — a driver domain crash doesn’t kill the microkernel, and a VM restart restores it.
Dual-tool architecture: Cell (native microkernel isolation, fast path, 86% load target) + Linux VM (driver domain + fallback) — whatever should run in Cell runs in Cell, whatever should run in Linux runs in Linux, and nothing is forced.
4. glibc’s answer: don’t go native, go VM
glibc compatibility is the eternal question for every self-developed kernel. FuzigOS’s decision (docs/docs-autoclaw/GLIBC-ABI-STRATEGY-20260916.md):
- In the native domain, musl is home: narrow but deep, with heap geometry, TLS, and the dynamic linker all natively adapted;
- Full glibc at the whole-machine layer: inside the L1 Linux VM, glibc is provided by true Linux — zero compatibility tax;
- The native glibc interpreter is decided by three triggers (paid POC stuck + team ≥6 people + low-memory SKU; it starts only when all three hit); a parallel glibc branch is explicitly ruled out — to avoid bearing the full P1 cost and then paying the merge debt.
5. Honest comparison: compatibility depth currently lags behind Asterinas
| Dimension | Starry | FuzigOS | Gap assessment |
|---|---|---|---|
| syscall coverage | 210+ syscalls | 230 handlers (including 18 stubs) | Comparable in count, behind in measured depth |
| Real-world application testing | Nginx/Redis/SQLite tested in practice (Redis 1.31× Linux) | redis-server dynamic loading under active development | Starry leads by roughly 6–12 months |
| Test cases | 275 compatibility test cases | Dedicated compatibility test suite under construction | Starry leads |
| Driver approach | Directly written drivers (IOMMU isolation) | Linux driver domain (VM boundary) | Different routes, each with its own cost |
This is a pair of facts that must be presented together: compatibility depth currently lags behind, but the compatibility approach covers broader ground (Asterinas has no Type-1 virtualization, while FuzigOS does; directly written drivers can never catch up with the long tail of hardware, whereas the driver-domain approach inherits the full set by nature).
6. Roadmap for the Compatibility Part
| Phase | Goal | Dependency |
|---|---|---|
| Q4 2026 | Full pass on dynamic musl (redis-server runs stably for 24h) | ldso relocation + SL-71 closeout |
| Q1 2027 | Writable rootfs + SQLite/Nginx added to the compatibility test suite | EXT4 read/write |
| Q1 2027 | Compatibility test cases aligned with Asterinas’ 275-item methodology | — |
| 2027 | Complete the RISC-V 64 skeleton (driver domain first) | Boards in hand |
Conclusion
FuzigOS does not ask the world to change for it—software goes through the compatibility layer, hardware goes through the driver domain, and existing operational experience goes through the dual-tool system. “Not rewriting the world” is not a compromise; it is the only approach ever proven correct in the history of operating systems.
Honesty Statement (Must Read)
- Unified methodology for Redis-related statements: the dynamically linked musl redis-server PING→PONG round trip has been verified (R609u), while the SL-71 stability issue remains open; the official website’s statement that “Redis 6379 runs directly” refers to staged verification of port listening and basic service, and does not imply production readiness. 1.5 nginx is in the critical push toward M3 (master ready) — M1/M2 have been verified by actual testing (cross-compilation + dynamic loading into entry); a real HTTP response (M4) has not been achieved; the statement “nginx can run” is subject to the launch milestone.
- EXT4 is currently read-only (tmpfs is writable); a writable rootfs is a pending ADR decision item.
- Asterinas data comes from its official releases/papers (Redis 1.31× Linux is their published figure); FuzigOS has no comparison with it under identical environments.
- The 230/210+ handler/syscall counts follow different methodologies (the handler count includes stubs and aggregated items); the numeric comparison is for illustration only.
- Roadmap dates are plans, not commitments.