Osegi
Software·1 min read

Kmorph: a second Linux kernel takes over after a kernel panic

Kmorph keeps a second Linux kernel ready. If the first one crashes, the spare takes over the system within seconds instead of forcing a full reboot.

A server rack with a terminal screen showing Linux kernel messages during a crash and recovery.
Image: iX Magazin

A Linux kernel panic usually means one thing: the machine goes down and you reboot it. Kmorph tries to skip that step. It keeps a second Linux kernel ready in the background, and when the running kernel crashes, the spare takes over the system within seconds.

That is the whole trick, and it is a neat one. A kernel panic is what happens when the core of the operating system hits an error it cannot recover from. Normally everything stops. With Kmorph, a stand-in is already waiting.

What is Kmorph good for besides crashes?

The same mechanism makes live updates possible. Instead of rebooting to run a new kernel, the system can hand over to a second one while it keeps running. For anyone who runs servers and dreads maintenance windows, that is an obvious attraction.

The details, such as how much state survives the switch, which hardware and distributions are supported, and how the project is licensed, are not covered in the material available so far, so they are left out here. Anyone planning to use it should check the project itself before trusting it with production machines.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:linuxkmorphkernellive updatekernel panic

More from this day

See all →

More in: Software

See all →