Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

blue screen after startup and system hangs

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)

Posted on Aug 14, 2011 8:25 PM

Reply
46 replies

Nov 16, 2017 4:02 AM in response to Allan Jones

Start a new thread and have to repeat all of the info already shared here again? As a long time tech support specialist for software I was a moderator, we would ask users to avoid creating new threads.


I already have found an answer on a different forum where I did jump in which is the right thing to do.


I suggest locking this thread if you wish others to not respond.

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.

Aug 20, 2011 2:00 PM in response to Troubled Imac User

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

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/thread/2122396?answerId=10055817022#10055817022


seems to be a summary of the above thread:

https://discussions.apple.com/thread/2129989




system profiler.


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

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


User uploaded file




User uploaded file


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

Aug 28, 2011 8:07 PM in response to rccharles

I finally found out that that the problem is due to faulty video ram. The error code i got was 2ATI/1/4:113-xxxx-115

Since safe boot is still workling, I tried following one of above post to remove extensions related to display, however couldn't figure out what needs to be done? Should i empty the plist for the AppleOnboardDisplay or is there a specific section that will disable the advance video functions?


Thanks

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

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

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

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

blue screen after startup and system hangs

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.