<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.88">
<TITLE>RE: [hobbit] Channel processing problem with 4.11</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Thanks, was not aware of the beta release site.</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Dan Vande More [<A HREF="mailto:bigdan@gmail.com">mailto:bigdan@gmail.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Monday, October 03, 2005 8:44 AM</FONT>
<BR><FONT SIZE=2>To: hobbit@hswn.dk</FONT>
<BR><FONT SIZE=2>Subject: Re: [hobbit] Channel processing problem with 4.11</FONT>
</P>
<BR>

<P><FONT SIZE=2>Find the latest snapshot here:</FONT>
</P>

<P><FONT SIZE=2><A HREF="http://hswn.dk/beta/hobbit-snapshot.tar.gz" TARGET="_blank">http://hswn.dk/beta/hobbit-snapshot.tar.gz</A></FONT>
</P>

<P><FONT SIZE=2>(In the future, you can browse the <A HREF="http://hswn.dk/beta/" TARGET="_blank">http://hswn.dk/beta/</A> directory)</FONT>
</P>

<P><FONT SIZE=2>Then I usually just copy the Makefile over from the directory I</FONT>
<BR><FONT SIZE=2>compiled the last one out of.</FONT>
</P>

<P><FONT SIZE=2>Then what I do is edit <snapshot dir>/build/Makefile.rules and take</FONT>
<BR><FONT SIZE=2>"demo-build" off the end of line 18. It looks like this:</FONT>
</P>

<P><FONT SIZE=2>BUILDTARGETS = lib-build common-build bbdisplay-build bbnet-build</FONT>
<BR><FONT SIZE=2>bbproxy-build docs-build build-build hobbitd-build client demo-build</FONT>
</P>

<P><FONT SIZE=2>After that, I'd try applying the patches he sent you.</FONT>
</P>

<P><FONT SIZE=2>Good luck</FONT>
</P>

<P><FONT SIZE=2>Dan</FONT>
</P>

<P><FONT SIZE=2>On 10/3/05, Deiss, Mark <Mark.Deiss@acs-inc.com> wrote:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Confused even more now. Back to Sourceforge, from what I can tell, am using</FONT>
<BR><FONT SIZE=2>> the current (?) release of hobbitserver 4.1.1. Not seeing anything in any of</FONT>
<BR><FONT SIZE=2>> the Soureforge headings about a more current snapshot - under CVS or patch</FONT>
<BR><FONT SIZE=2>> groupings.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> For your supplied patch, patch failed to apply - inspecting the patch, there</FONT>
<BR><FONT SIZE=2>> are the following reference to old and patched lines in the</FONT>
<BR><FONT SIZE=2>> hobbitd_client.c:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> -                       add_disk_count(fsname);</FONT>
<BR><FONT SIZE=2>> +                       if (fsname) add_disk_count(fsname);</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Did a global search in the entire hobbit code tree and there is no</FONT>
<BR><FONT SIZE=2>> add_disk_count function defined. Noticed the old code of:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> if (fsname && (usage != -1)) {</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Where in the 4.1.1 code base it is:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> if (usage != -1)) {</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Figured a check for valid fsname is what you are after before proceeding</FONT>
<BR><FONT SIZE=2>> with the add_disk_count call above so made this change in the branch to work</FONT>
<BR><FONT SIZE=2>> on disk threshold checking. Recompiled, retested, same error. Oh well.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> For the second patch in client_config.c, the line counts do not add up in</FONT>
<BR><FONT SIZE=2>> the patch - closest code appears to be in the add_process_count function.</FONT>
<BR><FONT SIZE=2>> Would not expect add_process_count to be part of processing df messages.</FONT>
<BR><FONT SIZE=2>> Guess the add_disk_count is defined in this module in another version.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> RCS string for hobbitd_client.c and client_config.c module in the 4.1.1</FONT>
<BR><FONT SIZE=2>> release are:</FONT>
<BR><FONT SIZE=2>> static char rcsid[] = "$Id: hobbitd_client.c,v 1.21 2005/07/25 13:57:56</FONT>
<BR><FONT SIZE=2>> henrik Exp $";</FONT>
<BR><FONT SIZE=2>> static char rcsid[] = "$Id: client_config.c,v 1.5 2005/07/24 07:50:13 henrik</FONT>
<BR><FONT SIZE=2>> Exp $";</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> In the patch file, noticed string IDs for the patch targets of:</FONT>
<BR><FONT SIZE=2>> --- hobbitd/hobbitd_client.c    2005/09/28 21:21:56     1.34</FONT>
<BR><FONT SIZE=2>> +++ hobbitd/hobbitd_client.c    2005/09/30 15:53:55</FONT>
<BR><FONT SIZE=2>> --- hobbitd/client_config.c     2005/09/21 11:37:05     1.9</FONT>
<BR><FONT SIZE=2>> +++ hobbitd/client_config.c     2005/09/30 15:54:57</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> So looks like am working with an older release set. Using the CVS web</FONT>
<BR><FONT SIZE=2>> browser agent on Sourceforge, not turning up any more recent code trees for</FONT>
<BR><FONT SIZE=2>> other then the hobbit client package.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: henrik@hswn.dk [<A HREF="mailto:henrik@hswn.dk">mailto:henrik@hswn.dk</A>]</FONT>
<BR><FONT SIZE=2>> Sent: Friday, September 30, 2005 12:02 PM</FONT>
<BR><FONT SIZE=2>> To: hobbit@hswn.dk</FONT>
<BR><FONT SIZE=2>> Subject: Re: [hobbit] Channel processing problem with 4.11</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> On Fri, Sep 30, 2005 at 10:47:39AM -0500, Deiss, Mark wrote:</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > I have narrowed down the fault in the client message to the first line in</FONT>
<BR><FONT SIZE=2>> > the df output (how strange). Below is the client side code where only</FONT>
<BR><FONT SIZE=2>> > reporting the initial client line and then the [df] block header and the</FONT>
<BR><FONT SIZE=2>> df</FONT>
<BR><FONT SIZE=2>> > output. If the HPUX df header line is removed before sending out message,</FONT>
<BR><FONT SIZE=2>> no</FONT>
<BR><FONT SIZE=2>> > error on channel.</FONT>
<BR><FONT SIZE=2>> I just had another report about hobbitd_client crashing, also with the "df"</FONT>
<BR><FONT SIZE=2>> reports. In that case I was able to track it down and the attached patch</FONT>
<BR><FONT SIZE=2>> should fix it (the patch is on top of the current snapshot). Could you</FONT>
<BR><FONT SIZE=2>> try if this fixes it ? It might be the same problem.</FONT>
<BR><FONT SIZE=2>> Regards,</FONT>
<BR><FONT SIZE=2>> Henrik</FONT>
</P>

<P><FONT SIZE=2>To unsubscribe from the hobbit list, send an e-mail to</FONT>
<BR><FONT SIZE=2>hobbit-unsubscribe@hswn.dk</FONT>
</P>

</BODY>
</HTML>