**** BEGIN LOGGING AT Mon Aug 15 07:19:38 2005 Aug 15 07:56:18 Openslug HEAD still works Aug 15 07:57:27 always a good sign Aug 15 08:24:03 koen: hate to say this, but your changes to iptables.bb still haven't propagated down to nslu2-linux Aug 15 08:24:32 I don't touch the nslu2-linux branch Aug 15 08:24:44 aah - who can move them? Aug 15 08:25:15 I guess I have to wait for the next dev --> nslu2-linux merge Aug 15 08:26:13 good - I now have a working iptables firewall script Aug 15 08:44:16 blaster8: Can't say that I've recieved them? Aug 15 08:44:42 received what? Aug 15 08:45:03 the second load of defconfig changes Aug 15 08:45:10 http://pastebin.ca/20058 Aug 15 08:45:35 the important stuff is at 'Netfilter Configuration' Aug 15 08:46:19 merging dev and nslu2-linux now btw Aug 15 08:57:04 blaster8: ok, it looks good. Compiling now. Aug 15 08:57:19 one small issue Aug 15 08:57:46 in iptables-utils (an optional package), iptables-restore does its job, but hangs rather than exits Aug 15 08:57:51 with me, anyway Aug 15 08:57:59 but it's not exactly essential Aug 15 08:58:13 ah... well... Aug 15 08:58:25 that's the other half of iptables-save, right? ;) Aug 15 08:58:36 Isn't that just a script? Aug 15 08:59:48 no idea Aug 15 08:59:58 I was wondering though Aug 15 09:00:14 hmm Aug 15 09:00:21 anyway, I've adapted an iptables firewall script into an init script Aug 15 09:00:23 Kernel doesn't compile on my end Aug 15 09:00:29 compiled here Aug 15 09:00:39 but that was without the extra extra modules Aug 15 09:00:53 what's the error? Aug 15 09:00:55 yeah, somehow the extra extra stuff breaks it Aug 15 09:01:13 the defconfig I gave you compiles fine Aug 15 09:01:26 http://pastebin.ca/20070 Aug 15 09:01:37 That's with the defconfig from pastebin Aug 15 09:01:59 I diffed it to my defconfig, and it looked ok.. Aug 15 09:02:18 hmm Aug 15 09:02:20 hold on Aug 15 09:04:27 finding out what's gone wrong as soon as monotone updates Aug 15 09:06:03 blaster8: http://pastebin.ca/20072 is the diff I from my previous (working) defconfig, to your config. Aug 15 09:17:07 trying the kernel here Aug 15 09:18:28 hmm - it worked fine Aug 15 09:19:00 http://people.pwf.cam.ac.uk/mlj28/defconfig.ipt Aug 15 09:19:10 direct link to the defconfig Aug 15 09:19:55 replace in openembedded/packages/linux/openslug-kernel-2.6.12.2 Aug 15 09:19:57 repvik@dev:~/nslu2/openembedded/packages/linux/openslug-kernel-2.6.12.2$ diff defconfig defconfig.ipt Aug 15 09:20:03 no diff at all Aug 15 09:20:07 I have just make updated Aug 15 09:20:12 and that one does not build on mine Aug 15 09:20:12 but I don't have the dev changes Aug 15 09:20:29 all I did was remove some whitespace Aug 15 09:20:59 NOTE: package openslug-kernel-2.6.12.2-r10: task do_configure: started Aug 15 09:20:59 NOTE: package openslug-kernel-2.6.12.2-r10: task do_configure: completed Aug 15 09:20:59 NOTE: package openslug-kernel-2.6.12.2-r10: task do_compile: started Aug 15 09:21:19 odd Aug 15 09:21:23 NOTE: package openslug-kernel-2.6.12.2-r10: task do_configure: completed Aug 15 09:21:24 NOTE: package openslug-kernel-2.6.12.2-r10: task do_compile: started Aug 15 09:21:38 I think I know what caused it actually Aug 15 09:21:42 still compiling - but yours failed in configure, right? Aug 15 09:21:49 no, it worked this time Aug 15 09:22:02 compiler completed - packaging Aug 15 09:22:06 cleaning and retrying to be sure Aug 15 09:22:26 I think I had an errant symlink in the cross dir that overrode gcc Aug 15 09:22:37 so stuff that wasn't supposed to be compiled cross was Aug 15 09:22:39 I also have cleaned and recompiled modutils/ixp* in the past Aug 15 09:22:59 yeah, you will have to do that when you've changed something that isn't modules Aug 15 09:23:27 don't think I have, but still - you might want to bump those revision numbers so they are rebuilt Aug 15 09:30:21 http://www.nslu2-linux.org/wiki/OpenSlug/OpenSlugIptables Aug 15 09:31:18 blaster8: iptables -F doesn't flush all rules.... Aug 15 09:31:24 ?? Aug 15 09:31:31 iptables --list Aug 15 09:32:09 blaster8: I updated the requirements a bit on the wiki. You should have 2.6.12.2-r11 atleast ;) Aug 15 09:32:10 I've always needed to do iptables -F nat too Aug 15 09:32:31 -F: Delete all rules in chain or all chains Aug 15 09:32:46 so surely, if nothing is specified then it deletes rules in all chains Aug 15 09:32:48 that's what is says Aug 15 09:33:01 that's not what it does Aug 15 09:33:08 hmm Aug 15 09:33:13 * koen thinks it's a big stinking bug Aug 15 09:33:20 ixp4* modules kinda should be linked to the kernel's PR Aug 15 09:33:23 thanks for the tip - fortunately this is a simple packet filtering job Aug 15 09:33:51 koen: you have to specify the table Aug 15 09:34:13 senneth: yes and no Aug 15 09:34:22 'iptables -F' flushes a lot Aug 15 09:34:26 but not everything Aug 15 09:34:29 only filter Aug 15 09:35:28 blaster8: pushing Aug 15 09:35:31 which is the default table when yo don't specify one by commndline Aug 15 09:41:01 senneth: none at all Aug 15 09:41:07 http://www.nslu2-linux.org/wiki/OpenSlug/OpenSlugIptables Aug 15 09:41:14 making the page as we type Aug 15 09:42:29 filter: Aug 15 09:42:29 This is the default table (if no -t option is passed). It contains the built-in chains INPUT (for packets coming into the box itself), FORWARD Aug 15 09:42:32 (for packets being routed through the box), and OUTPUT (for locally-generated packets). Aug 15 09:42:38 huk, just quoting man iptables Aug 15 09:42:59 then that one Aug 15 09:43:19 basically the default table is the above and the default filter lets everything through Aug 15 09:43:58 NAiL: Is there a neat shell script way to add a ln -s link from an /etc/init.d to every runlevel? Aug 15 09:44:31 update-rc.d (or something like that) Aug 15 09:46:08 NAiL: there is a FIXME in the wiki in http://www.nslu2-linux.org/wiki/OpenSlug/OpenSlugIptables for the above if you could help Aug 15 09:58:35 update-rc.d initscriptname defaults 30 Aug 15 09:59:08 30 is way after sshd has started though Aug 15 09:59:23 think samba starts earlier too Aug 15 10:03:09 ok, fixed in wiki Aug 15 10:03:12 starting at 05 Aug 15 10:03:34 nice work Aug 15 10:03:39 thanks Aug 15 10:03:39 indeed Aug 15 10:04:00 will try ebtables l8 tonight or tomorrow Aug 15 11:10:11 Last thing I see in bootup when VERBOSE=yes, is this: Aug 15 11:10:11 System time was Mon Aug 15 06:12:28 CEST 2005. Aug 15 11:10:12 Setting the System Clock using the Hardware Clock as reference... Aug 15 11:10:23 Anyone know why my slug decides to hang there? Aug 15 11:12:11 oh nice Aug 15 11:12:18 my slug hangs trying to set the clock Aug 15 11:19:57 nice :) Aug 15 11:20:07 no :( Aug 15 11:20:16 Probably the slug dying ... Aug 15 11:20:19 :( Aug 15 11:20:38 It looks like it's having amnesia Aug 15 11:26:20 I had problems in the past with that IIRC. Aug 15 11:26:40 I'm getting oopses and segfaults Aug 15 11:27:08 A problem I haven't had since I had a Pentium 200 w/o MMX Aug 15 11:27:10 Actually, my problem was not accessing the rtc, it was always reading the same time. Aug 15 11:27:17 odd Aug 15 11:27:37 Nah, I think the memory is failing Aug 15 11:27:41 maybe it doesn't like running at 266. Aug 15 11:27:50 It's dedeunderclocked Aug 15 11:27:59 yeah, that would be it if you change the ram Aug 15 11:28:25 I haven't changed the ram Aug 15 11:28:30 I think I'm going to Aug 15 11:28:51 even stranger then.. I thought you upgraded to 64Megs. wrong guy. Aug 15 11:28:58 * DaKa did Aug 15 11:29:04 * VoodooZ_Work nod Aug 15 11:29:23 and [g2].. and probably someone else Aug 15 11:29:34 andslide? Aug 15 11:29:36 landslide Aug 15 11:32:25 who is up at 128MB, no less Aug 15 11:57:57 argh... /me is having a fun time with package_do_shlibs() Aug 15 11:59:36 DaKa: Good for you! :D Aug 15 12:00:14 Im at the stage of wanting to kill it, or someone else... Aug 15 12:01:48 NAiL, got some changes to the setup-host-* scripts again (monotone 0.22 and a bug fix) Aug 15 12:02:08 http://people.pwf.cam.ac.uk/mlj28/makefilechanges Aug 15 12:02:25 tested it this time :) Aug 15 12:03:38 since we are building nativly and skipping some packages we don't get the list-files package_do_shlibs() needs to do the automatic lib rdepends Aug 15 12:04:23 therefore we are getting: "NOTE: Couldn't find shared library provider for libc.so.6" Aug 15 12:09:43 System time was Mon Aug 15 06:12:28 CEST 2005. Aug 15 12:09:43 Setting the System Clock using the Hardware Clock as reference... Aug 15 12:09:43 Timed out waiting for time change. Aug 15 12:09:43 System Clock set. System local time is now Mon Aug 15 07:07:35 CEST 2005. Aug 15 12:09:46 Wooohooo Aug 15 12:09:54 what was wrong? Aug 15 12:09:56 It only spent what? 55 minutes timing out? Aug 15 12:10:01 ah.. Aug 15 12:10:14 so, not fixed? Aug 15 12:10:42 Haven't actually looked at it Aug 15 12:10:49 I was just waiting for it to "unstick" :P Aug 15 12:10:57 * NAiL gotta go Aug 15 12:13:09 hm.. simple fix, add the .list and .ver files for the packages in ASSUME_PROVIDED into openslug/tmp/staging/armeb-linux/shlibs Aug 15 12:13:30 somehow.. Aug 15 12:14:14 maybe a bb-file staging the required files... or.. dunno.. everything seems so messy Aug 15 13:13:41 Does anyone know what might cause "hwclock" to fail the way it does on my slug? Aug 15 13:13:48 It hangs for ~55 minutes Aug 15 13:14:02 then "times out" ;) Aug 15 13:14:18 That's gotta be the sickest timeout I've ever encountered Aug 15 13:14:54 I guess I've got the slowest slug booting ever... ~56minutes from poweron to prompt Aug 15 13:20:25 NAiL: try removing the battery to hard-reset the RTC Aug 15 13:20:48 rwhitby: ok, thanks, will try. Aug 15 13:21:56 haha Aug 15 13:22:01 * NAiL tried to shut down Aug 15 13:22:06 ixp425_eth: eth0: BUG: ixEthAccPortDisable(0) failed Aug 15 13:22:06 done. Aug 15 13:22:06 Saving the System Clock time to the Hardware Clock... Aug 15 13:22:19 Now, that's gonna take a hour or so :P Aug 15 13:26:34 NAiL, you're slow... ;) Aug 15 13:26:54 hmm Aug 15 13:27:01 http://groups.yahoo.com/group/nslu2-general/message/2085 Aug 15 13:27:02 how long will it take for the RTC to reset? Aug 15 13:27:09 and then click "Next Message" Aug 15 13:27:21 1 minute or so Aug 15 13:27:23 I know ;) Aug 15 13:27:33 I saw it *right* after I pressed "send" Aug 15 13:32:59 rwhitby: thanks a bunch. It worked the second time around Aug 15 13:37:13 rwhitby: btw, is there some way to link the ixp4* PR with the kernel PR? They should be rebuild every time the kernel is changed... Or is there another recommended way? Aug 15 13:37:41 Actually, at76c503a/ and zd1211/ should be recompiled too Aug 15 13:40:05 dunno - you'd need to ask someone with better bb-foo than me Aug 15 13:40:36 NAiL: look at PARALLEL_INSTALL_MODULES Aug 15 13:40:45 koen: uh, where? Aug 15 13:40:48 :D Aug 15 13:41:11 see openzaurus.conf or familiar.conf (iirc) Aug 15 13:41:20 that will generate things like this: http://ewi546.ewi.utwente.nl/drupal/?q=ipkgfind&action=details&pnm=at76c503a-modules-2.4.19-rmk6-pxa1-hh40 Aug 15 13:42:30 I'll have a look at it, thanks Aug 15 13:44:04 it will append the kernel-version to the package name Aug 15 13:44:12 and some other black magic Aug 15 13:45:54 uh... faimilar.conf says "PARALLELL_INSTALL_MODULES=1". Now that was.. helpful :P Aug 15 13:46:03 It's a toggle? Aug 15 13:46:05 yes Aug 15 13:46:27 pb_ is the author of all this goodness Aug 15 13:46:41 you have reached the limits of my knowledge :) Aug 15 13:46:55 ah, and so .bb's that inherit module get this niceness... I guess.. Aug 15 13:47:02 ok, I'll bug pb_ ;) Aug 15 13:55:37 doesn openslug use slugimage? Aug 15 13:56:38 nevermind Aug 15 14:02:22 koen: Can you have a look at the ebtables_2.0.6.bb Aug 15 14:02:59 koen: it has hard coded links in the bitbake file that I can't fix, but it compiles fine Aug 15 14:04:09 weird Aug 15 14:06:01 is what I said weird, or the file? Aug 15 14:06:49 it's weird it uses a hardcoded pathin do_make(), but non hardcoded paths in the rest of the .bb Aug 15 14:08:14 when I tried to replace it in the same way as it is in the iptables bb, the installer tried to install the files in MY /sbin Aug 15 14:08:24 but I probably messed it up ;) Aug 15 14:08:36 do_install () { Aug 15 14:08:36 oe_runmake BINDIR=${D}${sbindir} MANDIR=${D}${mandir} \ Aug 15 14:08:36 ETHERTYPESPATH=${D}${sysconfdir} install Aug 15 14:08:36 } Aug 15 14:15:13 btw, I have built the kernel modules, so I am not sending you on a wild goose chase Aug 15 16:16:27 NOTE: package ixp425-eth-1.1: failed Aug 15 16:16:52 NOTE: Task failed: /home/malte/slug/openslug/tmp/work/ixp425-eth-1.1-r8/temp/log.do_pre_patch.695 Aug 15 16:17:05 what's last few lines of that look like? Aug 15 16:17:41 not the ever-changing missing newline at end again ... Aug 15 16:17:43 rm openslug/.patches/applied helps Aug 15 16:18:09 NOTE: patch with name 'ixp425_eth_1_1_update_nfbridge' already applied Aug 15 16:18:16 ERROR: patch did not apply, try again with force (-f -i ...) Aug 15 16:18:40 oh seems like you aren't cleaning up properly between build attempts Aug 15 16:18:50 that will get you no end of problems Aug 15 16:18:58 how do I do clean up? Aug 15 16:19:12 bitbake foo -c clean Aug 15 16:19:20 bitbake -b foo/foo.bb -c clean Aug 15 16:19:29 rm tmp/ -rf Aug 15 16:19:39 option 2 is the fastest way Aug 15 16:19:49 I just ran make update, make build-openslug and thought that it would work Aug 15 16:20:38 If I rm -rf tmp/ it will have to rebuild even those untouched packages? Aug 15 16:21:04 yes Aug 15 16:21:08 just clean the ixp425 package Aug 15 16:21:34 okay Aug 15 16:24:32 sorry had stepped out of the room Aug 15 16:24:46 yeah listen to these guys :-) Aug 15 16:25:48 http://oe.handhelds.org/cgi-bin/moin.cgi/SuccesStories <- feel free to expand Aug 15 16:27:10 koen: I updated the nslu2-linux line with links Aug 15 16:27:18 cool, thanks Aug 15 16:30:20 what about wrt54oe? Aug 15 16:31:39 rwhitby-web: maybe in a few months linksys will pop up on that list ;) Aug 15 16:34:35 bb -b openembedded/packages/ixp425-eth/ixp425-eth_1.1.bb -c clean doesn't clean openslug/.patches/ Aug 15 16:46:58 good night all Aug 15 16:48:37 NOTE: build 200508160135: completed Aug 15 21:36:58 are there read/write packages for ntfs in openslug? Aug 15 21:37:09 i have 250gb drive and want to use it across windows and linux. Aug 15 21:41:01 no Aug 15 21:41:07 and there probably never will be Aug 15 21:42:28 The ntfs support in linux is nearly non-existant Aug 15 21:42:47 write-support only exists in proprietary products (eg. paragon) Aug 15 21:44:17 You might try vfat, but that is limited by size Aug 15 21:44:28 Especially if you format it in Windows Aug 15 21:44:42 Windows can read large vfat-drives, but refuses to format them Aug 15 21:51:27 why do they do that? Aug 15 21:51:45 is it some conspirousy towards linux? Aug 15 21:53:03 so there isn't really a cross-operatingsystem file format I can use? Aug 15 21:53:09 are there drivers for ext3 for windows? Aug 15 21:57:19 well.. there are some utils that are supposed to work Aug 15 21:57:37 google a bit and I think you'll find some stuff Aug 15 21:57:48 you might have more luck searching for ext2 though Aug 15 22:12:28 ok Aug 15 22:12:38 another thing which package do i install to get thttpd? Aug 15 22:30:46 thttpd Aug 15 22:33:56 doh ;) Aug 16 01:28:25 good morning all Aug 16 01:31:02 morning Aug 16 01:31:56 morning koen :-) Aug 16 01:33:44 hmmm, I can't reproduce the error with asterisk Aug 16 01:34:06 * koen fires up a native build Aug 16 01:55:52 * NAiL hugs gphoto2 Aug 16 01:55:57 I just emptied my IXUS Aug 16 01:56:29 Someone has borrowed my camera... and forgotten to erase certain pictures. Aug 16 01:56:49 I wonder if I should tell her... :P Aug 16 01:57:27 does gphoto work now? Aug 16 01:57:48 koen: Depends. It works for me. Aug 16 01:58:00 I've only tested it with a Digital IXUS Aug 16 01:58:10 can you make it take pictures? Aug 16 01:58:18 that's the part that failed for my ixus Aug 16 01:58:29 no problems Aug 16 01:58:33 but it has to be switched on :( Aug 16 01:58:41 and it switches off automatically after a minute or so Aug 16 01:58:57 not on AC Aug 16 01:59:12 oh.. haven't tried that Aug 16 01:59:17 for me, I can download images fine, but cannot take pictures :-( Aug 16 01:59:27 canon A75 Aug 16 01:59:47 I wonder if I can get my webcam to work... Aug 16 02:00:24 insmod: error inserting 'media/pwc.ko': -1 Unknown symbol in module Aug 16 02:00:56 oh Aug 16 02:01:09 there's no v4l2 support in this kernel, apparently Aug 16 02:03:35 dyoung: ping? Aug 16 02:06:08 pwc: Unknown symbol video_register_device Aug 16 02:06:09 pwc: Unknown symbol v4l2_ioctl_names Aug 16 02:06:11 etc, etc Aug 16 02:28:40 modprobe videodev Aug 16 02:33:43 Linux video capture interface: v1.00 Aug 16 02:33:43 pwc: Unknown symbol v4l2_ioctl_names Aug 16 02:33:54 A lot less unresolved symbols Aug 16 02:34:28 ah Aug 16 02:34:34 there's some v4l modules aswell Aug 16 02:35:30 eh? Aug 16 02:35:36 odoc was using this.... Aug 16 02:35:42 What are you using to grab? Aug 16 02:36:46 Well, haven't figured out that yet Aug 16 02:36:51 Got the pwc module to load Aug 16 02:36:58 those are just from modprobing it? Aug 16 02:37:09 yes Aug 16 02:37:13 there should be NO unresolved symbols Aug 16 02:37:26 When I loaded v4l and videodev, I had no unresolved symbols Aug 16 02:38:23 Dunno if it finds my cam or not though.. Aug 16 02:38:24 pwc Philips webcam module version 10.0.7-unofficial loaded. Aug 16 02:38:24 pwc Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840. Aug 16 02:38:27 pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30, Aug 16 02:38:30 pwc the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100. Aug 16 02:38:33 pwc Trace options: 0x00a1 Aug 16 02:38:36 usbcore: registered new driver Philips webcam Aug 16 02:38:47 It's some QuickCam.. dunno which Aug 16 02:39:00 cat /proc/bus/usb/devices ? Aug 16 02:39:27 It's there Aug 16 02:39:33 P: Vendor=046d ProdID=08f5 Rev= 1.00 Aug 16 02:39:33 S: Product=Camera Aug 16 02:40:30 With my luck it's unsupported ;) Aug 16 02:43:59 Doesnt look like 08f5 is supported. Aug 16 02:44:03 what's the v4l kernel module name? Aug 16 02:44:05 (the ipkg) Aug 16 02:44:15 046d is logitech. Aug 16 02:44:18 videodev Aug 16 02:44:23 and.. Aug 16 02:45:03 v4l2_common 3168 1 pwc Aug 16 02:45:03 videodev 4512 1 pwc Aug 16 02:45:44 there is also a v4l1-compat Aug 16 02:45:50 kernel-module-v4l2-common Aug 16 02:45:53 that's the one Aug 16 02:45:54 kernel-module-v4l1-compat_2.6.12.2-r6_nslu2.ipk Aug 16 02:46:01 kernel-module-v4l2-common_2.6.12.2-r6_nslu2.ipk Aug 16 02:46:36 oh well.. It's not a disaster. It's not my cam ;) Aug 16 02:46:44 what is the brand/model? Aug 16 02:46:54 Logitech QuickCam Aug 16 02:47:06 Might be a Communicate, or something Aug 16 02:47:17 nope, neither of those.. Aug 16 02:47:22 however.. just a moment. Aug 16 02:48:03 T: Bus=01 Lev=02 Prnt=03 Port=05 Cnt=04 Dev#= 9 Spd=12 MxCh= 0 Aug 16 02:48:04 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 Aug 16 02:48:04 P: Vendor=046d ProdID=08b2 Rev= 0.00 Aug 16 02:48:04 C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA Aug 16 02:48:04 I: If#= 0 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=ff Prot=00 Driver=Philips webcam Aug 16 02:48:06 E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=100ms Aug 16 02:48:06 E: Ad=85(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms Aug 16 02:48:17 Logitech QuickCam 4000 Pro Aug 16 02:48:25 That's the one: http://www.logitech.com/index.cfm/products/details/NO/EN,CRID=2204,CONTENTID=9098 Aug 16 02:48:33 Logitech QuickCam Communicate Aug 16 02:49:06 actually "Logitech(r) QuickCam(r) Communicate(tm)" Aug 16 02:49:12 :P **** ENDING LOGGING AT Tue Aug 16 02:59:56 2005