Jump to content

SOLVED! Stray anonymous job at Shutdown hangs system, a bona fide mystery


00diabolic
 Share

15 posts in this topic

Recommended Posts

I have googled for hours on this and cant come up with an answer as to why launchd is causing my system to hang at shutdown. Its only a few min delay but its annoying and no matter how many updates I go through from 10.6.2-10.6.5 this error prevails.

 

Take a look at the pics and see what you can suggest. I have tried a lot. launchctl list does not even show a kextcache listing and all other research has come up short. So this is a challenge to the true mac geniuses out there how do I solve this problem?

pics_of_shutdown_issue.zip

Link to comment
Share on other sites

It looks to me like it *might* be updating your kextcache everytime you shutdown. Is there something that is triggering a cache update everytime you use your system?

You might want to see if you can generate an extensions.mkext (i think its called) and have it in your /Extra/Extensions folder if that doesn't help maybe put it in-place of the originally generated one

 

On a side note....

You might want to try voodoopowermini and voodoomonitor along with chameleon 2.0 rc5 to see if you can fix your processor issues...

 

Thats the best I've got for you.

Link to comment
Share on other sites

I have googled for hours on this and cant come up with an answer as to why launchd is causing my system to hang at shutdown. Its only a few min delay but its annoying and no matter how many updates I go through from 10.6.2-10.6.5 this error prevails.

 

Take a look at the pics and see what you can suggest. I have tried a lot. launchctl list does not even show a kextcache listing and all other research has come up short. So this is a challenge to the true mac geniuses out there how do I solve this problem?

 

this is an powermanagement and/or dsdt error

Link to comment
Share on other sites

  • 3 weeks later...
It looks to me like it *might* be updating your kextcache everytime you shutdown. Is there something that is triggering a cache update everytime you use your system?

You might want to see if you can generate an extensions.mkext (i think its called) and have it in your /Extra/Extensions folder if that doesn't help maybe put it in-place of the originally generated one

 

On a side note....

You might want to try voodoopowermini and voodoomonitor along with chameleon 2.0 rc5 to see if you can fix your processor issues...

 

Thats the best I've got for you.

 

I looked for the extension mkext and I have one inside my E/E folder but its called Extensions.bak.mkext. I do not appear to have a regular one. Why is this? What can I do to get just the regular one to appear and work as normal? I think its been deleted somehow. But why would this only affect my shutdown and not boot up. I get a relatively quick boot up.

 

I have voodoopowermini and voodoomonitor installed perhaps there is a newer version I should look into getting if it has had updates recently. As for RC5 I have yet to try that and would be super happy if it corrected my dumb bios that reports 738 fsb instead of calculating itself like it should.

 

Thanks for the help. I think this shutdown issue does have something to do with kext cache somehow.

 

Edit: I went and created a extensions.mkext in S/L/E buy copying it there and then loaded with -f option to rebuild. Its still there but I also still have the slow shutdown. So whatever it is that did not fix it. Now DSDT fix looks more likely. If I only knew what to fix?

 

this is an powermanagement and/or dsdt error

 

I would love to find some more DSDT fixes for my system but I have looked everywhere and the only ones Ive applied are the common ones that are suggested by most people. I know there are prob more related specifically to my system but figuring out where they go and what to change is a daunting task to say the least. I wish there was a guide or something to help me. Only way ive gotten additional fixes made was to send my DSDT to someone who understands to language and could decipher what needed to be fixed. If you have any suggestions Im all ears.

 

Also justbenjp seems to have this same problem with the same laptop. Not sure why he has not posted here but he has PM'ed me about this issue. Any other ideas or better direction on this?

 

THanks

Link to comment
Share on other sites

I swear I've seen a fix for this somewhere, it was something about setting permissions on /

 

Try going to the Spotlight prefs in System Preferences and disable indexing on all your drives. Click "privacy" and drag all your drives in.

Or use Snow Leopard Cache Cleaner to rebuild the Spotlight index. I'm sure there's a Terminal command for this but I don't know what it is.

Link to comment
Share on other sites

I swear I've seen a fix for this somewhere, it was something about setting permissions on /

 

Try going to the Spotlight prefs in System Preferences and disable indexing on all your drives. Click "privacy" and drag all your drives in.

Or use Snow Leopard Cache Cleaner to rebuild the Spotlight index. I'm sure there's a Terminal command for this but I don't know what it is.

 

Gringo--- I tried both SLCC with all its options and disabling indexing on all drives.. Still no luck with this. Any other ideas?

 

Thanks

Link to comment
Share on other sites

I swear I've seen a fix for this somewhere, it was something about setting permissions on /

 

Try going to the Spotlight prefs in System Preferences and disable indexing on all your drives. Click "privacy" and drag all your drives in.

Or use Snow Leopard Cache Cleaner to rebuild the Spotlight index. I'm sure there's a Terminal command for this but I don't know what it is.

 

sudo chmod root:admin /

Link to comment
Share on other sites

sudo chmod root:admin /

 

I get.. chmod: Invalid file mode: root:admin

 

You must mean root:wheel right?

 

This is just the terminal command to rebuild the spotlight index right? So would not fix my problem anyway since I did this with SLCC and it did nothing to my hanging shutdown.

Link to comment
Share on other sites

No, that's the command I was trying to remember earlier that sets permissions on /

Dunno why it doesn't work for you.

 

 

Well I guess the question is.. Is the spotlight index the reason I have the shutdown hang? If it is then I might be doing something wrong in repairing it.. I type the command as follows:

 

sudo chmod root:admin /

 

and what I get is this..

 

chmod: Invalid file mode: root:admin ... I also tried "sudo chmod root:wheel /" & that has the same results..

 

So what am I doing wrong?

Link to comment
Share on other sites

It is chown,not chmod.chmod sets file flags (executable etc.).And no,it will not rebuild your spotlight index,just set the permissions for the root directory.Post back what you did,i'll look into your issue when i catch time.

Link to comment
Share on other sites

It is chown,not chmod.chmod sets file flags (executable etc.).And no,it will not rebuild your spotlight index,just set the permissions for the root directory.Post back what you did,i'll look into your issue when i catch time.

 

Wow that worked.. The shutdown/restart is 3 lines of txt before it goes black as opposed to 25 or whatever it was before.. SWEET.. Problem SOLVED!!!!!!!!!!!!

Link to comment
Share on other sites

what happens to me is that at the moment of shutdown (or restart) the system hangs for a few seconds (no hard disk load, no activity, only desktop wallpaper is displayed, nothing for about 10 seconds, then it shutdown). i don't know why. I tried the proposed solution (chown........) but nothing.

 

other problem (relative to sleep). when i set hibernate mode to 3 (sleep + hibernate) the system hangs after awake from sleep and I have to force shutdown. but after restart the system resume correctly from the sleepimage that it has created.

if i use hibernatemode 0 (only sleep) the system awakes with no problem. also the mode 1 (only hibernate) works correctly

 

can anyone help me?

 

thanks in advance

Link to comment
Share on other sites

 Share

×
×
  • Create New...