PDA

View Full Version : Someone asked me this today.



Random_Dude
June 1st, 2010, 06:43 PM
In windows when the system crashes you get the famous Blue Screen of Death.

Is there an equivalent for Ubuntu or for Linux Distros in general?

Someone asked me this out of curiosity, and I got curious myself. I'm still a newcomer to Ubuntu so I've never had any major crash.

Can anyone post a picture?

Cheers :cool:

dzon65
June 1st, 2010, 06:45 PM
Can't help you there,never crashed.

razorboy5
June 1st, 2010, 06:49 PM
i got a blank screen once ...
not sure how it got there but i went to the bathroom came back it was just locked/frozen

never happened again

blueturtl
June 1st, 2010, 06:52 PM
The Linux equivalent is called a 'Kernel Panic'.

You can tell you're having a kernel panic when your system completely freezes and/or your keyboard lights all flash. It should never ever happen, but you do run in to it sometimes with poor device drivers or failing hardware.

undecim
June 1st, 2010, 06:53 PM
Well, a crash at the very core of the OS would cause what's called a kernel panic. If you are in console mode, you will get text explaining it. In graphical mode, the computer will just lock up.

In both cases, the caps lock light will flash (or is it another lock light? I forget...)

But that is only for errors at the very core of the OS and is most common when booting the system or with faulty core hardware.

You don't have the same kind of BSOD crash in Linux because Linux is modular. If your GUI fails, you will fall back to console mode and Ubuntu and similar distros will try to restart it. If that continually fails, you get a blue screen with a gray box explaining that there is a problem starting GDM.

You could consider that a BSOD to some extent, but you can still log into the console and fix the problem.

Penguin Guy
June 1st, 2010, 07:01 PM
Google it. (http://www.google.com/images?q=linux+kernel+panic)

m4tic
June 1st, 2010, 07:42 PM
Kernel Panic. Install mandriva 2010 first and dual boot ubuntu 10.04. You'll get one. I don't get why ubuntu blocked mandriva, fishy.

gnomeuser
June 1st, 2010, 07:46 PM
Interestingly it isn't till now that we have KMS we even have the technical capability available to do a BSOD for Linux.

Normally a problem is resulting in things such as hanging the UI unrecoverably or a kernel oops.

Dragonbite
June 1st, 2010, 08:07 PM
I've managed to get in a situation where the Cap, Num and Scroll lock buttons were flashing and the system was completely unresponsive!

new_tolinux
June 1st, 2010, 08:08 PM
Is there an equivalent for Ubuntu or for Linux Distros in general?
.......
Can anyone post a picture?

There is, it's called "kernel panic" and produces mostly text that is about as uninformative as the BSOD in Windows.

I don't have a picture of it, white text on a black background.

98cwitr
June 1st, 2010, 08:09 PM
In windows when the system crashes you get the famous Blue Screen of Death.

Is there an equivalent for Ubuntu or for Linux Distros in general?

Someone asked me this out of curiosity, and I got curious myself. I'm still a newcomer to Ubuntu so I've never had any major crash.

Can anyone post a picture?

Cheers :cool:

yeah...NOTHING works...the mouse doesn't move, no more I/O at all...this is Linux's BSOD.

Stancel
June 1st, 2010, 08:09 PM
The "gray window of death" when the window you have open freezes up and turns gray. Very annoying.

chessnerd
June 1st, 2010, 08:11 PM
The Linux equivalent is called a 'Kernel Panic'.

You can tell you're having a kernel panic when your system completely freezes and/or your keyboard lights all flash. It should never ever happen, but you do run in to it sometimes with poor device drivers or failing hardware.

So that's what a kernel panic is like.

Evidently, my system undergoes regular kernel panics. Everything stops and the "Caps Lock" light blinks repeatedly. Great.

Anyone know how to fix this on a Gateway T-6330u?

Directive 4
June 1st, 2010, 08:27 PM
hit it with a hammer,

then it's fixed, or really broke, so you can but a new one

Mr. Picklesworth
June 1st, 2010, 08:41 PM
The Linux equivalent is called a 'Kernel Panic'.

You can tell you're having a kernel panic when your system completely freezes and/or your keyboard lights all flash. It should never ever happen, but you do run in to it sometimes with poor device drivers or failing hardware.

Fun trivia there:

http://kerneltrap.org/node/355

There is a patch to make the keyboard lights give you an error message in morse code, instead of just blinking normally. Yes, a proper error message!

Unfortunately, with kernel mode-setting coming along, we soon won't have a use for it because Linux will be able to use graphics in its dying moments :(

gnomeuser
June 1st, 2010, 08:48 PM
Fun trivia there:

http://kerneltrap.org/node/355

There is a patch to make the keyboard lights give you an error message in morse code, instead of just blinking normally. Yes, a proper error message!

Unfortunately, with kernel mode-setting coming along, we soon won't have a use for it because Linux will be able to use graphics in its dying moments :(

At least lets be pretty when we fail, also having a visual error to report is very helpful for support reasons.

http://www.pajbam.com/wp-content/uploads/2007/12/mac_os_x_kernel_panic_screen.jpg

Like OS X above, but I think we can do even better.

ve4cib
June 1st, 2010, 08:48 PM
Fun trivia there:

http://kerneltrap.org/node/355

There is a patch to make the keyboard lights give you an error message in morse code, instead of just blinking normally. Yes, a proper error message!

That is just freaking amazing. I love it!

new_tolinux
June 1st, 2010, 08:56 PM
At least lets be pretty when we fail, also having a visual error to report is very helpful for support reasons.
...
Like OS X above, but I think we can do even better.
http://www.williamrobertson.net/images/oelinux5-kernel-panic.png
As said, white text on a black background.
Not really informative, but I prefer this above something that's really giving no info like the OS X screenshot.
I have to say, most Windows BSOD's actually have a little more helpful information on (about the) fourth and sixth line on that screen.

Probably needless to say that I prefer to see it all just working as it's supposed instead of hangs and panics ;)

zuerston
June 1st, 2010, 08:56 PM
I think you can set the color of your crash screen using terminal commands.
:popcorn:

Random_Dude
June 1st, 2010, 09:02 PM
You don't have the same kind of BSOD crash in Linux because Linux is modular. If your GUI fails, you will fall back to console mode and Ubuntu and similar distros will try to restart it. If that continually fails, you get a blue screen with a gray box explaining that there is a problem starting GDM.

You could consider that a BSOD to some extent, but you can still log into the console and fix the problem.

http://skepacabra.files.wordpress.com/2008/11/the-more-you-know.jpg

I'll keep that last one in mind in case of my Ubuntu has a major crash.



Fun trivia there:

http://kerneltrap.org/node/355

There is a patch to make the keyboard lights give you an error message in morse code, instead of just blinking normally. Yes, a proper error message!

Unfortunately, with kernel mode-setting coming along, we soon won't have a use for it because Linux will be able to use graphics in its dying moments :(

I'm not sure if I'm happy or sad about that kernel update.

Anyway, thanks everyone for answering the question.;)
Cheers :cool: