ts-7000
[Top] [All Lists]

[ts-7000] Re: easy one, reboot reboots, but halt and poweroff don't see

To:
Subject: [ts-7000] Re: easy one, reboot reboots, but halt and poweroff don't seem to do anything
From: "Charles" <>
Date: Thu, 27 May 2010 01:03:55 -0000
Hi --

--- In  "j.chitte" <> wrote:
>
> > 
> > what's going on here?
> >
> 
> Hi , having similar problems on 7250 with busybox 1.17
> 
> here reboot is also a nop. I have to power cycle manually.
> 
> I have another image with recent bb (probably 1.16) that works correctly. 
> Have not had time to dig into it.
> 
> :?
>

Look into the config of busybox.  In the ./init directory, the reboot, halt and 
poweroff routines all have code like this (from bb 1.00-rc2):

#ifndef CONFIG_INIT
#ifndef RB_HALT_SYSTEM
#define RB_HALT_SYSTEM          0xcdef0123
#endif
        return(bb_shutdown_system(RB_HALT_SYSTEM));
#else
        return kill_init(SIGUSR1);
#endif

So looks like if bb is configured as an init replacement, these calls work on 
init, otherwise they work as expected.  

May explain why your two binaries work differently, but doesn't explain why 
your TS-7200 works differently than the TS-7500 Kris mentions in another post.

regards, ........ Charlie




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU