> -----Original Message-----
> From: Adam Nielsen [mailto:[email protected]]
> Sent: 21 December 2009 02:30
> To: Graham Adams
> Cc: [email protected]
> Subject: Re: Auto wake on Poweredge 2700 ?
> 
> > We have some new Poweredge 2700 servers.  So far two have been
> > configured and SLES 10 SP2 x86_64 installed.  If they are shut down
> they
> > both automatically power up just after midnight .
> 
> I believe (on standard PCs at least) this wake up time is set by
> configuring an RTC alarm.  I would try to find some way of checking the
> RTC to see if an alarm time is set, and disable that.  Linux seems to
> support this at the kernel level, but I'm not aware of a program that
> utilises it.  A couple of things I can think of:
> 
>   - Have another look through the BIOS and be sure there's nothing
> about
> alarms, PME wakeup events, wake on IRQ0 or anything else involved with
> the RTC.
> 
>   - Use the Dell Diagnostics CD.  They're surprisingly thorough, I
> wouldn't be surprised if they test the RTC.  When the test is complete
> it may leave the alarm disabled.
> 
>   - Unplug the machine's power and remove the CMOS battery for a few
> minutes if you can.  This should cause the system clock to be reset,
> hopefully losing the alarm time in the process.
> 
> Cheers,
> Adam.


Hello Adam,

Running the diagnostics didn't help but you pointed me in the right direction 
with the RTC alarm.

I found this was set to (according to /proc/acpi/alarm) "2009-12-00 00:00:00" . 
 This seems to mean wake up at midnight every day.  By changing this to a 
specific day I can stop the alarm repeating daily but I think it will still 
repeat monthly because if I try to set it to, say, "2009-11-01 01:01:01" then 
read it back it returns "2009-12-01 01:01:01", presumably because the RTC chip 
is one without year and month fields in the alarm.  I am going to try to 
disable the RTC alarm IRQ using the ioctl documented at the rtc(4) man page.

Thanks for your help,
Graham


_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to