Tag Archives: kernel panics

Enforcing mode requested but no policy loaded. Halting now.

Here’s a pretty weird kernel panic that I came across the other day:

Enforcing mode requested but no policy loaded. Halting now.
Kernel panic - not syncing: Attempted to kill init!

This usually means that you’ve set SELINUX in enforcing mode within /etc/sysconfig/selinux or /etc/selinux/selinux.conf but you don’t have the appropriate SELINUX packages installed. To fix the issue, boot the server into the Red Hat rescue environment and disable SELINUX until you can install the proper packages that contain the SELINUX targeted configuration.

This kernel panic appeared on a Red Hat Enterprise Linux 4 Update 5 server.

Tagged , ,

Kernel Panic: Unable to find volume group “VolGroup00″; Kernel panic – not syncing: Attempted to kill init!

kernelpanic-missingdriver.png

Operating System:
Red Hat Enterprise Linux 4

What happened:
The kernel was upgraded and these messages appeared upon reboot.

Work done:
The modules for the RAID card had to be re-compiled and installed for the new kernel.

End result:
Once the drivers were installed, the server came up just fine after a reboot.

Tagged

Kernel Panic: Unexpected soft update inconsistency; run fsck manually

kernelpanic-bsdfs54.png

Operating System:
FreeBSD 5.4

What happened:
Server went unresponsive at the console and came up with the error upon power cycling.

Work done:
Ran a fsck from single user mode and then rebooted.

End result:
The fsck was successful and the server rebooted without an issue.

Tagged

EXT3-fs error: ext3_check_descriptors / group descriptors corrupted

kernelpanic-badfs.png

Operating System:
Red Hat Enterprise Linux 4 Update 5

What happened:
The server was abruptly powered down, disassembled, and re-assembled.

Work done:
Ran a fsck from the rescue environment and it eventually completed (after much corruption was found), but the server would not boot properly.

End result:
The damage to the filesystem could not be adequately repaired as the errors were very extensive. The RAID array had to be rebuilt and a new OS was installed.

Tagged ,

Kernel panic: No init found. Try passing init= option to kernel

kernelpanic-noinit.png

Operating System:
Red Hat Enterprise Linux 2.1

What happened:
The server was powered down gracefully, moved to a new rack, and then powered on.

Work done:
Ran a fsck from the rescue environment and it eventually completed, but the server would not boot properly.

End result:
The hard drive was in the process of failing, so it was replaced and the operating system was installed onto the new disk. The old disk was stable enough to be mounted read-only, and much of the data was salvaged.

Tagged