What to Ask a Microkernel Vendor Before You Trust Its Recovery Story
A microkernel's isolation claim is only as good as what happens right after a user-space driver dies while holding a capability, a lock or a live DMA buffer. Vendors will show you proofs and partition diagrams. What you actually need is the recovery path, traced from fault detection to a restarted service that its clients can trust again. With little lab time, phrase every question so the answer either closes a risk or shows you one you will carry into integration.
Where exactly does the proof stop?
Ask for the precise configuration covered by formal verification, and diff it against the one you will ship. For kernels like seL4, the functional correctness proof applies to particular architectures, builds and modes, and multicore configurations and some platform ports have historically had narrower assurance than the single-core reference. Boot code, the board support package and the hypervisor extensions you might enable can all fall outside the verified boundary. The risk here is a safety argument that cites a proof your binary doesn't inherit, and an assessor will find that gap long before your vehicle program does. The proof also says nothing about how capabilities are distributed in your system, so a verified kernel running a badly partitioned root task gives you formally guaranteed enforcement of the wrong policy.
Who stops the DMA when a driver dies
This is the failure mode to push hardest on: a user-space network or storage driver crashes, the kernel revokes its capabilities and tears down its address space, and the device it programmed keeps writing into physical memory because nobody quiesced it. Address space isolation protects the CPU's view of memory, not the bus master's view. Ask the vendor to show you the SMMU stream mapping for each driver, confirm that every DMA-capable device is confined to that driver's own buffers, and walk you through the device reset sequence that runs before a restarted instance is allowed to touch the hardware. Then ask how clients holding shared memory buffers find out the server has gone away, because a client that keeps writing into a stale ring after the driver restarts corrupts state just as quietly as a runaway DMA engine. If the answer is that the integrator handles it, the vendor has not solved fault containment, only moved the problem to you.
The servers nobody restarts, and what a restart costs
Every microkernel system has components whose failure takes everything with it: the root task, the name or capability server, often the POSIX personality layer that gives you PSE52 compatibility, and a monolithic POSIX server is a single point of failure dressed up as a library. Ask which of these the vendor treats as restartable and which are trusted for the life of the system, because the trusted ones need the same assurance level as the kernel. For the restartable ones, the parameter that matters is worst-case recovery time in milliseconds, measured from fault detection through device reset, server restart and client session re-establishment, under load, on your SoC. As an estimate, a user-space driver restart on a typical automotive SoC lands in the low tens of milliseconds, and most of that goes to hardware reset, not kernel work. The decision rule: if detection latency plus measured worst-case recovery doesn't fit inside your fault tolerant time interval with margin to spare, restart is not a safety mechanism, so classify it as an availability feature and design an explicit degraded mode that holds the vehicle safe while recovery runs. While you're at it, ask whether scheduling budgets are enforced per component, since a restarted driver that babbles on reinitialisation can starve a critical partition without ever violating spatial isolation.
Finally, ask which functional safety standards for road vehicles, such as ISO 26262, the safety manual maps its assumptions of use to, and read every assumption that starts with the integrator shall as a recovery mechanism you have just agreed to design, verify and certify yourself.
Technical FAQ: Is a formally verified kernel enough to claim freedom from interference between partitions?
No. Verification shows the kernel enforces the isolation you configure. Freedom from interference also depends on DMA confinement through the SMMU, enforced temporal budgets, shared resources such as caches and interconnect, and the correctness of the capability distribution, and each of those has to be argued separately in the safety case.