Sleep and Wakeup weirdness

Discussion in 'MacBook Pro' started by kage-chan, Sep 10, 2008.

  1. kage-chan macrumors newbie

    Joined:
    May 3, 2005
    #1
    Hi,

    I have searched this forum an the whole net for a while, but all "solutions" i tried did not help. To my Problem.
    I have the Mid 2007 MBP (Santa Rosa), 2.2GHz, 15.4".
    Lately my MBP acts VERY strange. When I put it to sleep, it wakes up again about 30secs after it went to sleep again. When directly put it to sleep again then (esc at the login prompt) it mostly stays asleep...
    Until 2am. It ALWAYS wakes up at 2am. The weird thing is, it goes back to sleep a few seconds later. Now comes the best part:
    Last evening I shut the machine down (powered it off!!) instead of putting it to sleep. When I get to the machine this morning it is turned on. The syslog says:
    Code:
    Sep 10 02:00:24 localhost kernel[0]: npvhash=4095
    Sep 10 02:00:13 localhost com.apple.launchctl.System[2]: launchctl: Please convert the following to launchd: /etc/mach_init.d/chum.plist
    Sep 10 02:00:13 localhost com.apple.launchctl.System[2]: launchctl: Please convert the following to launchd: /etc/mach_init.d/dashboardadvisoryd.plist
    Sep 10 02:00:13 localhost com.apple.launchctl.System[2]: launchctl: Please convert the following to launchd: /etc/mach_init.d/pilotfish.plist
    Sep 10 02:00:13 localhost com.apple.launchd[1] (xxx.qnation.PeerGuardian.kextload): Unknown key: ServiceDescription
    Sep 10 02:00:13 localhost com.apple.launchd[1] (com.apple.distccdConfigd): Unknown key: SHAuthorizationRight
    Sep 10 02:00:13 localhost com.apple.launchd[1] (org.apache.httpd): Unknown key: SHAuthorizationRight
    Sep 10 02:00:13 localhost com.apple.launchd[1] (org.cups.cupsd): Unknown key: SHAuthorizationRight
    Sep 10 02:00:13 localhost com.apple.launchd[1] (org.ntp.ntpd): Unknown key: SHAuthorizationRight
    Sep 10 02:00:24 localhost kextd[10]: 410 cached, 0 uncached personalities to catalog
    Sep 10 02:00:24 localhost kernel[0]: hi mem tramps at 0xffe00000
    Sep 10 02:00:24 localhost kernel[0]: PAE enabled
    Sep 10 02:00:24 localhost kernel[0]: 64 bit mode enabled
    Sep 10 02:00:24 localhost kernel[0]: Darwin Kernel Version 9.4.0: Mon Jun  9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386
    Sep 10 02:00:24 localhost kernel[0]: standard timeslicing quantum is 10000 us
    Sep 10 02:00:24 localhost kernel[0]: vm_page_bootstrap: 511553 free pages and 12735 wired pages
    Sep 10 02:00:24 localhost kernel[0]: mig_table_max_displ = 79
    Sep 10 02:00:24 localhost kernel[0]: 103 prelinked modules
    Sep 10 02:00:24 localhost kernel[0]: AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
    Sep 10 02:00:24 localhost kernel[0]: AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled
    Sep 10 02:00:24 localhost kernel[0]: Loading security extension com.apple.security.TMSafetyNet
    Sep 10 02:00:24 localhost kernel[0]: calling mpo_policy_init for TMSafetyNet
    Sep 10 02:00:24 localhost kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    Sep 10 02:00:24 localhost kernel[0]: Loading security extension com.apple.nke.applicationfirewall
    Sep 10 02:00:24 localhost kernel[0]: Loading security extension com.apple.security.seatbelt
    Sep 10 02:00:24 localhost kernel[0]: calling mpo_policy_init for mb
    Sep 10 02:00:24 localhost kernel[0]: Seatbelt MACF policy initialized
    Sep 10 02:00:24 localhost kernel[0]: Security policy loaded: Seatbelt Policy (mb)
    Sep 10 02:00:24 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
    Sep 10 02:00:24 localhost kernel[0]: The Regents of the University of California. All rights reserved.
    Sep 10 02:00:24 localhost kernel[0]: MAC Framework successfully initialized
    Sep 10 02:00:24 localhost kernel[0]: using 10485 buffer headers and 4096 cluster IO buffer headers
    Sep 10 02:00:24 localhost kernel[0]: devfs_make_node: not ready for devices!
    Sep 10 02:00:24 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
    Sep 10 02:00:24 localhost kernel[0]: ACPI: System State [S0 S3 S4 S5] (S3)
    Sep 10 02:00:24 localhost kernel[0]: mbinit: done
    Sep 10 02:00:24 localhost kernel[0]: Security auditing service present
    Sep 10 02:00:24 localhost kernel[0]: BSM auditing present
    Sep 10 02:00:24 localhost kernel[0]: rooting via boot-uuid from /chosen: 32C66968-8C6E-3FA9-B4B4-9C81A9DB527D
    Sep 10 02:00:24 localhost kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    Sep 10 02:00:24 localhost kernel[0]: FireWire (OHCI) TI ID 8025 built-in now active, GUID 001b63fffe76e6cc; max speed s800.
    Sep 10 02:00:24 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0/AppleACPIPCI/SATA@1F,2/AppleICH8AHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/FUJITSU MHW2120BH Media/IOGUIDPartitionScheme/Untitled@2
    Sep 10 02:00:24 localhost kernel[0]: BSD root: disk0s2, major 14, minor 2
    Sep 10 02:00:24 localhost kernel[0]: CSRHIDTransitionDriver::start []
    Sep 10 02:00:24 localhost kernel[0]: CSRHIDTransitionDriver::switchToHCIMode legacy
    Sep 10 02:00:24 localhost kernel[0]: USBF:	11.836	AppleUSBHubPort: Port 1 of Hub at 0x1a000000 about to terminate a busy device (IOUSBCompositeDevice) after waiting 10 seconds
    Sep 10 02:00:24 localhost kernel[0]: USBF:	12.139	CSRHIDTransitionDriver[0x4453580](IOUSBCompositeDevice) GetFullConfigDescriptor(0) returned NULL
    Sep 10 02:00:24 localhost kernel[0]: CSRHIDTransitionDriver... done
    Sep 10 02:00:24 localhost kernel[0]: Jettisoning kernel linker.
    Sep 10 02:00:24 localhost kernel[0]: Resetting IOCatalogue.
    Sep 10 02:00:24 localhost kernel[0]: GFX0: family specific matching fails
    Sep 10 02:00:24 localhost kernel[0]: Matching service count = 1
    Sep 10 02:00:24 localhost kernel[0]: Matching service count = 2
    Sep 10 02:00:24: --- last message repeated 4 times ---
    Sep 10 02:00:24 localhost kernel[0]: Previous Shutdown Cause: 5
    Sep 10 02:00:24 localhost kernel[0]: NVDANV50HAL loaded and registered.
    Sep 10 02:00:25 localhost kernel[0]: ath_attach: devid 0x24
    Sep 10 02:00:25 localhost kernel[0]: GFX0: family specific matching fails
    Sep 10 02:00:25 localhost kernel[0]: Override HT40 CTL Powers. EEPROM Version is 14.4, Device Type 5
    Sep 10 02:00:26 localhost kernel[0]: mac 12.10 phy 8.1 radio 12.0
    Sep 10 02:00:28 localhost bootlog[38]: BOOT_TIME: 1221004809 0
    Sep 10 02:00:28 localhost rpc.statd[19]: statd.notify - no notifications needed
    Sep 10 02:00:28 localhost fseventsd[28]: bumping event counter to: 0x3131768d (current 0x0) from log file '0000000031315957'
    Sep 10 02:00:28 localhost DirectoryService[34]: Launched version 5.4 (v514.21)
    Sep 10 02:00:28 localhost /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[24]: Login Window Application Started
    Sep 10 02:00:28 localhost com.apple.launchd[1] (com.apple.distccdConfigd[32]): Exited with exit code: 255
    Sep 10 02:00:29 localhost kernel[0]: PeerGuardian log entries: 731 (40960)
    Sep 10 02:00:29 localhost org.apache.httpd[15]: httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName
    Sep 10 02:00:31 localhost kernel[0]: yukon: Ethernet address 00:1b:63:92:55:c2
    Sep 10 02:00:31 localhost kernel[0]: AirPort_Athr5424ab: Ethernet address 00:1b:63:c3:23:36
    Sep 10 02:00:31 localhost mDNSResponder mDNSResponder-171.4 (Apr 20 2008 11:59:52)[23]: starting
    Sep 10 02:00:31 localhost blued[53]: Apple Bluetooth daemon started.
    Sep 10 02:00:32 localhost /usr/sbin/ocspd[65]: starting
    Sep 10 02:00:33 localhost mDNSResponder[23]: Adding registration domain kage_chan.members.mac.com.
    Sep 10 02:00:33 daniel-ketels-macbook-pro configd[36]: setting hostname to "daniel-ketels-macbook-pro.local"
    Sep 10 02:00:33 daniel-ketels-macbook-pro kernel[0]: AirPort: Link Up on en1
    Sep 10 02:00:36 localhost configd[36]: setting hostname to "localhost"
    Sep 10 02:00:38 localhost kextd[10]: writing kernel link data to /var/run/mach.sym
    Sep 10 02:00:41 localhost com.apple.SystemStarter[17]: Starting MySQL database server
    Sep 10 02:00:41 localhost com.apple.launchd[1] (0x10e1a0.nohup[101]): Could not setup Mach task special port 9: (os/kern) no access
    Sep 10 02:00:41 localhost com.apple.launchd[1] (0x102640.nohup[102]): Could not setup Mach task special port 9: (os/kern) no access
    Sep 10 02:00:42 localhost com.apple.launchd[1] (0x102640.nohup[108]): Could not setup Mach task special port 9: (os/kern) no access
    Sep 10 02:00:42 localhost kernel[0]: AppleYukon2: 00000000,00000000 sk98osx_dnet - recovering from missed interrupt
    Sep 10 02:00:46 localhost loginwindow[24]: Login Window Started Security Agent
    Sep 10 02:00:47 localhost kernel[0]: hibernate image path: /var/vm/sleepimage
    Sep 10 02:00:47 localhost kernel[0]: sizeof(IOHibernateImageHeader) == 512
    Sep 10 02:00:47 localhost kernel[0]: Opened file /var/vm/sleepimage, size 2147483648, partition base 0xc805000, maxio 400000
    Sep 10 02:00:47 localhost kernel[0]: hibernate image major 14, minor 2, blocksize 512, pollers 4
    Sep 10 02:00:47 localhost kernel[0]: hibernate_alloc_pages flags 00000000, gobbling 0 pages
    Sep 10 02:00:48 localhost kernel[0]: AirPort: Link Up on en1
    Sep 10 02:00:50 localhost kernel[0]: AppleYukon2: 00000000,00000000 sk98osx_dnet - recovering from missed interrupt
    Sep 10 02:00:50 localhost kernel[0]: System SafeSleep
    
    What I think is VERY interesting is this line:
    Code:
    Sep 10 02:00:42 localhost kernel[0]: AppleYukon2: 00000000,00000000 sk98osx_dnet - recovering from missed interrupt
    Afaik Yukon is the eth driver. It is recovering from a missed interrupt (wake on ethernet? no idea... what does it mean?). But, problem is:
    1. I do not have Wake on Ethernet turned on.
    2. I do not have a the cable connected to the computer.

    The only thing that is connected to the machine is the power cable. No card in the card slot. No USB device. No eth. No nothing :)

    In the Energy Saver settings there is no schedule or whatsoever set. All checkboxes in the schedule window are disabled.

    About 2 weeks ago I reinstalled Leopard, but that did not help at all. It rather made it worse. When I first installed leopard I did NOT have this problem.

    I already did reset the power unit thingy (turn machine off, remove battery and cable, hold pwr button for 5 sec). I am kind of lost.
    Please help me :(

    Thanks!

    Daniel
     
  2. silkworm macrumors newbie

    Joined:
    Sep 17, 2008
    #2

    Interesting, my computer hasn't been able to sleep for a few weeks now - and to be honest I really haven't had time to look into fixing it until now. I'm looking at our console and the one thing we have in common is the couple of lines dealing with:

    "xxx.qnation.PeerGuardian.kextload[48] Could not get ID for kernel control: No such file or directory "

    I know what Peer Guardian is, but I don't recall ever installing or attempting to install on my mac book. I will install again and uninstall and let you know if this helps our sleep problem.
     
  3. silkworm macrumors newbie

    Joined:
    Sep 17, 2008
    #3
    that didnt work, but peer guardian is gone and it no longer shows up in the console as an error...i'm stumped, im backing up and headed to the gbar
     
  4. Cadium macrumors member

    Joined:
    Jun 1, 2008
    #4
    Try updating your operating system to Mac OS X 10.5.5. It resolves issues with your computer being unable to stay asleep and waking up at a certain time every night. You can do this through Software Update (Apple menu > Software Update...) or from http://www.apple.com/support/downloads/
     
  5. kage-chan thread starter macrumors newbie

    Joined:
    May 3, 2005
    #5
    Hi,

    Updating to 10.5.5 won't do the anything.
    Since no one seemed to be interested in my problem until yesterday I did a lot of experimenting and tried to do some random things in the energy saver panel.
    To my surprise, my MBP stopped doing these random things after I played around a bit with the "Schedule"-Window inside the Energy Saver panel. I just set a sleep and a wakeup time, let os x save these (close the window and the energy saver panel), went back and disabled these again. Did that like 1 week ago.
    Since then my MBP sleeps tight and only wakes up when I wake it - just like it should.

    I hope this will help other people as well.

    Daniel
     

Share This Page