|
#1
| |||
| |||
| Computer shuts down after a minute of inactivity After just over one minute of inactivity (no moving mouse, typing, etc.), I get a "Logout, Cancel, Restart, Shutdown" screen. If I don't quickly click out of it, the computer totally shuts down. I have an Intel Macbook. I don't believe it's a hardware problem; I've run the hardware test and it comes up clear. Any advice or help would be greatly appreciated! Thanks |
|
#2
| ||||
| ||||
| Open "System Preferences" then open the "Security" pane. Under "General," do you have "Log out after XXX minutes of inactivity" enabled?
__________________ Mac mini 2.0GHz 10.6.4 • 4GB • 320GB • Superdrive • 5 x 1TB USB 2.0 • LED Cinema Display MacBook 2.0GHz 10.6.4 • 4GB • 250GB • CD-RW/DVD-ROM iPad 16GB • iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 24Mb/3Mb http://www.jeffhoppe.com |
|
#3
| |||
| |||
| No... it's not checked. |
|
#4
| ||||
| ||||
| Are there any other users and/or user accounts on your computer where this option may be set?
__________________ Mac mini 2.0GHz 10.6.4 • 4GB • 320GB • Superdrive • 5 x 1TB USB 2.0 • LED Cinema Display MacBook 2.0GHz 10.6.4 • 4GB • 250GB • CD-RW/DVD-ROM iPad 16GB • iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 24Mb/3Mb http://www.jeffhoppe.com |
|
#5
| ||||
| ||||
| Go to system preferences/energy saver and click the schedule button to see the computer is set to shut down at certain times.
__________________ Don't forget to hit the Thanks button if you found this information useful. |
|
#6
| ||||
| ||||
| The next time it happens (or hte last time it happened if you can trace it in the logs), go to Console (/Applications/Utilities) and in its logs (all or system log) back in time when it shut down. You can find that e.g. searching for shutdown and it should list some cause. What does it list? Post the line with the shutdown cause and something before it - some lines before it there will be somehting about kernel loading etc. Before then, there should be the last lines of the system before it actually shut down. (better too much text than little if in doubt). |
|
#7
| |||
| |||
| Here's the shutdown cause: Jan 12 00:58:48 localhost kernel[0]: Previous Shutdown Cause: 5 Here's the last bit of the log in case it is of some use. Like I said, the computer will shut down, without fail, at slightly over a minute of inactivity. If in continuous use, everything runs normally. Jan 12 00:52:23 localhost kernel[0]: hi mem tramps at 0xffe00000 Jan 12 00:52:23 localhost kernel[0]: PAE enabled Jan 12 00:52:23 localhost kernel[0]: 64 bit mode enabled Jan 12 00:52:23 localhost kernel[0]: standard timeslicing quantum is 10000 us Jan 12 00:52:23 localhost kernel[0]: vm_page_bootstrap: 250304 free pages Jan 12 00:52:23 localhost kernel[0]: mig_table_max_displ = 71 Jan 12 00:52:23 localhost kernel[0]: Enabling XMM register save/restore and SSE/SSE2 opcodes Jan 12 00:52:23 localhost kernel[0]: 93 prelinked modules Jan 12 00:52:23 localhost kernel[0]: ACPI CA 20060421 Jan 12 00:52:23 localhost kernel[0]: AppleIntelCPUPowerManagement: ready Jan 12 00:52:23 localhost kernel[0]: AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled Jan 12 00:52:23 localhost kernel[0]: AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled Jan 12 00:52:23 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993 Jan 12 00:52:23 localhost kernel[0]: The Regents of the University of California. All rights reserved. Jan 12 00:52:23 localhost kernel[0]: using 5242 buffer headers and 4096 cluster IO buffer headers Jan 12 00:52:23 localhost kernel[0]: Enabling XMM register save/restore and SSE/SSE2 opcodes Jan 12 00:52:23 localhost kernel[0]: Started CPU 01 Jan 12 00:52:23 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87 Jan 12 00:52:23 localhost kernel[0]: ACPI: System State [S0 S3 S4 S5] (S3) Jan 12 00:52:23 localhost kernel[0]: Security auditing service present Jan 12 00:52:23 localhost kernel[0]: BSM auditing present Jan 12 00:52:23 localhost kernel[0]: disabled Jan 12 00:52:23 localhost kernel[0]: rooting via boot-uuid from /chosen: 2D2A2B8C-BE44-476A-BD90-80AF73E53AF0 Jan 12 00:52:23 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> Jan 12 00:52:23 localhost kernel[0]: USB caused wake event (EHCI) Jan 12 00:52:23 localhost kernel[0]: FireWire (OHCI) Lucent ID 5811 PCI now active, GUID 001b63fffe73a6ac; max speed s400. Jan 12 00:52:23 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleAHCI/PRT2@2/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/FUJITSU MHW2080BHPL Media/IOGUIDPartitionScheme/Apple_HFS_Untitled_1@2 Jan 12 00:52:23 localhost kernel[0]: BSD root: disk0s2, major 14, minor 2 Jan 12 00:52:23 localhost kernel[0]: jnl: replay_journal: from: 6234112 to: 4074496 (joffset 0x254000) Jan 12 00:52:23 localhost kernel[0]: CSRHIDTransitionDriver: robe: Jan 12 00:52:23 localhost kernel[0]: CSRHIDTransitionDriver::start before command Jan 12 00:52:23 localhost kernel[0]: CSRHIDTransitionDriver::stop Jan 12 00:52:23 localhost kernel[0]: IOBluetoothHCIController::start Idle Timer Stopped Jan 12 00:52:23 localhost kernel[0]: Jettisoning kernel linker. Jan 12 00:52:23 localhost kernel[0]: Resetting IOCatalogue. Jan 12 00:52:23 localhost kernel[0]: GFX0: family specific matching fails Jan 12 00:52:23 localhost kernel[0]: display: family specific matching fails Jan 12 00:52:23 localhost kernel[0]: Matching service count = 2 Jan 12 00:52:23 localhost kernel[0]: Matching service count = 4 Jan 12 00:52:23 localhost kernel[0]: Matching service count = 4 Jan 12 00:52:23 localhost kernel[0]: Matching service count = 4 Jan 12 00:52:23 localhost kernel[0]: Matching service count = 4 Jan 12 00:52:23 localhost kernel[0]: Matching service count = 4 Jan 12 00:52:23 localhost kernel[0]: Previous Shutdown Cause: 5 Jan 12 00:52:23 localhost kernel[0]: GFX0: family specific matching fails Jan 12 00:52:23 localhost kernel[0]: display: family specific matching fails Jan 12 00:52:23 localhost kernel[0]: ath_attach: devid 0x24 Jan 12 00:52:23 localhost kernel[0]: Override HT40 CTL Powers. EEPROM Version is 14.4, Device Type 5 Jan 12 00:52:23 localhost kernel[0]: ath_descdma_setup: tx dd_desc_paddr = 0xe833000, length 0x46500(288000) bytes Jan 12 00:52:23 localhost kernel[0]: ath_descdma_setup: beacon dd_desc_paddr = 0xa390000, length 0x90(144) bytes Jan 12 00:52:23 localhost kernel[0]: mac 12.10 phy 8.1 radio 12.0 Jan 12 00:52:23 localhost kernel[0]: IPv6 packet filtering initialized, default to accept, logging disabled Jan 12 00:52:23 localhost memberd[37]: memberd starting up Jan 12 00:52:23 localhost mDNSResponder-108.6 (Jul 19 2007 11: 41:28)[30]: starting Jan 12 00:52:23 localhost lookupd[42]: lookupd (version 369.6) starting - Tue Jan 12 00:52:23 2010 Jan 12 00:52:24 localhost diskarbitrationd[36]: disk0s2 hfs 72C688EB-6013-3852-9674-6B4FE2278138 Jonathan / Jan 12 00:52:25 localhost kernel[0]: yukonosx: Ethernet address 00:17:f2:de:f2:77 Jan 12 00:52:25 localhost kernel[0]: AirPort_Athr5424ab: Ethernet address 00:1c:b3:b3:fc:00 Jan 12 00:52:26 localhost DirectoryService[41]: Launched version 2.1 (v353.6) Jan 12 00:52:27 localhost kernel[0]: Registering For 802.11 Events Jan 12 00:52:27 localhost kernel[0]: [HCIController][setupHardware] AFH Is Supported Jan 12 00:52:27 Jonathans-Computer configd[34]: setting hostname to "Jonathans-Computer.local" Jan 12 00:52:27 Jonathans-Computer lookupd[64]: lookupd (version 369.6) starting - Tue Jan 12 00:52:27 2010 Jan 12 00:52:28 Jonathans-Computer kernel[0]: display: Not usable Jan 12 00:52:28 Jonathans-Computer /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started Jan 12 00:52:28 Jonathans-Computer loginwindow[67]: Login Window Started Security Agent Jan 12 00:52:29 Jonathans-Computer /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport: Currently connected to network Cassie Jan 12 00:52:32 Jonathans-Computer mDNSResponder: Adding browse domain local. Jan 12 00:52:32 Jonathans-Computer configd[34]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-network Jan 12 00:52:32 Jonathans-Computer configd[34]: posting notification com.apple.system.config.network_change Jan 12 00:52:32 Jonathans-Computer lookupd[104]: lookupd (version 369.6) starting - Tue Jan 12 00:52:32 2010 Jan 12 00:52:33 Jonathans-Computer sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/kextload /System/Library/Extensions/speedit.kext Jan 12 00:52:33 Jonathans-Computer kernel[0]: SpeedIt Kext is loading! Jan 12 00:52:33 Jonathans-Computer kernel[0]: Supported states Jan 12 00:52:33 Jonathans-Computer configd[34]: target=enable-network: disabled Jan 12 00:58:48 localhost kernel[0]: hi mem tramps at 0xffe00000 Jan 12 00:58:48 localhost kernel[0]: PAE enabled Jan 12 00:58:48 localhost kernel[0]: 64 bit mode enabled Jan 12 00:58:48 localhost kernel[0]: standard timeslicing quantum is 10000 us Jan 12 00:58:48 localhost kernel[0]: vm_page_bootstrap: 250304 free pages Jan 12 00:58:48 localhost kernel[0]: mig_table_max_displ = 71 Jan 12 00:58:48 localhost kernel[0]: Enabling XMM register save/restore and SSE/SSE2 opcodes Jan 12 00:58:48 localhost kernel[0]: 93 prelinked modules Jan 12 00:58:48 localhost kernel[0]: ACPI CA 20060421 Jan 12 00:58:48 localhost kernel[0]: AppleIntelCPUPowerManagement: ready Jan 12 00:58:48 localhost kernel[0]: AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled Jan 12 00:58:48 localhost kernel[0]: AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled Jan 12 00:58:48 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993 Jan 12 00:58:48 localhost kernel[0]: The Regents of the University of California. All rights reserved. Jan 12 00:58:48 localhost kernel[0]: using 5242 buffer headers and 4096 cluster IO buffer headers Jan 12 00:58:48 localhost kernel[0]: Enabling XMM register save/restore and SSE/SSE2 opcodes Jan 12 00:58:48 localhost kernel[0]: Started CPU 01 Jan 12 00:58:48 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87 Jan 12 00:58:48 localhost kernel[0]: ACPI: System State [S0 S3 S4 S5] (S3) Jan 12 00:58:48 localhost kernel[0]: Security auditing service present Jan 12 00:58:48 localhost kernel[0]: BSM auditing present Jan 12 00:58:48 localhost kernel[0]: disabled Jan 12 00:58:48 localhost kernel[0]: rooting via boot-uuid from /chosen: 2D2A2B8C-BE44-476A-BD90-80AF73E53AF0 Jan 12 00:58:48 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> Jan 12 00:58:48 localhost kernel[0]: USB caused wake event (EHCI) Jan 12 00:58:48 localhost kernel[0]: FireWire (OHCI) Lucent ID 5811 PCI now active, GUID 001b63fffe73a6ac; max speed s400. Jan 12 00:58:48 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleAHCI/PRT2@2/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/FUJITSU MHW2080BHPL Media/IOGUIDPartitionScheme/Apple_HFS_Untitled_1@2 Jan 12 00:58:48 localhost kernel[0]: BSD root: disk0s2, major 14, minor 2 Jan 12 00:58:48 localhost kernel[0]: jnl: replay_journal: from: 8286720 to: 4643328 (joffset 0x254000) Jan 12 00:58:48 localhost kernel[0]: CSRHIDTransitionDriver: robe: Jan 12 00:58:48 localhost kernel[0]: CSRHIDTransitionDriver::start before command Jan 12 00:58:48 localhost kernel[0]: CSRHIDTransitionDriver::stop Jan 12 00:58:48 localhost kernel[0]: IOBluetoothHCIController::start Idle Timer Stopped Jan 12 00:58:48 localhost kernel[0]: Jettisoning kernel linker. Jan 12 00:58:48 localhost kernel[0]: Resetting IOCatalogue. Jan 12 00:58:48 localhost kernel[0]: GFX0: family specific matching fails Jan 12 00:58:48 localhost kernel[0]: display: family specific matching fails Jan 12 00:58:48 localhost kernel[0]: Matching service count = 2 Jan 12 00:58:48 localhost kernel[0]: Matching service count = 4 Jan 12 00:58:48 localhost kernel[0]: Matching service count = 4 Jan 12 00:58:48 localhost kernel[0]: Matching service count = 4 Jan 12 00:58:48 localhost kernel[0]: Matching service count = 4 Jan 12 00:58:48 localhost kernel[0]: Matching service count = 4 Jan 12 00:58:48 localhost kernel[0]: Previous Shutdown Cause: 5 Jan 12 00:58:48 localhost kernel[0]: GFX0: family specific matching fails Jan 12 00:58:48 localhost kernel[0]: display: family specific matching fails Jan 12 00:58:48 localhost kernel[0]: ath_attach: devid 0x24 Jan 12 00:58:48 localhost kernel[0]: Override HT40 CTL Powers. EEPROM Version is 14.4, Device Type 5 Jan 12 00:58:48 localhost kernel[0]: ath_descdma_setup: tx dd_desc_paddr = 0xdbd9000, length 0x46500(288000) bytes Jan 12 00:58:48 localhost kernel[0]: ath_descdma_setup: beacon dd_desc_paddr = 0x974a000, length 0x90(144) bytes Jan 12 00:58:48 localhost kernel[0]: mac 12.10 phy 8.1 radio 12.0 Jan 12 00:58:48 localhost kernel[0]: IPv6 packet filtering initialized, default to accept, logging disabled Jan 12 00:58:48 localhost memberd[37]: memberd starting up Jan 12 00:58:48 localhost mDNSResponder-108.6 (Jul 19 2007 11: 41:28)[30]: starting Jan 12 00:58:48 localhost lookupd[43]: lookupd (version 369.6) starting - Tue Jan 12 00:58:48 2010 Jan 12 00:58:49 localhost diskarbitrationd[36]: disk0s2 hfs 72C688EB-6013-3852-9674-6B4FE2278138 Jonathan / Jan 12 00:58:50 localhost kernel[0]: yukonosx: Ethernet address 00:17:f2:de:f2:77 Jan 12 00:58:50 localhost kernel[0]: AirPort_Athr5424ab: Ethernet address 00:1c:b3:b3:fc:00 Jan 12 00:58:51 localhost DirectoryService[41]: Launched version 2.1 (v353.6) Jan 12 00:58:52 localhost kernel[0]: Registering For 802.11 Events Jan 12 00:58:52 localhost kernel[0]: [HCIController][setupHardware] AFH Is Supported Jan 12 00:58:52 Jonathans-Computer configd[34]: setting hostname to "Jonathans-Computer.local" Jan 12 00:58:52 Jonathans-Computer lookupd[64]: lookupd (version 369.6) starting - Tue Jan 12 00:58:52 2010 Jan 12 00:58:53 Jonathans-Computer kernel[0]: display: Not usable Jan 12 00:58:53 Jonathans-Computer /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started Jan 12 00:58:53 Jonathans-Computer loginwindow[67]: Login Window Started Security Agent Jan 12 00:58:54 Jonathans-Computer /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport: Currently connected to network Cassie Jan 12 00:58:55 Jonathans-Computer configd[34]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-network Jan 12 00:58:55 Jonathans-Computer configd[34]: posting notification com.apple.system.config.network_change Jan 12 00:58:55 Jonathans-Computer lookupd[102]: lookupd (version 369.6) starting - Tue Jan 12 00:58:55 2010 Jan 12 00:58:56 Jonathans-Computer sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/kextload /System/Library/Extensions/speedit.kext Jan 12 00:58:56 Jonathans-Computer kernel[0]: SpeedIt Kext is loading! Jan 12 00:58:56 Jonathans-Computer kernel[0]: Supported states Jan 12 00:58:56 Jonathans-Computer configd[34]: target=enable-network: disabled Jan 12 00:58:57 Jonathans-Computer mDNSResponder: Adding browse domain local. |
|
#8
| ||||
| ||||
| Previous shutdown cause is reported always after the system is started and starts the services... in the example above, the logs start about the moment the system was started, so the last commands given to it before it received the shutdown signal aren't included (they'd be before - whenever there is a break of time before the last commands and the powering on). But we can see something Jan 12 00:58:48 localhost kernel[0]: Previous Shutdown Cause: 5 Sleep called for the shutdown in this case. Was there also before the shutdown line something like below? kernel[0]: Previous Sleep Cause: 0 Finding a correct translation for the numbers in the shutdown cause is always a nice treasure hunt, for number 5 this is what I think covers it as much as it's ever been covered even in a semi-public view. Which will still leave a lot of open ends to find the exact cause in this case. What does system profiler show for the battery? Voltage in full charge, cycle count, is it seen correctly? Does the Mac get hot in use? Do you have any usb hubs connected to the Mac? Any peripherals? If there are, it would be worth testing with nothing attached to it (not even an external mouse). Any remote services enabled? Remote login, or remote desktop etc? Any difference if you are using battery or are connected to the mains? Any difference for other users on the Mac? If there aren't other users, create one (and it can be deleted later). Any unusual programs or services that could be running? Any torrent services, anything like Parallels or Fusion or VirtualBox? Games? I guess we could eliminate the services as a cause if running the Mac in safe mode (boot with shift until you see it's starting in safe mode), with nothing attached to the Mac, and it would not happen there. |
![]() |
| Bookmarks |
| Thread Tools | |
| |