This discussion is archived
10 Replies Latest reply: Apr 18, 2012 12:10 PM by 931517 RSS

Sun Blade keeps turning off

931517 Newbie
Currently Being Moderated
Hello-

I have a Sun Blade 150 (UltraSPARC-IIe 650MHz). It is turning itself off repeatedly every few hours with the following message in /var/adm/messages

power: [ID 132712 kern.warning] WARNING: Power off requested, powering down the system!
pseudo: [ID 129642 kern.info] pseudo-device: tod0
genunix: [ID 936769 kern.info] tod0 is /pseudo/tod@0
sys-suspend: [ID 221072 daemon.notice] System is being shut down.
xntpd[953]: [ID 702911 daemon.notice] xntpd 3-5.93e Mon Sep 20 15:47:11 PDT 1999 (1)
xntpd[953]: [ID 301315 daemon.notice] tickadj = 5, tick = 10000, tvu_maxslew = 495, est. hz = 100
xntpd[953]: [ID 798731 daemon.notice] using kernel phase-lock loop 0041
genunix: [ID 672855 kern.notice] syncing file systems...
genunix: [ID 904073 kern.notice] done

I thought it could be due to the CPU overheating, but the temperature inside the box is fine. Also all fans are working. Here is the result of prtdiag -v


Fan Speeds:
---------------------------------------------
Location Sensor Status Speed
---------------------------------------------
+stem-fan-slot system-fan      okay     100%           

Temperature sensors:
-----------------------------------------------------------------------------
Location Sensor Temperature Lo LoWarn HiWarn Hi Status
-----------------------------------------------------------------------------
+em-board/cpu0 Die              52C       -10C    0C     85C     90C   okay
+em-board/cpu0 Ambient          31C       -10C    0C     40C     60C   okay

Any ideas? Is there a way I can figure out what is requesting the power off?

Thanks.
  • 1. Re: Sun Blade keeps turning off
    rukbat Guru Moderator
    Currently Being Moderated
    pseudo: [ID 129642 kern.info] pseudo-device: tod0
    genunix: [ID 936769 kern.info] tod0 is /pseudo/tod@0
    sys-suspend: [ID 221072 daemon.notice] System is being shut down.
    xntpd[953]: [ID 702911 daemon.notice] xntpd 3-5.93e Mon Sep 20 15:47:11 PDT 1999 (1)
    [emphasis added]

    I'm not sure if it's the root cause, but I think you need to replace the CR2032 button cell battery on the systemboard.
    Since the SB150 first shipped in 2002, I think your original T.O.D. battery has finally failed.

    Start there.
  • 2. Re: Sun Blade keeps turning off
    bobthesungeek76036 Pro
    Currently Being Moderated
    What does your /etc/power.conf look like?
  • 3. Re: Sun Blade keeps turning off
    931517 Newbie
    Currently Being Moderated
    Sorry, I forgot to mention that I had confirmed the power settings were set to never turn off.

    # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    #
    #pragma ident "@(#)power.conf 1.16 01/03/19 SMI"
    #
    # Power Management Configuration File
    #


    # Auto-Shutdown Idle(min) Start/Finish(hh:mm) Behavior
    autoshutdown 30 9:00 9:00 noshutdown

    device-dependency-property removable-media /dev/fb
    autopm disable

    system-threshold always-on
  • 4. Re: Sun Blade keeps turning off
    bobthesungeek76036 Pro
    Currently Being Moderated
    I agree with rukbat, first order of business should be to replace the button battery.
  • 5. Re: Sun Blade keeps turning off
    931517 Newbie
    Currently Being Moderated
    Okay, thanks for that suggestion.

    I found a known good battery a replaced the old CR2032.

    I measured the voltage on the old CR2032 and it measures 3.5V. So voltage is okay, but maybe the current capacity has degraded?

    So there's a good battery in there now. I guess I just have to wait and see now if it works?

    Can you explain more about time of day battery and how this would cause the system to shutdown a few hours after it has rebooted? (Or refer me to a link.)
  • 6. Re: Sun Blade keeps turning off
    931517 Newbie
    Currently Being Moderated
    Also, sorry, I just noticed that you highlighted Mon Sep 20 15:47:11 PDT 1999

    I'm not sure where that date comes from, but it's different than the date result. the time/date setting was working correctly on the system. here is the error messages again with the time/date stamp on them.

    Apr 17 19:17:31 power: [ID 132712 kern.warning] WARNING: Power off requested, powering down the system!
    Apr 17 19:17:50 pseudo: [ID 129642 kern.info] pseudo-device: tod0
    Apr 17 19:17:50 genunix: [ID 936769 kern.info] tod0 is /pseudo/tod@0
    Apr 17 19:17:51 sys-suspend: [ID 221072 daemon.notice] System is being shut down.
    Apr 17 19:17:52 xntpd[953]: [ID 702911 daemon.notice] xntpd 3-5.93e Mon Sep 20 15:47:11 PDT 1999 (1)
    Apr 17 19:17:52 xntpd[953]: [ID 301315 daemon.notice] tickadj = 5, tick = 10000, tvu_maxslew = 495, est. hz = 100
    Apr 17 19:17:52 xntpd[953]: [ID 798731 daemon.notice] using kernel phase-lock loop 0041
    Apr 17 19:18:08 genunix: [ID 672855 kern.notice] syncing file systems...
    Apr 17 19:18:08 genunix: [ID 904073 kern.notice] done
  • 7. Re: Sun Blade keeps turning off
    rukbat Guru Moderator
    Currently Being Moderated
    Lithium button cell batteries will most often always show their nominal 3-volt voltage unless you test them under a load. They will have a voltage until they suddenly have nothing. Thus putting one of them on a volt-ohm meter accomplishes nothing.
    <br>
    <br>
    928514 wrote:
    Also, sorry, I just noticed that you highlighted Mon Sep 20 15:47:11 PDT 1999

    I'm not sure where that date comes from, but it's different than the date result. the time/date setting was working correctly on the system.
    That 1999 date might be what that workstation interprets through the NTP daemon.
    It's probably best to disable that service, since I sense you don't deliberately have a remote NTP server for your usage.

    That date might be distracting everyone from the system's true issue.
    I suggest you review your messages file(s) for whatever is logged BEFORE those lines.

    Something is initiating a graceful shutdown. That's not a panic event.
    Time to start investigating cron jobs and whether that system was ever configured with something like a UPS.
  • 8. Re: Sun Blade keeps turning off
    931517 Newbie
    Currently Being Moderated
    Yes, I looked at the messages in the log before the shutdown.

    The ntpdate isn't working (it repeatedly keeps trying). I killed that process before though to see if that's what's shutting down the system, but the system still turns off anyway. So I don't think it's ntpdate.

    Apr 17 18:56:46 ntpdate[305]: [ID 398266 daemon.notice] waiting 300 seconds before trying again
    Apr 17 19:00:00 sendmail[683]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 420: readcf: option RunAsUser: unknown user smmsp
    Apr 17 19:00:00 sendmail[683]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 439: readcf: option TrustedUser: unknown user smmsp
    Apr 17 19:01:50 ntpdate[305]: [ID 398266 daemon.notice] waiting 300 seconds before trying again
    Apr 17 19:06:54 last message repeated 2 times
    Apr 17 19:11:58 ntpdate[305]: [ID 398266 daemon.notice] waiting 300 seconds before trying again
    Apr 17 19:17:02 last message repeated 2 times
    Apr 17 19:17:31 power: [ID 132712 kern.warning] WARNING: Power off requested, powering down the system!
    Apr 17 19:17:50 pseudo: [ID 129642 kern.info] pseudo-device: tod0

    Other than that, I don't see any clues from the message log as to what it could be.

    Could you explain why you think the TOD battery could cause the system to shutdown, or are you saying, you think that probably isn't the cause now?

    Thanks. I will look into cron jobs.
  • 9. Re: Sun Blade keeps turning off
    rukbat Guru Moderator
    Currently Being Moderated
    928514 wrote:
    ... snip ...

    Could you explain why you think the TOD battery could cause the system to shutdown, or are you saying, you think that probably isn't the cause now?
    Your initial post showed nothing except the shutdown and a few lines for NTP (with the 1999 datestamp). There was nothing else to prompt a thought process. It suggested a timestamp mismatch as the initiator by a UPS unit and its software configuration.

    Knowing that a Sunblade 150 is a ten-plus-year-old box, the coin cell battery was a logical source for a failed system time.

    I fear the lack of initial information is limiting anyone from actually helping at the moment.
    There's really no information other than a graceful shutdown occurs ... "often".
    Is it always just after 7PM?
    Is it always X hours apart?
    Is it every day or only work days?
    You haven't told us yet.



    ---
    In a past incarnation, I did techsupport for Sun (1999 through 2005) and I always made a point of looking through every messages file that might exist from a system even if that meant reading months of information just to find the single tidbit for the root cause. I'd start with `messages` then go through `messages.0` then `messages.1` and so on.

    There is no way to do that in a community discussion forum.
    You'll have to do that for yourself.
  • 10. Re: Sun Blade keeps turning off
    931517 Newbie
    Currently Being Moderated
    i have already looked through all the message logs (messages, messages.0 etc.), and haven't found anything that matches with the shutdowns.

    also, i used the "last" command to check the log in list, and the shutdowns do not occur when anyone is logged in. so it's not a person shutting it down. neither do the shutdowns occur right after anyone's session.

    the shutdowns were initially occurring every 2 days and 12 hours. however, now the time between shutdowns is getting shorter, about 24 hours. so, i'm continuing to try to find out the cause for the shutdown request. i'll keep searching.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points