Slashdot Log In
Blue Screen of Death for Mac OS X
Posted by
ScuttleMonkey
on Mon Sep 11, 2006 06:07 PM
from the creative-wastes-of-time dept.
from the creative-wastes-of-time dept.
An anonymous reader writes "Possibly nothing in the OS world has as much of a bad rap as the infamous BSOD (blue screen of death) in Microsoft Windows. On the other hand Apple hides the ugly kernel panics behind a nice looking GUI which only tells you its time to restart your dead system. Interestingly Mac OS X kernel has a secret API which lets you decide what your kernel panics are going to look like! In this Mac OS X Internals article Amit Singh explains how to use this API. Apparently you can upload custom panic images into the kernel and there's even a way to test these images by causing a fake panic. The article also shows the ultimate joke is to upload an actual BSOD image for authentic Windows looking panics right inside of OS X."
This discussion has been archived.
No new comments can be posted.
Blue Screen of Death for Mac OS X
|
Log In/Create an Account
| Top
| 349 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Not like Microsoft invented it... (Score:5, Informative)
(http://www.dragonswest.com/ | Last Journal: Monday November 05, @07:35PM)
It's not like Microsoft invented it, either. I remember these [wikipedia.org] quite unfondly. Before that I had a frozen screen on a C64. And before that I had stopped lights on the PDP-11 display. And before that we had random characters all over the screen of Ohio Scientific (OSI) computers.
But Microsoft is widely credited with perfecting the BSoD and giving it fame.
A system crash with a tasteful little box can be as easily dispised as all the the preceding. I suppose, like everything Apple is doing these days, they've given it a certain panache and now everybody will want one.
Keep it simple (Score:4, Insightful)
Re:Keep it simple (Score:5, Funny)
(http://slashdot.org/~sqwubbsy | Last Journal: Thursday June 24 2004, @07:20AM)
You are so not a Mac owner based on these statements.
Re:Keep it simple (Score:4, Informative)
It does not take appreciably more resources either way, and both code paths are fairly simple and well tested.
Re:Keep it simple (Score:5, Interesting)
(http://www.adkap.com/ | Last Journal: Thursday August 10 2006, @04:10PM)
Obviously you are NOT ready for the Mac. Come see the light, friend.
Do you really think that Apple have decided error codes and detailed crash reports are not important?? No, of course they have not. There are two reasons Apple does this.
1) The truth is that the infamous blue page of kernel farts that windows spews out are only to technicians or sysadmins. The home user, and in fact, the power users, can do nothing with it. Nothing, of course, except Google for the stop code and hope Microsoft has a techhelp article on what it means. You can reply to this and say that
makes perfect sense to you... but you'd be lying. I know that the relevent part is 8E but 99% of users NEVER NEED TO SEE THIS and will NEVER USE IT.
Back to Apple. Apple has a little ditty called the "CrashReporter" and it has an OSX front-end to the system's log filed in
2) What do you do with the BSOD info displayed?? A true nooblar would write it all down. That's a waste of time, becuase its also in Windows' system log. Assuming you're going to Google for it, you would presumably reboot the machine, right? So why did we even need to see the error when it happened? The machine is up not, and the logs are visible...??
Bottom line: Apple's goal is to keep things simple, clean and friendly. What would your parents rather see?
Which one?
P.S. - Don't even think about saying "what happens if you cant boot." If that is the case, remove the new hardware. Otherwise you are in DEEP trouble... the code doesnt really matter and you'd actually be better off reading the error from
Re:Keep it simple (Score:4, Insightful)
Re:Not like Microsoft invented it... (Score:5, Informative)
(Last Journal: Wednesday February 21 2007, @08:20AM)
But Amiga wasn't first. The Mac "Bomb" preceded it, and was notoriously useless for troubleshooting.
Still, most Windows XP users haven't seen a BSOD ever. Go ahead and ask them. See, Windows XP solved that. But mysteriously, their power supply is unreliable, and "trips" on the slightest whim.
You gotta love that. "BSOD is bad for marketing, and most people don't know what to do with the information anyway. Let's just reset the computer and pretend it's a power spike."
I'd advise people to change their default settings, but one time I had "write memory contents to log file on BSOD" enabled when I was moving data about, and hand less free memory on my HD than in RAM.
Don't ever, ever do that.
Re:Not like Microsoft invented it... (Score:5, Funny)
(http://www.iit.edu/~kbloom1/)
Error: Type 11
"But I keep typing 11 and nothing's happening"
Re:Not like Microsoft invented it... (Score:4, Interesting)
(http://www.sadistech.com/ | Last Journal: Monday June 05 2006, @11:55AM)
that is precisely true.
My machine at work has some kind of hardware problem that was never quite solved while it was under applecare. it "panics" at least once a day, some days, it'll "panic" 5-10 times. Some things that set it off are scrolling in a terminal window (such as when I'm sync'ing portage on our server) or putting an audio CD in the lower optical drive.
The last time we brought it to tekserve, they claimed that both scsi drives were bad and they replaced them, and we didn't have a panic for a couple months, but by the time they came back (and with a vengence, I might add), there was no more applecare coverage...
I quote "panic" because sometimes I get that nice pretty "please restart your computer" screen, sometimes I get the text dump on the desktop, and sometimes the machine locks up, altogether.
luckily, we're getting one of those nice quad-xeon machines as soon as adobe releases the new creative suite, at which point I'll throw this machine out of a window.
Re:Not like Microsoft invented it... (Score:5, Informative)
Microsoft had a single DEBUG line in the registry for Windows 95 -- it allowed the application of your choice to intercept the crash.
The first commercially successful program to implement it was "Power Utilities 95 with Crashproof" [quickerwit.com] that handled/exposed many hardware conflict sins without just covering them up.
About 50K copies later and good shelf space at Frys/COMPUSA/BestBuy , Symantec took notice and put out their $29 Crashproofing program that didn't perform dozens of system checks or even unmask the cause of the crash.
If version 1.0 of that Norton floppy disk consisted of anything more than copying a 1 line registry change and a pointer to a bitmap, then it never showed in practice.
Re:Not like Microsoft invented it... (Score:5, Funny)
Sort of unrelated (Score:3, Funny)
(Last Journal: Wednesday April 11 2007, @12:28PM)
I used to have BSOD as my screen saver for an earlier version of Fedora (IIRC). It was always amusing when people would stop by to chat, a little while later, they'd see my PC suddenly BSOD! The looks I'd see (on other people's faces) makes me laugh just remembering.
Likewise (Score:4, Informative)
(http://onphilosophy.wordpress.com/)
Let me be the first to say (Score:4, Funny)
(http://slashdot.org/)
Any of you guys hiring?
Well on the upside (Score:5, Insightful)
(Last Journal: Thursday February 15 2007, @08:00PM)
Which is kinda lacking in the OSX Panic screen.
Re:Well on the upside (Score:4, Interesting)
(http://inglorion.net/ | Last Journal: Thursday October 06 2005, @07:17AM)
Re:Well on the upside (Score:5, Funny)
Kind of like knowing that there were:
- 56 bulbs
- 24 horizontal grill bars
- 72 vertical ridges on 1600 sq ft of 1/4" steel
- 20% full gas tank
- 209,000 miles driven
- 3 tread patterns
- 5 axles
- 18 wheels
You still got hit by a truck.
Re:Well on the upside (Score:5, Insightful)
Re:Well on the upside (Score:5, Informative)
(http://slashdot.org/)
Review... TN2063 [apple.com], TN2118 [apple.com], Debugging the Kernel [apple.com], etc.
The world's funniest joke (Score:4, Insightful)
Anyway, couldn't this be described as the ultimate joke [youtube.com]?
Old Hat (Score:3, Funny)
Once upon a time, I was chairing an out-of-town meeting with a roomful of engineers. We spent most of the morning working a spreadsheet with margin calculations on it trying to come up with a margin budget that everyone could live with; I was running the machine that drove the projector.
The conversation took a turn away from the spreadsheet, and after a bit the BSOD came up onscreen. The panic in the room was palpable -- everyone figured we'd just lost the whole morning, and quite a few had afternoon flights out.
So I hit the shift key and entered my password to unlock the screen.
The classic BSOD screensaver gets the same amusement factor without the hassle of hacking OSX.
Chairing a Meeting (Score:4, Funny)
Once upon a time, I was chairing an out-of-town meeting with a roomful of engineers...
Picture, if you will, a meeting room filled with terrified engineers, all cowering behind one end of the table and desperately trying to shield their heads from ballistic chairs, being hurled by a Donkey-Kong like Steve Ballmer, who in turn is jumping up and down upon the far end of the table...
I know the Steve Ballmer jokes are old and off-topic (and I don't mean to compare you to him) but the image of "chairing" a meeting full of engineers was just to hilarious not to share.
I have only seen the Screen of Death on OS X only (Score:2)
(http://tsfraser.googlepages.com/index.html)
Leave it to apple! (Score:3, Funny)
This is taking things too far... (Score:3, Funny)
(http://www.creimer.ws/ | Last Journal: Friday January 26 2007, @12:40PM)
What about the Guru? (Score:2, Funny)
(http://www.lenny.org/)
Hidden? (Score:4, Insightful)
(Last Journal: Monday January 06 2003, @10:36PM)
Stupid boring new crash screen... (Score:5, Informative)
(http://moofie.lastcoolnameleft.com/)
I think it only happened to me once, on a junky old LCIII, while I was just working. There was a key combo to induce it on boot, though, and I got a lot of mileage out of that...
Gray screen of death (Score:3, Informative)
(http://homepage.mac.com/Zav | Last Journal: Wednesday May 28 2003, @04:24PM)
When capturing QuickTime video, QuickTime writes one copy of the file and then makes another. If you are capturing to a mastering codec (ie animation) minutes can become gigabytes. It is easy to fill up the internal HD in this case.
What can easily happen in this case is the file writing routines will start writing over allocated blocks. System files, even track zero. If it writes over track zero, your internal hard drive will be destroyed.
How do I know this? It happened to me twice.
The second time, I was left with a 17 GB file on my hard drive that can not be deleted by any means other than reformatting the disk. The first time it happened, the HD was borked so bad that plugging it into another Mac caused that mac to kernel panic. Apple replaced the drive but I lost everything minus my backups.
As I was told by an Apple tech, when a hd starts up the dirve itself checks the validity of track zero. If it is invalid, you have a hardware fault and this generates a kernel panic.
This was all validated by Apple techs.
You have been warned. Hope this helps someone.
Re:Gray screen of death (Score:4, Insightful)
That's not the point. A malicious user can hose the entire system by running 'cat /dev/zero >> /opt/junk'. And I mean hose as in "system unusable, 100% of data lost"; the worst kind of hosed. The fact that Final Cut has options to manage this doesn't detract from the fact that the OS should manage itself better. Writing over track 0 on the HD? Creation of undeletable files? What is this, a return to the 8-bit days again?
When you get to 100MB free, the OS should tell the applications to go away. It should never fill 100% of the drive. Let's see you boot to remedy it when you can't write to log files.
Re:Gray screen of death (Score:4, Informative)
(http://www.slamb.org/)
You're completely wrong. When the free space reaches 100%, write() will return ENOSPC (no space). The superuser will still be able to use the system, because traditionally, there's a 5% reserve which only uid=0 can use. (The "df" goes up to 105%.) The correct semantics are well-defined. If you've seen anything else, it's a bug in whatever system you were using, which no one could seriously defend.
Now, if you're talking about user applications breaking when encountering this condition...yeah, there are certainly some out there that break. There are buggy applications written for every platform. It's just laziness - Unix gives them well-defined semantics they can use to handle it correctly and an easy test environment (quotas).
Re:Gray screen of death (Score:4, Informative)
(http://slashdot.org/)
What you have experienced is the phenomenom of Mac OS X getting caught up in: "ups, the disk is full - so now I can't save any (system) preferences." Any files written during this will end up as zero-byte files.
There is no magic "QuickTime will overwrite vital systemfiles, to which only root has access"-routines.
Ultimate joke.... (Score:4, Funny)
(http://romrix.googlepages.com/)
Ya! and then we could like, (snicker, snicker) we could like, bring up pictures of toilet paper on the monitor (snicker, snicker) and they would think (hehe, snicker) they would think they got T.P.'ed! HAHAHAHA!!!!!111!!!
Did anyone else just develop a twitch in their left eye?
Hmm.. poster hasn't used osx much (Score:2, Interesting)
(http://www.nodomain.org/)
If the OS itself hasn't failed just the GUI you get the spinning wheel of death..
Never heard of any kind of option that "hides the ugly kernel panics behind a nice looking GUI".. possibly a 3rd party app he's installed.
BSOD (Score:2)
(http://billposer.org/)
Maybe Linux needs to adopt this so as to ease the transition from MS Windows.
Oligatory Monty Python Reference (Score:4, Funny)
(Last Journal: Sunday November 06 2005, @10:30PM)
Another promise Microsoft didn't keep... (Score:3, Funny)
Old and Busted: BSOD. New: RSOD (Score:2, Interesting)
(http://www.stevetures.com/ | Last Journal: Thursday March 27 2003, @05:10AM)
Red is so much scarier.
http://blogs.msdn.com/michkap/archive/2005/05/07/
Bah! You young punks! (Score:5, Funny)
(http://system.reflecti0n.net/)
You young punks and blue-screens-of-panic blah, blah blah!
...In my day, we didn't even HAVE screens, just a blinking light and if that light ever stopped blinking, you knew there was trouble, boy...
BSOD (Score:1)
Redmond... (Score:4, Funny)