Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Blue Screen of Death for Mac OS X

Posted by ScuttleMonkey on Mon Sep 11, 2006 07:07 PM
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."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by ackthpt (218170) * on Monday September 11 2006, @07:09PM (#16085345) Homepage Journal

    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)

      by EmbeddedJanitor (597831) on Monday September 11 2006, @07:24PM (#16085442)
      If you have an unstable system (BSOD-worthy), then it is probably best to rely on as few system resources as possible. THis includes GUIs etc. That's why a simple text-based BSOD or oops handler is a better idea than something that tries to do a whole bunch of cute graphics etc (which relies on a whole lot more hardware & software to be working properly).
      • by Sqwubbsy (723014) on Monday September 11 2006, @07:57PM (#16085632) Homepage Journal
        THis includes GUIs etc. That's why a simple text-based BSOD or oops handler is a better idea than something that tries to do a whole bunch of cute graphics etc (which relies on a whole lot more hardware & software to be working properly).

        You are so not a Mac owner based on these statements.
        • Re:Keep it simple (Score:5, Interesting)

          by Jahz (831343) on Monday September 11 2006, @09:56PM (#16086117) Homepage Journal
          Keep it simple AND keep it informative. A real BSOD will include information about the stop code and arguments at the time of death. If the system knows which driver caused the crash it will tell you this as well.
          The Mac panic screen not only takes more resources to display but they tell you far less. "Please restart" in 23 different languages is not helpful. The 10.0 and 10.1 version looked much better.

          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

          STOP: 0x0000008E (c0000005, bf875fc3, f07bcd48, 00000000)
          KERNEL_MODE_EXCEPTION_NOT_HANDLED

          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 /var/log/. The logs contain all the nitty gritty about what was in the registers when the sytem exploded, what driver/module caused it, etc readily and easily recorded in the system log. Said information (like STOP: 0x0000000000000000008E) is for a tech or sysadmin, not a standard user.

          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?

          1. A pleasant semi-transparent overlay that asks them to reboot their machine (in their native language)
          2. A solid blue screen reading "KERNEL_MODE_EXCEPTION_NOT_HANDLED" followed by 30 rows of random-like numbers

          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 /var/log.
    • by DingerX (847589) on Monday September 11 2006, @07:26PM (#16085453) Journal
      Guru meditations were awesome, and I fondly remember that flashing red border.

      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.
    • by MyDixieWrecked (548719) on Monday September 11 2006, @07:59PM (#16085636) Homepage Journal
      A system crash with a tasteful little box can be as easily dispised as all the the preceding.

      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.
    • by Anonymous Coward on Monday September 11 2006, @08:00PM (#16085641)
      It's not like Microsoft invented it, either.

      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.

    • by Frequency Domain (601421) on Monday September 11 2006, @08:31PM (#16085784)
      No, MS didn't invent it. They just perfected it. Remember when there was talk about adding a BSOD hotkey to the MS keyboard, so you wouldn't have to go through the hassle of running software to get it?
  • Likewise (Score:4, Informative)

    by Umbral Blot (737704) on Monday September 11 2006, @07:10PM (#16085354) Homepage
    Likewise in windows you can change the background color and text color of the BSOD (or at least you could uder 98, I haven't had the desire to play around with it under 2000 / XP since they crash much less frequently).
  • by GungaDan (195739) on Monday September 11 2006, @07:12PM (#16085370) Homepage
    I, for one, welcome our new department-wide goatse.cx kernel panic message.

    Any of you guys hiring?

  • Well on the upside (Score:5, Insightful)

    by OverlordQ (264228) on Monday September 11 2006, @07:12PM (#16085371) Journal
    The Win32 BSOD does give you better information so you can try to diagnose the problem.

    Which is kinda lacking in the OSX Panic screen.
    • by RAMMS+EIN (578166) on Monday September 11 2006, @07:19PM (#16085411) Homepage Journal
      But then MS made the brillant decision to reboot the system right when the BSOD appeared, robbing it of any usefulness. Or perhaps they didn't do it on purpose, but I've seen plenty of displays just go blue for a split second, then blank as the system started rebooting.
    • by mybecq (131456) on Monday September 11 2006, @07:48PM (#16085582) Homepage
      The Win32 BSOD does give you better information so you can try to diagnose the problem.

      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.
      • by kevmo (243736) on Tuesday September 12 2006, @12:03AM (#16086548)
        I find it very useful for the rare occasions that I get BSODs anymore to at least know what driver caused the problem. If the BSOD lists something like atixxxxx, then I know that my video card screwed up, and so on. Because almost all of my crashes are caused by driver or hardware problems, its helpful knowing just what that problem is so I can fix the driver or replace the hardware (and thus almost never get crashes on that computer in the future).
    • by shawnce (146129) on Monday September 11 2006, @07:55PM (#16085615) Homepage
      Kernel panic information gets logged on reboot to a file and you can capture a kernel core dump if you want.

      Review... TN2063 [apple.com], TN2118 [apple.com], Debugging the Kernel [apple.com], etc.
  • by Malc (1751) on Monday September 11 2006, @07:13PM (#16085377)
    Hardly the ultimate joke. Jokes are supposed to be original. This has been a screen saver under Linux for years.

    Anyway, couldn't this be described as the ultimate joke [youtube.com]?
  • Hidden? (Score:4, Insightful)

    by exp(pi*sqrt(163)) (613870) on Monday September 11 2006, @07:32PM (#16085497) Journal
    hides the ugly kernel panics behind a nice looking GUI
    It must hide them really well because in 4 or 5 years I haven't seen one. (I did once about 5 years ago though - that'll teach me to mess with third party USB drivers.)
  • by Moofie (22272) <lee.ringofsaturn@com> on Monday September 11 2006, @07:36PM (#16085520) Homepage
    That's not NEARLY as cool as the car crash sound Macs used to make when they really, really, REALLY blew up fierce. Get a good pair of speakers, and that sound would scare the tar out of everybody in the area!

    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...
  • by ROMRIX (912502) on Monday September 11 2006, @07:43PM (#16085553) Homepage
    "The article also shows the ultimate joke is to upload an actual BSOD image for authentic Windows looking panics right inside of OS X."

    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?
  • by CrazyJim1 (809850) on Monday September 11 2006, @07:50PM (#16085590) Journal
    If the aptly named blue screen of death is indeed the ultimate joke, people should die laughing at it.
  • by rocjoe71 (545053) on Monday September 11 2006, @07:59PM (#16085637) Homepage

    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...

  • Redmond... (Score:4, Funny)

    by RAMMS+EIN (578166) on Monday September 11 2006, @08:02PM (#16085650) Homepage Journal
    Redmond, start your photocopiers!
  • by dark-br (473115) on Monday September 11 2006, @09:51PM (#16086086) Homepage
    ... Macs Crash Different [youtube.com]

    And don't get me wrong, I'm typing this on a Mac and I would not trade it for anything else out there ;)

    • by Pfhorrest (545131) on Monday September 11 2006, @08:58PM (#16085894) Homepage Journal
      I know it's off-topic, but I just had to share the image that came to mind when I first read this:

      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. :-)