**** BEGIN LOGGING AT Sun Jan 21 03:00:03 2007 Jan 21 09:48:18 03oleo * r5245 10optware/trunk/ (2 files in 2 dirs): transmission: r1423->r1417 - always create active-torrents.txt Jan 21 10:30:11 03oleo * r5246 10optware/trunk/ (Makefile make/vnstat.mk): vnstat: network traffic monitor added Jan 21 10:35:42 oleo: did the oleg and ddwrt feeds end up as you desired? Jan 21 14:46:23 03gda * r5247 10optware/trunk/make/amavisd-new.mk: amavisd-new: depends on net-tools, busybox hostname doesn't work Jan 21 17:11:23 03gda * r5248 10optware/trunk/make/postfix.mk: postfix: 2.3.5 -> 2.3.6 Jan 21 17:24:00 03oleo * r5249 10optware/trunk/make/transmission.mk: transmission: r1234->r1424 Jan 21 17:33:58 will the firemware work on the d-link dns-323 firmware later on? Jan 21 18:43:13 03oleo * r5250 10optware/trunk/ (make/vnstat.mk sources/vnstat/ sources/vnstat/vnstat.h.patch): vnstat: increase BVAR to 100 Jan 21 19:08:44 hi Jan 21 19:09:27 hi Jan 21 19:10:06 is anyone using an usb network adapter on a nslu2? Jan 21 19:11:15 * [g2] used a linksys one years ago Jan 21 19:11:47 * [g2] guesses atari is either going to firewall or do ethernet driver development Jan 21 19:12:15 [g2]: did you do any speed benchmarks? Jan 21 19:12:45 [g2]: its about firewalling/routing nas just things with multiple network connections ;) Jan 21 19:13:33 * [g2] sells a dual port 533MHz that can have 4 more ports via miniPCI Jan 21 19:13:53 <[g2]> 533Mhz IXP425 Jan 21 19:14:10 <[g2]> but really, you've got a ton of options Jan 21 19:14:40 nah. Jan 21 19:15:12 <[g2]> no you don't think you have a ton of options or you are just kidding ? Jan 21 19:16:39 i know there are a lot of other possibilities to do it... but first i want to know whether a usb-rj45 connector could be an alternative... Jan 21 19:19:29 <[g2]> atari the real question is how much traffic you are planning on supporting Jan 21 19:20:11 <[g2]> if you're plugged into the Internet your probably less than 10MBs and the stock slug is plenty fast to handle that if you don't have too many rules Jan 21 19:20:41 <[g2]> so it depends on how heavily you load the NAS part and what performance you are looking for from the NAS Jan 21 19:20:49 [g2]: something like 50mpbs second or so. (only routing no iptables) Jan 21 19:21:08 s/mpbs/mbps Jan 21 19:21:44 <[g2]> nod., 50mb is certainly achievable but your NAS performance will start to suffer Jan 21 19:21:54 <[g2]> you talking about DS3 reates Jan 21 19:21:58 <[g2]> s/reates/rates/ Jan 21 19:21:59 [g2] meant: you talking about DS3 rates Jan 21 19:22:11 [g2]: 50mbps is the routing... the nas is only thought for about 1-2mbyte/s Jan 21 19:22:21 s/mbyte/mbit Jan 21 19:22:59 [g2]: i want 50mbps routing into the dmz and about 1-2mbit into the internet Jan 21 19:23:01 <[g2]> so that's like 250KB/sec with isn't much Jan 21 19:23:43 <[g2]> so if you can handle packet latency/jitter then you probably don't have any issue Jan 21 19:24:03 <[g2]> if you are streaming VOIP and don't prioritize it, it'll probably be ugly Jan 21 19:24:11 nas is 1-2mbit/s. routing is 50mbps. so the usb rj45 adapter would need a speed support of 50mbps Jan 21 19:25:01 lets get back to the important question: which usb-rj45 adapter can do 50mbps? Jan 21 19:25:29 <[g2]> well for $39 I see 1000Mbs adapters, so I'm sure there are plenty Jan 21 19:25:46 <[g2]> I'm assuming you are not doing small packets (64 bytes) Jan 21 19:26:06 but which of them are supported under linux? and which of them do that speed really do... Jan 21 19:26:24 <[g2]> so, basically you are talking about just a handful of usb packets Jan 21 19:27:13 what do you mean with "usb packets"? Jan 21 19:27:13 * [g2] digs through draw, pulls out usb-ethernet adapter and plugs into laptop Jan 21 19:30:33 hey, sorry for bugging you guys again :D is there anyone here that could give me a little advice on adding a new kernel module to unslung?? Jan 21 19:31:10 progress so far: I have successfully build unslung-6.8-beta using the master makefile. Jan 21 19:31:21 <[g2]> atari Ok, on the laptop, the usb adapter just did nearly linerate on a 40MB xfer Jan 21 19:31:30 <[g2]> 40MB scp in 4 seconds Jan 21 19:31:45 MB=Mbyte, right? Jan 21 19:31:58 <[g2]> atari yes 10MB or 80MBs Jan 21 19:32:08 <[g2]> hence the "line rate" part Jan 21 19:32:31 <[g2]> about 11.xMBs is really line rate with interframe gaps etc.. Jan 21 19:32:40 i think that should be fast enough... what adapter do you use? under linux? Jan 21 19:32:51 <[g2]> + ethernet overhead and ip/tcp overhead Jan 21 19:33:12 hehe Jan 21 19:33:25 <[g2]> atari I don't use them anymore, I'm almost all gigE now :) Jan 21 19:33:32 scp speed says enough ;) Jan 21 19:33:49 yeah. but with which adapter did you try it out? Jan 21 19:33:51 <[g2]> right, I get nearly 30MBs on the gigE via scp Jan 21 19:34:02 <[g2]> it's a linksys usb200M iirc Jan 21 19:34:11 cool :) Jan 21 19:34:19 i think i'll get one of these... Jan 21 19:37:20 03avo * r5251 10optware/trunk/sources/ds101-kernel-modules/ (S01mod_generic S01mod_loop): ds101-kernel-modules: added startup scripts Jan 21 19:38:02 <[g2]> atari Ok, hold on a second Jan 21 19:38:25 03avo * r5252 10optware/trunk/sources/ds101-kernel-modules/armeb-config: ds101-kernel-modules: removed ZISOFS - still no module for this Jan 21 19:38:54 <[g2]> atari My like may go a way for a minute Jan 21 19:39:06 * [g2] is going to take eth0 down Jan 21 19:39:13 hehe Jan 21 19:39:15 good luck ;) Jan 21 19:39:18 <[g2]> to make sure the traffic is going over eth1 Jan 21 19:39:41 03avo * r5253 10optware/trunk/make/ds101-kernel-modules.mk: ds101-kernel-modules: add startup scripts, use .unpacked to speed up after cfg change Jan 21 19:41:01 <[g2]> atari still there ? Jan 21 19:41:53 <[g2]> atari Ok that was line rate over the usb2.0 adapter Jan 21 19:42:12 <[g2]> 40MB in 3.x seconds Jan 21 19:42:54 <[g2]> eth0 was down and ifconfig confims the bytes/packet counts on eth1 Jan 21 19:43:30 <[g2]> atari yeah... it's a USB200M Jan 21 19:44:15 <[g2]> atari what part of the world are you in ? Jan 21 19:44:30 [g2]: .ch Jan 21 19:45:26 <[g2]> hmmm.... /me wonders what shipping would be Jan 21 19:45:47 <[g2]> it's a tiny package. I'd sell you my usb200M for $10 US + shipping Jan 21 19:45:50 where are you? Jan 21 19:45:59 <[g2]> US Jan 21 19:46:14 isnt it a little bit early? ;) Jan 21 19:46:41 i can get one of these for about 25-30$... Jan 21 19:46:59 so shipping paying and all that would be more expensive than buy it in a store... :/ Jan 21 19:47:20 <[g2]> atari actually I sent something to DE for < $5 Jan 21 19:47:29 *wow* Jan 21 19:47:50 <[g2]> I had the same thought about shipping, but then I remembered that Jan 21 19:48:37 <[g2]> and the $5 item was about 3x the size Jan 21 19:49:29 i think shipping would be about 10$... shipping to .ch is more expensive than .de (usually) Jan 21 19:50:01 bank fee another 5$ (i assume at least) Jan 21 19:50:38 * [g2] noticed a $0.99 one on ebay Jan 21 19:51:25 i found one for 1€ in .de Jan 21 19:51:43 <[g2]> :) Jan 21 19:53:14 but thank for the details about the usb200m :) Jan 21 19:53:19 <[g2]> np Jan 21 19:53:31 <[g2]> GL with your project Jan 21 19:54:00 yeah... seems that it will be a real hack... ;) Jan 21 19:54:10 <[g2]> that's fine Jan 21 19:55:01 hehe Jan 21 19:55:54 hey, can anyone give me some help on adding a new kernel module to unslung?? Jan 21 19:55:59 please :D Jan 21 19:56:55 sorry. i havent any experience with that... Jan 21 19:57:09 .oO( bad english )Oo. Jan 21 19:58:20 rwhitby: Yes, I build on ubuntu. Unfortunately, my laptop has died whil I was away. Jan 21 20:28:07 no slug development gurus around 2night? :S Jan 21 20:31:17 03gda * r5254 10optware/trunk/sources/clamav/rc.clamav: clamav: postinst, rc.clamav cleanup Jan 21 20:32:13 <[g2]> NAiL's development guru ! Jan 21 20:33:36 heh Jan 21 20:33:41 not on unslung Jan 21 20:33:52 never tried unslung :-\ Jan 21 20:35:48 I think the help iwo needs is with bitbake, I think the kernel building process is pretty similar between unslung and SlugOS Jan 21 20:36:41 i guess if i forget about trying to add a package for this, my life will be easier... Jan 21 20:36:59 it means i don't need to worry about the /install/unslung.kernel.package file Jan 21 20:37:20 so basically, i just need to work out how to get my files compiled during the build... Jan 21 20:38:48 which probably means you need to apply your patch at the right point in the kernel build recipe and modify whichever defconfig bitbake is actually using Jan 21 20:39:42 i've added some lines to the Makefile in .../linux-2.4.22/drivers/usb/ Jan 21 20:40:02 that look like: Jan 21 20:41:51 http://pastebin.co.uk/9399 Jan 21 20:42:52 and i've added these two new strings into defconfig, like: Jan 21 20:43:29 http://pastebin.co.uk/9400 Jan 21 20:48:00 then i delete the unslung kernel compile stamp, and re-run: make unslung-6.8-beta Jan 21 20:48:20 but the new files don't get build :( Jan 21 20:50:27 built even Jan 21 20:52:59 do your defconfig changes survive the rebuild and is .config being recopied from defconfig? Jan 21 20:54:53 yes, the changes survive the rebuild... Jan 21 20:57:15 where is .config? Jan 21 21:11:30 interesting... when i check log.do_compile, the files i added *are* mentioned Jan 21 21:11:38 they go into .depend Jan 21 21:15:05 i think this is all a little bit too complex for my limited understanding of how unslung is built Jan 21 21:15:23 i've created an optware package before, but this is a lot harder :D Jan 21 21:22:36 iwo: you should be trying to do this as an out-of-kernel package, not by trying to modify the kernel we build. Jan 21 21:22:53 (we don't usually add out-of-kernel modules to the base kernel) Jan 21 21:23:05 there are some other examples of out-of-kernel packages in OE Jan 21 21:36:16 is that what the current 'kernel-module-ov511' is? Jan 21 22:03:33 iwo - yeah Jan 21 22:09:19 in that case, shouldn't i already see some ov511 related stuff in /unslung/openembedded/packages?? Jan 21 22:12:08 iwo: only if it's built by default Jan 21 22:13:37 iwo: OV511 is an in-kernel module Jan 21 22:13:55 CONFIG_USB_OV511=m Jan 21 22:14:20 so the in-kernel module gets built automatically, due to the line in the defconfig file. Jan 21 22:14:45 unless the support is already in the kernel (and can simply be enabled), then it has to be done as an out-of-kernel module Jan 21 22:15:06 have a look at packages/spca5xx for instance. Jan 21 22:15:11 so instead, i should add a new folder in /unslung/openembedded/packages, and create a .bb file Jan 21 22:15:30 yes, for an out-of-kernel module (just like spca5xx) Jan 21 22:16:00 ah, excellent (thanks!) Jan 21 22:16:07 then we can add that to OE and make it available for both Unslung and SlugOS (and other OE distros too) Jan 21 22:16:17 do you have any idea why the setup-env script doesn't seem to work? Jan 21 22:16:31 i make it executable (chmod a+x) Jan 21 22:16:41 then i run it (./setup-env) Jan 21 22:16:49 did you type "make" first? Jan 21 22:16:51 but i still cant use the command bb or bitbake Jan 21 22:17:13 you need to source the setup-env script to make it change your running environment. Jan 21 22:17:31 if you execute it as a child process, then it can't change the environment of the parent Jan 21 22:17:39 (that's why it's not executable) Jan 21 22:19:27 what do you mean by 'source' it? Jan 21 22:21:20 enter source scriptname in a bash shell... Jan 21 22:22:00 ok Jan 21 22:22:19 thanks for your help rwhitby, i have a much better idea of what the hell i'm doing now! :) Jan 21 22:22:44 i think i got confused by assuming that i should try and copy the way that the ov511 driver is built. Jan 21 22:22:54 iwo: np - I'm always ready to help someone who's going to be contributing new drivers. Jan 21 22:23:15 (just make sure you follow through on your part of the deal ;-) Jan 21 22:29:17 03oleo * r5255 10optware/trunk/ (make/vnstat.mk sources/vnstat/vnstat.h.patch): vnstat: change database to /opt/var/lib/vnstat Jan 21 22:32:44 :) Jan 21 22:39:02 okay, i'm off. thanks for the advice rwhitby! Jan 21 22:39:24 i'll be back to bug you tomorrow :D Jan 21 22:39:24 iwo: np Jan 21 22:45:27 03gda * r5256 10optware/trunk/make/dnsmasq.mk: dnsmasq: 2.34 -> 2.36 **** ENDING LOGGING AT Mon Jan 22 02:59:58 2007