freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-devel] Re: FreeIPMI beta w/ BMC watchdog workaround for Sun ma


From: Al Chu
Subject: [Freeipmi-devel] Re: FreeIPMI beta w/ BMC watchdog workaround for Sun machines
Date: Thu, 17 Jun 2010 16:19:42 -0700

Hey Dave,

Doh!  The --version bug was due to me not understanding a subtlety in
the argp library.  Thanks for the catch.  I've put up a new QA release
with a fix in it.

http://ftp.gluster.com/pub/freeipmi/qa-release/freeipmi-0.8.8.beta0.tar.gz

Hmm.  I don't know much about the openipmi kernel driver, but I know it
can have it's own bmc-watchdog running.  Are you sure it's not running
it's own watchdog out of the kernel?

I do have one other guess as to how you're seeing "timer stopped by
another process".  It's possible there is an early race, where the timer
has not yet quite started.  In bmc-watchdog/src/bmc-watchdog.c, perhaps
you can try this tiny test.

--- bmc-watchdog.c      16 Jun 2010 17:52:38 -0000      1.131
+++ bmc-watchdog.c      17 Jun 2010 23:18:57 -0000
@@ -1920,6 +1920,8 @@ _daemon_cmd (void)
            && reset_period < (retry_wait_time * retry_attempt))
     retry_attempt = reset_period/retry_wait_time;
 
+  sleep (5);
+
   while (shutdown_flag)
     {
       struct timeval start_tv, end_tv;

> By the way 2, I noticed that it's still using GPLv2, not v3.  Is that 
> an oversight, or because the copyrights don't allow it?

Nope, it'll be GPLv3 when I release the next major release of FreeIPMI.
Was just too lazy to back update all the headers and documents in the
current release line :P

Al

On Thu, 2010-06-17 at 05:30 -0700, Dave Love wrote:
> Al Chu <address@hidden> writes:
> 
> > (Naturally, I added "confirmed to work around" based on the assumption
> > you guys can confirm it for me :-)
> 
> I can't confirm it on either x4100 -- not x4100m2 -- (RedHat 5) or x4500
> (Solaris).  In each case, the daemon reports:
> 
>   timer stopped by another process
>   stopping bmc-watchdog daemon
> 
> Under Solaris, SMF restarts the daemon anyway, so it kind-of works, but
> not under RedHat.
> 
> I'm running it as
> 
>   /usr/sbin/bmc-watchdog -d -u 4 -p 0 -a 1 -F -P -L -S -O -i 900 -e 60 -D 
> openipmi -W ignorestateflag
> 
> says ps, where I need the -D on x4100 or x4200m2 to avoid 
> 
>   bmc-watchdog:  Get Watchdog Timer Error: BMC Busy
> 
> Ii think I have the latest firmware in each case -- some version of
> 2.0.2.5.
> 
> I wonder what's different between me and Frank.  I don't have time to
> investigate immediately, but I'll try to later.
> 
> By the way, I know I'm running the right version as it accepts
> ignorestateflag.  However, bmc-watchdog doesn't accept --version, though
> it's in the --help output.
> 
> By the way 2, I noticed that it's still using GPLv2, not v3.  Is that an
> oversight, or because the copyrights don't allow it?
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory




reply via email to

[Prev in Thread] Current Thread [Next in Thread]