**** BEGIN LOGGING AT Tue Sep 28 02:59:57 2010 Sep 28 10:43:28 jow * r23141 /trunk/package/firewall/ (5 files in 2 dirs): Sep 28 10:43:28 [package] fireall: Sep 28 10:43:28 - support negations for src_ip, dest_ip, src_dip options in rules and redirects Sep 28 10:43:28 - add NOTRACK target to rule sections, allows to define fine grained notrack rules Sep 28 10:59:57 Hi! i'm doing some experiments on a new board to study how I can create a specific target in OWRT10. I see that the architecture and toolchaing structure of owrt is very similar to ltib and ledk. What is the real difference between owrt and the others? Consider that at least 90% of the work is already on ltib targets. I need to have clear in mind the differences before I start. Sep 28 11:02:09 haven't looked into ltib yet Sep 28 11:02:12 what's ledk? Sep 28 11:04:49 from what i can see, ltib seems to be a rather minimal build environment that does just enough to get a kernel and a very basic userland running Sep 28 11:05:14 no proper integration or even tools to keep targets in sync with each other Sep 28 11:05:58 openwrt has a large set of common patches and tools to make sure that devs only need to focus on the platform specific bits and let the generic code do its work Sep 28 11:06:15 it also has infrastructure to keep kernel configs across targets in sync with each other Sep 28 11:06:30 and openwrt is probably easier to use for porting new targets Sep 28 11:06:56 xMff, can you merge 23141 into backfire :D ? Sep 28 11:07:06 RealOpty: working on it Sep 28 11:07:14 xMff, your awesome Sep 28 11:11:01 whats the notrack chain? Sep 28 11:11:44 jow * r23142 /trunk/package/firewall/files/reflection.hotplug: [package] firewall: don't setup nat reflection if negations are used Sep 28 11:11:47 forcibly disables connection tracking Sep 28 11:12:00 which improves performance Sep 28 11:12:18 we use openwrt on ha systems and need it :) Sep 28 11:12:35 :) Sep 28 11:13:12 btw. started to add some config integration for netifd Sep 28 11:14:08 after that, i only need to add some proto handler abstraction, then i can begin to add ubus, the shell callout, and then fill in the low level stubs Sep 28 11:14:17 ah nice, i should use that option when redirecting http trafic to my squid proxy yeah? Sep 28 11:14:38 that's one place where you should absolutely not use it ;) Sep 28 11:15:18 lol kk :) Sep 28 11:16:01 nbd, example of a time to use it? Sep 28 11:16:31 if you're routing packets between two interfaces and use no NAT or connection based filtering Sep 28 11:17:23 ah Sep 28 11:39:04 jow * r23143 /trunk/package/firewall/files/lib/core_rule.sh: [package] firewall: fix chain selection logic, option dest must be ignored for notrack targets Sep 28 11:50:49 jow * r23144 /branches/backfire/package/firewall/ (Makefile files/reflection.hotplug files/uci_firewall.sh): [backfire] firewall: backport r23141, r23142 and r23143 Sep 28 11:55:26 ndb: very clear and stisfying. Sep 28 14:02:40 mhh has someone an idea why the mv_cesa module (marvell hardware encryption) doesn't get build. i've tried the package and menuconfig and the modul in kernel_menuconfig aswell ... it doesn't get build :( Sep 28 14:13:06 Memphiz: no, but i noticed yesterday aswell Sep 28 14:13:15 have not had time to look in detail though Sep 28 14:14:31 blogic: this module should work on kirkwood/dockstar shouldn't it? Sep 28 14:14:44 want some hardware aes encryption for speeding up the dm-crypt :) Sep 28 14:19:55 perhaps wrong kernel symbol? Sep 28 14:20:55 KanjiMonster: what do you mean? Sep 28 14:21:01 Memphiz: indeed Sep 28 14:21:18 Memphiz: i just made a nas6210 work and want dmcrypt for my sata drive Sep 28 14:21:19 :) Sep 28 14:21:36 Memphiz: I meant kernel config value Sep 28 14:21:39 but i ran out of time on the weekend Sep 28 14:21:59 Memphiz: i think the default kernel config is not correct as KanjiMonster just suggested Sep 28 14:22:23 i changed the kernel config by make kernel_menuconfig ... activated hw encryption modules and mv_cesa ... Sep 28 14:22:35 don't know what to do more to tell him to build this module *G* Sep 28 14:22:36 but mv_cesa is not part of ocf? Sep 28 14:22:54 xMff: it is under the ocf directory in kernelsrc/crypto Sep 28 14:22:57 ok Sep 28 14:23:07 so its ocf Sep 28 14:23:36 ohh Sep 28 14:23:37 shit Sep 28 14:23:43 then it is somehow twice there in kernel config Sep 28 14:24:00 once under cryptographic api ... Sep 28 14:24:16 and once under ocf configuration (which i didn't see until now ...) Sep 28 14:24:18 there are actually two stacks Sep 28 14:24:21 mhh Sep 28 14:24:22 also, the module definition needs to depend on TARGET_kirkwood; being under target/kirkwood doesn't prevent it from being selectable for other targets ;) Sep 28 14:24:34 some linux native modules and then the ocf framework Sep 28 14:25:08 so i'll try the ocf thing ... has it disadvantages? Sep 28 14:25:29 when I played with hw crypto the last time ocf was the only thing that worked Sep 28 14:25:32 even on 2.4 Sep 28 14:26:07 but this was for a vpn1411 crypto accel card, never tried the soc drivers Sep 28 14:26:43 i'll give it a shot ... but the module isn't called mv_cesa.ko then ... so it seems to be a different approach (have read in other forums they used mv_cesa.ko on there sheevaplugs) Sep 28 14:35:13 crypto/ocf/kirkwood/mvHal/mvSysHwConfig.h:34:48: error: ../../../../include/linux/autoconf.h: No such file or directory Sep 28 14:35:14 wtf Sep 28 14:36:04 build #112 of octeon is complete: Failure [failed compile_7] Build details are at http://tksite.gotdns.org:8010/builders/octeon/builds/112 Sep 28 14:37:30 mhh found that header unter include/generated/autoconf.h ... will try if that works Sep 28 14:37:46 ah now I remember Sep 28 14:37:59 the sources had some blurbs about SDKs Sep 28 14:39:47 mhh Sep 28 14:40:02 but i still wonder why the other stack doesn't build the module at all ... Sep 28 14:40:50 mhh when changing it to use the generated/autoconf.h header it still burps and fails Sep 28 14:41:07 *frickel* *frickel* :) Sep 28 14:41:11 harr Sep 28 14:41:45 grfnuckel Sep 28 14:42:01 it would not be fun if it worked ootb Sep 28 14:42:09 sure it would be fun :) Sep 28 14:42:31 but then we would loose our geek status Sep 28 14:42:37 true, one could accidentially become productive... far too dangerous Sep 28 14:42:42 lol Sep 28 14:43:22 6mb/s with software dm-crypt ... well ... i could stick with it ... but i can't sleep if there is hardware in it which could speed things up ... and i can't use it ... so ... frickel again *G* Sep 28 14:43:55 btw the seagate freagent usb hard drives damn look like apple stuff *G* Sep 28 14:44:06 really sweet design Sep 28 14:44:13 with blinking and glowing leds and stuff ... Sep 28 14:44:21 women would love that hrhrhr Sep 28 14:44:51 they wouldn't worry about dm-crypt either :P Sep 28 14:45:26 #include "mvAesBoxes.dat" <- is that correct c syntax? Sep 28 14:45:56 sure Sep 28 14:45:58 mhh well ... guess the compile doesn't care about file extensions to include ... but looks strange though (that file doesn't even exist) Sep 28 14:46:27 the marvell tech guy hacked it together on windows xp probably ;) Sep 28 14:47:09 seriously, when I last skimmed through the sources it looked like they're incomplete and rely on some kind of vendor sdk Sep 28 14:47:18 never bothered to find out where to get it from Sep 28 14:47:46 the marvell parts I mean Sep 28 14:49:21 mhh Sep 28 14:50:43 mhh hopefully it is plattform independend ... got one through google ;) Sep 28 14:51:11 its probably just licensing foo Sep 28 14:52:14 mhh but there seems more missing :( Sep 28 14:52:25 crypto/ocf/kirkwood/cesa_ocf_drv.c:501: error: implicit declaration of function 'crypto_copy_bits_back' Sep 28 14:52:32 think that was the frickel ... Sep 28 14:52:35 *g* Sep 28 14:52:44 mhh Sep 28 14:53:12 blogic: btw, why the 6210 and not the 6220; didn't you want one for two discs? ;) Sep 28 14:58:50 so i better get the buildsystem to even try to build the other driver ... Sep 28 14:59:03 ah, I just saw, the 6220 isn't out Sep 28 15:00:50 xMff: any hints how to track back this issue? in .config "CONFIG_PACKAGE_kmod-crypto-mv_cesa" gets set to y ... where does this variable gets evaluated? Sep 28 15:11:48 kristianpaul: 6220 is not on sale yet Sep 28 15:11:53 oops Sep 28 15:12:01 KanjiMonster: 6220 is not on sale yet Sep 28 15:12:06 once it is i will get a 6220 Sep 28 15:12:56 for now i am using the esata for the 2nd disc Sep 28 15:17:39 ah Sep 28 15:17:42 :) Sep 28 15:34:55 xMff: cp: cannot stat `/home/christian/src/backfire/trunk-dockstar.sog/build_dir/linux-kirkwood/linux-2.6.35.4/crypto/mv_cesa.ko': No such file or directory Sep 28 15:35:15 the mv_cesa.ko gets build in build_dir/linux-kirkwood/linux-2.6.35.4/drivers/crypto/mv_cesa.ko ... Sep 28 15:35:28 or it doesn't get moved in the first directory ... any idea? Sep 28 15:41:27 yeah ... nearly doubled the throughput via ftp to 9mb/s ^^ ... Sep 28 15:41:57 mhh but ... it have to rethink if this is worse ... without encryption i get around 30mb/s Sep 28 15:53:27 ftp doesn't use encryption, unless you are talking about tfps or sftp Sep 28 15:53:36 *ftps Sep 28 15:54:03 ah, encrypted ds Sep 28 15:54:05 *fs Sep 28 15:54:10 gah, can't type today Sep 28 15:54:35 KanjiMonster: encrypted partition Sep 28 15:54:39 via dm-crypt ^^ Sep 28 15:55:41 xMff: i've a patch for the kirkwood/modules.mk ... which accessed the mv_cesa.ko in the wrong place ... would you commit it? Sep 28 15:56:22 KanjiMonster: did i mention that the dockstar is a rocker? *hehe* Sep 28 15:58:28 Memphiz: while you are at it, add a dependency to @TARGET_kirkwood Sep 28 15:58:57 right Sep 28 15:59:14 Memphiz: haven't had time to do anything with my new dockstar (this time I wont do a "nand erase"! ;) Sep 28 15:59:30 ahh ... it isn't enough that the modules.mk is in the kirkwood subdir right? Sep 28 15:59:40 no it isn't Sep 28 15:59:43 KanjiMonster: you have a bricked dockstar ? Sep 28 16:11:41 Memphiz: where is the patch? Sep 28 16:16:51 larsc: one moment Sep 28 16:18:37 larsc: http://pastebin.com/4hk2xn7s Sep 28 16:19:22 do we really need the @TARGET_kirkwood? Sep 28 16:20:01 KanjiMonster: ping your question :) Sep 28 16:24:29 larsc: I selected ar71xx and I could still select the module. It didn't do anything (doesn't break the build), but I would expect it to be only visible if the kirkwood target is selected Sep 28 16:32:42 lars * r23145 /trunk/target/linux/kirkwood/modules.mk: Sep 28 16:32:43 [kirkwood] Fix mv_cesa module dependencies and .ko file location Sep 28 16:32:43 Thanks KanjiMonster & Memphiz Sep 28 16:33:03 thx lars Sep 28 16:40:57 build #115 of sibyte is complete: Success [build successful] Build details are at http://tksite.gotdns.org:8010/builders/sibyte/builds/115 Sep 28 17:35:36 nice Sep 28 17:36:50 Memphiz: 9mb/s via ftp is nice. which cipher do you use? Sep 28 17:37:28 aes Sep 28 17:37:36 256bit key Sep 28 17:37:39 sha1 hashing Sep 28 17:37:50 http://smorgasbord.gavagai.nl/2010/02/sheevaplug-hardware-crypto/ <- this one ... Sep 28 17:39:54 and ext4 as fs Sep 28 17:40:47 interesting, thanks Sep 28 19:51:27 build #0 of avr32 is complete: Exception [exception failed slave lost shell_10 compile_12] Build details are at http://tksite.gotdns.org:8010/builders/avr32/builds/0 Sep 28 19:51:28 build #0 of brcm63xx is complete: Exception [exception failed slave lost shell_10 compile_12] Build details are at http://tksite.gotdns.org:8010/builders/brcm63xx/builds/0 Sep 28 19:51:30 build #0 of brcm47xx is complete: Exception [exception failed slave lost shell_10 compile_12] Build details are at http://tksite.gotdns.org:8010/builders/brcm47xx/builds/0 Sep 28 19:51:32 build #0 of sibyte is complete: Exception [exception failed slave lost shell_10 compile_12] Build details are at http://tksite.gotdns.org:8010/builders/sibyte/builds/0 Sep 28 19:51:35 build #0 of octeon is complete: Exception [exception failed slave lost shell_10 compile_12] Build details are at http://tksite.gotdns.org:8010/builders/octeon/builds/0 Sep 28 20:21:49 obsy * r23146 /packages/net/proftpd/Makefile: [packages] proftpd: update to 1.3.3b Sep 28 22:55:50 nbd * r23147 /trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap96.c: Sep 28 22:55:50 AP96: Fix LAN/WAN setup Sep 28 22:55:50 LAN (eth0) is behind a switch and the fixed speed/duplex was Sep 28 22:55:50 supposed to be for it, not WAN (eth1). Sep 28 22:55:50 Signed-off-by: Jouni Malinen Sep 28 23:11:36 nbd: now it looks better ;) Sep 28 23:42:39 KanjiMonster: yup :) Sep 28 23:43:18 nbd: do you now have your own ap96 running? Sep 28 23:43:33 not yet Sep 28 23:43:45 forwarded your comments to jouni and gave him some more hints Sep 28 23:44:04 with that he got lan and wan working properly Sep 28 23:48:11 I see **** ENDING LOGGING AT Wed Sep 29 02:59:57 2010