**** BEGIN LOGGING AT Tue Dec 11 03:00:00 2012 Dec 11 05:52:30 build #107 of x86 is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/x86/builds/107 Dec 11 06:04:50 build #103 of avr32 is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/avr32/builds/103 Dec 11 07:40:30 build #101 of xburst is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/xburst/builds/101 Dec 11 09:01:08 build #89 of iop32x is complete: Failure [failed shell_11] Build details are at http://buildbot.openwrt.org:8010/builders/iop32x/builds/89 Dec 11 09:03:28 build #89 of etrax is complete: Failure [failed shell_11] Build details are at http://buildbot.openwrt.org:8010/builders/etrax/builds/89 Dec 11 09:28:30 jow_laptop? Dec 11 09:28:58 yes? Dec 11 09:29:15 that luci-statistics patch for nut support, with mixed charsets Dec 11 09:29:30 do you want it submitted in some other form? Or is the reference to the git tree sufficient? Dec 11 09:29:40 should be enough Dec 11 09:29:56 or is there some other way I could put the ° sign into the source code? Dec 11 09:30:11 \xA0 in the string, or something? Dec 11 09:34:44 don't think so Dec 11 09:35:00 http://lua-users.org/lists/lua-l/2011-01/msg00410.html Dec 11 09:35:05 Yes, I read that too, and I'm aware that one can code arbitrary octets using escape sequences like \043 \123 etc. Dec 11 09:35:18 I'll try that Dec 11 09:35:18 $ lua -e 'print "\260"' Dec 11 09:35:19 lua: (command line):1: escape sequence too large near '"' Dec 11 09:35:27 hm Dec 11 09:35:58 > print "df\123" Dec 11 09:35:58 df{ Dec 11 09:36:10 yeah because < 128 Dec 11 09:36:15 ah Dec 11 09:37:04 ah wait Dec 11 09:37:11 the escapes are decimal Dec 11 09:37:19 yeah Dec 11 09:37:37 so \176 Dec 11 09:37:39 will work Dec 11 09:37:43 just tested Dec 11 09:37:45 great, thanks Dec 11 09:37:49 $ lua -e 'print "\176"' | iconv -f iso8859-1 -t utf8 Dec 11 09:37:49 ° Dec 11 09:37:56 Will resend that patch in email Dec 11 09:38:03 after testing in place Dec 11 09:54:44 jow r34625 trunk/include/netfilter.mk * netfilter.mk: fix packaging of xt_LOG.ko, it moved between 3.3.8 and 3.6.x Dec 11 11:01:31 one thing i miss on mikrotik/nand is the lack of /overlay where i can see all my local post-flash tweaks Dec 11 11:26:46 like, wtf did i do two months ago so that port forwarding worked ;-) Dec 11 11:32:04 florian r34626 trunk/ include/kernel-version.mk target/linux/generic/patches-3.7/067-input_keymap_module_license.patch * kernel: update to 3.7 final Dec 11 11:42:11 build #98 of ixp4xx is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/ixp4xx/builds/98 Dec 11 11:45:04 build #86 of gemini is complete: Failure [failed shell_11] Build details are at http://buildbot.openwrt.org:8010/builders/gemini/builds/86 Dec 11 11:46:00 build #97 of kirkwood is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/kirkwood/builds/97 Dec 11 11:51:19 build #92 of rdc is complete: Failure [failed shell_11] Build details are at http://buildbot.openwrt.org:8010/builders/rdc/builds/92 Dec 11 13:15:30 jow_laptop: resent (at last; mum is home to take over unwell baby) Dec 11 13:31:29 dwmw2_gone: applied with some whitespace modifications Dec 11 13:31:57 thanks Dec 11 13:32:03 having issues with collectd-mod-nut Dec 11 13:32:12 if it stores a value more than about 2000, it ends up storing NaN Dec 11 13:33:11 naybe some wrong datasource definitions Dec 11 13:34:34 else if (strcmp ("battery.runtime", key) == 0) { Dec 11 13:34:34 nut_submit (ups, "timeleft", "battery", (double)2500.0); Dec 11 13:34:34 printf("battery.timeleft was %lf\n", value); Dec 11 13:34:34 } Dec 11 13:34:37 it prints the right number Dec 11 13:34:43 and nut_submit() is what it uses for everything else Dec 11 13:35:05 I meand maybe the rrd file itself is wrongly defined Dec 11 13:35:25 0.0000000000e+00 Dec 11 13:35:25 3.6000000000e+03 Dec 11 13:35:26 aha Dec 11 13:35:48 3600 seconds. Not a great UPS :) Dec 11 13:36:44 er, where does that come from? Dec 11 13:37:00 types.db Dec 11 13:37:04 the only thing in the collectd-mod-nut package is nut.so, and nut.c doesn't seem to have that definition Dec 11 13:37:06 ta Dec 11 13:37:25 timelefttimeleft:GAUGE:0:3600 Dec 11 13:37:32 timeleft timeleft:GAUGE:0:3600 Dec 11 13:38:05 might make sense to send them a patch Dec 11 13:38:15 it's more fun than that Dec 11 13:38:20 nut gives timeleft in seconds Dec 11 13:38:33 snmp has it in minutes, I believe. And collectd just stores them both as 'timeleft' Dec 11 13:38:41 which is not entirely broken, but distinctly suboptimal Dec 11 13:38:53 probably an oversight Dec 11 13:38:57 ./contrib/collection.cgi: timeleft => ['-v', 'Minutes', Dec 11 13:39:01 they seem to think it's minutes Dec 11 13:39:12 so I'll patch the nut plugin to divide by 60, I suppose Dec 11 13:39:19 and then amend that patch I just sent you. Dec 11 13:39:22 yeah, mightm ake more sense Dec 11 13:39:40 it'll still screw up if the UPS can run for more than an hour. I still need to increase the max Dec 11 13:40:07 3600 is strange max value for something supposed to count minutes Dec 11 13:40:29 would have expected something like 1440 or so Dec 11 13:40:33 60 hours Dec 11 13:40:39 yeah. odd Dec 11 13:40:47 so no, I don't need to increase the maximum. Dec 11 13:40:51 Just divide by 60 I think Dec 11 13:41:05 I'd love such an UPS :) Dec 11 13:41:10 build #93 of ar71xx is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/ar71xx/builds/93 Dec 11 13:41:28 battery.timeleft was 3932100.000000 Dec 11 13:41:34 (gdb) p 3932100 / 60 Dec 11 13:41:34 $1 = 65535 Dec 11 13:44:45 ooh, shiny. My new Geos just arrived Dec 11 13:46:54 seems you forgot to add the nut plugin config page to the menu Dec 11 13:55:14 er, did I? Dec 11 13:55:30 it doesn't appear if collectd-mod-nut isn't installed Dec 11 13:55:39 it is also possible that I forgot to commit that bit Dec 11 13:55:40 * dwmw2_gone checks Dec 11 13:55:42 http://luci.subsignal.org/trac/changeset/9536 Dec 11 13:56:31 ah, thanks Dec 11 13:56:33 what does that do? Dec 11 13:56:56 it makes the nut config tab appear in the collectd config area (not talking about the grpah output page) Dec 11 13:57:06 under 'system plugins'? Dec 11 13:57:11 yes Dec 11 13:57:17 is there for me Dec 11 13:58:03 oh, because I *had* added that on my target system Dec 11 13:58:08 and just forgot to commit it, evidently Dec 11 13:58:11 sorry Dec 11 13:58:38 np Dec 11 13:58:53 did ypu apply the three packages patches to make collectd-mod-nut actually build? Dec 11 13:59:57 no Dec 11 14:00:29 no build environment here Dec 11 14:00:40 maybe this evening, not sure Dec 11 14:02:04 ok, ta. Dec 11 14:02:23 can I get you to switch the timeleft units to minutes in the graph? Or should I send you a patch? Dec 11 14:03:53 is it just changing labels? Dec 11 14:05:15 yes Dec 11 14:05:21 's' to 'm' and 'seconds' to 'minutes' Dec 11 14:05:24 number format remains? Dec 11 14:05:28 yeah Dec 11 14:05:41 there were no decimals in it iirc Dec 11 14:05:59 + vlabel = "seconds", Dec 11 14:05:59 + number_format = "%7lfs", Dec 11 14:06:12 just to 'minutes' and '%7lfm' Dec 11 14:06:28 thanks Dec 11 14:17:10 juhosg r34627 trunk/package/mac80211/ patches/306-pending-rt2x00-zero-out-rx_status.patch patches/307-pending-ath5k-zero-out-rx_status.patch patches/308-pending-p54-zero-out-rx_status.patch * mac80211: zero-out rx_status in rt2x00, ath5k, p54 Dec 11 14:39:52 jow_laptop: another odd thing about the collectd stats in luci. The "now" point in time is a few pixels from the right-hand side of the graph Dec 11 14:40:02 and it draws a line back down to zero (on the X axis) at 'now'. Dec 11 14:40:04 which looks really odd Dec 11 14:40:31 you can see it on the voltage graph at http://david.woodhou.se/luci-stats-ups.png for example Dec 11 14:40:37 and the temperature one Dec 11 14:41:11 *shrug* Dec 11 14:41:33 happens due to bad alignment Dec 11 14:46:26 https://lists.oetiker.ch/pipermail/rrd-users/2001-January/001948.html Dec 11 14:46:36 thanks Dec 11 14:47:14 I suppose a pure horizontal line is better than a drop to zero, but *no* made-up data would be better! Dec 11 14:56:51 try this: http://pastebin.com/WtPmxt48 Dec 11 14:59:00 no made-up data means not using "NOW-$timespan" anymore, which complicates stuff Dec 11 14:59:22 because we have to inspect the db with rrdtool info to find the last update point, then use that as timeframe Dec 11 15:04:00 <__trine> wifi in trunk is broken Dec 11 15:04:09 *yawn* Dec 11 15:04:14 details Dec 11 15:04:24 <__trine> double yawn Dec 11 15:04:34 <__trine> root@OpenWrt:/tmp# insmod ath9k Dec 11 15:04:35 <__trine> insmod: can't insert 'ath9k': unknown symbol in module, or unknown parameter Dec 11 15:04:35 <__trine> root@OpenWrt:/tmp# Dec 11 15:04:42 dmesg Dec 11 15:06:32 <__trine> http://pastebin.com/sT5j0W4a Dec 11 15:09:11 <__trine> here's the full dmesg http://pastebin.com/wHejpjXF Dec 11 15:09:30 looks like you have CONFIG_STRIP_KERNEL_EXPORTS enabled in your config Dec 11 15:09:34 disable it Dec 11 15:10:09 <__trine> ok Dec 11 15:11:32 <__trine> I will try another compile and flash Dec 11 15:14:39 [pid 2097] write(2, "invalid rpn expression 'TIME,NOW,LT,1temperature_avg_raw,PREV,IF'", 65) = 65 Dec 11 15:15:02 the 1 looks odd Dec 11 15:15:42 I'd just got there Dec 11 15:15:49 applied by hand... maybe I did that Dec 11 15:16:06 I didn't. Dec 11 15:16:51 + _tif( _args, "DEF:%s_avg_raw=%s:%s:AVERAGE", inst, rrd, ds ) Dec 11 15:16:54 I did omit that line though Dec 11 15:17:08 %s_avg -> %s_avg_raw Dec 11 15:17:40 _tif( _args, "DEF:%s_avg_raw=%s:%s:AVERAGE", inst, rrd, ds ) Dec 11 15:17:40 _tif( _args, "CDEF:%s_avg_raw=TIME,NOW,LT,%s_avg_raw,PREV,IF", $ Dec 11 15:17:49 like that? (apart from the truncation) Dec 11 15:17:54 the 2nd is wrong Dec 11 15:18:15 first _avg_raw must be _avg Dec 11 15:18:23 sorry, that was me interpreting your '_avg -> _avg_raw :) Dec 11 15:18:24 in the 2nd line Dec 11 15:18:29 no Dec 11 15:18:38 well, basically as in the diff Dec 11 15:19:07 rrdtool graph 2.3600.png -a PNG -s NOW-3600 -w 600 -t "geos.infradead.org: Current on UPS \"openups\"" -v A "DEF:1current_avg=current-battery.rrd:value:AVERAGE" "CDEF:1current_nnl=1current_avg,UN,0,1current_avg,IF" "DEF:2current_avg=current-output.rrd:value:AVERAGE" "CDEF:2current_nnl=2current_avg,UN,0,2current_avg,IF" "CDEF:2current_stk=2current_nnl" "CDEF:1current_stk=1current_nnl" "LINE2:1current_stk#0000ff:Battery current" "GPRINT:1cu Dec 11 15:19:07 rrent_avg:AVERAGE:\tAvg\\: %5.3lfA" "GPRINT:1current_avg:LAST:\tLast\\: %5.3lfA\\l" "LINE2:2current_stk#00e000:Output current " "GPRINT:2current_avg:AVERAGE:\tAvg\\: %5.3lfA" "GPRINT:2current_avg:LAST:\tLast\\: %5.3lfA\\l" Dec 11 15:19:12 that's the working invocation Dec 11 15:19:17 the '1' seems normal enough Dec 11 15:19:58 ok Dec 11 15:25:06 don't see whats wrong weith the rpn Dec 11 15:25:12 matches the documentation Dec 11 15:35:22 jow_laptop: ok, it builds graphs but it doesn't actually solve the problem Dec 11 15:35:30 [pid 4043] execve("/usr/bin/rrdtool", ["rrdtool", "graph", "/tmp/rrdimg/geos.infradead.org/nut-openups/3.3600.png", "-a", "PNG", "-s", "NOW-3600", "-w", "600", "-t", "geos.infradead.org: Battery charge on UPS \"openups\"", "-v", "Percent", "DEF:1percent_avg_raw=/tmp/rrd/geos.infradead.org/nut-openups/percent-charge.rrd:percent:AVERAGE", "CDEF:1percent_avg=TIME,NOW,LT,1percent_avg_raw,PREV,IF", "CDEF:1percent_nnl=1percent_avg,UN,0,1percen Dec 11 15:35:31 t_avg,IF", "CDEF:1percent_stk=1percent_nnl", "AREA:1percent_stk#bfffbf", "LINE1:1percent_stk#00ff00:Charge level", "GPRINT:1percent_avg:AVERAGE:\tAvg\\: %5.1lf%", "GPRINT:1percent_avg:LAST:\tLast\\: %5.1lf%\\l"] Dec 11 15:44:17 dwmw2_gone: then I don't have any quick solution Dec 11 15:44:46 we *know* the sample frequency, right? Dec 11 15:45:05 we ought to be able to *predict* the last point ( and just give appropriate -e $THEN ) Dec 11 15:45:08 I don't want to screen-scrape rrdtool info before each rrdtool grpah call Dec 11 15:45:11 rather than having to query the database? Dec 11 15:45:29 ah, don't we know the frequency in advance? Dec 11 15:45:30 predict? don't think that the clock is that stable Dec 11 15:46:13 also if it samples every say 5 seconds I still don't know the interval offset from now (which is exactly the gap you see) Dec 11 15:46:40 ok Dec 11 15:46:52 and to predict it I would need to know the start time which isn't known either Dec 11 15:47:09 using '-s 13:39 -e 14:39' as rrdtool graph args makes a nice graph with my snatched dataset Dec 11 15:47:21 start time is an hour (or whatever) before the end time :) Dec 11 15:47:56 for a given sample frequency and a given gettimeofday() result, the question "when should the latest entry be?" is simple to answer. Dec 11 15:49:02 sure you could still substract one complete interval from the current time Dec 11 15:51:40 the samples from nut at least seem to be 30 seconds apart, on the minute and on the half-minute Dec 11 15:51:58 never at (for example) 18 seconds past the minute and 48 seconds past the minute, because that's when collectd was started Dec 11 15:52:20 so we should always be able to round the current time "down" to the nearest 30 seconds and that should always be the latest sample Dec 11 15:53:46 problem is that different plugins have different intervals Dec 11 15:54:18 let it be configurable then. We have plenty of per-plugin config for the graphs already Dec 11 15:54:18 so not sure if that can still leave gaps Dec 11 15:54:36 looking now at rrdgraph man page to see if there's a way to specify "latestpoint" instead of "now" Dec 11 15:54:36 quite much effort for 4 pixel margin Dec 11 15:54:48 there is END Dec 11 15:55:04 but that means you will see stale data if the graph stopped updating Dec 11 15:55:51 if end > now - (graph period / 10) then end else now Dec 11 15:56:19 too complex Dec 11 15:56:42 ERROR: the end time cannot be specified relative to itself Dec 11 15:56:52 end is end time of graph, not last datum Dec 11 15:57:01 correct Dec 11 15:57:21 $ rrdtool last current-output.rrd Dec 11 15:57:21 1355237573 Dec 11 16:09:51 hell 'stat' on the file would probably be good enough Dec 11 16:10:02 fine the mtime. Dec 11 16:10:06 find Dec 11 16:44:19 jow_laptop: oh, it's more fun than that. My dataset runs to 14:38:00. But I get the truncated graph if I plot to anything later than 14:38:05 Dec 11 16:44:32 which is to do with the way that multiple data points re combined to make one pixel, I think Dec 11 16:44:39 that's kind of explained in the mail you pointed me at Dec 11 16:45:04 the more I poke at it, the more I think it's just a bug in rrdtool Dec 11 16:45:11 it shouldn't be treating NaN as zero. Dec 11 16:57:10 cyrus r34628 trunk/package/network/ipv6/6relayd/Makefile * 6relayd: Fix announcement of deprecated prefixes Dec 11 16:57:16 cyrus r34629 trunk/package/network/ipv6/6distributed/Makefile * 6distributed: Add support for secondary addresses Dec 11 16:57:29 cyrus r34630 trunk/package/network/ ipv6/ipv6-support/Makefile ipv6/ipv6-support/files/support.sh Dec 11 16:57:29 ipv6-support: Make ULA addresses secondary Dec 11 16:57:29 * Deprecates ULA prefixes when there are other public prefixes Dec 11 16:57:29 * Fixes issues with clients using incorrect source addresses Dec 11 16:58:46 florian r34631 packages/libs/ orbit2/patches/001-remove-libtool.patch orbit2/Makefile orbit2/patches/010-dont-run-testprograms.patch * orbit2: update to 2.14.19 Dec 11 16:59:00 florian r34632 packages/utils/mksh/ Makefile patches/000-debian_build_fix.patch * mksh: fix build on mipsel platforms Dec 11 16:59:00 florian r34633 packages/libs/ ptlib/patches/010-fix-gcc_4_3-compile.patch ptlib/Makefile * ptlib: update to 2.10.9 Dec 11 16:59:00 florian r34634 packages/libs/opal/Makefile * opal: do not build against uclibc++ Dec 11 17:23:14 florian r34635 packages/libs/boost/patches/200-cstdint_missing_include.patch * boost: fix build failure Dec 11 17:23:15 florian r34636 packages/libs/wt/patches/200-fix_boost_1_50_build.patch * wt: fix build against boost 1.50+ Dec 11 17:24:31 build #83 of mcs814x is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/mcs814x/builds/83 Dec 11 17:26:20 build #82 of octeon is complete: Failure [failed shell_11] Build details are at http://buildbot.openwrt.org:8010/builders/octeon/builds/82 Dec 11 17:49:55 juhosg r34637 trunk/package/mac80211/ patches/306-pending-rt2x00-zero-out-rx_status.patch patches/307-pending-ath5k-zero-out-rx_status.patch patches/308-pending-p54-zero-out-rx_status.patch * mac80211: update rt2x00 rx_status patch Dec 11 17:50:20 build #87 of adm5120 is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/adm5120/builds/87 Dec 11 17:51:49 florian r34638 packages/net/peerguardian/ patches Makefile files/peerguardian.init * peerguardian: update to 2.2.2 Dec 11 17:56:18 build #121 of s3c24xx is complete: Failure [failed shell_11] Build details are at http://buildbot.openwrt.org:8010/builders/s3c24xx/builds/121 Dec 11 18:07:18 build #89 of ep93xx is complete: Failure [failed shell_7 compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/ep93xx/builds/89 Dec 11 18:47:08 build #94 of au1000 is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/au1000/builds/94 Dec 11 19:14:58 build #84 of mpc52xx is complete: Failure [failed compile_5] Build details are at http://buildbot.openwrt.org:8010/builders/mpc52xx/builds/84 Dec 11 20:15:23 juhosg r34639 trunk/ (13 files in 11 dirs) * kernel: update linux 3.6 to 3.6.10 Dec 12 01:40:25 build #124 of at91 is complete: Success [build successful] Build details are at http://buildbot.openwrt.org:8010/builders/at91/builds/124 **** ENDING LOGGING AT Wed Dec 12 02:59:58 2012