Fog Creek Software
Discussion Board




What is kernel panic?

Someone mentioned kernel panic in another thread.  What is it exactly?  Does the kernel get scared and run away?  Where did the term come from?

Scrub
Wednesday, July 14, 2004

Yes, the kernel gets scared and runs away.

Corn Kernel
Wednesday, July 14, 2004

Actually it's Colonel Panic.  He fights crime with General Apathy.

muppet
Wednesday, July 14, 2004

...and tries to head off Major Disaster.

Steve Jones (UK)
Wednesday, July 14, 2004

I got it from some linux site and I understood as a situation where the kernel doesn't know what to do in unknown/un-foreseen situations (BSOD).

somedude
Wednesday, July 14, 2004

I thought it was an old term for a crash of Unix itself.

Bored Bystander
Wednesday, July 14, 2004

The exception handler throws an exception?

Dave
Wednesday, July 14, 2004

If an application does something that results in an error, the offending process gets killed and the kernel recovers.

If the kernel itself (or device drivers within the kernel space) does something bad, the kernel might run into an unrecoverable error and crash.

Kernel panic is UNIX way of saying BSOD, pretty much.

Patrik
Wednesday, July 14, 2004

When you get a panic, you can trace it down to the offending code:

Documentation is found in:
/usr/src/linux-<your_version>/Documentation/oops-tracing.txt
and the man pages (man ksymoops)

Extremely useful.  module and offending line identifier.

hoser
Wednesday, July 14, 2004

Don't forget the third member of the team, Corporal Punishment.

Ged Byrne
Wednesday, July 14, 2004

And for comic relief, Master Baiter

MilesArcher
Wednesday, July 14, 2004

don't forget about The General.

GPF that is......

Yo
Wednesday, July 14, 2004

Damnit, that would have made a much better joke.

Colonel Panic and General Protection Fault.

Ah well.. they can't all be gems.

muppet
Wednesday, July 14, 2004

Well, I wonder if it just might depend who decided to output that. I recently had to change a battery on a RAQ server from Sun. Little did I know that this was not your ordinary PC (well I know that). When the battery was taken out (it was not bad ... the stupid software that Sun has just said it was) all memory gone so when rebooting it wanted to reboot from the network but there was not network to boot from so it said "kernel panic". Oh yeah. Idiotic. I had to tell it to boot from the hard drive and suddenly no kernel panic or anything.

me
Wednesday, July 14, 2004

Major Woody abuses his Privates.

Ronk!
Wednesday, July 14, 2004

Does Apple OS-X do a core dump?

macEroni
Wednesday, July 14, 2004

mac: yes, why not?

To the rest of you guys: this is the funnies thread ever.

LMAO
Thursday, July 15, 2004

In Linux the kernel panic results in the three lights on the keyboard blinking (caps/scroll/num lock lights).  It could be thought of as a crash, but it's actually possible to recover and go back to normal if you know what you are doing.  Also if you have the right options compiled into your kernel and software to interact with them installed onto your system.  I'm not an expert but I've seen my friend do it.

saberworks
Thursday, July 15, 2004

*  Recent Topics

*  Fog Creek Home