**** BEGIN LOGGING AT Tue Feb 23 02:59:58 2010 Feb 23 03:41:59 hmm.. ok -lc in the LDFLAGS in the package/feeds/packages/xmail/Makefile seemed to fix it .. wonder if this should be conditional tho? Feb 23 04:13:31 .. it also appears we might need a seperate options file for perl under glibc. Feb 23 04:14:28 (strlcpy seems to be undefined under glibc) Feb 23 06:42:04 nbd * r19822 /trunk/package/madwifi/patches/458-ibss_wpa_none.patch: madwifi: disable ccmp replay protection for ibss/ahdemo to make wpa-none work Feb 23 10:05:58 build #15 of ifxmips is complete: Success [build successful] Build details are at http://tksite.gotdns.org:8010/builders/ifxmips/builds/15 Feb 23 10:20:43 ping nbd, xMff, rtz Feb 23 10:21:47 anyone got an opinion on having block-extroot only depend on block-mount, and leaving it up to the user to select the kernel modules they need (since we don't necessarily know), and the fsck program, if they want it? Feb 23 10:44:11 kaloz * r19823 /trunk/target/linux/ubicom32/ (15 files in 6 dirs): [ubicom32]: add 2.6.32 support Feb 23 10:50:00 kaloz * r19824 /trunk/toolchain/gcc/ (Config.in Config.version): [toolchain]: use gcc 4.3.4 for the gemini target Feb 23 12:32:01 build #15 of iop32x is complete: Success [build successful] Build details are at http://tksite.gotdns.org:8010/builders/iop32x/builds/15 Feb 23 12:45:28 ping xMff Feb 23 13:52:05 kerneis * r19825 /packages/net/babel/patches/ (. 001-missing-header.patch): Feb 23 13:52:05 [package] babeld: fix compilation on Broadcom (2.4) Feb 23 13:52:05 Patch sent upstream. Applied in OpenWrt until the next release. Feb 23 13:52:05 Signed-off-by: Gabriel Kerneis Feb 23 15:19:08 did someoone changed the freeswitch package overnight? Feb 23 15:19:12 {Nico} maybe? =) Feb 23 15:22:58 i added a small build fix. but that was two days ago Feb 23 15:42:51 what kind of fix was that larsc ? Feb 23 15:44:00 https://dev.openwrt.org/changeset/19792 Feb 23 15:58:11 larsc: well it wount build now Feb 23 15:58:20 fails on mod_curl Feb 23 15:58:42 it didn't build before either Feb 23 15:58:45 that is if your trying to build from feeds, freeswitch-default Feb 23 15:59:03 OutBackDingo_: whats the error? Feb 23 15:59:09 larsc: well how it is _trine claims he built it last night ? Feb 23 15:59:57 larsc: i was getting compiler cant create binaries errors.... and it would exit specifically in the mod_culr parts Feb 23 16:00:13 if you disable the mod_curl all builds ok Feb 23 16:00:19 i can re-run it if you wish Feb 23 16:00:26 yup Feb 23 16:00:33 build fine here Feb 23 16:01:18 and it did not, without the patch Feb 23 16:01:32 when was this patch submitted? Feb 23 16:01:38 2 days ago Feb 23 16:01:52 i tried this from trunk as of last night 9PM Feb 23 16:02:05 simple ./scripts/feeds install freeswitch-default Feb 23 16:02:22 make menuconfig select freeswitch -> freeswitch-default Feb 23 16:02:31 i could probably reproduce this also Feb 23 16:03:13 hrmm now its got me thinking it is looking for curl-dev installed on the host Feb 23 16:07:51 <{Nico}> OutBackDingo_: pong Feb 23 16:08:07 hmmm, my rspro just rebooted spontaneously, remote syslog server didnt capture anything, how to best debug this? have some other device listening to the serial console all the time ? Feb 23 16:14:18 stintel; maybe try running a background task that periodically issues logger -t memwatch $(cat /proc/meminfo) to see if it's an OOM? Feb 23 16:14:51 e.g. a crontab Feb 23 16:16:07 OutBackDingo_: i also have your problem sometimes Feb 23 16:16:22 i think the patch of larsc is not involved with the problem with mod_curl Feb 23 16:16:35 yupp i dont see it being involved Feb 23 16:16:39 it depends on the combinatio of build host system and target maybe Feb 23 16:16:57 <{Nico}> Lalloso, OutBackDingo_: can you keep a build log and send it to me? Feb 23 16:17:16 you mean the full output of make v=99 ? Feb 23 16:17:23 Lalloso: well now im testing the theory that curl-dev must be installed on a ubuntu box Feb 23 16:17:30 cshore: thanks for the tip. OOM would look weird though, uptime was ~3d, and last time I checked (few hours ago, only 40MB of 128 was used) Feb 23 16:17:41 but I'll put that in crontab anyway Feb 23 16:17:50 <{Nico}> yeah i can ill rerun it now Feb 23 16:17:53 i've seen mindspeed claims to support openwrt Feb 23 16:17:55 or viceversa Feb 23 16:18:02 anyone has some experience with M821xx ? Feb 23 16:18:20 http://www.mindspeed.com/web/download/download.jsp?docId=44849 Feb 23 16:18:25 look at page 2 Feb 23 16:18:30 <{Nico}> Lalloso: make package/.../freeswitch/compile V=99 BUILD_LOG=1 Feb 23 16:18:34 openwrt is stated as a partner of mindspeed Feb 23 16:20:20 i'm now building for a mpc83xx target in this log Feb 23 16:20:39 it's a broken target therefore i was not expecting to get it compiled Feb 23 16:21:08 {Nico}: i'm still waiting for freeswitch 1.0.5 to come out and i won't to change the freeswitch package somehow Feb 23 16:21:40 s/won't/will Feb 23 16:24:21 MikeJerris of freeswitch says that it should compile without patches Feb 23 16:27:26 <{Nico}> Lalloso: i'm gonna give it a try Feb 23 16:33:26 what do you mean {Nico} ? Feb 23 16:34:22 <{Nico}> try to update our package to 1.0.5 Feb 23 16:37:28 ping xMff, nbd Feb 23 16:38:10 i guess you mean 1.0.5 latest, since official freeswitch 1.0.5 is not out yet Feb 23 16:38:46 hi there Feb 23 16:38:49 {Nico}: hey Feb 23 16:39:20 where is the build log after Lalloso: make package/.../freeswitch/compile V=99 BUILD_LOG=1 ? Feb 23 16:39:44 pong cshore Feb 23 16:39:57 noone ever pings me! Feb 23 16:40:50 jow: I've posted my latest version of the block-mount/automount....could you look at it when you have some time? Feb 23 16:42:54 ok Feb 23 16:43:01 jow: also, for the block-extroot, what do you think of it not defining what host controller etc it's for, and instead letting the user select that (without dependencies), since it's hard to know that in advance? Feb 23 16:43:17 Lalloso: ping Feb 23 16:43:22 OutBackDingo_: pong :D Feb 23 16:43:31 Lalloso: ACK Feb 23 16:43:38 OutBackDingo_: on what hw are you playing with freeswitch? Feb 23 16:43:55 WNDR3700 Feb 23 16:44:01 same as _trine Feb 23 16:44:04 yupp Feb 23 16:44:16 atheros mips 680mhz right? Feb 23 16:44:20 cshore: host controller? Feb 23 16:44:31 though it reboots when u shiut it down, and when you start it from the init script it runs you into the console Feb 23 16:44:37 Lalloso: yupp Feb 23 16:44:39 jow: e.g for usb Feb 23 16:44:59 Lalloso: also have a RSPRO Feb 23 16:45:10 well a few RSPROs Feb 23 16:45:15 i also have a RSPRO Feb 23 16:45:20 freeswitch works very well on it Feb 23 16:45:27 cshore: shouldn't that be already selected if one chooses the right target profile? Feb 23 16:45:39 i have done a conference with 10 channels on the RSP Feb 23 16:46:03 OutBackDingo_: do you have any specific project involving freeswitch on embedded or you use it just for fun? Feb 23 16:46:33 Lalloso: well my RSPROS are deplyed for service, i have one here i dev on, i got the WNDR3700 to make a small 1TB home nas for the wife, and decided after talking to trine it would also make a decent travel AP Feb 23 16:46:38 jow: well for brcm63xx, usb is optional. Depends on the specific router you've got Feb 23 16:46:56 i was carrying a pico station with me Feb 23 16:47:10 cshore: well, can't you just make extroot depend on a feature? like @(USB||IDE) ? Feb 23 16:47:23 OutBackDingo_: you mean a NAS with an external hard drive? Feb 23 16:47:33 If the board offers no way to attach mass storage, there's no point in installing extroot Feb 23 16:47:52 i've bought a popcorn hour but it's not a supported target for openwrt yet Feb 23 16:48:31 it has a sigma cpu Feb 23 16:48:35 jow: hmmm....right....what features would I look for DEPENDS:= ... @(USB||IDE||) Feb 23 16:48:51 OutBackDingo_: do you also know freeswitch on PC or just on openwrt? Feb 23 16:49:52 cshore: not sure whether SD/MMC offers a feature variable to rely on Feb 23 16:51:47 jow: is a kernel config variable different that a feature variables (i.e.g there is CONFIG_MMC, can I depend on that?) Feb 23 16:51:50 Lalloso: yeah 1TB usb drive Feb 23 16:52:11 Lalloso: used to using asterisk, been watching freeswitch for a while Feb 23 16:52:26 welcome to the club =) Feb 23 16:52:57 cshore: examine the broadcom-sdhc kernel package to see waht it selects / needs, maybe you find something Feb 23 16:53:52 jow: what do feature variables look like? (just a KCONFIG variable?) Feb 23 16:54:40 Lalloso: just not so sure its ready for prime time on openwrt Feb 23 16:55:20 not yet Feb 23 16:55:31 but i hope with 1.0.5 we'll get it there Feb 23 16:55:41 all in time Feb 23 16:55:42 although on RSP it works flawlessy Feb 23 16:55:49 really Feb 23 16:56:06 i've even developed fancy applications with mod_lua Feb 23 16:56:11 i could dump it on one for the house Feb 23 16:56:28 but dont see the need to carry 2 APs when travelling Feb 23 16:56:35 ehehe Feb 23 16:56:46 i was quite happy with the pico Feb 23 16:56:46 does someone know about mindspeed and openwrt? Feb 23 16:57:08 http://www.mindspeed.com/web/download/download.jsp?docId=29639 Feb 23 16:57:10 :-D Feb 23 16:57:16 however the new laptop is obviously N gear :) Feb 23 16:59:45 jow: if there is a kernel config var CONFIG_MMC, can I just do @MMC? Feb 23 17:00:13 jow: or does it need to be an OpenWRT var? Feb 23 17:03:12 <{Nico}> Lalloso: look in ./logs Feb 23 17:23:54 thx {Nico} i've sent them in email to youi Feb 23 17:29:21 build #15 of au1000 is complete: Failure [failed compile_6] Build details are at http://tksite.gotdns.org:8010/builders/au1000/builds/15 Feb 23 17:35:07 {Nico}: http://pastebin.com/RgC3dcnP Feb 23 17:36:01 yupp just failed again Feb 23 17:36:48 OutBackDingo_: could you also paste src/mod/applications/mod_curl/config.log? Feb 23 17:37:45 which target could i take as example if i would like to try to include this in openwrt tree? Feb 23 17:37:48 http://www.popcornhour.com/onlinestore/index.php?pluginoption=productspec&item_id=20 Feb 23 17:40:52 larsc: hrmm dont see one Feb 23 17:46:29 OutBackDingo_: hm, is there one in libs/json-c-0.8 Feb 23 17:48:59 larsc: yupp there we go http://pastebin.com/gF3M4E8P Feb 23 17:52:24 OutBackDingo_: and the one from libs/curl Feb 23 18:04:23 larsc: uhmm email ? its 700k file Feb 23 18:32:19 Lalloso: I would start with one of the mips platforms, but all the platforms have the same structure Feb 23 18:58:09 is there a trick to bring up the second radio on ar71xx ? Feb 23 19:40:20 ping nbd Feb 23 19:41:31 pong Feb 23 19:42:21 I've redone and posted the block-mount changes and am just working on preparing the patch for block-extroot Feb 23 19:43:35 yeah, i've seen it Feb 23 19:43:39 but didn't have time to review the patches yet Feb 23 21:09:55 florian * r19826 /trunk/target/linux/rdc/ (19 files in 8 dirs): [rdc] add preliminary 2.6.32 support Feb 23 21:55:32 [florian]: ping Feb 23 21:57:46 cshore: i noticed in your patch that you write to /etc/fstab noting that it should link to /tmp/fstab. could you please change it to write to /tmp/fstab, so that the user can override /etc/fstab if he wants to? Feb 23 21:58:02 that also prevents unnecessary flash access if the user removes the symlink Feb 23 21:58:07 ok Feb 23 21:58:22 should probably also be /var/run/fstab instead of /tmp/fstab Feb 23 22:00:10 i'll review the rest later, have to leave now Feb 23 22:00:39 ok, thank you Feb 23 22:04:18 nbd: regarding this problem with the asus WL500GPv2 usb, should I tell him to bisect it or is this a known problem? Feb 23 22:42:31 hey, nbd, didyou see my brief ramblings from yesterday? Feb 23 22:43:13 no Feb 23 22:43:14 where? Feb 23 22:44:12 was getting link errors with glibc / xmail Feb 23 22:44:17 (xmail is C++) Feb 23 22:44:32 I had to add -lc to the options in the openwrt makefile Feb 23 22:45:25 interesting Feb 23 22:45:39 sent a patch to the list? Feb 23 22:45:47 not yet. Feb 23 22:46:03 I've been a little lax. I have sooo many patches I should collate and send Feb 23 22:46:18 there's also another thing compiling perl. Feb 23 22:46:33 it appears strlcpy seems to be undefined under glibc.. Feb 23 22:46:55 - so that needs a different config Feb 23 22:49:32 memcpy() is a drop-in replacement Feb 23 22:49:48 you can just add a #define strlcpy memcpy in a convenient place Feb 23 22:49:51 xMff: all you have to do is set up the config Feb 23 22:50:00 in the files/ directory Feb 23 22:50:01 k Feb 23 22:50:56 but at the moment the config copying doesn't distinguish between glibc Feb 23 23:28:20 ping nbd: Feb 23 23:28:27 pong Feb 23 23:28:41 what were you thinking of the for the extroot setup scripts? Feb 23 23:28:49 A kind of menued interface? Feb 23 23:29:30 dunno Feb 23 23:29:34 or to define a config file and apply it using using a script Feb 23 23:29:50 something simple that just asks a few questions and generates a default config Feb 23 23:29:54 would be nice Feb 23 23:29:59 ok, kind of menuish Feb 23 23:30:21 basically Feb 23 23:30:21 1) Squashfs Feb 23 23:30:21 2) Other Feb 23 23:31:15 something that lists available block devices and allows you to select one Feb 23 23:31:23 and then stores the uuid and stuff Feb 23 23:31:23 right Feb 23 23:31:28 I was thinking of that Feb 23 23:32:15 Choose a target block device, and the directory to mount on Feb 23 23:32:25 yes Feb 23 23:32:27 Actually I think that's all you need Feb 23 23:32:29 cshore: would it maybe be better to have a mountpoint /overlay, where all the overlays are mounted? Feb 23 23:32:32 oh, partitioning Feb 23 23:33:21 rtz2: It would avoid problems from users picking one thing in menuconfig and another during config Feb 23 23:34:03 rtz2: and I don't see any reason it's a bad idea, so it's probably something we should do Feb 23 23:34:26 rtz2: we should probably also rename /rom /oldroot, or somesuch Feb 23 23:34:42 cshore: and another thing, what exactly happens on firstboot, which files have to be copied to the overlay? Feb 23 23:34:54 depends Feb 23 23:35:17 cshore: not necessariely, rom is a more or less correct descritption, but i'm not sure about that Feb 23 23:35:26 if you have a squashfs you need to copy anything in /jffs (if you want the rootfs overlay to be the same as the current jffs) Feb 23 23:35:47 well for an ext2 fs the fs is actualy r/w Feb 23 23:35:58 so /rom isn't accurate Feb 23 23:36:12 or even an all jffs2 root filesystem Feb 23 23:36:24 (i.e. no squashfs) Feb 23 23:36:25 cshore: well, it wouldn't get remounted as rw if you have an overlay, would it? Feb 23 23:36:37 rtz2: true Feb 23 23:36:48 rtz2: no wait Feb 23 23:36:51 cshore: would be a really bad idea anyway Feb 23 23:37:03 rtz: yes it would, that happens before the rootfs stuff Feb 23 23:37:22 rtz: it's the first step of the preinit_mount_root hook Feb 23 23:37:45 rtz: we should probably remount ro in that case Feb 23 23:37:58 cshore: better don't do that, i'm pretty sure mini_fo won't like it Feb 23 23:38:11 rtz2: before mini_fo Feb 23 23:38:23 rtz2: or you mean not rw? Feb 23 23:38:45 not rw Feb 23 23:39:08 i don't think we need to change /rom Feb 23 23:39:09 nbd: what do you think we should do for partitioning? leave that manual? Feb 23 23:39:21 we should rename /jffs to /overlay Feb 23 23:39:25 ok Feb 23 23:39:48 and since the jffs2 is unmounted before extroot is mounted, we also don't need a second directory for extmounts Feb 23 23:39:51 imho Feb 23 23:39:57 and I'll remount the boot rootfs ro if we find an external rootfs to mount Feb 23 23:40:15 cshore: what do you mean by patitioning? Feb 23 23:40:50 rtz2: the disc: partitioning so you can create filesystems? Feb 23 23:40:58 partitioning should be manual, imhp Feb 23 23:40:59 imho Feb 23 23:41:02 right Feb 23 23:41:33 what about fs creation? Feb 23 23:41:46 cshore: maybe if it's empty Feb 23 23:42:05 cshore: but it's not that hard to leave it to the user Feb 23 23:42:11 I meant as part of the menu thing Feb 23 23:42:22 not automatic, no user intervention Feb 23 23:42:48 imho leave it to the user for now Feb 23 23:42:51 though automatic in certain limited scenarios is useful Feb 23 23:42:52 ok Feb 23 23:43:02 cshore: sorry, I'm a little bit out of the loop, which menu thing? menuconfig? Feb 23 23:43:23 nbd: do you know this problem, or should I ask him for more details: https://lists.openwrt.org/pipermail/openwrt-devel/2010-February/006035.html? Feb 23 23:43:26 rtz2: no a pick list of block devices to use and config generator Feb 23 23:43:38 rtz2: no idea about this Feb 23 23:43:57 nbd: I will ask for more infos Feb 23 23:44:04 whehter to do fsck, that kind of thing Feb 23 23:44:40 cshore: would you run this config generator on the router or on the build machine? Feb 23 23:44:44 router Feb 23 23:45:03 while using jffs Feb 23 23:45:36 basically to copy over the files too (from /jffs, if necessary) Feb 23 23:45:49 cshore: well, it would have it's uses Feb 23 23:46:01 cshore: but it's not a must-have future Feb 23 23:46:33 rtz2: basically it's the prepare the system so the next boot is into a rootfs Feb 23 23:46:47 cshore: can you make it work so it does the right thing with a complete empty external rootfs? Feb 23 23:46:55 rtz2: yes Feb 23 23:46:57 cshore: eg, run firstboot or something? Feb 23 23:47:04 rtz: oh I see Feb 23 23:47:19 rtz2: You mean for automatic setup? Feb 23 23:47:26 cshore: so, if you plug in a new stick or you wiped the old one Feb 23 23:47:40 rtz2: hmmm Feb 23 23:48:00 rtz2: that's actually a scenario I'm looking at Feb 23 23:48:29 cshore: not sure, what's exactly necessary, but you should be able to plug in an empty stick and get a working system without having to manually copy stuff around Feb 23 23:48:49 rtz2: right....I think that should be a menuconfig option Feb 23 23:48:58 rtz2: not enabled by default Feb 23 23:49:05 cshore: why not? Feb 23 23:49:23 rtz2: wait....you mean if it's already wiped, right? Feb 23 23:49:29 cshore: yes Feb 23 23:50:08 rtz2: hmmm....what the best way to detect an empty fs (ls -al? and look for no files?) Feb 23 23:51:15 cshore: do you have to detect it at all? Feb 23 23:51:21 or no files or only lost+found? Feb 23 23:51:36 cshore: that's why I asked, what has to be copied Feb 23 23:52:00 oh, well if you set the config, you could start with an empty fs, just fine Feb 23 23:52:16 rtz2: the trick is the set the config automatically Feb 23 23:53:32 rtz2: it has to know what device is the rootfs Feb 23 23:53:46 rtz2: could be preconfigured, but has to be configured at some point Feb 23 23:54:02 rtz2: only works for squashfs Feb 23 23:54:12 rtz2: no wait, I lied Feb 23 23:54:26 rtz2: would work with other fs too Feb 23 23:54:55 rtz2: so the trick is to set /etc/config/fstab appropriately Feb 23 23:56:03 rtz2: or to define an unchangeable preconfig (i.e. no later configuration possible) Feb 23 23:56:20 rtz2: that'd actually be easier Feb 23 23:56:56 rtz2: just set some variable that get sourced by preinit, and use those to chose the fs to mount instead of /etc/config/fstab Feb 23 23:57:23 cshore: not sure Feb 23 23:57:45 cshore: my only point it is, it should do the right thing with an empty overlay Feb 23 23:58:44 rtz2: if you mean, you boot, set fstab to point to your empty fs, and reboot, then yes, that will work Feb 23 23:59:44 rtz2: the hard part is making it automatic Feb 24 00:04:12 gahhh Feb 24 00:18:53 you back with us? Feb 24 00:19:45 me? yes Feb 24 00:20:07 yeah, look like you had a hiccup Feb 24 00:20:33 broken power cable :/ Feb 24 00:20:56 cshore: did you have any questions/suggestions/somehing else? Feb 24 00:21:08 not at the moment Feb 24 00:21:10 I lost the complete irc history Feb 24 00:21:11 ok Feb 24 00:21:25 just rambling away about possible solutions Feb 24 00:21:37 ok Feb 24 00:22:15 doing boot, add device to fstab (blank device), and reboot will work...automatic is harder Feb 24 00:22:54 cshore: that's enough imho Feb 24 00:27:10 ping nbd Feb 24 00:48:14 nbd: ping Feb 24 00:50:17 rtz: maybe we should try lasso.... Feb 24 00:50:48 hog-tie that developer Feb 24 00:52:14 :D Feb 24 01:21:16 cshore: uhhh bwell if hes tied he cant code Feb 24 01:21:41 on the phone, no time :P Feb 24 01:24:22 OutBackDingo: ah well, you win some, you lose some :) Feb 24 01:55:02 build #20 of brcm63xx is complete: Exception [exception failed slave lost shell_19 compile_15] Build details are at http://tksite.gotdns.org:8010/builders/brcm63xx/builds/20 Feb 24 01:59:35 jow * r19827 /trunk/package/iptables/ (Makefile patches/020-iptables-force-modprobe-util.patch): [package] iptables: fix a segfault when iptables tries to use modprobe, force it to use insmod Feb 24 02:00:07 ping xMff Feb 24 02:08:52 pong cshore Feb 24 02:09:14 xMff: have you had a chance to look at the block-mount patch yet? Feb 24 02:09:36 cshore: nope, I was busy debugging uclibc... will look later Feb 24 02:09:41 ok Feb 24 02:10:22 cshore: can you look at https://dev.openwrt.org/ticket/6738 ? Feb 24 02:12:43 he's right, it should be umount Feb 24 02:14:38 I don't think there is any harm in doing unmount /jffs but it shouldn't be necessary there...that' they way it was done before Feb 24 02:18:07 xMff: I've responded to the ticket....can't do anything about it myself as that's not something I have commit privs for Feb 24 02:26:46 cshore: ok - thanks **** ENDING LOGGING AT Wed Feb 24 03:00:02 2010