Hi Kjell,<br><br><div class="gmail_quote">2009/3/16 Kjell Claesson <span dir="ltr"><<a href="mailto:kjell.claesson@epost.tidanet.se">kjell.claesson@epost.tidanet.se</a>></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<--------------------------snip----------------------------------<br>
<div class="im">> > It happens only when I start driver with -DD (or more 'D'). When I run<br>
> > only with -D, it working normally.<br>
><br>
> all the debug outputs there are at level 2. so nothing but "normal".<br>
> from your feedback, my guess is that it crashes at the Config_block (line<br>
> 1108)<br>
> the gdb trace just before the crash should confirm this (last one should<br>
> be: "Length of alarm map...")<br>
> Kjell will (or not) confirm since I'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'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&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>