Linux – When soft rebooting the Linux kernel gets stuck in “Uncompressing Linux… done, booting the kernel”

When soft rebooting the Linux kernel gets stuck in “Uncompressing Linux… done, booting the kernel”… here is a solution to the problem.

When soft rebooting the Linux kernel gets stuck in “Uncompressing Linux… done, booting the kernel”

I’m using Linux kernel 3.0.21 on my custom hardware.

  • When I first boot the hardware, it boots successfully.

  • If I shut down properly and start the hardware again, it boots successfully.

But once the system starts running, reboots the kernel and hangs when I enter the reboot command

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

I

don’t know why I’m having this issue every time I soft reboot. To avoid this, I need a hard reset (power off and on again).

Why am I experiencing this issue?
Are there any cleanup features missing from the kernel?
How do I debug this issue?

Related Problems and Solutions