Mac GeekeryGet your geek on. |
|
blog advertising is good for you
recent popular content
User login
|
summit asks: QuestionI have a DP 1.25 MDD PowermacG4, fresh install of tiger and fully updated. It WILL boot into safe mode every time. It WONT boot any other way, period, it gets through the white screen with the dark grey apple logo and the spinning thing under and then it goes straight to a solid blue screen and hangs. I have tried all the Open Firmware reset-all, PMU reset, all the resets I could find but to no avail. Also have run the hardware test and it comes up clean. The only thing I can think of that it might be would be I just upgraded to firmware version 4.4.8f2. AnswerStartup troubles generally boil down to three things: Startup Items, non-standard launchd items, and Kernel Extensions. Not so incidentally, that’s exactly what Safe Mode disables. Startup ItemsStartup Items can be found in /Library/StartupItems and in /System/Library/StartupItems. Either can be moved (perhaps requiring sudo) to something like LaunchdIf you’ve crafted any launchd items, they can mangle up the boot process sometimes, too, and Safe Mode disables them. To conclusively rule out launchd-related fun, remove items in Kernel ExtensionsSafe Boot disables all third party drivers and a handful of Apple-supplied drivers. Extensions, both Apple and otherwise, are stashed in /System/Library/Extensions. You can guess what most do based on their name. If you’ve recently (or ever) installed a device driver for some hardware you’ve added to your machine, or tried to install third party drivers for standard hardware, or what-have-you, try hunting down its kext file and remove it. After any change, touch /System/Library/Extensions to trigger the OS to rebuild the kextcache. $ sudo touch /System/Library/Extensions In theory, changing the contents does this automagically. Somehow, removing things triggers this less reliably than adding them. Best to be safe and do it manually. Especially since we’re in territory where we really, really, really want to be sure that things are being updated appropriately.1 Fun With HardwareIf you’ve just done an erase and install, and you’re still having the problem, playing with Startup Items and Kernel Extensions won’t really get you far. You’re more likely looking at a hardware problem. Start by removing all PCI cards and other non-essential hardware like Airport cards, bluetooth adapters, and modems, as well as any extra RAM, and see if the machine boots. If it does, congratulations! You’ve just isolated the problem to one of the removed devices. Next, start adding them back in one at a time until the problem comes back. Whatever you add that triggers the boot problem is the culprit. Given your symptoms, I’d bet even money or better that it’s an Airport card. If you remove all this and it still doesn’t boot, you get to dig deeper. Try removing the hard drive and boot to a clean OS on a FireWire2 drive. Try removing the graphics card, after an appropriate amount of time, try to SSH in and see if it finished booting. I’ve had to get a machine down to a power supply and logic board – and nothing else – before. Yes, it’s tedious. Yes, you should appreciate your local Mac Geniuses more. 1 I’d go as far as actually deleting the Extensions.kextcache file when I had reason to think touching wasn’t working, either. 2 You can use a CD here, but only as negative proof. The CD’s boot OS lacks a lot of drivers that the full OS includes. If it fails here, things are busted; if it works, you can’t really be sure.
About JC
Author Biography JC is a former Mac Genius and Mac-centric IT worker with a background in print advertising. He earned a reputation as a miracle worker when he saved the day at a new business pitch with the arcane knowledge that Apple’s ADB cables were nothing more than poorly shielded S-Video cables. JC runs the Heroic Efforts Data Recovery Service and writes Ungenius, a tawdry tale of the life and times of a former Mac Genius. You can contact JC via IM or via the contact form. |
Try unplugging the keyboard; maybe the S key is stuck down.
I can’t see how the S being stuck down would cause a boot-to-blue screen. Now, cmd-s causes boot to single user mode, but that’s not a blue screen. Also, any keys being stuck down are liable (in many, but not all cases) to foil Safe Mode boot attempts.
But removing keyboards and mice goes into the Reduction category. Start disconnecting stuff until it boots properly…
I’d bet that it was the Airport card too. I had the same symptoms described but with a PowerBook, and removing the Airport card fixed it.
What I don’t understand is why Apple would build things in such a way that a faulty card causes the machine to boot. It would be much better if an error message appeared in the Networking PrefPane.
It’d be nice if things worked that way, but they don’t, and it’s not really Apple’s fault. Faulty PCI cards can hang the system bus, preventing the hardware from functioning at a very basic level. That’s often not something the OS can really just ignore and flag the user.
I’ve fixed many many macs with this same symptom by deleting the apple preference files from /library/preferences/com.apple.* While you’re booted up into single user mode, you might as well fsck the drive.
Ditto on trashing preferences. Two things that auto-start on login are the finder and dock. Reinstalling the system won’t remove the user preferences for these two applications. So if they are causing issues, you will need to remove them manually. Reboot in safe mode, and trash the ~/Library/Preferences/com.apple.finder or .dock plist files. I find this frequently fixes such login issues.
Just to clarify, you can delete the com.apple.* preference files from /library/preferences
Doing so for ~/library/preferences will delete the prefs for your Apple apps such as Mail and iLife and you’ll have to set them up again. There aren’t many files in your ~/library/preferences that you can casually throw away without losing some amount of important information specific to your account, but the Finder prefs and Dock prefs are pretty painless to delete and redo once you get logged back in.