Snow Leopard : macbook qui ne s'éteint plus

sdbs29

Membre enregistré
20 Février 2009
7
0
Bonjour à tous,

Avec mon macbook pro 13 pouces j'ai un problème depuis l'upgrade de Leopard vers Snow Leopard puis 10.6.1 qui ressemble au problème connu de redémarrage après un arrêt système.

En fait pour moi la mise en veille fonctionne parfaitement en revanche lorsque je demande un redémarrage ou un arrêt, mac os est quitté très rapidement puis écran noir puis ... rien.
J'entend encore le ventilateur tourner et dans le cas d'un arrêt si je ferme l'écran la led d'activité se rallume mais l'écran reste bien noir.
Si j'appuie sur le bouton d'alimentation pour démarrer mon mac : rien. Je suis obligé d'appyuer longtemps pour réellement l'éteindre puis le rallumer.
J'ai eu beau attendre 30 minutes mon macbook ne sait plus s'éteindre ou redémarrer depuis mac os :(

Comme j'ai une partition bootcamp j'ai essayer d'éteindre mon macbook depuis windows XP : surprise tout fonctionne parfaitement y compris le redémarrage.

Après quelques recherches j'ai fait :
- réparation des autorisations depuis le dvd (OK)
- réinitialisation PRAM (OK)
- suppression du apple.com.PowerManagement (OK)
- tester l'arret depuis le terminal (sudo shutdown -h now) ne fonctionne pas non plus
- tester l'arrêt avec le raccourci ctrl+alt+com+eject : ne fonctionne pas non plus

J'ai tenté une réinitialisation SMC, mais je ne sais pas si ca fonctionne :
maj + ctrl + command puis power on
d'après le site apple il faut attendre 5 sec et appuyer sur power pour allumer le mac, mais dès la première fois le mien démarre :heu:

Bref si quelqu'un à quelquechose à me proposer avant la réinstallation complète je suis preneur :p
 
Suite de mes tests :

Si je boot en single user (cmd+S) et que je tape reboot en ligne de commande mon macbook reboot correctement. Donc, à priori, mon problème viendrait d'une extension non chargée en single user.

En mode verbose (cmd+v) je peux lire un systemShutdown false au démarrage, je n'ai aucune idée de si cela peut avoir un lien ou pas.
A l'arrêt toujours en verbose: affichage très rapide d'une dizaine de lignes puis l'écran s'éteint et toujours pas de reboot :hein:

Si vous avez d'autres idées :p
 
Puisque tu parles d'extension : as-tu essayé un démarrage avec la touche SHIFT enfoncée, ce qui fait que le système ne charge pas les extensions étrangères. Si ensuite le système s'éteint sans souci, c'est sans doute qu'une extension ou un service ajouté le perturbe. Sinon, c'est qu'une extension du système lui-même (c-a-d installée avec le système par Apple) le perturbe.
 
Je viens de tester le démarrage sans extensions avec shift (je ne connaissais pas), résultat : même problème :(

Donc ca doit venir d'une extension installée lors de l'upgrade vers Snow Leopard.

Sachant que j'ai installé la mise à jour 10.6.1, puis-je recommencer l'upgrade snow leopard sans problème pour tenter de réinstaller les extensions ?
 
Je suppose que tu peux faire une installation de type "Archiver & Installer" par exemple.
Mais, bien entendu, commence par une sauvegarde exhaustive.

Quelques questions :
  • rien n'est branché sur ton MBP ?
  • as-tu installé des services sur ton MBP : genre des services de synchronisation, de sauvegarde ou EyeTV par exemple ?
 
Habituellement j'ai un écran secondaire et un câble réseau branché (c'est tout) mais j'ai aussi testé sans rien et avec juste avec l'alimentation.

Pour la sauvegarde j'ai un disque TimeMachine que je synchronise tous les 3/4 jours : je n'ai pas envie de perdre mes données mais elles ne sont pas non plus critiques (sinon je n'aurai pas fait la mise à jour ^^)
A part ça j'ai activé le partage ssh, le wifi et bluetooth sont désactivés, aucun programme lancé automatiquement au démarrage.

Au passage, merci Bompi de t'intéresser à mon problème :up:
 
Je suis un peu sec :rateau:
Et du côté des journaux, genre system.log, rien à signaler ? [tu peux les consulter avec l'utilitaire Console].
 
Là j'avoue que le system.log ça ne me parle pas beaucoup :heu:

Voilà une copie de la partie après avoir demandé le redémarrage :
Bloc de code:
Sep 28 13:00:03 akari com.apple.launchd.peruser.501[159] ([0x0-0x5d05d].com.apple.Console[2130]): Exited: Killed
Sep 28 13:00:03 akari com.apple.launchd.peruser.501[159] (0x100501470.mach_init.rcd[481]): Exited: Killed
Sep 28 13:00:03 akari com.apple.Dock.agent[163]: file:///Library/Widgets/iTunes.wdgt/iTunes.js:475: JS ERROR: TypeError: Result of expression 'popup.options[myIndex]' [undefined] is not an object.
Sep 28 13:00:03 akari loginwindow[28]: DEAD_PROCESS: 28 console
Sep 28 13:00:03 akari shutdown[2159]: reboot by d2: 
Sep 28 13:00:03 akari shutdown[2159]: SHUTDOWN_TIME: 1254135603 704117
Sep 28 13:00:03 akari Parallels[2161]: Stopping Parallels Dispatcher Service
Sep 28 13:00:04 akari Parallels[2171]: Stopping Parallels networking
Sep 28 13:00:05 akari prl_naptd[122]: Exiting Parallels Network Daemon
Sep 28 13:00:07 akari Parallels[2201]: Unloading kernel extension  prl_netbridge.kext
Sep 28 13:00:09 akari Parallels[2226]: Failed to unload kernel extension  prl_netbridge.kext
Sep 28 13:00:09 akari Parallels[2231]: Unloading kernel extension  prl_vnic.kext
Sep 28 13:00:12 akari Parallels[2257]: Failed to unload kernel extension  prl_vnic.kext
Sep 28 13:00:12 akari mDNSResponder[15]: mDNSResponder mDNSResponder-212.1 (Jul 24 2009 22:34:12) stopping
Sep 28 13:00:12 akari WindowServer[79]: hidd died. Reestablishing connection.
Sep 28 13:00:12 akari WindowServer[79]: bootstrap_look_ip failed: Unknown service name
J'ai attendu quelques minutes sur mon fameux écran noir, sans que le mac reboot. Puis j'ai forcé l'extinction (bouton power) et le redémarrage. Voilà la copie du system.log pour le redémarrage :
Bloc de code:
Sep 28 13:03:40 localhost com.apple.launchd[1]: *** launchd[1] has started up. ***
Sep 28 13:03:45 localhost mDNSResponder[17]: mDNSResponder mDNSResponder-212.1 (Jul 24 2009 22:34:12) starting
Sep 28 13:03:54 localhost configd[15]: bootp_session_transmit: bpf_write(en1) failed: Network is down (50)
Sep 28 13:03:54 localhost configd[15]: DHCP en1: INIT transmit failed
Sep 28 13:03:54 localhost configd[15]: network configuration changed.
Sep 28 13:03:54 akari configd[15]: setting hostname to "akari.local"
Sep 28 13:03:54 akari bootlog[41]: BOOT_TIME: 1254135819 0
Sep 28 13:03:56 akari blued[42]: Apple Bluetooth daemon started
Sep 28 13:03:56 akari /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[31]: Login Window Application Started
Sep 28 13:03:58 akari com.apple.configd[15]: label length 115 > 63
Sep 28 13:03:58 akari configd[15]: network configuration changed.
Sep 28 13:03:59 akari configd[15]: setting hostname to "akari.----------"
Sep 28 13:04:00 akari com.apple.usbmuxd[25]: usbmuxd-176 built for iTunesNine on Jul 20 2009 at 13:06:53, running 32 bit
Sep 28 13:04:01 akari mDNSResponder[17]: SIGHUP: Purge cache
Sep 28 13:04:02 akari Parallels[80]: Loading kernel extension  prl_hypervisor.kext
Sep 28 13:04:02 akari Parallels[86]: Loading kernel extension  prl_hid_hook.kext
Sep 28 13:04:02 akari Parallels[92]: Loading kernel extension  prl_usb_connect.kext
Sep 28 13:04:02 akari Parallels[97]: Trying to load kernel extensions, exit status: 0
Sep 28 13:04:02 akari Parallels[100]: Starting Parallels networking...
Sep 28 13:04:02 akari Parallels[103]: Loading kernel extension  prl_netbridge.kext
Sep 28 13:04:02 akari com.parallels.desktop.launchdaemon[46]: objc[75]: Class QCocoaPrintPanelDelegate is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
Sep 28 13:04:02 akari com.parallels.desktop.launchdaemon[46]: objc[75]: Class QCocoaPageLayoutDelegate is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
Sep 28 13:04:02 akari com.parallels.desktop.launchdaemon[46]: objc[75]: Class QNSMenu is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
Sep 28 13:04:02 akari com.parallels.desktop.launchdaemon[46]: objc[75]: Class QNSStatusItem is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
Sep 28 13:04:02 akari com.parallels.desktop.launchdaemon[46]: objc[75]: Class QNSImageView is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
Sep 28 13:04:02 akari com.parallels.desktop.launchdaemon[46]: objc[75]: Class QMacSoundDelegate is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
Sep 28 13:04:03 akari Parallels[109]: Loading kernel extension  prl_vnic.kext
Sep 28 13:04:04 akari com.apple.launchd[1] (com.parallels.vm.prl_naptd): Unknown key for boolean: SuccessfulExit
Sep 28 13:04:04 akari prl_naptd[122]: Starting Parallels Network Daemon
Sep 28 13:04:04 akari prl_naptd[122]: vnic0: DHCP/NAT for 10.211.55.1-10.211.55.254 netmask 255.255.255.0
Sep 28 13:04:04 akari prl_naptd[122]: vnic1: DHCP for 10.37.129.1-10.37.129.254 netmask 255.255.255.0
Sep 28 13:04:05 akari Parallels[123]: Parallels networking sucessfully started
Sep 28 13:04:06 akari Parallels[126]: Restarting CiscoVPN
Sep 28 13:04:06 akari SystemStarter[128]: Unknown service: CiscoVPN
Sep 28 13:04:06 akari Parallels[131]: Starting Parallels Dispatcher Service
Sep 28 13:04:06 akari Parallels[135]: Parallels Dispatcher Server sucessfully started
Sep 28 13:04:09 akari loginwindow[31]: Login Window Started Security Agent
Sep 28 13:04:09 akari WindowServer[63]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Sep 28 13:04:09 akari com.apple.WindowServer[63]: Mon Sep 28 13:04:09 akari.------------ WindowServer[63] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Sep 28 13:04:12 akari warmd[24]: [fetcher_open_file:936] open("/var/db/dyld/dyld_shared_cache_x86_64") => -1 (errno: 2)
Sep 28 13:04:14 akari _mdnsresponder[154]: sntp options: a=2 v=1 e=0.100 E=5.000 P=2147483647.000
Sep 28 13:04:14 akari _mdnsresponder[154]:     d=15 c=5 x=0 op=1 l=/var/run/sntp.pid f= time.euro.apple.com
Sep 28 13:04:14 akari _mdnsresponder[154]: sntp: not enough valid responses received in time
Sep 28 13:04:15 akari SecurityAgent[151]: NSSecureTextFieldCell detected a field editor ((null)) that is not a NSTextView subclass designed to work with the cell. Ignoring...
Sep 28 13:04:16 akari loginwindow[31]: Login Window - Returned from Security Agent
Sep 28 13:04:16 akari loginwindow[31]: USER_PROCESS: 31 console
Sep 28 13:04:16 akari com.apple.launchd.peruser.501[155] (com.apple.ReportCrash): Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
Sep 28 13:04:23 akari com.parallels.desktop.client.launch[177]: objc[177]: Class QCocoaPrintPanelDelegate is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
Sep 28 13:04:23 akari com.parallels.desktop.client.launch[177]: objc[177]: Class QCocoaPageLayoutDelegate is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
Sep 28 13:04:23 akari com.parallels.desktop.client.launch[177]: objc[177]: Class QNSMenu is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
Sep 28 13:04:23 akari com.parallels.desktop.client.launch[177]: objc[177]: Class QNSStatusItem is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
Sep 28 13:04:23 akari com.parallels.desktop.client.launch[177]: objc[177]: Class QNSImageView is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
Sep 28 13:04:23 akari com.parallels.desktop.client.launch[177]: objc[177]: Class QMacSoundDelegate is implemented in both /Library/Parallels/Parallels Service.app/Contents/MacOS/libQtGui.4.dylib and /usr/lib/libprl_sdk.dylib. One of the two will be used. Which one is undefined.
Sep 28 13:04:25 akari com.apple.launchd.peruser.501[155] (com.apple.Kerberos.renew.plist[174]): Exited with exit code: 1
Sep 28 13:04:26 akari com.apple.launchd.peruser.501[155] ([email protected][182]): Exited with exit code: 1
Sep 28 13:04:37 akari pbs[193]: Malformed Services entries in Info.plist for Service at URL /Applications/TeX/LaTeXiT.app\n    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber\n    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber\n    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber\n    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber\n    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber\n    The value for key NSTimeOut was supposed to be of type NSString, but instead it was of type NSNumber
Sep 28 13:05:05 akari rcd[214]: Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:\n    /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
Sep 28 13:05:05 akari com.apple.launchd.peruser.501[155]: rcd: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
Je précise que j'ai installé parallels très récemment, le problème était déjà présent avant.
Quelque chose vous parait suspect ?

EDIT: je me rends compte que je n'ai jamais précisé qu'après avoir forcé le reboot (power off/power on) je me retrouve avec une fenêtre au démarrage expliquant que j'ai forcé l'arrêt du système. Donc l'os s'en rend bien compte.
 
Tu vois : tu as bien installé quelque chose qui touche au coeur du système, et c'est Parallels Desktop ;)

Dans la première série de message, on voit :
Bloc de code:
Sep 28 13:00:03 akari Parallels[2161]: Stopping Parallels Dispatcher Service
Sep 28 13:00:04 akari Parallels[2171]: Stopping Parallels networking
Sep 28 13:00:05 akari prl_naptd[122]: Exiting Parallels Network Daemon
Sep 28 13:00:07 akari Parallels[2201]: Unloading kernel extension  prl_netbridge.kext
Sep 28 13:00:09 akari Parallels[2226]: Failed to unload kernel extension  prl_netbridge.kext
Sep 28 13:00:09 akari Parallels[2231]: Unloading kernel extension  prl_vnic.kext
Sep 28 13:00:12 akari Parallels[2257]: Failed to unload kernel extension  prl_vnic.kext
et il me semble que c'est une piste à explorer.

Ce que je ferais : installer la dernière version de Parallels Desktop.
Pour cela : désinstaller Parallels complètement [mais garder les VMs, hein! pas de blagues ;)], redémarrer puis réinstaller Parallels.
 
Ben comme je l'ai précisé, j'avais déjà le problème avant d'avoir installé parallels.

Mais comme on dit qui ne tente rien n'a rien, je vais donc de ce pas désinstaller parallels et voir ce qu'il en est ^^

---------- Nouveau message ajouté à 14h11 ---------- Le message précédent a été envoyé à 13h10 ----------

Voilà parallels désinstallé et toujours le même problème.
Comme précédemment la sortie du system.log après demande de reboot :

Bloc de code:
Sep 28 15:00:01 akari org.x.startx[383]: Quitting Xquartz...
Sep 28 15:00:01 akari org.x.startx[383]: Xquartz: start_x11_server: (ipc/mig) server died
Sep 28 15:00:01 akari org.x.startx[383]: /usr/X11/bin/xinit:  connection to X server lost.
Sep 28 15:00:01 akari org.x.startx[383]: /usr/X11/bin/xinit:  Operation not permitted (errno 1):  Can't kill X server
Sep 28 15:00:02 akari com.apple.launchd.peruser.501[155] ([0x0-0x48048].com.apple.Console[10573]): Exited: Killed
Sep 28 15:00:02 akari com.apple.launchd.peruser.501[155] (0x100505a10.mach_init.rcd[214]): Exited: Killed
Sep 28 15:00:02 akari SecurityAgent[2389]: NSDocumentController's invocation of -[NSFileManager URLForDirectory:inDomain:appropriateForURL:create:error:] returned nil for NSAutosavedInformationDirectory. Here's the error:\nError Domain=NSCocoaErrorDomain Code=513 UserInfo=0x107240880 "Vous n’êtes pas autorisé à enregistrer le fichier « Library » dans le dossier « empty »." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=13 "L’opération n’a pas pu s’achever. Autorisation refusée")
Sep 28 15:00:02 akari loginwindow[31]: DEAD_PROCESS: 31 console
Sep 28 15:00:02 akari shutdown[10592]: reboot by d2: 
Sep 28 15:00:02 akari shutdown[10592]: SHUTDOWN_TIME: 1254142802 575228
Sep 28 15:00:02 akari SystemStarter[26]: "/Library/StartupItems" failed sanity check: path was created after boot up
Sep 28 15:00:02 akari mDNSResponder[17]: mDNSResponder mDNSResponder-212.1 (Jul 24 2009 22:34:12) stopping
Sep 28 15:00:02 akari WindowServer[63]: hidd died. Reestablishing connection.
Sep 28 15:00:02 akari WindowServer[63]: bootstrap_look_ip failed: Unknown service name
X11 était lancé quand j'ai demandé le reboot d'ou éventuellement les premiers messages.
Par contre je ne comprend pas la ligne de SecurityAgent ni le failed sanity check sur les StartupItems. Ces erreurs sont peut être du a la desinstallation de parallels :rose:
 
Pour les StartupItems, c'est une vérification sur la sécurité [j'ai eu un message analogue parce qu'un script de lancement n'était pas assez protégé : renforcement de la sécurité avec Snow Leopard].
Pour l'autre message, je ne sais pas.

Chez moi, après le DEAD_PROCESS, j'ai des messages du genre
Bloc de code:
...
Sep 28 12:25:34 Lahaina loginwindow[54]: CGSDisplayServerShutdown: Detaching display subsystem from window server
...
qui indiquent que le serveur graphique s'arrête et que la console s'arrête aussi.

Je suis un peu à court d'idée.
 
Ca semblerait bien être un truc lié au fait que le serveur graphique ne s'arrête pas correctement au vu du "WindowServer reestablishnig connection", comme si alors que ma machine s'arrête le serveur graphique renaît pour dire "non non on s'arrête pas" ....
 
Skimlinks