AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080618131337.2ce0262b@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<jonathan.goldick@onstor.com>,<maxim.kozlovsky@onstor.com>,<kumarv@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E0A82D7C5@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 18 Jun 2008 13:14:18 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Kumar Vakacharla (HCL) <kumarv@onstor.com>
Cc: "Jonathan Goldick" <jonathan.goldick@onstor.com>, "Maxim Kozlovsky"
 <maxim.kozlovsky@onstor.com>
Subject: Re: doubt regarding  reboot -c
Message-ID: <20080618131418.7aa2dd98@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E0A82D7C5@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E0A82D7C5@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Kumar,

Perhaps you didn't quite fully understand me yesterday when I told you
that on Bobcat the -c option does nothing and you could safely get rid
of it.









On Wed, 18 Jun 2008 12:52:07 -0700 "Jonathan Goldick"
<jonathan.goldick@onstor.com> wrote:

>  
> 
>  
> 
> ________________________________
> 
> From: Kumar Vakacharla (HCL) 
> Sent: Wednesday, June 18, 2008 12:15 PM
> To: Jonathan Goldick
> Subject: doubt regarding reboot -c
> 
>  
> 
> Jonathan, 
> 
>  
> 
> Can you please let me know is there any impact of including "-c"
> (RB_COLD ) option in "/sbin/reboot" for BSD.  
> 
>  
> 
> I couldn't find any difference in the code. 
> 
>  
> 
> openbsd/sys/arch/pmonmips/pmonmips/machdep.c: 
> 
> In function boot():
> 
>  
> 
>         if (sys_config.system_type == GALILEO_SSC) {
> 
> #if defined(ENABLE_WATCHDOG)
> 
>             if (howto & RB_COLD) {
> 
>                                 /*
> 
>                                  * Reset watchdog timeout to 10 msec
> so we
> 
>                                  * don't wait for a long time
> 
>                                  */
> 
>                                 ds1511_disable_watchdog();
> 
>                                 ds1511_init_watchdog(0, 10);
> 
>                 ds1511_do_coldreset();
> 
>             }
> 
>             else {
> 
>                 /*
> 
>                  * NMI soft reset not supported on cheetah
> 
>                  * PROM.
> 
>                  */
> 
>                                 ds1511_disable_watchdog();
> 
>                                 ds1511_init_watchdog(0, 10);
> 
>                 ds1511_do_coldreset();
> 
>             }
> 
> #endif
> 
>         }
> 
>         else
> 
>             __asm__(" li $2, 0xbfc00100; jr $2; nop\n");
> 
>         while(1); /* Forever */
> 
>     }
> 
>  
> 
> Thanks,
> 
> Kumar.
> 
