PC rebooting spontaneously

Hello

I installed Open SUSE 11.0 without the slightest problem, but there is some ‘post-install’ issue.
The problem is that my PC now boots spontaneously, every night at 02:00. Since I am in a +02:00 DST zone; I guess this must have something to do with 00:00 UTC.
I did not have this problem while XP was installed on the machine and haven’t touched the PC’s bios setup. Also, after having removed Suse and replaced by Debian (temporarily, just to check, don’t worry:-), the problem did not persist either.
I have a Pentium 2.6GHZ, 1GB RAM, ATI Radeon Video card and 120GB WD Hard Disk.
What should I check?

Thanks in advance,

Frank De prins

frankdeprins wrote:

>
> Hello
>
> I installed Open SUSE 11.0 without the slightest problem, but there is
> some ‘post-install’ issue.
> The problem is that my PC now boots spontaneously, every night at
> 02:00. Since I am in a +02:00 DST zone; I guess this must have
> something to do with 00:00 UTC.
> I did not have this problem while XP was installed on the machine and
> haven’t touched the PC’s bios setup. Also, after having removed Suse
> and replaced by Debian (temporarily, just to check, don’t worry:-), the
> problem did not persist either.
> I have a Pentium 2.6GHZ, 1GB RAM, ATI Radeon Video card and 120GB WD
> Hard Disk.
> What should I check?
>
> Thanks in advance,
>
> Frank De prins
>
>

Hi Frank,

Exactly at 2am huh? odd.

Could we check some things?

You will need to be root to view the logs.

You can use the YaST application (kmenu -> computer -> YaST), by
choosing ‘Miscellaneous’ on the left, then ‘System Log’.

You’ll want to view ‘/var/log/messages’

Scroll through the log file, looking at the date/time stamps at the left of
each line, and find the entries for around 2am last night or whenever it
rebooted recently.

10-15 minutes before, to 10-15 minutes after. Is there anything curious in
there?

A clue is to look for ‘System shutting down’, or ‘System rebooting’… this
would indicate a controlled shutdown/reboot, while a sudden ‘Syslog started’
usually indicates a crash and restart.

Post that chunk of logs here, and maybe we can get closer to the mysterious
rebooting computer. (sounds rather like a Scooby-Doo episode).

Take Care,

Loni


L R Nix
lornix@lornix.com

Hi Loni,

Thanks for your reply.
Well, as I mentioned before, in the meantime I installed Debian and, last night, I replaced that one with Ubuntu. All are just temporary to find out if the problem is SUSE related (and, as a Linux newby, to get a quick look on some distro’s).
And, in fact, Debian did not suffer from this problem, but Ubuntu does. It also booted spontaneously, last night at 02:00 (it woke me up with all the beeping:-).
As for the log files, I already did that and did not notice any difference, that I could think was meaningfull, between a regular boot and a spontaneous one.
At any rate, this evening, or any day soon I will reinstall Suse and check those logs again.

Thanks again and see you,

Frank

i’d bet if you reset your hardware clock to be off by (say) plus thirty
minutes you would be awaken at 12:30 with SuSE or 02:30 with Debian…

i say that because i’m pretty sure that cron is starting a program to do
some scheduled work at midnight in SuSE and 02:00 in Debian…and what
ever it is starting is sucking so many cycles and/or hitting the disk so
hard that it is causing a reboot due to a temporary and nearly
instantaneous power spike which interrupts the system enough to trigger
reboot…

OR whatever is started at midnight/2 AM is heating up the CPU to the
point it is shutting down…

OR the power supply which came with your box is almost big enough
for all your system needs except for that little extra needed when
some cron job is indexing all your files (or whatever it is doing), and
thereby using the CPU, hard drive AND memory all at 100% !! (yep, most
box makers will try to save that $25 extra bucks it would take to give
you a supply which is big enough AND smooth enough for the absolute peak
drain, plus some to spare…)

OR are you using reiser file system? if so, there is a known problem
with 11.0

OR are you using beagle? if so, you need to kill that dog


DenverD (Linux Counter 282315)
A Texan in Denmark

Hello DenverD,

Actually, my subject line is a bit misleading. It should say ‘booting’ spontaneously and not ‘rebooting’, because that is what happens: it wakes from the dead at 00:00 UTC.
Since I am not running a server, I shut the machine down before going to sleep but, alas, it decides to get to ‘work’ again at 00:00UTC (02:00 local time for me).

Thanks for your reply,

Frank

Hi Frank,

Are the installed Ubuntu and SUSE using the same kernel versions? Maybe some sleep function is enabled for your system instead of shutting down?

Other than that, have you checked the BIOS settings to see if there is not some auto-wake function enabled? It does not sound logical seeing Debian should also ’ wake up ’ … but you never know :wink:

Cheers,
Wj

Check if WOL (Wake on LAN is enabled in you BIOS config) if its on try to turn it off and see what it will solve the problem,

Hello,

Sorry for answering many posts at once, but here is some extra information some of you asked for.

  • As for the kernel versions, the Suse 11.0 seemed to be at 2.6.25.5.1-1-pae and the ubuntu 2.6.24-19-generic.
  • The only ‘Wake on…’ event that was still enabled was ‘Resume on PME#’, but even after disabling that one, the PC booted spontaneously, last night.

I also reinstalled Suse, after some adventures with other distro’s and I must say that the installer and configuration tool are the best I have seen. They recognized every piece of harware and configured it appropriately.
Despite of that, and despite of a wonderfull, helpfull community, Linux does not seem like a fit for me. I want a machine that I can switch on and work with. The last few days, apart from this minor booting issue, I have seen many ‘Internal system error’ messages in all distro’s at various places and with various applications. Despite the fact that I am a professional software developer, I do not like to have to get my hands dirty on every occasion, even for just writing a document. It reminds me a bit of some of those motor cycle riders who do not care to have to work on their engines for hours to be able to take a 15 minutes ride.
But, again, I like to thank you all for the helpfull hands and, in this respect, Linux seems for me to be more of a social revelation than a technical one.

Thanks,

Frank De prins

> Actually, my subject line is a bit misleading. It should say ‘booting’
> spontaneously

make mistakes writing like me huh?

no problem…you can still fix your actual problem SIMPLE–after your
machine is shutdown just unplug it…

actually, i find it easier to use a power strip (with an on-off rocker
switch) to positive power OFF my computer, monitor, speakers, printer
and ADSL modem…guranteed to not wake you in the middle of the night!

here is one for under five bucks, get two–they are handy to have:
http://www.electricsuppliesonline.com/co046ouposto.html


DenverD (Linux Counter 282315)
A Texan in Denmark

Hi!

Though I am using Ubuntu 8.04 I just wanted let you guys know that I am experiencing a very similar not to say the same problem - PC is booting at midnight 00:00h spontaneously.

Problem seems to be related to ACPI and moreover it seems to be a bug. On my system, the problem seems not to be related to some BIOS settings such as WOL or Wake on RTC. It is clearly related to linux for as when I shutdown the PC via WinXP, the PC remains powered down.

For more details please take a look at the bug in launchpad. Attached to this there is also an output of lshw which you can compare to the setup of other machines having the same problem - by chance we can discover some similarities.

I also posted in the (german) Ubuntu forum](http://forum.ubuntuusers.de/topic/181243/).

Cheers,

Botch77