Hey Holger, I've posted a beta release that collectively has your dcmi and cygwin patches in it.
http://ftp.gluster.com/pub/freeipmi/qa-release/freeipmi-0.8.2.beta3.tar.gz For the ECONNRESET/ECONNREFUSED issue, I implemented it a bit differently, putting the checks and retry outside of ipmi_lan_recvfrom. I ended up not putting a "--no-openipmi" type of configure option in. I figure I'll let the code error out normally via failed /dev/ipmi0 open, unsupported ioctl's, etc. I also found that ipmi-sensors and ipmimonitoring segfaulted when I ran them on cygwin. It seems the default cygwin stack is tinier than in unix and I can't change it (like ulimit -c unlimited). Tried compiling in a bigger stack, but that didn't work either. So for now, I made the memory requirements of ipmi-sensors and ipmimonitoring tinier to work around it (see common/src/toolcommon/tool-config-file-common.h and common/src/toolsensor/tool-sensor-common.h). My cygwin knowledge is < 1 week old, so maybe you'll know something I don't :-) BTW, I did make sure that the "beta2" release compiled on cygwin, but I haven't tried the "beta3" yet. So it's possible I introduced an issue in between. But hopefully I didn't. I'll make sure it still compiles tonight. Al On Fri, 2009-12-11 at 12:36 +0100, Liebig, Holger wrote: > Hi, > I had some minor problems compiling the actual 0.8.1/0.7.16 versions under > cygwin. > > Also there seems to be a problem with the recvfrom() networking function > under cygwin, so I used a slightly modified receive function borrowed from > ipmitool which uses recv() instead of recvfrom() in order to use freeipmi > with outofband access. > > Thanks, > Holger > > -- > Holger L i e b i g > [email protected] Fujitsu Technology Solutions GmbH > Senior Developer Domagkstrasse 28 > TSP x86 E SW 4 80807 Munich > Telephone: +49 89 3222 2288 GERMANY > Telefax : +49 89 3222 329 2288 > Internet http://*ts.fujitsu.com > Company Details http://*de.ts.fujitsu.com/imprint.html > > > > _______________________________________________ > Freeipmi-devel mailing list > [email protected] > http://*lists.gnu.org/mailman/listinfo/freeipmi-devel -- Albert Chu [email protected] Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory _______________________________________________ Freeipmi-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/freeipmi-devel
