[Nut-upsuser] Bug#439055: hid driver tries to mmap huge area, fails

Justin Piszcz jpiszcz at lucidpixels.com
Sat Sep 8 12:38:28 UTC 2007



On Sat, 8 Sep 2007, Justin Piszcz wrote:

>
>
> On Sat, 8 Sep 2007, Charles Lepple wrote:
>
>> On 9/8/07, Justin Piszcz <jpiszcz at lucidpixels.com> wrote:
>>> $ ./configure --with-user=nut --with-group=nut
>>> --prefix=/app/nut-trunk-1091
>>>
>>> checking sys/time.h presence... yes
>>> checking for sys/time.h... yes
>>> ./configure: line 5460: NUT_TYPE_SOCKLEN_T: command not found
>>> ./configure: line 5461: NUT_TYPE_UINT16_T: command not found
>>> ./configure: line 5462: NUT_TYPE_UINT8_T: command not found
>>> checking for --with-all... not given
>>> ./configure: line 5492: syntax error near unexpected token `serial,'
>>> ./configure: line 5492: `NUT_ARG_WITH(serial, build and install serial
>>> drivers, yes)'
>>>
>>> autoconf/automake do not produce a working configure and no configure in
>>> trunk?
>>
>> This looks like you need to run autoreconf. It will re-run autoconf
>> and automake, but will also include all of the NUT-specific macros in
>> the m4/ directory. Also, be sure that you do not have automake-1.4
>> installed at all, and you have a later version of automake, such as
>> 1.8 or 1.9.
>>
>> --
>> - Charles Lepple
>>
>
> By the way, ./configure --prefix=/app/nut-2.2.0-r1090:
>
> Making install in scripts
> make[1]: Entering directory `/home/war/nut-2.2.0-r1090/scripts'
> Making install in hotplug
> make[2]: Entering directory `/home/war/nut-2.2.0-r1090/scripts/hotplug'
> make[3]: Entering directory `/home/war/nut-2.2.0-r1090/scripts/hotplug'
> make[3]: Nothing to be done for `install-exec-am'.
> test -z "/etc/hotplug/usb" || /bin/mkdir -p "/etc/hotplug/usb"
>  /usr/bin/install -c -m 644 'libhid.usermap'
> '/etc/hotplug/usb/libhid.usermap'
> /usr/bin/install: cannot create regular file
> `/etc/hotplug/usb/libhid.usermap': Permission denied
> make[3]: *** [install-dist_hotplugusbDATA] Error 1
> make[3]: Leaving directory `/home/war/nut-2.2.0-r1090/scripts/hotplug'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home/war/nut-2.2.0-r1090/scripts/hotplug'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/war/nut-2.2.0-r1090/scripts'
> make: *** [install-recursive] Error 1
> Command exited with non-zero status 2
> 1.90user 1.52system 0:03.40elapsed 100%CPU (0avgtext+0avgdata
> 0maxresident)k
> 0inputs+0outputs (0major+684410minor)pagefaults 0swaps
>
> Justin.
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
>

Version 1090:

Sep  8 08:36:52 p34 last message repeated 3 times
Sep  8 08:36:54 p34 upsd[2099]: Connection from 127.0.0.1
Sep  8 08:36:54 p34 upsd[2099]: Client on 127.0.0.1 logged out
Sep  8 08:36:57 p34 upsd[2099]: Connection from 127.0.0.1
Sep  8 08:36:57 p34 upsd[2099]: Client on 127.0.0.1 logged out
Sep  8 08:36:57 p34 upsmon[2112]: Poll UPS [belkin at localhost] failed - 
Driver not connected
Sep  8 08:37:27 p34 last message repeated 6 times
Sep  8 08:37:32 p34 upsd[2099]: Connection from 127.0.0.1
Sep  8 08:37:32 p34 upsd[2099]: Client on 127.0.0.1 logged out
Sep  8 08:37:32 p34 upsmon[2112]: Poll UPS [belkin at localhost] failed - 
Driver not connected
Sep  8 08:38:07 p34 last message repeated 7 times

Justin.




More information about the Nut-upsuser mailing list