Skip navigation

blue screen after startup and system hangs

16715 Views 43 Replies Latest reply: Dec 8, 2013 9:03 AM by BozoTexino RSS
1 2 3 Previous Next
Troubled Imac User Calculating status...
Currently Being Moderated
Aug 14, 2011 8:25 PM

Going through various material available on the forum - i went through following self help and am finally turning to experts

 

1. Safe boot - everything works, even the login window after 'boot sequence is apple logo, spining pointer, loading mac and then login window'.

2. Single User mode - works, fsck shows no error, continuing with boot using rc in single user mode works with no graphics interface

3. Deletion of /var/db/.Applesetupdone or something equivalent Or even moving around other .* files - doesn't solve the problem

4. Looking at various logs in /var/log & other places nothing is obivious except for following few messages when doing a *standard boot*

      windowserver.log ==> (last few lines)

     Accel caps: 00000003

     CGXPerformInitialDisplayConfiguration

               Display 0x4271500: MappedDisplay Unit 0; Vendor 0x610 Model 0x9c54 S/N 0; online enabled built-in ....

               Display 0x3f003d: MappedDisplay Unit 1; Vendor 0xfffffffff Model 0xffffffff S/N -1; offline enabled (2464,0)[1 x 1], ...

     system.log ===> (last 2 lines)

     localhost kernel[0]: ATY,Aphrodite2_A: vram [98000000:08000000]

     localhost kernel[0]: ATY,Aphrodite2_B: vram [98000000:08000000]

5. Lastly blued always seems to be crashing. So moved it to a different name to see if i can resolve the issue, no luck.

 

Bottomline all above effort didin't solved the blue screen with standard login.

 

What could be the reason? I didn;t installed any memory - the system was/has been working smootly over past few years and only recently started making lots of noise or hangups after awakening from sleep. Do i have the faulty system memory?

 

I also tried reinstalling the OS - no luck there either.

 

Also i don't suspect the memory, because in safe boot the system performs normal with all graphical interfaces. What is the equivalent of /sbin/rc for multiuser mode? Is there a file similar to unix that i can look at to control what gets launched as part of multiuser boot?

 

Thanks in advance for all help.

iMac, Mac OS X (10.4.11)
  • rccharles Level 5 Level 5 (5,115 points)
    Currently Being Moderated
    Aug 16, 2011 12:49 PM (in response to Troubled Imac User)
    I also tried reinstalling the OS - no luck there either.

     

    What is safe boot?

    http://support.apple.com/kb/ht1564

     

    I'd look at what extra is added to a normal boot over safe boot.

     

    Did you reformat your harddrive.  Maybe you have a corrupt hd.  Could you try running off an external hd?

     

    Big mystery to me!

     

    Robert

  • rccharles Level 5 Level 5 (5,115 points)
    Currently Being Moderated
    Aug 20, 2011 10:53 AM (in response to Troubled Imac User)

    Hopefully, it is a hobby to figure this out. 

     

    I looked over the apple page on safe boot.  Must be a problem with a driver. 

     

    Here is what apple lists.

     

    Starting up into Safe Mode does several things:

    • It forces a directory check of the startup volume.
    • It loads only required kernel extensions (some of the items in /System/Library/Extensions).

    Ok.  Maybe some extenstion is causing the problem.  What is the source of the DVD?  Maybe there is a problem with the DVD. Got the right version?  Maybe you should buy Leopard & try it.

    • In Mac OS X v10.3.9 or earlier, Safe Mode runs only Apple-installed startup items (such items may be installed either in /Library/StartupItems or in /System/Library/StartupItems; these are different than user-selected account login items).

    Oh, Mac OS X is migrating away from the RC files. Tiger is mostly away but not all.

    • It disables all fonts other than those in /System/Library/Fonts (Mac OS X v10.4 or later).
    • It moves to the Trash all font caches normally stored in /Library/Caches/com.apple.ATS/(uid)/ , where (uid) is a user ID number such as 501 (Mac OS X v10.4 or later).
    • It disables all startup items and login items (Mac OS X v10.4 or later).

    You got a new account so there shouldn't be any login items.

    • Mac OS X v10.5.6 or later: A Safe Boot deletes the dynamic loader shared cache at (/var/db/dyld/). A cache with issues may cause a blue screen on startup, particularly after a Software Update. Restarting normally recreates this cache.

    You can manually delete this. There was some thread where a guy was playing around with this in Tiger.

    This is an interesting line. Mabye you can get BDAqua's attention on this.  He did some investigation.  I seem to recall.  Someone did.  You might want to email BDAua's & tell him about this thread.  He's good.

     

    Taken together, these changes can help resolve software or directory issues that may exist on the startup volume.

     

    Safe Mode in Mac OS X v10.5 or later also disables Quartz Extreme (hardware accelerated graphics). Applications that depend on Quartz Extreme will not open, and the Mac OS X menu bar will appear solid even if "Translucent Menu Bar" is enabled in Desktop & Screen Saver preferences.

     

     

    You running Tiger?  This is an interesting point.

     

    --------------------------

     

    What is the source of your DVD.  Maybe you have the wrong one.  Could you try Leopard.  You can still get it from Apple.

     

    Should work after a fresh install.  Should be all new software without any corruptions.  Hardware should be OK.  Maybe Quartz Extreme or an extension would invoke new hardware.

     

    I thing most of this startup stuff is in scripts.  Might be able to track down what the safe boot switch is & where.

     

    Good Luck.

  • BDAqua Level 10 Level 10 (114,670 points)

    Hello, Robert asked I drop in.

     

    I'd say it is very likely the Graphic card/VRAM issue when Quartz & other video things are enabled. I'd say the odds are 93.4875%.

     

    Not certain which kext, but see this great post by themachead on how to list the extensions in Safe Mode with System Profiler then compare to the extension folder!

     

    http://discussions.apple.com/thread.jspa?messageID=10161377&#10161377

  • rccharles Level 5 Level 5 (5,115 points)
    Currently Being Moderated
    Aug 20, 2011 8:34 PM (in response to BDAqua)

    The link is giving me an error.  A search gives me these two links:

     

    https://discussions.apple.com/message/10055817#10055817

     

    seems to be a summary of the above thread:

    https://discussions.apple.com/message/10057475#10057475

     

     

     

    system profiler.

     

    the blue Apple icon > About this Mac > More info…

    goto the hardware section.  Scroll down and click on software then extensions.

     

    Picture 4.png

     

     

     

    Picture 5.png

     

    Here are my extension in a normal boot in 10.4.11 on a iMac g3 600.

     

    Send me an email if you want it in plist format.  It's a big file & I'll have to trim it.

     

    Robert

  • BDAqua Level 10 Level 10 (114,670 points)
    Currently Being Moderated
    Aug 20, 2011 10:14 PM (in response to rccharles)

    Great work Robert, not sure when I last checked my link, but since ASC I try to check them all!?

     

    Send me an email if you want it in plist format.  It's a big file & I'll have to trim it.

     

    To whom do you speak, btw, your eMail isn't showing to us in your Profile.

  • rccharles Level 5 Level 5 (5,115 points)
    Currently Being Moderated
    Aug 21, 2011 10:33 AM (in response to BDAqua)

    I do not check my links either.  I wait for people to complain

     

    An email address now appears.  I was marvelling how little spam I get on the account.  We will see.

     

    Robert

  • rccharles Level 5 Level 5 (5,115 points)
    Currently Being Moderated
    Aug 29, 2011 12:02 PM (in response to Troubled Imac User)

    Your going to have to figure out how X selects what extensions to load.

    maybe a post to

    https://discussions.apple.com/community/mac_os/mac_os_x_technologies

     

    I do not know how Mac OS X selects what extensions to load.  Is there a list?

    Here is a hint:

    here is the flag OSBundleRequired.  Now where is it?

    http://lists.apple.com/archives/darwin-development/2002/Dec/msg00083.html

     

    Here is an overview of the boot process for 10.3.  Notice it was written 2003. Tiger will be a little different.  I think Tiger uses more plist in the startup process.  I'd guess the extension process is too early to have changed.

    http://osxbook.com/book/bonus/ancient/whatismacosx/arch_startup.html

     

    I'd try the old rename hack.

     

    Apple02Audio.kext rename to Apple02Audio.kextaug28

     

    Here is another way of listing the extensions.  The command line version of System Profiler

    Macintosh-HD -> Applications -> Utilities -> Terminal

    system_profiler SPExtensionsDataType

     

    system_profiler -h

    for some help on system_profiler

  • rccharles Level 5 Level 5 (5,115 points)
    Currently Being Moderated
    Aug 29, 2011 12:30 PM (in response to rccharles)

    Great! Looks like they put the flag in each plist file for each of the extensions.

     

    do the terminal command:

    Macintosh-HD -> Applications -> Utilities -> Terminal

    find /System -type f -exec grep -il "OSBundleRequired" {} \;

     

    It will take a bit. search all files in /System print each file that contains OSBundleRequired

     

    maybe you only need

    find /System/Library/Extensions  -type f -exec grep -il "OSBundleRequired" {} \;

     

     

    cat /System/Library/Extensions/System.kext/PlugIns/IOSystemManagement.kext/Info.pli st

     

    found:

    <key>OSBundleRequired</key>

            <string>Root</string>

            <key>OSKernelResource</key>

            <true/>

  • rccharles Level 5 Level 5 (5,115 points)
    Currently Being Moderated
    Aug 29, 2011 1:36 PM (in response to rccharles)

    This will list all extensions that have OSBundleRequired variable.  With the flag for that extension.

     

    find /System/Library/Extensions -type f -exec grep -iHA 1 "OSBundleRequired" {} \;

     

    -iHA 1

    i=case independent H=List file name A 1=print found line & print one line after

     

    What do the values mean?  the names are a little different since the equ is listed.

    http://developer.apple.com/library/mac/#documentation/DriversKernelHardware/Refe rence/libkern_ref/OSKextLib_h/index.html

     

     

    do a google search on OSBundleRequired

     

    Robert

  • rccharles Level 5 Level 5 (5,115 points)
    Currently Being Moderated
    Aug 29, 2011 9:58 PM (in response to rccharles)

    extensions at safe boot...

    Extensions:

        AppleCore99NVRAM:

        AppleFWOHCI:

        AppleGMACEthernet:

        AppleI2C:

        AppleKeyLargo:

        AppleMPIC:

        AppleMacRISC2PE:

        AppleMacRiscPCI:

        AppleNMI:

        AppleOnboardDisplay:

        ApplePMU:

        ApplePlatformFamily:

        AppleUSBHub:

        AppleUSBMergeNub:

        AppleUSBOHCI:

        AppleVIA:

        AppleXsanFilter:

        BSDKernel:

        BSDKernel6.0:

        BootCache:

        IOATABlockStorage:

        IOATAFamily:

        IOATAPIProtocolTransport:

        IOCDStorageFamily:

        IODVDStorageFamily:

        IOFireWireFamily:

        IOGraphicsFamily:

        IOHIDFamily:

        IOKeyLargo:

        IOKit:

        IOKit6.0:

        IONDRVSupport:

        IONVRAMFamily:

        IONetworkingFamily:

        IOPCIFamily:

        IOPlatformFunction:

        IOSCSIArchitectureModelFamily:

        IOSCSIBlockCommandsDevice:

        IOSCSIMultimediaCommandsDevice:

        IOStorageFamily:

        IOSystemManagement:

        IOUSBCompositeDriver:

        IOUSBFamily:

        IOUSBHIDDriver:

        IOUSBMassStorageClass:

        IOUSBUserClient:

        KeyLargoATA:

        Libkern:

        Libkern6.0:

        Mach:

        Mach6.0:

        SCSITaskUserClient:

        System:

        System6.0:

        Unsupported:

        msdosfs:

     

     

    extensions for normal boot.......................................................

    Extensions:

        ATIRage128:

        Apple02Audio:

        Apple02DBDMAAudio:

        AppleCore99NVRAM:

        AppleFWAudio:

        AppleFWOHCI:

        AppleGMACEthernet:

        AppleI2C:

        AppleKeyLargo:

        AppleMLANAudio:

        AppleMPIC:

        AppleMacRISC2PE:

        AppleMacRiscPCI:

        AppleNMI:

        AppleOnboardDisplay:

        ApplePMU:

        ApplePlatformFamily:

        AppleSCCSerial:

        AppleScreamerAudio:

        AppleUSBHub:

        AppleUSBMergeNub:

        AppleUSBOHCI:

        AppleVIA:

        AppleXsanFilter:

        AudioIPCDriver:

        BSDKernel:

        BSDKernel6.0:

        BootCache:

        IOATABlockStorage:

        IOATAFamily:

        IOATAPIProtocolTransport:

        IOAudioFamily:

        IOCDStorageFamily:

        IODVDStorageFamily:

        IOFireWireAVC:

        IOFireWireFamily:

        IOFireWireIP:

        IOGraphicsFamily:

        IOHIDFamily:

        IOKeyLargo:

        IOKit:

        IOKit6.0:

        IONDRVSupport:

        IONVRAMFamily:

        IONetworkingFamily:

        IOPCIFamily:

        IOPlatformFunction:

        IOSCSIArchitectureModelFamily:

        IOSCSIBlockCommandsDevice:

        IOSCSIMultimediaCommandsDevice:

        IOSerialFamily:

        IOStorageFamily:

        IOSystemManagement:

        IOUSBCompositeDriver:

        IOUSBFamily:

        IOUSBHIDDriver:

        IOUSBMassStorageClass:

        IOUSBUserClient:

        KeyLargoATA:

        Libkern:

        Libkern6.0:

        Mach:

        Mach6.0:

        SCSITaskUserClient:

        System:

        System6.0:

        Unsupported:

        msdosfs:

     

     

    Here is a diff of the two files. Never can remember how to read.

    mac $ diff safeExtensionNames NormalExtensionNames 

    1a2,4

    >     ATIRage128:

    >     Apple02Audio:

    >     Apple02DBDMAAudio:

    2a6

    >     AppleFWAudio:

    6a11

    >     AppleMLANAudio:

    13a19,20

    >     AppleSCCSerial:

    >     AppleScreamerAudio:

    18a26

    >     AudioIPCDriver:

    24a33

    >     IOAudioFamily:

    26a36

    >     IOFireWireAVC:

    27a38

    >     IOFireWireIP:

    40a52

    >     IOSerialFamily:

    mac $

     

    iMac g3 600 Tiger 10.4.11

     

    Macintosh-HD -> Applications -> Utilities -> Terminal

    how I got the info in a normal boot

     

      system_profiler SPExtensionsDataType >NormalExtensions

      cat NormalExtensions

      cat NormalExtensions | grep ":$" >NormalExtensionNames

      cat NormalExtensionNames

     

     

    Robert

  • rccharles Level 5 Level 5 (5,115 points)
    Currently Being Moderated
    Aug 30, 2011 9:38 PM (in response to rccharles)

    This web page will explain the kext info.plist.

     

    http://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/KEXTConc ept/Articles/infoplist_keys.html

     

    I think a non-existant OSBundleRequired means to load on a normal boot. Normal boot includes other flags like Local-Root & others.  Take a guess.

     

    I don't think renaming an kext is the thing.  Suggest you move to a different folder.  May have to delete the kext cache or rebuild it.

     

    Robert

  • Tim Verpoorten Calculating status...

    I just found this thread, I had the same thing happen to my PPC iMac from about 2005 running Leopard.

     

    Tried all the normal things like nuke and pave on the OS, and I still get a screen freeze at the light blue after the grey Apple logo. I see a mouse curser and can move it, thats all.

     

    One interesting point was after my pave and Nuke when the first reboot, I heard the Apple welcome music from Leopard but did not see anything but the light blue screen and mouse curser.

     

    Rebooting in safe mode let me finish the install, but not reboot regular, plus I'm not able to connect to my wi-fi since it's not seeing the wi-fi card in Safe mode.

     

    So I'd think it's a video card issue also. I am not nearly as handy as you all seem to be in the thread above, so I really do not know where to start to disable the advanced video features in boot up.

     

    If you come up with any ideas, please let me know. I appreciate it.  Thank you

1 2 3 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (4)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.