|
|
Why wouldn't "sudo reboot" work?
|
|
|
|
Senior User
Join Date: Oct 1999
Location: Austin, TX 78751
Status:
Offline
|
|
This morning, as usual, I put my PowerBook to sleep at 8:29am, disconnected the power cord, unplugged the display and networking cables, and brought my PB to work, connecting it to the ethernet network and opening the lid. The display didn't turn on. I was able to ssh in via my trusty iPhone, and I typed "sudo reboot." The weird thing is that my PB didn't reboot (perhaps it just shut down?) See below at 9:10:49. Finally, at 9:13, I held the power key down to shut down.
This is a not uncommon freeze on my computer (switching from the 20" Cinema display and wired ethernet home network to wired ethernet office network without any peripherals). My computer has had an overnight hardware check at an Apple Store, and its hard disk has been verified by DiskWarrior 4.1. I've also reset the PowerManager.
Does this log give any insight into what might be happening? Why wouldn't a reboot work?
Sep 11 08:29:08 Musa kernel[0]: System SafeSleep
Sep 11 09:09:03 Musa com.apple.loginwindow[45]: launchctl start error: No such process
Sep 11 09:09:05 Musa kernel[0]: mapping_hibernate_flush start
Sep 11 09:09:05 Musa kernel[0]: mapping_hibernate_flush time: 376 ms
Sep 11 09:09:05 Musa kernel[0]: hibernate_page_list_setall start
Sep 11 09:09:05 Musa kernel[0]: removed hash, pca: 2176 pages
Sep 11 09:09:05 Musa kernel[0]: hibernate_page_list_setall time: 276 ms
Sep 11 09:09:05 Musa kernel[0]: pages 435427, wire 122930, act 208417, inact 6286, zf 1722, throt 0, could discard act 38159 inact 41724 purgeable 16189
Sep 11 09:09:05 Musa kernel[0]: hibernate_page_list_setall found pageCount 339355
Sep 11 09:09:05 Musa kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0
Sep 11 09:09:05 Musa kernel[0]: IOHibernatePollerOpen(0)
Sep 11 09:09:05 Musa kernel[0]: writing 338446 pages
Sep 11 09:09:05 Musa kernel[0]: image1Size 312505344
Sep 11 09:09:05 Musa kernel[0]: all time: 20809 ms, comp time: 7112 ms, deco time: 0 ms,
Sep 11 09:09:05 Musa kernel[0]: image 745830912, uncompressed 1377361920 (336270), compressed 739405880 (53%), sum1 832ed62a, sum2 3eaac011
Sep 11 09:09:05 Musa kernel[0]: hibernate_write_image done(0)
Sep 11 09:09:05 Musa kernel[0]: sleep
Sep 11 09:09:05 Musa kernel[0]: System Wake
Sep 11 09:09:05 Musa kernel[0]: Wake event 0020
Sep 11 09:09:05 Musa kernel[0]: USB caused wake event (EHCI)
Sep 11 09:09:05 Musa kernel[0]: UniNEnet::monitorLinkStatus - Link is up at 100 Mbps - Full Duplex (PHY regs 5,6:0x43e1,0x0005)
Sep 11 09:09:07 dhcp-128-83-77-123 configd[14]: setting hostname to "dhcp-128-83-77-123.frit.utexas.edu"
Sep 11 09:09:13 dhcp-128-83-77-123 airportd[2364]: Error: Apple80211Associate() failed -6
Sep 11 09:09:18 dhcp-128-83-77-123 kernel[0]: AFPSleepWakeHandler: waking up
Sep 11 09:09:21 dhcp-128-83-77-123 airportd[2364]: Could not find any preferred networks; trying broadcast requests..
Sep 11 09:09:22 dhcp-128-83-77-123 airportd[2364]: Broadcast requests also failed..
Sep 11 09:09:23 dhcp-128-83-77-123 airportd[2364]: Probing highest ranked networks via directed scan..
Sep 11 09:10:25 dhcp-128-83-77-123 sshd[2384]: USER_PROCESS: 2386 ttys000
Sep 11 09:10:48 dhcp-128-83-77-123 sudo[2400]: joey : TTY=ttys000 ; PWD=/Users/joey ; USER=root ; COMMAND=/sbin/reboot
Sep 11 09:10:49 dhcp-128-83-77-123 reboot[2400]: rebooted by joey
Sep 11 09:10:49 dhcp-128-83-77-123 reboot[2400]: SHUTDOWN_TIME: 1221142249 37848
Sep 11 09:10:49 dhcp-128-83-77-123 mDNSResponder mDNSResponder-171.4 (Apr 20 2008 12:00:04)[17]: stopping
Sep 11 09:10:49 dhcp-128-83-77-123 SystemStarter[40]: "/Library/StartupItems" failed sanity check: path was created after boot up
Sep 11 09:13:07 localhost kernel[0]: Darwin Kernel Version 9.4.0: Mon Jun 9 19:36:17 PDT 2008; root:xnu-1228.5.20~1/RELEASE_PPC
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: May 2008
Status:
Offline
|
|
next time it happens, try this: shutdown -r now
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Oct 1999
Location: Austin, TX 78751
Status:
Offline
|
|
Originally Posted by auto_immune
next time it happens, try this: shutdown -r now
Thanks, but is "reboot" somehow defective?
More importantly, can someone help troubleshoot the freeze problem? I've also done an archive and install, but it didn't help.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Offline
|
|
If your Mac is in a weird, hung state, it won't reboot normally.
I don't see anything out of the ordinary in your log.
|
Vandelay Industries
|
|
|
|
|
|
|
|
Senior User
Join Date: Oct 1999
Location: Austin, TX 78751
Status:
Offline
|
|
Originally Posted by Art Vandelay
If your Mac is in a weird, hung state, it won't reboot normally.
I don't see anything out of the ordinary in your log.
Yeah, that's the problem -- I'm totally at a loss as to how to troubleshoot these freezes except by not connecting my PowerBook to the Cinema Display! OS X 10.5.4, by the way (but these freezes started happening in Tiger).
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Sep 2008
Status:
Offline
|
|
The problem is probably a result of unplugging the display after you have put the computer to sleep. I know if I put my laptop to sleep and then unplug a usb device when I go back to wake it up it does not bring me to the password prompt. What I have to do is usually shut the lid again and wait for the power light to start pulsing. This indicates that it has fully entered sleep. Then reopen the lid and wait a few seconds. Usually, the password prompt shows up and then it goes right back to sleep. Close the lid and wait for the light then reopen. The password prompt will show up again, but after that you should be able to get to your desktop.
A better fix is to unplug everything then put the laptop to sleep.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Sep 2008
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Oct 1999
Location: Austin, TX 78751
Status:
Offline
|
|
Originally Posted by themusicman
The problem is probably a result of unplugging the display after you have put the computer to sleep. I know if I put my laptop to sleep and then unplug a usb device when I go back to wake it up it does not bring me to the password prompt. What I have to do is usually shut the lid again and wait for the power light to start pulsing. This indicates that it has fully entered sleep. Then reopen the lid and wait a few seconds. Usually, the password prompt shows up and then it goes right back to sleep. Close the lid and wait for the light then reopen. The password prompt will show up again, but after that you should be able to get to your desktop.
A better fix is to unplug everything then put the laptop to sleep.
Yes, I've toyed with the sequence. I use my laptop closed with the Cinema Display as the only display. So if I hot-unplug everything, my laptop will instantly go to sleep (as it is closed), won't it?
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
sudo shutdown -r now = sudo reboot
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
Originally Posted by themusicman
The problem is probably a result of unplugging the display after you have put the computer to sleep. I know if I put my laptop to sleep and then unplug a usb device when I go back to wake it up it does not bring me to the password prompt. What I have to do is usually shut the lid again and wait for the power light to start pulsing. This indicates that it has fully entered sleep. Then reopen the lid and wait a few seconds. Usually, the password prompt shows up and then it goes right back to sleep. Close the lid and wait for the light then reopen. The password prompt will show up again, but after that you should be able to get to your desktop.
A better fix is to unplug everything then put the laptop to sleep.
I get exactly the same problems on my MacBook, and came up with exactly the same solution (work around actually, I suppose). Occasionally, those steps don't even solve the problem and a forced restart is required (but that is very rare).
I sometimes get the problem, even if I disconnect everything before sleeping the macbook. It's very frustrating.
I sure hope Apple are working on a fix for this.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
I believe you have to do 'sudo reboot now'.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Offline
|
|
You believe wrongly. Reboot is instantaneous... when the system isn't hung. There is no need for a time modifier.
|
Vandelay Industries
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Dec 2006
Location: Maryland
Status:
Offline
|
|
maybe v 10.5.4 has something to do with it?
try updating to the latest tiger version. see if the problem persists.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|