---
title: "A disappearing Service Processor"
description: "Oxide's Cosmo sled Service Processor (an STM32H7 Cortex-M7 running Hubris) intermittently dropped off the network and hung so hard a debug probe couldn't halt it."
url: "https://swe.quest/articles/a-disappearing-service-processor-a469beb073a3e15f"
canonical: "https://oxide.computer/blog/cosmo-sp"
source: "Oxide"
published: "2025-12-11"
difficulty: "hard"
kind: "Article"
reading_minutes: 8
tags: ["debugging","hardware","operating-systems","rust"]
---

# A disappearing Service Processor

A post on [Oxide](https://swe.quest/sources/oxide.md), published 2025-12-11, 8 min read, Article. Original: [https://oxide.computer/blog/cosmo-sp](https://oxide.computer/blog/cosmo-sp)

## Summary

Oxide's Cosmo sled Service Processor (an STM32H7 Cortex-M7 running Hubris) intermittently dropped off the network and hung so hard a debug probe couldn't halt it. The root cause was mismatched memory attributes. Unprivileged tasks mapped the FPGA's FMC bus as uncached device memory via the MPU, but the privileged kernel's default ARM memory map treated that address as Normal Cached. An interrupt landing during a buffered store could then produce cache write-backs with unexpected access sizes, which hung the 32-bit-only FPGA bus. A measured-boot reset loop cut reproduction time from 24+ hours to about 10-20 minutes, and moving the FMC base address into a default device/uncached region of the address space fixed the issue.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Debugging](https://swe.quest/tags/debugging.md) (Engineering practices)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)
- [Operating systems](https://swe.quest/tags/operating-systems.md) (Infrastructure)
- [Rust](https://swe.quest/tags/rust.md) (Languages)

## Prerequisites

- ARM Cortex-M memory model
- MPU and caches
- embedded firmware debugging ([easy posts on Debugging](https://swe.quest/tags/debugging.md?difficulty=easy))

## Keywords

Hubris, STM32H7, Cortex-M7, FMC, MPU, ARMv7-M, Cosmo, SWD

## Related posts

- [The case of the vanishing CPU: A Linux kernel debugging story](https://swe.quest/articles/the-case-of-the-vanishing-cpu-a-linux-kernel-debugging-story-3db1aa1b81ec8319.md): ClickHouse · 2025-03-05 · Hard · 32 min read · Linux, Memory management, Debugging, Performance engineering, Incidents & postmortems
  Intermittent, indefinite CPU saturation of ClickHouse Cloud pods, seen only on GCP, turned out to be a Linux kernel memory-management livelock.
- [Porting the Solana eBPF JIT compiler to ARM64](https://swe.quest/articles/porting-the-solana-ebpf-jit-compiler-to-arm64-2640f585a04d44ad.md): Trail of Bits · 2022-10-12 · Hard · 11 min read · Compilers, Runtimes & VMs, Rust, Sandboxing & isolation, Memory safety
  Solana's RBPF JIT compiler, which translates eBPF smart contracts to native code on validators, was ported from x86-only to ARM64, and its x86 backend gained Windows support.
- [Hubris and Humility](https://swe.quest/articles/hubris-and-humility-01edbfe788b2cbec.md): Oxide · 2021-11-30 · Easy · 4 min read · Operating systems, Rust, Hardware, Open source, Debugging
  Hubris is an all-Rust, microkernel-based embedded operating system for Oxide's root of trust and service processors, now open sourced alongside its companion debugger, Humility.
- [A Gap in the TrustZone Preset Settings for the LPC55S69](https://swe.quest/articles/a-gap-in-the-trustzone-preset-settings-for-the-lpc55s69-5b53310600e62793.md): Oxide · 2023-11-20 · Hard · 10 min read · Vulnerability research, Hardware, Security
  The LPC55S69's ROM applies TrustZone preset register data roughly in struct order, switching VTOR to the user vector table first.
- [A Higgs-bugson in the Linux Kernel](https://swe.quest/articles/a-higgs-bugson-in-the-linux-kernel-ee1594bf1b749860.md): Jane Street Tech Blog · 2025-07-02 · Hard · 11 min read · Debugging, Linux, Storage systems, Identity & auth, Networking
  Rare EACCES failures during large file copies over Kerberized NFSv3 came from a Linux kernel bug in RPCSEC\_GSS reply verification.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
