|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
powerfluteHi everybody!
I still getting some unpleasant errors from powerflute on OpenBSD. Apcupsd is 3.14.3. When I start it, I see the next things: Mutex lock failure. ERR=Resource deadlock avoided FATAL ERROR in newups.c at line 71 and this longs a lot, than it coredumps. powerflute compiles without any errors and, as I see, with all needed flags: c++ -c -fno-exceptions -fno-rtti -O2 -pipe -Wall -pthread -I/usr/ports/sysutils/apcupsd/w-apcupsd-3.14.3-ncurses/apcupsd-3.14.3/include powerflute.c cc -g -O -pthread powerflute.o /usr/ports/sysutils/apcupsd/w-apcupsd-3.14.3-ncurses/apcupsd-3.14.3/src/lib/libapc.a -lsupc++ -lncurses -lmenu -lform -lpanel -o powerflute Sometimes I can see borders of powerflute interface, but they are quickly changing to error. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Apcupsd-users mailing list Apcupsd-users@... https://lists.sourceforge.net/lists/listinfo/apcupsd-users |
|
|
Re: powerfluteKirill S. Bychkov wrote:
> Hi everybody! > I still getting some unpleasant errors from powerflute on OpenBSD. > Apcupsd is > 3.14.3. > When I start it, I see the next things: > Mutex lock failure. ERR=Resource deadlock avoided > FATAL ERROR in newups.c at line 71 > and this longs a lot, than it coredumps. > > powerflute compiles without any errors and, as I see, with all needed > flags: c++ -c -fno-exceptions -fno-rtti -O2 -pipe -Wall -pthread > -I/usr/ports/sysutils/apcupsd/w-apcupsd-3.14.3-ncurses/apcupsd-3.14.3/include > powerflute.c > cc -g -O -pthread powerflute.o > /usr/ports/sysutils/apcupsd/w-apcupsd-3.14.3-ncurses/apcupsd-3.14.3/src/lib/libapc.a > -lsupc++ -lncurses -lmenu -lform -lpanel -o powerflute > > Sometimes I can see borders of powerflute interface, but they are > quickly changing to error. I looked into this a week or two ago for James Dean. I responded privately and forgot to forward my message to the list... Powerflute is unfixable as it stands today. It requires the recently removed "raw status" interface over NIS. The "raw status" interface was removed because it is broken by design (it exports the raw UPSINFO structure, and does so in host byte order). Thus is only works between idential apcupsd versions and does not work at all across differing architectures. Even when it did work, Powerflute was not terribly useful. The same information is available using apcaccess, multimon, or apctray (win32). Powerflute can be made to work again if someone modifies it to use the ascii status interface instead. Doing that is not high on my priority list. But I accept patches :) --Adam ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Apcupsd-users mailing list Apcupsd-users@... https://lists.sourceforge.net/lists/listinfo/apcupsd-users |
| Free embeddable forum powered by Nabble | Forum Help |