View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Oct 23, 2005 4:17 pm 
Offline
Joined: Sat Sep 24, 2005 4:45 pm
Posts: 42
Greetings,

I've got my system running flawlessly for a few weeks now and love it. It's also fully passed the WAF (Wife Acceptance Factor) which is good as it was her birthday gift. so..

Of course I have to fsck with it now and then. I've installed and tested nvram-wakeup per the KnoppmythWiki instructions. Seems to work fine as I can set the wake-up time from the command line and it reboots/halts and then comes back up as it should. My problem is that the backend never shuts down. I've got it set to wait for client connection before checking for idle, and idle time set to 10 seconds.... restart back and front end futz around for a bit and then exit front end. It never shuts down.


I'm guessing that either myth backend is not functioning properly in this regard, or is never getting idle. any thoughts?

EDIT: I've confirmed from the backend logs that it is getting idle, but never seems to call the script. I put in a test script to echo some output to a file just to see if it even calls it -- nothing. The startup script is called just fine, but the shutdown and set-startup-time scripts never seem to get called.

EDIT/ SOLVED: I have a history of answering my own questions ;). So the problem is that I had no pre-shutdown command entered. so when the system went idle, it tried to call a pre-shutdown command, but none existed so there was no "0" return to tell it okay to shutdown. I solved this temporarily by putting "exit 0" in as the preshutdown command. I'm looking into a script like can be found here. as a long term solution.

Andrew

_________________
ASUS A7N8X-E Deluxe
Hauppauge 350/150
ASUS V9520Magic/128MB Geforce FX5200
Maxtor DiamondMax 10 6L200R0 200GB
AMD Athlon XP 2800+ Barton


Top
 Profile  
 
PostPosted: Mon Oct 24, 2005 11:38 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
andrewsw wrote:
EDIT/ SOLVED: I have a history of answering my own questions ;). So the problem is that I had no pre-shutdown command entered. so when the system went idle, it tried to call a pre-shutdown command, but none existed so there was no "0" return to tell it okay to shutdown. I solved this temporarily by putting "exit 0" in as the preshutdown command. I'm looking into a script like can be found here. as a long term solution.

Glad it's working!

Hmmmm... I forgot about that "exit 0". I've updated the wiki.

As for the other reference you gave, if you never have to reboot to get the BIOS wakeup time to take hold, it may be a better solution as it uses the commands more in the way that they were intended. My box sometimes needs a reboot and so I had to do the re-boot from the set wakup time script. This is because result of setting the time determines whether a reboot or a simple halt is needed. I might have put the information in a file, but I was afraid that would create even more race conditions.

Cheers,

Allen

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 24, 2005 11:50 am 
Offline
Joined: Sat Sep 24, 2005 4:45 pm
Posts: 42
thanks, I added the other link to the wiki as well in case anyone is interested... Planning on testing it later today and will post results here and on the wiki.

A

_________________
ASUS A7N8X-E Deluxe
Hauppauge 350/150
ASUS V9520Magic/128MB Geforce FX5200
Maxtor DiamondMax 10 6L200R0 200GB
AMD Athlon XP 2800+ Barton


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu