Hi Kjell,<br><br><div class="gmail_quote">2009/3/16 Kjell Claesson <span dir="ltr">&lt;<a href="mailto:kjell.claesson@epost.tidanet.se">kjell.claesson@epost.tidanet.se</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
måndag 16 mars 2009 14:32:44 skrev  Arnaud Quette:<br>
OK all,<br>
8&lt;--------------------------snip----------------------------------<br>
<div class="im">&gt; &gt; It happens only when I start driver with -DD (or more &#39;D&#39;). When I run<br>
&gt; &gt; only with -D, it working normally.<br>
&gt;<br>
&gt; all the debug outputs there are at level 2. so nothing but &quot;normal&quot;.<br>
&gt; from your feedback, my guess is that it crashes at the Config_block (line<br>
&gt; 1108)<br>
&gt; the gdb trace just before the crash should confirm this (last one should<br>
&gt; be: &quot;Length of alarm map...&quot;)<br>
&gt; Kjell will (or not) confirm since I&#39;m not an XCP expert...<br>
<br>
</div>This is a type of bugg.<br>
Your ups is overshooting the alarm map in the driver.<br>
The alarm map length is 29 so 29x8=232.<br>
And in the driver it is only set 226, and 232 declared as max.<br>
So I have to extend the alarm map by 8 to 240.<br>
<br>
My ups&#39;es have not so long maps, and the original xcp document<br>
was only showing the first 226. But Arnaud have sent me the later alarm map,<br>
so I try to get some time later this evening to fix this.<br><br></blockquote><div><br>thanks a lot for your quick intervention.<br><br>cheers,<br></div></div>Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://people.debian.org/~aquette/">http://people.debian.org/~aquette/</a><br>
Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br><br>