**** BEGIN LOGGING AT Tue Jan 19 02:59:57 2010 Jan 19 11:53:58 kaloz * r19224 /trunk/ (5 files in 5 dirs): update to latest kernel versions Jan 19 12:53:38 kaloz * r19225 /trunk/target/linux/generic-2.6/patches-2.6.31/980-vm_exports.patch: refresh patch Jan 19 13:12:46 anyone else run into the MASQ rules not being created in the firewall yet? Jan 19 13:24:00 nico * r19226 /trunk/toolchain/binutils/patches/2.18/500-avr32.patch: [toolchain] binutils: remove unrelated hunk in 2.18 avr32 support patch Jan 19 13:26:05 nico * r19227 /trunk/toolchain/gcc/ (Config.in Config.version): [toolchain] gcc: use coherent version selector between binutils & gcc Jan 19 13:39:05 ping xMff Jan 19 13:39:18 pong cshore Jan 19 13:40:03 I've run into the MASQ entries not being created in the firewall...is it useful to debug that, or how long will it be until the new firewall is ready? Jan 19 13:40:32 it is useful to debug that Jan 19 13:40:53 apart from that; what are the details of the problem? Jan 19 13:46:40 I have a brcm63xx-based router that I've configured with VLANs. wan is eth1.0, lan is eth1.2 (on br-lan), and master is eth1.1. I'm not using lan yet, but concentrating on master. When I allow master->wan, and use the default wan configuration (forwarding, mtu_fix), outgoing ping reports destination unreachable, and incoming ssh says connection refused (with redirect and firewall ACCEPT rules). I looked into it, and when I added Jan 19 13:48:07 your post was truncated after "when I added" Jan 19 13:48:23 when I added a static route, on the outside host, that tells how to go through the router to master, and remove the MASQ, and make the forward default to ACCEPT, the packets are accepted. Before I do that I checked iptables -nv -L and there are no masquerade rules Jan 19 13:49:07 so you added a forwarding section src:master dest:wan and kept the default wane zone definition with masq:1 Jan 19 13:49:08 ? Jan 19 13:49:32 I did that, but that was insufficient Jan 19 13:50:48 iptables -nv -L doesn't display any masquerade rules, but on my other router it does, so I think the rule isn't being added Jan 19 13:51:11 (other router = older revision) Jan 19 13:51:25 masquerading rules are found in the nat table Jan 19 13:51:30 iptables *-t nat* -nvL Jan 19 13:56:44 config 'zone' Jan 19 13:56:44 option 'name' 'wan' Jan 19 13:56:44 option 'input' 'REJECT' Jan 19 13:56:44 option 'output' 'ACCEPT' Jan 19 13:56:44 option 'forward' 'REJECT' Jan 19 13:56:45 option 'mtu_fix' '1' Jan 19 13:56:47 option 'masq' '1' Jan 19 13:56:49 and Jan 19 13:56:51 config 'forwarding' Jan 19 13:56:53 option 'src' 'master' Jan 19 13:56:55 option 'dest' 'wan' Jan 19 13:56:57 results in no MASQ rules Jan 19 13:57:04 iptables -t nat -nv -L | grep MASQUERADE Jan 19 13:57:08 no results Jan 19 14:02:47 hello Jan 19 14:02:56 how does the boot system of openwrt work? Jan 19 14:03:04 /bin/sh /etc/rc.common /etc/rc.d/S90freeswitch boot Jan 19 14:03:09 i mean the init scripts Jan 19 14:03:22 ? Jan 19 14:03:23 kernel calls /etc/preinit, /etc/preinit does failsafe preparation and spwans /sbin/init Jan 19 14:03:46 /sbin/init launches /etc/rc.d/* one by one Jan 19 14:03:59 with boot (not start) Jan 19 14:04:04 so if i don't want Jan 19 14:04:05 exactly Jan 19 14:04:12 a process to start at boot Jan 19 14:04:23 then you do /etc/init.d/scriptname disable Jan 19 14:04:28 i have to remove the script from rc.d Jan 19 14:04:33 ah wonderful Jan 19 14:04:35 let me try Jan 19 14:04:48 disable removes the symlink, enable installs it again Jan 19 14:04:53 no need to do manual work in rc.d Jan 19 14:05:22 thanks a lot jow_laptop Jan 19 14:05:27 it works like a charm Jan 19 14:05:32 how is this system called? Jan 19 14:05:41 i'm used to BSD style scripts such the ones in slackware Jan 19 14:05:46 it has no name Jan 19 14:05:55 all the magic is implemented in /etc/rc.common Jan 19 14:06:02 which is sourced by each init script Jan 19 14:06:10 (#!/bin/sh /etc/rc.common) Jan 19 14:06:37 Lalloso: hey, you know anyone who knows DSP stuff...we're looking at seeing about DSP for our board for FreeSwitch Jan 19 14:06:48 i am :-D Jan 19 14:07:04 i'm joking cshore Jan 19 14:07:16 the best man i know is coppice on #freeswitch aka steve underwood Jan 19 14:07:22 you can get him at consulting@freeswitch.org Jan 19 14:07:24 i think Jan 19 14:07:34 jow_laptop: thanks a lot so it's a specific system of openwrt Jan 19 14:07:40 is it documented somewhere onthe wiki? Jan 19 14:08:36 Lalloso: what DSP are you going to be using with FS? Ours is a DSPG Voicepump VP101x Jan 19 14:09:19 we've already got a SLIC driver that [florian] did Jan 19 14:09:38 Lalloso: in the forum, wait a moment Jan 19 14:10:01 Lalloso: https://forum.openwrt.org/viewtopic.php?id=11301 Jan 19 14:12:49 xMff: config 'zone' Jan 19 14:12:49 option 'name' 'wan' Jan 19 14:12:49 option 'input' 'REJECT' Jan 19 14:12:49 option 'output' 'ACCEPT' Jan 19 14:12:49 option 'forward' 'REJECT' Jan 19 14:12:50 option 'mtu_fix' '1' Jan 19 14:12:52 option 'masq' '1' Jan 19 14:12:54 and Jan 19 14:12:56 config 'forwarding' Jan 19 14:12:58 option 'src' 'master' Jan 19 14:13:00 option 'dest' 'wan' Jan 19 14:13:02 results in no MASQ rules Jan 19 14:13:04 iptables -t nat -nv -L | grep MASQUERADE Jan 19 14:13:06 no results Jan 19 14:13:07 in -t nat ? Jan 19 14:13:13 that's right Jan 19 14:13:28 I've also noticed that there are other rules missing Jan 19 14:13:30 throw the full output of -t filter and -t nat into pastebin Jan 19 14:13:40 it appears to be a bunch of stuff in addif is missing Jan 19 14:13:48 and check whether the rules are created after an additonal "ifup master" Jan 19 14:14:15 cshore ours is audiocodes i think Jan 19 14:16:25 Lalloso: the DSPG is an audiocodes DSP Jan 19 14:17:45 Lalloso: my boss is interested in finding others to work with for FS on brcm63xx and in particular our chip Jan 19 14:21:36 xMff: http://openwrt.pastebin.com/m593d60f Jan 19 14:21:56 and ifup does add it; I'll post that in a sec Jan 19 14:22:55 cshore: then you should focus your debugging efforts on ifup -a, hotplug and /etc/init.d/network Jan 19 14:23:27 could be a race condition since the initial bringup of network interfaces checks against /proc/net/dev Jan 19 14:23:43 probably because it's vlan Jan 19 14:23:49 if the switch is initialized later the ethX.Y devices are not there yet and thus the corresponding networks are not brought up Jan 19 14:26:02 maybe we just need a sleep to give the switch time to be configured (since ifup doesn't happen until after switch_setup (or is it setup_switch)) Jan 19 14:26:34 nevermind I was thinking of start Jan 19 14:26:37 probably, however I do not like the idea of arbitary sleeps Jan 19 14:27:11 the switch config itself should trigger the subsequent setup steps after it is finished Jan 19 14:27:17 probably the firewall is happening before the device is hotplugged Jan 19 14:27:34 the actual addif() in the firewall is triggered by hotplug already Jan 19 14:27:39 hmmm.... Jan 19 14:27:44 it should be timining agnostic Jan 19 14:27:48 right Jan 19 14:27:59 firewall start just constructs common chains and rules Jan 19 14:31:57 hmmm....maybe the problem is hotplug isn't happening...the iface is created but no hotplug event is generated Jan 19 14:33:29 cshore: I would rather think the hotplug event is not handled correctly Jan 19 14:33:50 hmmm.... Jan 19 14:34:04 cshore: take a look at /etc/hotplugs2.rules Jan 19 14:37:16 cshore are you doing the development in freeswitch in order to use the DSP instead of software library spandsp? Jan 19 14:37:41 Lalloso: that's the plan Jan 19 14:38:04 are you using the DSP just for the transcoding stuff Jan 19 14:38:09 plus DTMF recognition Jan 19 14:38:23 yes Jan 19 14:38:26 or also in place of mod_conference (i.e. conferencing stuff) ? Jan 19 14:38:42 hmmm...I'd have to ask about that Jan 19 14:38:50 I'm not sure what the chip is capable of Jan 19 14:39:11 do you already know which files you have to modify for freeswitch? Jan 19 14:39:15 we're looking at a channel driver and enpoint Jan 19 14:39:26 mmm Jan 19 14:39:29 Lalloso: no Jan 19 14:39:42 i've spoken with a couple of guys who are also expert in that Jan 19 14:39:52 but if you have budget to spend Jan 19 14:40:08 the best way is to ask for a professional service at freeswitch consulting Jan 19 14:40:15 right Jan 19 14:40:33 we are still finalizing our budget here I also would like to hire some of those guys Jan 19 14:40:54 Lalloso: I don't think we have a big budget...but if we could share costs it would help Jan 19 14:41:50 indeed Jan 19 14:58:20 lol I think i've erased the whole mtdblock2 Jan 19 14:58:40 all the uboot environment is now gone Jan 19 14:58:52 I still have a lot to learn on embedded Jan 19 16:08:13 lars * r19228 /packages/Xorg/xorg/lib/libXtst/Makefile: [packages] libXtst install headers. Jan 19 16:11:54 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found Jan 19 16:12:22 Lalloso: your image is messed up Jan 19 16:12:30 doh Jan 19 16:12:32 Lalloso: it's not aligned corretly Jan 19 16:12:40 any hint on where to look? Jan 19 16:12:45 I have an mtdblock2 Jan 19 16:12:48 and u-boot Jan 19 16:12:56 it's my first day with u-boot Jan 19 16:14:18 Lalloso: either it's a problem with the script creating the image, or you flashed to the wrong place Jan 19 16:14:24 is your device supported? Jan 19 16:14:49 Lalloso: or are you trying to add support for it Jan 19 16:14:52 i'm not sure if it's supported Jan 19 16:15:03 i'm not the main developer Jan 19 16:15:08 Lalloso: what is it? Jan 19 16:15:26 it's an infineon smthing Jan 19 16:16:06 Old JFFS2 bitmask found at 0x006b2eb4 You cannot use older JFFS2 filesystems with newer kernels Jan 19 16:16:44 the kernel loads into ram from a tftpserver with bootm Jan 19 16:16:58 then it seems it plays with the filesystem and breaks something on the flash Jan 19 16:17:51 Lalloso: you can't use the jffs2 or squahsfs image if you boot from ram Jan 19 16:18:06 Lalloso: try the initrd one Jan 19 16:18:16 Lalloso: (or write it to flash) Jan 19 16:19:21 the kernel is in lzma Jan 19 16:19:24 and it boots properly Jan 19 16:19:33 the problem is that the rootfs is on flash Jan 19 16:19:41 and on flash mtdblock2 there are: Jan 19 16:19:49 rootfs,kernel,data,environment Jan 19 16:19:51 in this order Jan 19 16:20:15 it seems that the jffs2 support in the kernel does not like something on the flash and break it here and there Jan 19 16:20:20 that's kinda messed up Jan 19 16:20:28 just erase the jffs2 Jan 19 16:20:53 it probably finds old signatures on the flash Jan 19 16:21:02 i've reflashed it a lot of times Jan 19 16:21:16 reflashing does not erase thar part of the flash Jan 19 16:21:27 erasing it won't work, you will have to add the correct signatures Jan 19 16:21:46 ti will work to avoid this: "Old JFFS2 bitmask found at 0x006b2eb4 You cannot use older JFFS2 filesystems with newer kernels" Jan 19 16:22:07 let me check if with ro it changes anything Jan 19 16:24:17 mkimage -A MIPS -O Linux -C none -T filesystem -e 0x00 -a 0x00 -n "MY_NAME_OPENWRT" -d $(KDIR)/root.$(1).swap $(KDIR)/rootfs_jffs2.img Jan 19 16:24:45 but is u-boot a default boot loader with openwrt or it's just me ? Jan 19 16:28:30 Lalloso: did you try to flash the image? Jan 19 16:29:07 i'm trying Jan 19 16:35:12 jffs2 does not work with an mtblock2 which contains other things besides root filesystem Jan 19 16:36:30 is there a way to specify a subsegment of mtdblock2 Jan 19 16:37:14 Lalloso: it does work Jan 19 16:37:26 or wait Jan 19 16:37:34 Lalloso: what's in mtdblock2? Jan 19 16:38:18 rootfs, kernel,data,environment Jan 19 16:38:24 environment are the uboot variables Jan 19 16:38:41 kernel is a kernel not loaded into ram but used just for a CRC check at boot Jan 19 16:39:39 Lalloso: I admit, I don't have a very good idea how uboot loads a kernel Jan 19 16:40:17 okay Jan 19 16:40:18 np Jan 19 16:40:20 Lalloso: but usually, the jff2 partition starts directly after data and goes to the end of the partition Jan 19 16:40:20 thx for your hints Jan 19 16:40:34 what's in data usually? Jan 19 16:40:57 the partition table should be somewhere in the platform setup code of the kernel, not sure if the uboot table matters at all Jan 19 16:41:11 not sure Jan 19 16:41:15 how big is it? Jan 19 16:41:29 i don't know but not too big Jan 19 16:41:38 the jffs2 partition should be called rootfs_data Jan 19 16:42:27 mmm okay we'll see Jan 19 16:42:30 Lalloso: if it's only a few kb, then probably config data or something Jan 19 16:42:37 like nvram Jan 19 16:46:18 Lalloso: do you have a link to the partition table setup code handy? Jan 19 16:49:16 no Jan 19 16:49:31 but squashfs is always ro right? Jan 19 16:49:36 yes Jan 19 16:49:46 so i need jffs2 Jan 19 16:50:03 the squashfs image uses a jffs2 overaly Jan 19 16:50:24 and I strongly suggest to look at this code, because that's where the problem most likely is Jan 19 16:52:42 UnionFS Jan 19 16:53:20 Lalloso: openwrt uses mini_fo Jan 19 16:54:15 thx i'll have to look deeper into this tomorrow Jan 19 16:54:18 i go Jan 19 18:23:09 nbd * r19229 /trunk/package/hostapd/Makefile: hostapd: remove all object files on config changes Jan 19 18:28:00 juhosg * r19230 /trunk/target/linux/ar71xx/image/Makefile: ar71xx: fix image generation for TL-WR741ND/TL-WR841ND-v5 Jan 19 18:38:59 notify list Jan 19 18:39:04 builder: notify list Jan 19 18:39:05 The following events are being notified: [] Jan 19 18:40:32 builder: notify on Jan 19 18:40:32 The following events are being notified: ['started', 'finished'] Jan 19 18:41:41 builder: status brcm-2.4 Jan 19 18:41:41 no such builder 'brcm-2.4' Jan 19 18:41:56 builder: status brcm-2.4-trunk Jan 19 18:41:56 no such builder 'brcm-2.4-trunk' Jan 19 18:42:11 fail :-P Jan 19 18:42:39 builder: help Jan 19 18:42:39 oh right, you have it named funky. Jan 19 18:42:39 Get help on what? (try 'help ', or 'commands' for a command list) Jan 19 18:42:43 builder: status brcm2.4-trunk Jan 19 18:42:43 brcm2.4-trunk: idle, last build 33h18m06s ago: build successful Jan 19 18:43:10 builder: help commands Jan 19 18:43:10 Usage: commands - List available commands Jan 19 18:43:23 build status all Jan 19 18:43:28 builder: status all Jan 19 18:43:33 haha. Jan 19 18:43:33 LOL Jan 19 18:43:33 builder: commands Jan 19 18:43:34 buildbot commands: commands, dance, destroy, excited, force, hello, help, join, last, leave, list, notify, source, status, stop, version, watch Jan 19 18:43:42 builder: dance Jan 19 18:43:43 0-< Jan 19 18:43:45 0-/ Jan 19 18:43:46 0-\ Jan 19 18:44:06 builder: excited Jan 19 18:44:06 builder: hello Jan 19 18:44:06 What you say! Jan 19 18:44:06 yes? Jan 19 18:44:14 ?!? Jan 19 18:44:24 builder: help excited Jan 19 18:44:24 No usage info for 'excited' Jan 19 18:44:34 builder: help hello Jan 19 18:44:34 No usage info for 'hello' Jan 19 18:44:52 builder: help destroy Jan 19 18:44:52 No usage info for 'destroy' Jan 19 18:44:58 bahhh Jan 19 18:45:32 builder: status Jan 19 18:45:41 :/ Jan 19 18:45:50 builder: help Jan 19 18:45:50 Get help on what? (try 'help ', or 'commands' for a command list) Jan 19 18:45:56 builder: commands Jan 19 18:45:56 buildbot commands: commands, dance, destroy, excited, force, hello, help, join, last, leave, list, notify, source, status, stop, version, watch Jan 19 18:46:12 builder: help status Jan 19 18:46:12 Usage: status [] - List status of a builder (or all builders) Jan 19 18:46:36 builder: list Jan 19 18:46:37 try 'list builders' Jan 19 18:46:41 builder: list builders Jan 19 18:46:41 Configured builders: amcc-ppc40x-trunk amcc-trunk ar7-trunk ar71xx-trunk atheros-trunk au1000-trunk avr-trunk brcm2.4-trunk brcm47xx-trunk brcm63xx-trunk cobalt-trunk etrax-trunk gemini-trunk ifxmips-trunk infineon-trunk iop32x-trunk ixp4xx-trunk octeon-trunk orion-trunk ps3-trunk rb532-trunk rdc321x-trunk s3c24xx-trunk uml-trunk x86-trunk Jan 19 18:47:04 builder: status brcm63xx-trunk Jan 19 18:47:04 brcm63xx-trunk: idle, last build 4h47m30s ago: exception failed slave lost compile_15 Jan 19 18:48:00 that slave was probably lost due to the blackout this morning. Jan 19 18:48:16 ah, fun stuff Jan 19 18:48:37 builder: status x86-trunk Jan 19 18:48:37 x86-trunk: idle, last build 41h33m20s ago: build successful Jan 19 18:50:26 builder: ifxmips-trunk Jan 19 18:50:36 builder: status ifxmips-trunk Jan 19 18:50:36 ifxmips-trunk: idle, last build 9h07m23s ago: build successful Jan 19 18:51:13 builder: destroy Jan 19 18:51:13 * builder readies phasers Jan 19 18:51:40 builder: version Jan 19 18:51:40 buildbot-0.7.11p3 at your service Jan 19 18:51:46 I see that someone was having fun Jan 19 18:51:56 who the heck wrote this thing?!? Jan 19 18:52:08 builder: destroy cshore Jan 19 18:52:08 * builder readies phasers Jan 19 18:52:11 :) Jan 19 18:52:18 heh Jan 19 18:52:34 this could have been way funnier Jan 19 18:52:39 djmitche wrote it. I guess he was having fun. Jan 19 18:52:58 as fun as elisa Jan 19 18:53:14 elisa? Jan 19 18:53:47 builder: watch Jan 19 18:53:47 try 'watch ' Jan 19 18:53:58 the psych thingie hidden in some versions of emacs Jan 19 18:54:07 builder: help watch Jan 19 18:54:07 Usage: watch - announce the completion of an active build Jan 19 18:56:33 http://www-ai.ijs.si/eliza/eliza.html Jan 19 18:56:52 thanks Jan 19 18:57:08 glp: I preferred the AI that tried to emulate a schizophrenic personality. Jan 19 18:59:33 Bartman007: also a good one Jan 19 20:11:29 builder: notify list Jan 19 20:11:29 The following events are being notified: ['exception', 'successToFailure', 'failureToSuccess'] Jan 19 20:12:39 <[Fate]> nbd: ping Jan 19 20:18:38 [Fate]: pong Jan 19 20:19:20 <[Fate]> nbd: can you give me a brief summary of what 065-rootfs_split.patch is used for? Jan 19 20:20:22 <[Fate]> I can't trace back the original version / commit commentary in the svn log Jan 19 20:20:42 <[Fate]> and it's causing me trouble in conjunction with sw-raid Jan 19 20:21:02 [Fate]: it dynamically creates the rootfs_data partition for jffs2 Jan 19 20:22:46 trouble with sw-raid? are you using block2mtd on sw-raid? Jan 19 20:25:32 <[Fate]> no, I run a sw-raid on some hard disks. normally the kernel in init/do_mounts_md.c:md_run_setup() creates "/dev/md0" (apparantly on the root device) and uses it to trigger raid autodetection via an ioctl in init/do_mounts_md.c:autodetect_raid() later Jan 19 20:26:16 <[Fate]> this worked in r17695. in r17900 (and possibly already since r17803, the upgrade to 2.6.30) autodetect worked, but mounting rootfs didn't. juhosg fixed this in r18007 Jan 19 20:26:43 <[Fate]> but since then raid autodetection doesn't work any longer. the create_dev() for "/dev/md0" returns with -ENOENT Jan 19 20:28:07 <[Fate]> I can use mdadm to assemble the array later without problems, mdadm can create /dev/md0 just fine, but I'm stuck as to why the kernel-level autodetect suddenly fails Jan 19 20:28:43 <[Fate]> I differed 065-rootfs_split.patch between r17695 and trunk but couldn't find anything obvious :( Jan 19 20:28:46 <[Fate]> *diffed Jan 19 20:33:31 <[Fate]> in the patch, I notice that "index" is no longer passed to split_rootfs_data(), but I guess that's by intent Jan 19 20:34:57 [Fate]: are you sure it's that patch? Jan 19 20:35:41 <[Fate]> not yet, but it's about the only relevant change I could find in the logs between r17695 and r18007 Jan 19 20:41:36 i don't consider the rootfs split patch 'relevant' in this case Jan 19 20:41:43 i don't see any connection to mtd Jan 19 20:41:49 erm, to md Jan 19 20:41:50 ;) Jan 19 20:41:57 except for the name similarity ;) Jan 19 20:42:10 <[Fate]> but isn't the patch responsible for setting up "the root partition"? Jan 19 20:42:26 only if it finds one Jan 19 20:43:44 if you don't have an mtd partition called 'rootfs', it shouldn't do anything at all Jan 19 20:45:28 <[Fate]> I have (it's x86, grub boots openwrt from a compactflash medium) Jan 19 20:46:00 <[Fate]> but let me double check when rootfs mounting actually happens Jan 19 20:46:52 ah, ok. so it currently tries to boot from the block2mtd device, but you want it to boot from the software raid? Jan 19 20:48:09 <[Fate]> no. it boots from block2mtd just fine. but kernel-level autodetection of the sw-raid (which is mounted later for storage) worked in r17695-r18006 Jan 19 20:53:56 <[Fate]> and seeing that the kernel in init/do_mounts_md.c:md_run_setup() tries to create /dev/md0 so it can ioctl() on it, and this create_dev() call fails with ENOENT, there seems to be something wrong with the rootfs Jan 19 20:54:16 odd Jan 19 20:57:08 <[Fate]> see here http://pastebin.ca/1757973 Jan 19 20:59:33 missing rootfs? Jan 19 20:59:48 I'm not sure when you can write to it Jan 19 21:00:15 <[Fate]> that's the problem. how can I do a kernel-level "ls"? :) Jan 19 21:01:54 no idea Jan 19 21:02:05 <[Fate]> maybe the timepoint when it gets writeable changed between 2.6.28 and 2.6.31 Jan 19 21:02:08 [Fate]: did you try to use the old version of this patch? Jan 19 21:02:48 <[Fate]> gonna try that next Jan 19 21:03:05 <[Fate]> I suffer from the dell latitude "where's my performance" problem :/ Jan 19 21:03:47 [Fate]: let met tell you, the inspiron has the same problem :/ Jan 19 21:04:09 <[Fate]> I have to look into delivering the build work to a different machine Jan 19 21:05:48 I don't have a different machine Jan 19 21:05:50 :( Jan 19 21:08:13 <[Fate]> old version doesn't apply cleanly of course, let's see Jan 19 21:28:24 jow * r19231 /trunk/package/mtd/ (Makefile src/fis.c): [package] mtd: treat failure to open FIS partition as fatal when a fis_layout is given, aborts mtd write if reformat is needed and FIS table not available Jan 19 21:41:07 <[Fate]> mh shouldn't I have a ~/.ccache directory if I enable the "use ccache" option in "make menuconfig"? Jan 19 22:30:03 [florian]: ping Jan 19 22:30:29 you should try it earlier, rtz Jan 19 22:30:59 or via email :) Jan 19 22:31:20 during dezember, I didn't have any luck before midnight :/ Jan 19 22:32:06 xMff: I found the bug in the firewall Jan 19 22:32:23 cshore: explain Jan 19 22:33:58 xMff: it seems that the addif function was check the UCI up status of an interface, but it the config_load network it was basing it was from elsewhere and too old to pick up the hotplugged values. I corrected it by doing a config_load network in the addif function Jan 19 22:34:30 hmm Jan 19 22:35:39 there's a config_load network in the part near the call to add if (in fw_init), but it is in a subshell Jan 19 22:35:49 so the values are lost Jan 19 22:35:50 hmm Jan 19 22:36:07 maybe this bug was introduced while the code refactoring for hush compatibility Jan 19 22:36:20 s/while/during/ Jan 19 22:36:25 possibily Jan 19 22:36:39 can you check svn blame ? Jan 19 22:36:44 :) Jan 19 22:36:47 how does that work? Jan 19 22:36:54 svn blame blah/file Jan 19 22:37:07 shows last changed rev + author for each line Jan 19 22:38:20 nbd in 18716 Jan 19 22:39:31 hm yeah, hush compat Jan 19 22:41:31 maybe we should add a force flag for addif Jan 19 22:41:43 sorry fw_addif Jan 19 22:41:53 adding config_load back in would kinda reverse what nbd intended to prevent Jan 19 22:42:10 what was that? Jan 19 22:42:17 recursinve includes Jan 19 22:42:22 ah Jan 19 22:43:59 ne even better Jan 19 22:44:11 ? Jan 19 22:44:17 fw_addif is a wrap around fw_event with an additional check for .up Jan 19 22:44:26 yes Jan 19 22:44:44 what about just calling fw_event ifup "$x" instead of fw_addif Jan 19 22:44:47 it's the up check that failes Jan 19 22:45:34 what happens if the iface is down? Jan 19 22:45:42 good question Jan 19 22:45:46 nothing I assume Jan 19 22:46:08 the uci firewall never uses ip addresses from interfaces, so I see nothing that would break Jan 19 22:46:11 does iptables throws errors in that case? Jan 19 22:46:32 if the interface doesn't exist yet, for example Jan 19 22:46:48 hm. point Jan 19 22:47:37 can we check if the interface is up with ifconfig instead? Jan 19 22:48:18 I assume the /sys/ stuff might not work with 2.4 Jan 19 22:48:52 or use uci without the wrapper layer? Jan 19 22:49:42 http://openwrt.pastebin.com/m7ea8aeb1 Jan 19 22:49:59 forgot something Jan 19 22:50:38 http://openwrt.pastebin.com/m345bb1d8 Jan 19 22:51:36 that makes sense to me...I'll try it Jan 19 22:51:56 basically move the up check into the subshell Jan 19 22:52:04 yes Jan 19 22:53:24 ugly as hell Jan 19 22:53:28 but if it works Jan 19 22:56:09 just a sec I'll got to my serial console and see that /etc/init.d/firewal restart does, and then a reboot Jan 19 22:59:15 it works Jan 19 22:59:31 ok Jan 19 22:59:49 so what was the issue again? Interface not addif'd on boot? Jan 19 23:01:04 well the interfaces were added before the firewall was started by /etc/init.d/firewall, and fw_init wasn't fw_addif'ing the interfaces because up was not set to up when the last config_load was done Jan 19 23:01:12 i.e. up was blank Jan 19 23:01:50 so no addif rules were getting added Jan 19 23:02:13 jow * r19232 /trunk/package/firewall/ (Makefile files/uci_firewall.sh): [package] firewall: fix a race condition preventing interfaces from being added to the firewall on boot Jan 19 23:02:48 thanks ;) Jan 19 23:03:21 np Jan 19 23:03:45 There's a ticket that might be because of this...just a sec Jan 19 23:03:57 the one with webif reachable on wan? Jan 19 23:04:07 yes Jan 19 23:04:24 #6505 Jan 19 23:04:29 yes Jan 19 23:05:20 nuked. Jan 20 01:45:46 ping nbd Jan 20 02:25:56 nbd * r19233 /trunk/package/mac80211/patches/570-ath9k_bcnslot_leak.patch: ath9k: fix a beacon buffer leak on interface up/down Jan 20 02:26:02 nbd * r19234 /trunk/package/hostapd/ (5 files in 2 dirs): hostapd: upgrade to latest git version, add patches to fix multi-bss support with a single hostapd instance Jan 20 02:26:06 nbd * r19235 /trunk/package/ (hostapd/files/hostapd.sh mac80211/files/lib/wifi/mac80211.sh): Jan 20 02:26:06 mac80211: restructure /lib/wifi/mac80211.sh Jan 20 02:26:06 use the new multi-bss single instance hostapd mode Jan 20 02:26:06 move mac80211 specific bits out of /lib/wifi/hostapd.sh Jan 20 02:26:08 add a new option 'htmode' for switching between HT20 and HT40+,HT40- Jan 20 02:26:16 ping nbd **** ENDING LOGGING AT Wed Jan 20 02:59:57 2010