Hi, as covered in a prior recent thread, I've set up a unslung 6.8 slug to do remote temperature, etc. monitoring via owfs/temploggerd/rrd . In order to make this more robust, I'm planning to do Alternative 11 for recovery from a power outage (http://www.nslu2-linux.org/wiki/HowTo/ForcePowerAlwaysOn#method11).
In validating my SW set up, I've run into an issue where I'm getting the slug completely borked when performing a power cycle - while the slug is still not yet modified for PowerAlwaysOn. So I have a stock (but de-underclocked) NSLU2 running Unslung 6.8 when I run into the following behavior. I look forward to advice on what is happening with the power cycling which is screwing things up.
Case 1: logged in via ssh shell after clean boot, can issue a sync;sync;reboot. Machine reboots and comes up fine. All works great.
Case 2: press power button while slug running, unit shuts down. Upon restart via power button, machine never comes ready - all LEDs flash then go out except the ethernet one. No response to anything via ethernet (ssh, web gui, etc.). Never comes back after that first power cycle, need to reflash the USB stick (fortunately I did a partimage and can restore that) to get it back. I've also tried doing a fsck.ext3 on my main linux box; it reports disk errors if I use the -f flag (but says it is clean without the forcing). Fixing the file system does not result in a successful reboot either, I have to totally re-image it.
Case 3: via web gui Administration => Status page, press "Restart Now" button. Same great outcome as Case 1.
Case 4: same as 3 but press "Shutdown Now" instead. Same problem and fix as Case 2.
Also, when "borked", the machine will boot into the internal unslung if the unslung disk (USB key) is removed, as expected.
So basically, all is OK if the system is "soft" restarted, and totally borked if power cycled. What am I doing wrong? A UPS is not a reasonable option for me in this application, so I need the unit to survive a power cycle.
Sorry for the long-winded post...
Thursday, January 6, 2011
[nslu2-linux] unslung 6.8: power cycling/reboot questions, issue
__._,_.___
.
__,_._,___
No comments:
Post a Comment