**** BEGIN LOGGING AT Sun Feb 20 23:59:56 2005 Feb 21 02:41:38 03dereky 07 * r1.2834 10openembedded/packages/openslug-init/openslug-init_0.10.bb: added creation of /initrd for switchbox compatibility Feb 21 02:47:59 03dyoung 07 * r1.2835 10openembedded/packages/openslug-init/openslug-init_0.10.bb: Oops forgot to bump the PR Feb 21 04:14:52 kergoth`zzz: ping Feb 21 04:15:04 so OpenSlug's /sbin/init has the following code in it: Feb 21 04:15:13 #ifndef DEBUG_INIT Feb 21 04:15:14 if (getpid() != 1 Feb 21 04:15:14 #ifdef CONFIG_FEATURE_INITRD Feb 21 04:15:14 && strstr(bb_applet_name, "linuxrc") == NULL Feb 21 04:15:16 #endif Feb 21 04:15:16 ) { Feb 21 04:15:18 bb_show_usage(); Feb 21 04:15:20 } Feb 21 04:15:44 which means that it either has to be PID 1, or invoked as /linuxrc. Feb 21 04:16:04 which means that it can't be used as a target for the exec chroot that happens after a pivot_root Feb 21 04:18:15 so a symlink from /sbin/init to /linuxrc is called for in openslug-init ... Feb 21 04:18:31 ln -s /sbin/init /linuxrc Feb 21 04:20:44 very quiet here tonight .... Feb 21 04:20:57 rwhitby-away: i know and you're wrong Feb 21 04:21:16 rwhitby-away: i mean, you're right, but you just have to make sure it is pid 1 Feb 21 04:21:35 rwhitby-away: and, /sbin/init -i works too (undocumented i guess) Feb 21 04:22:07 rwhitby-away: but you really have to make sure it is pid 1, or else you get a swapper process which eats up your cpu time Feb 21 04:22:15 how do you make sure it is pid 1 when you're pivot_rooting to it? Feb 21 04:22:27 root=/dev/ram0 init=/linuxrc Feb 21 04:22:34 then your linuxrc execs as pid 1 Feb 21 04:22:47 or, with devfs automount: root=/dev/rd/0 Feb 21 04:23:01 yeah, yeah - that's how you do it without pivot_root. Feb 21 04:23:05 no no Feb 21 04:23:09 that is the pivot_root solution Feb 21 04:23:10 I asked how you do it with pivot_root Feb 21 04:23:41 didn't [g2] fix openslug to use that exact command line? Feb 21 04:24:05 (sorry for arguing - you know more about this than me I think) Feb 21 04:24:49 ok, my bad Feb 21 04:25:15 I forgot to change the cmdline_root back to /dev/ram0 .... Feb 21 04:25:30 thx giel - you saved me going down a rathole Feb 21 04:25:50 uhu Feb 21 04:26:08 i've discussed this for a while with the author of initrd Feb 21 04:26:25 np Feb 21 04:27:17 ok, let me try again with the right kernel cmdline Feb 21 04:42:50 hmm : Feb 21 04:42:55 RAMDISK: Compressed image found at block 0 Feb 21 04:42:55 VFS: Mounted root (ext2 filesystem) readonly. Feb 21 04:42:55 Freeing init memory: 72K Feb 21 04:42:55 BusyBox v1.00 (2005.02.21-11:08+0000) Built-in shell (ash) Feb 21 04:42:56 Enter 'help' for a list of built-in commands. Feb 21 04:42:56 # Feb 21 04:43:04 giel: any idea what's happening there? Feb 21 04:43:29 # /linuxrc Feb 21 04:43:29 Preferred root device is jffs2 Feb 21 04:43:29 Root filesystem will be mounted from /dev/mtdblock4 ... Feb 21 04:43:29 Usage: init 0123456SsQqAaBbCcUu Feb 21 04:43:29 # Feb 21 04:44:15 running /sbin/init -i after that boots OpenSlug properly ... Feb 21 04:45:14 root@nslu2:~# ps -ef Feb 21 04:45:14 PID Uid VmSize Stat Command Feb 21 04:45:14 1 root 188 S /bin/sh Feb 21 04:45:14 2 root SWN [ksoftirqd/0] Feb 21 04:45:15 3 root SW< [events/0] Feb 21 04:45:15 4 root SW< [khelper] Feb 21 04:45:17 11 root SW< [kblockd/0] Feb 21 04:45:19 21 root SW [kapmd] Feb 21 04:45:21 23 root SW [pdflush] Feb 21 04:45:23 24 root SW [pdflush] Feb 21 04:45:25 26 root SW< [aio/0] Feb 21 04:45:27 25 root SW [kswapd0] Feb 21 04:45:29 570 root SW [mtdblockd] Feb 21 04:45:31 645 root 532 S init [2] Feb 21 04:45:33 742 root SWN [jffs2_gcd_mtd4] Feb 21 04:45:35 886 root DW [ixp425_csr] Feb 21 04:45:37 887 root SW< [ixp425_eth/0] Feb 21 04:45:39 893 root SW [khubd] Feb 21 04:45:41 954 daemon 456 S /sbin/portmap Feb 21 04:45:43 1653 root 648 S /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host Feb 21 04:45:45 1678 root 584 S /sbin/syslogd -n -C 64 -m 20 Feb 21 04:45:47 1680 root 568 S /sbin/klogd -n Feb 21 04:45:49 1686 root 768 S -sh Feb 21 04:45:51 1692 root 708 R ps -ef Feb 21 04:45:53 root@nslu2:~# Feb 21 04:45:57 that's the process tree at the end of that manual running of /linuxrc and then manual running on /sbin/init -i Feb 21 04:46:08 I guess I should have run exec /sbin/init -i .... Feb 21 04:46:54 ah - cmdline is wrong: Feb 21 04:47:08 root=/dev/ram0 rootfstype=ext2,jffs2 initrd=0x01000000,10M /init=/linuxrc mem=32M@0x00000000 console=ttyS0,115200n8 Feb 21 04:47:16 should just be init=/linuxrc ... Feb 21 04:47:25 not /init= ... Feb 21 04:49:42 yeah Feb 21 04:55:22 ok, unslung still works after the change to switchbox and slingbox to start using /usr/sbin and /usr/bin again (so that the location of chroot matches openslug) Feb 21 04:55:46 (I'll push everything once openslug works too) Feb 21 04:59:39 YES! Feb 21 05:00:02 OpenSlug works with switchbox 4 Feb 21 05:00:13 thx again giel Feb 21 05:00:17 ~worship giel Feb 21 05:00:20 * jbot bows down before giel. "I'm not worthy!" Feb 21 05:00:39 WOW! Feb 21 05:04:05 03rwhitby 07 * r1.2836 10openembedded/ (10 files in 8 dirs): Feb 21 05:04:05 Unslung and OpenSlug both working with switchbox. Updated CVSDATE stuff in Feb 21 05:04:05 nslu2.conf. Changed CMDLINE in openslug kernel to use switchbox. Changed Feb 21 05:04:05 switchbox and slingbox to use /usr/sbin and /usr/bin (just like in OpenSlug Feb 21 05:04:05 busybox) so that the location of executables match across SwitchBox, Unslung and Feb 21 05:04:06 Openslug. Added /initrd directory to OpenSlug rootfs so that it can be used for Feb 21 05:04:08 the pivot_root in switchbox. Feb 21 05:04:24 Phew! Feb 21 05:04:57 I hope everyone feels all unified again now :-) Feb 21 05:05:42 Can I have volunteers to build OpenSlug and Unslung from scratch and make sure they work for you? Feb 21 05:12:32 Don't all step forwards at the same time ;-) Feb 21 05:13:19 no time, today. maybe tommorrow (if I can get my dev. env. to work again) Feb 21 05:13:37 cool, thx perlguru-work Feb 21 05:13:54 still got mu ipkg-native problem Feb 21 05:13:59 mu->my Feb 21 05:14:21 what problem is that? Feb 21 05:15:20 it won't build. libbb problem. full_read already defined Feb 21 05:16:11 build under which environment? Feb 21 05:17:19 bitbake unslung-image Feb 21 05:17:45 do you have the latest bitbake? Feb 21 05:18:06 look at log of 14/2 around 19:00 Feb 21 05:18:25 ( that was also the last time i tried it) Feb 21 05:18:27 <[g2]> someone's been busy :) Feb 21 05:18:28 morning sunshine - I've got good news for you Feb 21 05:18:34 hey, [g2] Feb 21 05:18:36 <[g2]> I read the change logs Feb 21 05:18:46 <[g2]> FILES += Feb 21 05:18:47 <[g2]> :) Feb 21 05:19:03 <[g2]> well changeset logs Feb 21 05:19:28 <[g2]> that's great news not good news Feb 21 05:19:53 <[g2]> hi perlguru-work Feb 21 05:20:10 [g2]: it needs some independent testing, but it seems to work here ... Feb 21 05:20:45 and I haven't tested anything except switching to jffs2 Feb 21 05:22:28 <[g2]> I've pulled and I'm baking now Feb 21 05:23:22 BTW, [g2], it's init=, not /init= :-) Feb 21 05:23:57 rwhitby: you might need to add 'rw' to the command line too Feb 21 05:23:57 <[g2]> hey :) Feb 21 05:24:10 rwhitby: if you're pulling drivers out of the payload or jffs2 Feb 21 05:24:20 rwhitby: 'cause initrd gets mounted ro n ow Feb 21 05:24:23 now* Feb 21 05:24:46 rwhitby: or add a "mount -o remount /" somewhere Feb 21 05:24:58 giel: yeah, looking at that now ... Feb 21 05:25:11 rwhitby: adding rw to the command line pbly does the trick Feb 21 05:25:25 we need to update switchbox anyway to get drivers from jffs2 instead of payload for nfsroot Feb 21 05:26:01 [g2]: does the openslug kernel now have everything in there static for usb disk access? Feb 21 05:26:42 [g2]: can we put a .openslug file in openslug-init to capture the version number? Feb 21 05:28:31 <[g2]> rwhitby, no it's modules Feb 21 05:29:53 <[g2]> .openslug, sure openslug-1.0-rc1 ? Feb 21 05:30:02 <[g2]> OpenSlug-1.0-rc1 ? Feb 21 05:30:05 ok, that presents a problem for switchbox switching to external usb disk rootfs for openslug Feb 21 05:30:30 OpenSlug-1.0-alpha ? Feb 21 05:30:53 [you know how much I love going straight past 1.0 and never looking back ...] Feb 21 05:30:54 <[g2]> -alpha-1 Feb 21 05:31:07 no, next would be 1.1-alpha Feb 21 05:31:38 <[g2]> actually it'll probably be 1.1-beta soon :) Feb 21 05:31:53 one version number (incremented often) and the status after that Feb 21 05:32:06 My money is on 1.5-beta Feb 21 05:32:24 <[g2]> ok -0.9-alpha ? Feb 21 05:32:32 (based on Unslung history, it takes 5 versions from feature freeze to beta release) Feb 21 05:32:55 you're really hooked on that magic 1.0 number, aren't you :-) Feb 21 05:33:04 <[g2]> or 0.5-alpha :) Feb 21 05:33:32 what is it about 1.0 that people never want to get past it ? Feb 21 05:33:53 <[g2]> I'm fine with 1.0 for beta Feb 21 05:34:13 would you be more likely to try a new program if it is marked 1.0 or marked 1.6 ? Feb 21 05:34:36 * [g2] doesn't care too much about the number, I try to look at the substance Feb 21 05:34:51 to me, 1.0 screams "this is flakey and you should wait till the real release with the bug fixes" :-) Feb 21 05:35:09 <[g2]> google uses beta for years Feb 21 05:35:41 <[g2]> call it 1.1-alphs then :) Feb 21 05:36:21 * rwhitby is looking up the database to see what the current version is called, and then will just increment taht Feb 21 05:36:34 <[g2]> 1.x.1 Feb 21 05:36:39 <[g2]> 1.y Feb 21 05:37:05 1.1-alpha it is then Feb 21 05:38:26 siddy-away: msg me when you get back and have a couple of mins to spare Feb 21 05:40:25 [g2]: it's good to all be working on the same thing again. takes me back to the old days of nslu2-linux .... Feb 21 05:41:05 <[g2]> rwhitby, it's very fun Feb 21 05:43:27 <[g2]> rwhitby, I don't think the kernel pr number got bumped Feb 21 05:44:41 yeah, about to push the rw change, and I bumped it then Feb 21 05:45:01 just flashing it now to make sure the version got in there Feb 21 05:47:35 can't push cause the repo is locked ... Feb 21 05:49:52 <[g2]> someone doing a pull ? Feb 21 05:50:19 someone else doing a push it seems ... Feb 21 05:51:11 hmm - that's a long time for a push. I'm going to remove the lock Feb 21 05:51:12 <[g2]> or a pull for oe-devel maybe ? Feb 21 05:51:33 <[g2]> can you see who's doing it ? Feb 21 05:51:40 03rwhitby 07 * r1.2836.1.1 10openembedded/packages/ (2 files in 2 dirs): OpenSlug-1.1-alpha, versioned, with rw initrd. Feb 21 05:51:49 there ya go Feb 21 05:52:18 stupid ssh connection died on me. Feb 21 05:52:27 rwhitby: a very late PONG. Feb 21 05:52:57 VoodooZ_log: I should be getting a bluetooth dongle (Linksys USBBT100) tomorrow in the post. You know you are going to get some questions, right :-) Feb 21 05:53:10 hehehe NO problem mate. Feb 21 05:53:34 <[g2]> Applying 1 revisions to packages/kdepimpi/kdepimpi_2.0.9.bb Feb 21 05:53:39 Check my badly written wiki first though and please make corrections if you find I forgot some important stuff. Feb 21 05:53:51 <[g2]> I'd guess that was the auto oe-devel pull Feb 21 05:54:19 rwhitby: Do you know how to use quilt to maintain my large private pool of changes to my repo? Feb 21 05:54:43 now [g2] knows the reason for getting switchbox working for openslug ... Feb 21 05:54:48 VoodooZ_log: nope Feb 21 05:54:53 ok Feb 21 05:55:09 How would you handle a bunch of private changes though? Feb 21 05:55:31 I don't have to - I make the decision to include them all ;-) Feb 21 05:56:01 yeah. That's what I though so. I can't include mine as I usually remove stuff or add weird stuff. Feb 21 05:56:31 If I had to, I would create a new distro, and conditionalise stuff based on that. Feb 21 05:56:47 ouch. Feb 21 05:56:48 conf/distro/voodooslug.conf Feb 21 05:56:57 hehehe Feb 21 05:57:04 or is that voodoozlug Feb 21 05:57:06 It those sound good! Feb 21 05:57:10 srx2_robot Feb 21 05:57:52 Is that simple though? Just creating a distro and configuring my local.conf accordingly? Feb 21 05:57:59 A new distro isn't that much of a deal - we did it for switchbox Feb 21 05:58:10 nothing else to do? Feb 21 05:58:30 But that doesn't help Feb 21 05:58:54 as I still coulnd't push my private changes Feb 21 05:59:04 they are useless to the community Feb 21 05:59:20 if they are conditionalise with your distro, then you can push them. Feb 21 05:59:28 ok. i c Feb 21 05:59:50 <[g2]> VoodooZ_log, most of your changes are localized to the kernel right ? Feb 21 06:00:02 I guess eventually it could become useful to other robot hobbyist. Feb 21 06:00:16 you just have to prove that they don't affect the other distros. Just like we prove to kergoth that our nslu2-linux stuff doesn't stuff up the other distros in openembedded. Feb 21 06:00:21 well, no. I had to change base-files, udev, bluez, etc... Feb 21 06:00:52 Well, most changes were actually fixes to other package's scripts to run under a busybox shell. Feb 21 06:01:12 btw, did somebody push my grep-o-less.patch from the wiki? Feb 21 06:01:30 I guess it's a moot point now that we got rid of hotplug. Feb 21 06:01:34 <[g2]> don't think so, Feb 21 06:01:38 <[g2]> nod. on the hotplug-linux Feb 21 06:02:22 I guess I'll try to figure out what kergoth suggested using quilt to make patch-sets Feb 21 06:02:36 simpler for now and it prevents contention with others. Feb 21 06:03:07 * [g2] needs to learn how to do that also Feb 21 06:03:46 Unless I can just do it with a normal patch command? Feb 21 06:03:46 <[g2]> although I think the changes to use busybox may be valid changes to go upstream Feb 21 06:03:48 VoodooZ_log: I really think a new robot-friendly distro would be easier in the long run Feb 21 06:04:04 definitely. Feb 21 06:04:41 I just feel lazy and overwhelmed right now unfortunately as I have to redo all those changes. Some I forgot about. Feb 21 06:05:15 perfect time to get them into a new distro .... you know you won't do it later .... Feb 21 06:05:48 hehehe damn right Feb 21 06:06:13 ok, but don't be surprised if I ask you questions! :) Feb 21 06:06:36 2.06 hours on average between nslu2-linux commits since day 1, 5.5 months ago Feb 21 06:06:58 how would I deal with distro specific changes like creating a /flash dir though? I previously modified base-files to do it. Feb 21 06:07:01 http://cia.navi.cx/stats/project/nslu2-linux Feb 21 06:07:05 wow Feb 21 06:08:28 Or even the interfaces file? do I just have my distro overwrite that file? How do you conditionalize? Feb 21 06:08:56 VoodooZ_log: look for nslu2, unslung and openslug directories in the repo ... Feb 21 06:09:01 e.g. in base-files Feb 21 06:09:24 FILES_PATH is the key Feb 21 06:10:14 cool. I actually noticed that and put my fstab changes in there. Feb 21 06:10:20 <[g2]> /etc/rcS.d/S35mountall.sh: 23: test: not found Feb 21 06:10:20 <[g2]> /etc/rcS.d/S35mountall.sh: 42: test: not found Feb 21 06:10:20 <[g2]> /etc/init.d/rcS: 92: [: not found Feb 21 06:10:20 <[g2]> /etc/init.d/rcS: 92: [: not found Feb 21 06:10:21 <[g2]> /etc/init.d/rcS: 92: [: not found Feb 21 06:10:23 <[g2]> /etc/init.d/rcS: 92: [: not found Feb 21 06:10:25 <[g2]> /etc/init.d/rcS: 92: [: not found Feb 21 06:10:27 <[g2]> /etc/init.d/rcS: 92: [: not found Feb 21 06:10:29 <[g2]> /etc/init.d/rcS: 92: [: not found Feb 21 06:10:31 <[g2]> etc .... Feb 21 06:10:51 [g2]: oh - did you have an old version of switchbox-4.8 ? Feb 21 06:11:19 <[g2]> it got pulled this moring or maybe last night Feb 21 06:11:38 <[g2]> I can delete it and rebuild Feb 21 06:11:40 remove switchbox-4.8.tar.gz* from your downloads dir Feb 21 06:11:45 <[g2]> nod. Feb 21 06:11:48 so it gets re-downloaded Feb 21 06:12:04 it was never mentioned in a .bb, so we didn't bother bumping the version Feb 21 06:12:54 heh, in 3 weeks, jp30 has an average of 8.5 hours between commits Feb 21 06:13:17 my average has dropped to 4.25 hours Feb 21 06:13:26 slacker! ;) Feb 21 06:13:37 yeah, RLB Feb 21 06:14:06 http://cia.navi.cx/stats/author/jp30 Feb 21 06:14:45 I wish I could use a longer nick so I could be called VoodooZ_Pretend2Work Feb 21 06:15:40 [g2]: let me know when it works, cause then I'll go to bed Feb 21 06:15:50 * [g2] is rebuilding now Feb 21 06:16:14 should be quick for just a switchbox change Feb 21 06:17:12 <[g2]> actually it didn't dl switchbox I think I need to remove the stamps also Feb 21 06:17:18 Hmm - Gastro and Nudi are still offline .... Feb 21 06:17:26 yeah remove nslu2-switchbox-firmware Feb 21 06:24:07 http://slugsite.us/ Feb 21 06:24:34 <[g2]> rwhitby, same thing with 242a308a53818f9d7887b5c4cb86ac36 ../sources/switchbox-4.8.tar.gz Feb 21 06:25:17 hmm Feb 21 06:25:31 that's the right md5sum Feb 21 06:25:42 did the image get rebuilt? Feb 21 06:26:00 <[g2]> sure Feb 21 06:26:31 changes were to openslug-init, the kernel, and switchbox. Feb 21 06:26:51 <[g2]> I pulled those Feb 21 06:27:11 <[g2]> I've obviously got the kernel changes or I'd be booting to mtd4 Feb 21 06:27:14 I have no outstanding changes or local mods here ... Feb 21 06:27:34 did chroot run? Feb 21 06:27:51 (before all those errors) Feb 21 06:27:52 <[g2]> dunno switchbox is quiet Feb 21 06:28:10 quiet? Feb 21 06:28:28 <[g2]> NET: Registered protocol family 1 Feb 21 06:28:28 <[g2]> RAMDISK: Compressed image found at block 0 Feb 21 06:28:28 <[g2]> VFS: Mounted root (ext2 filesystem). Feb 21 06:28:28 <[g2]> Freeing init memory: 72K Feb 21 06:28:28 <[g2]> Preferred root device is jffs2 Feb 21 06:28:29 <[g2]> Root filesystem will be mounted from /dev/mtdblock4 ... Feb 21 06:28:34 <[g2]> maybe not so quiet Feb 21 06:28:37 <[g2]> :) Feb 21 06:28:50 what's the next three lines after that? Feb 21 06:29:06 <[g2]> modprobe: FATAL: Could not load /lib/modules/2.6.9/modules.dep: No such file or directory Feb 21 06:29:06 <[g2]> modprobe: FATAL: Could not load /lib/modules/2.6.9/modules.dep: No such file or directory Feb 21 06:29:06 <[g2]> INIT: version 2.86 booting Feb 21 06:29:06 <[g2]> modprobe: FATAL: Could not load /lib/modules/2.6.9/modules.dep: No such file or directory Feb 21 06:29:06 <[g2]> modprobe: FATAL: Could not load /lib/modules/2.6.9/modules.dep: No such file or directory Feb 21 06:29:07 <[g2]> /etc/rcS.d/S35mountall.sh: 23: test: not found Feb 21 06:29:09 <[g2]> /etc/rcS.d/S35mountall.sh: 42: test: not found Feb 21 06:29:11 <[g2]> /etc/init.d/rcS: 92: [: not found Feb 21 06:29:13 <[g2]> /etc/init.d/rcS: 92: [: not found Feb 21 06:29:17 <[g2]> the modprobe's are normal Feb 21 06:29:51 <[g2]> then we are off to the other issue Feb 21 06:29:55 well that's weird. Feb 21 06:30:07 I've kicked off full rebuilds now .. Feb 21 06:30:16 <[g2]> ok Feb 21 06:31:16 <[g2]> Filesystem 1k-blocks Used Available Use% Mounted on Feb 21 06:31:16 <[g2]> /dev/mtdblock4 955 395 560 41% /initrd Feb 21 06:31:16 <[g2]> /dev/mtdblock4 6400 4680 1720 73% / Feb 21 06:31:16 <[g2]> /dev/ram0 6400 4680 1720 73% / Feb 21 06:31:16 <[g2]> tmpfs 15324 8 15316 0% /var Feb 21 06:31:18 <[g2]> tmpfs 15324 0 15324 0% /media/ram Feb 21 06:31:30 ah - base-files Feb 21 06:32:01 I must have forgotten to bump the PR on base-files - I added jbowler's /etc/fstab fix Feb 21 06:32:10 and that's what causes those errors. Feb 21 06:32:28 <[g2]> I'll check the /etc/fstab Feb 21 06:32:48 <[g2]> /dev/ram0 / ext2 defaults 1 1 Feb 21 06:32:50 <[g2]> :) Feb 21 06:33:32 ok, blow away base-files and you should be sweet Feb 21 06:35:01 03rwhitby 07 * r1.2839 10openembedded/packages/base-files/base-files_3.0.14.bb: Bumped the base-files PR for nslu2 Feb 21 06:35:04 <[g2]> that's the issue, patching the files in jffs2 works fine, I'll clean and rebuild Feb 21 06:35:14 just pull and rebuild now :-) Feb 21 06:35:15 <[g2]> actually, I'll just pull and rebuild Feb 21 06:38:00 <[g2]> rwhitby, with initrd mounted we could make a little tool that enables switchbox changes from the OpenSlug cmd line Feb 21 06:38:18 <[g2]> and it can be umounted and freed normally Feb 21 06:39:18 initrd is an ext2 fs from ram0 - you can't change it and make it stick Feb 21 06:39:49 <[g2]> you can make a tarball from it Feb 21 06:40:05 <[g2]> gzip it, and flash that Feb 21 06:40:07 <[g2]> right ? Feb 21 06:40:21 <[g2]> add header the header too, Feb 21 06:40:33 you need genext2fs, don't you? Feb 21 06:41:35 <[g2]> actually we'd need to create a ram partition and copy it stuff to there Feb 21 06:41:41 <[g2]> then dd that Feb 21 06:41:54 right Feb 21 06:42:01 that'd work Feb 21 06:42:31 <[g2]> I think all the stuff is there or should be there Feb 21 06:42:34 we need to get openslug's init scripts (maybe linuxrc) to umount /initrd to free up the ram Feb 21 06:49:09 <[g2]> ~emulate rwhitby Feb 21 06:49:10 Another Satisfied Customer! Feb 21 06:49:25 <[g2]> that's the ticket Feb 21 06:52:34 cool Feb 21 06:52:47 <[g2]> I think ppl will be happy :) Feb 21 06:53:02 <[g2]> umount /initrd works Feb 21 06:53:12 don't forget initrd is still mounted and using up ram - can you deal with that in openslug-init ? Feb 21 06:53:41 <[g2]> sure, for now ppl maybe interestd in looking around in the ramdisk Feb 21 06:54:03 yep Feb 21 06:54:55 <[g2]> soon, after booting directly to the hd works (we just need to load drivers) we can free it up Feb 21 06:55:06 <[g2]> for the beta release Feb 21 06:55:45 yep. Are you going to compile the drivers into the kernel for hd ? Feb 21 06:56:32 <[g2]> I'm 50/50 on the issue, 50 compile them in, 50 load from the switchbox linuxrc like the ethernet driver Feb 21 06:57:24 <[g2]> I'll probably first try with them compiled in, and see how close we are to the 1MB limit Feb 21 06:57:34 cool Feb 21 06:57:36 night all Feb 21 06:57:40 ~emulate rwhitby Feb 21 06:57:41 Another Satisfied Customer! Feb 21 06:57:47 ~emulate rwhitb Feb 21 06:57:51 ~emulate rwhitby Feb 21 06:57:52 Another Satisfied Customer! Feb 21 06:58:00 <[g2]> we're using up space in the jffs2 partition cause the zImage is there Feb 21 06:58:02 ~insult jbot Feb 21 06:58:13 <[g2]> thx for the good work Feb 21 06:58:44 np - now OpenSlug is ready for my bluetooth dongle when it arrives tomorrow ... Feb 21 06:58:49 Great work guys Feb 21 06:58:57 <[g2]> rwhitby, which one did you get ? Feb 21 06:59:12 Linksys USBBT100 - based on good reports with Treo650 Feb 21 06:59:17 They are all pretty much supported so it should smooth. Feb 21 06:59:29 <[g2]> is that a Class 1 device ? Feb 21 06:59:33 I checked bluez compatibility before buying it Feb 21 06:59:36 yep, class 1 Feb 21 06:59:41 Just build and install bluez-nodbus and remove the pcmcia stuff. Feb 21 06:59:54 class1? cool. mine is class2 Feb 21 06:59:58 some guy said he got 1000 feet with his Treo650 and the USBBT100 Feb 21 07:00:00 plenty for a small robot. Feb 21 07:00:13 sucks more power though. Feb 21 07:00:15 and that was through walls Feb 21 07:00:30 <[g2]> yeah my IOGear goes quite far Feb 21 07:00:41 [g2]: is it a class1 too? Feb 21 07:00:45 <[g2]> nod. class 1 Feb 21 07:00:58 <[g2]> rwhitby-asleep, sweet dreams Feb 21 07:01:03 Mine is rated 35 meters but only takes like 30mAh Feb 21 07:01:13 30mA even Feb 21 07:34:54 good morning sir kergoth Feb 21 07:38:19 s/good // Feb 21 07:43:08 I'm starting to look in using quilt for my private stuff as you suggested as I'm f'n tired of having to redo them everytime my repo craps out. Feb 21 07:52:32 wow. I must be dumb as I as feel I need a quilt howto. :( Feb 21 07:53:55 it has a lot of commands, definately go through a tutorial Feb 21 07:53:58 quilt new patchname Feb 21 07:54:00 quilt add filename Feb 21 07:54:04 Feb 21 07:54:05 quilt refresh Feb 21 07:54:20 quilt pop # to unapply Feb 21 07:54:22 quilt push # to apply Feb 21 07:54:35 quilt edit filename # to do a quilt add on the file, then spawn $EDITOR Feb 21 07:54:41 yeah, but I'm having a problem understanding the concepts first. LIke the stack. Feb 21 07:54:57 you've never applied a patchset before? Feb 21 07:55:02 The actual syntax is not hard after you understand it. Feb 21 07:55:13 its a set of patches that must be applied in a specific order. thats all. Feb 21 07:55:20 well, I guess I need an actual example to get my terminology right Feb 21 07:55:25 yeah ok Feb 21 07:55:52 But in the context of OE: if I modify base-files_x.bb for example. Feb 21 07:56:11 the first ;patch=1 entry gets 'quilt import'd, then quilt pushed. Feb 21 07:56:13 then the second does Feb 21 07:56:15 then the third Feb 21 07:56:18 applied in order Feb 21 07:56:30 quilt import pulls an external patch into the local patchset. quilt push applies it Feb 21 07:57:17 I'm trying to fit all this with my private changes so I'll have to try it first. Feb 21 07:57:36 cd packages Feb 21 07:57:40 quilt new mybase-files-changes Feb 21 07:57:46 bk edit base-files/base-files_x.bb Feb 21 07:57:51 quilt edit base-files/base-files_x.bb Feb 21 07:57:57 Feb 21 07:57:59 quilt refresh Feb 21 07:58:04 ta da, the patch file is in patches/ Feb 21 07:58:09 ok. Feb 21 07:58:12 quilt pop to unapply it Feb 21 07:58:14 quilt push to apply it again Feb 21 07:58:34 ANd how easy is it to port over my patchset if my repo ever dies again? Feb 21 07:58:39 port? Feb 21 07:58:45 well, more like move. Feb 21 07:58:48 cp -a patches /somewhere/safe Feb 21 07:58:53 cd /path/to/new/packages Feb 21 07:58:58 cp -a /somewhere/safe/patches patches Feb 21 07:59:00 quilt push -a Feb 21 07:59:04 Feb 21 07:59:09 ok. sounds straightforward enough. Feb 21 07:59:18 the 'patches' directory contains a 'series' file Feb 21 07:59:25 the series file describes the patch application order Feb 21 07:59:29 quilt will obey that Feb 21 07:59:29 Perfect. That's a great howto and in only 5 minutes. Feb 21 07:59:55 a hell of a lot easier than having to cp the file to a .orig or something so you can manually do the diff, thats for sure Feb 21 07:59:57 I'll make sure to copy this whole conversation to my notes though. so I won't have to ask again. Feb 21 08:00:03 damn right! Feb 21 08:00:31 one annoying quilt "feature" is that it does a chmod u+w on files when you add them to a patch Feb 21 08:00:46 so if you havent done a bk edit on the file first, it'll screw up bk's perms on the file Feb 21 08:00:49 and make it most unhappy Feb 21 08:01:35 hehehe. I did that a few times to my repo. no wonder it's broken. Feb 21 08:10:33 rwhitby-away, around? Feb 21 08:11:19 <[g2]> perlguru, sleeping Feb 21 08:11:27 ok Feb 21 08:11:31 <[g2]> connection reset Feb 21 08:11:50 still got my problem with bitbaking ipkg-native Feb 21 08:12:05 <[g2]> what the repo access ? Feb 21 08:12:26 ? Feb 21 08:12:39 using the normal repo Feb 21 08:12:41 <[g2]> what's the ipkg-native issue ? Feb 21 08:12:50 | all_read.c:45: error: conflicting types for 'full_read' Feb 21 08:12:50 | libbb.h:119: error: previous declaration of 'full_read' was here Feb 21 08:12:50 | all_read.c:45: error: conflicting types for 'full_read' Feb 21 08:12:50 | libbb.h:119: error: previous declaration of 'full_read' was here Feb 21 08:12:50 | Feb 21 08:13:11 <[g2]> hmmm Feb 21 08:13:12 ipkg-native-0.99.140-r0: Feb 21 08:13:23 <[g2]> that's the new ipkg ? Feb 21 08:13:32 it does this, even after a clean build Feb 21 08:13:45 what do you mean? Feb 21 08:13:57 <[g2]> clean build as in rm -f tmp Feb 21 08:14:07 | ccache gcc -DHAVE_CONFIG_H -I. -I/home/maurice/nslu2/unslung2/build/tmp/work/ipkg-native-0.99.140-r0/ipkg/C/libbb -I.. -I/home/maurice/nslu2/unslung2/build/tmp/staging/x86_64-linux/include -g -O -Wall -DHOST_CPU_STR=\"x86_64\" -DBUILD_CPU=x86_64 -I/home/maurice/nslu2/unslung2/build/tmp/staging/x86_64-linux/include -O2 -MT libbb_la-all_read.lo -MD -MP -MF .deps/libbb_la-all_read.Tpo -c all_read.c -fPIC -DPIC -o .libs/libbb_la-all_r Feb 21 08:14:07 ead.o Feb 21 08:14:26 yes, rm -rf build/tmp Feb 21 08:14:38 also did a new clone Feb 21 08:14:55 <[g2]> did you flush ccache ? Feb 21 08:15:13 flush? Feb 21 08:15:26 <[g2]> clear the ccache Feb 21 08:15:37 how? Feb 21 08:16:14 <[g2]> I think there may be options or you can just delete the directory if you don't mind losing the cached stuff Feb 21 08:17:13 if i delete tmp, the cache dir is also deleted. and i did this several times now. Feb 21 08:18:02 <[g2]> hmmm, I don't know if OE override the local ccache Feb 21 08:18:14 <[g2]> I know I've got a ~/.ccache dir Feb 21 08:18:44 running ccache -c now Feb 21 08:19:03 <[g2]> that was the option I saw :) Feb 21 08:19:14 no luck Feb 21 08:19:19 still get the error Feb 21 08:20:25 <[g2]> then it's probably x86_64 specific Feb 21 08:20:50 <[g2]> can you ship me your system for a little testing ? :) Feb 21 08:21:05 sure, come and get it ;) Feb 21 08:22:03 ccache -C now... Feb 21 08:23:26 <[g2]> that and tmp should be *everything* Feb 21 08:23:52 ok, removing tmp Feb 21 08:24:30 <[g2]> you could also rm the ipkg code from sources so it gets pulled again, but I doubt that's it Feb 21 08:24:44 (this could take some time, 'cause i'm emerging also (glibc)) Feb 21 08:25:00 <[g2]> nod. Feb 21 08:25:21 <[g2]> Am I rushing you along ? Feb 21 08:25:26 * perlguru bitbaking Feb 21 08:25:35 <[g2]> :) Feb 21 08:25:58 * perlguru busy waiting Feb 21 08:27:01 hi [g2], concerning point 2) of your mail: installing "modutils-initscripts" solved it for me. Feb 21 08:27:36 <[g2]> siddy-away, thx I'll check what that point was Feb 21 08:27:53 the update-modules.postinst message Feb 21 08:28:11 <[g2]> ah... yeah Feb 21 08:28:42 <[g2]> I'm not sure whether modutils-initscripts is 2.4 specific Feb 21 08:29:01 dunno, works quite well for me. Feb 21 08:29:09 I think it is. Feb 21 08:29:14 the init script modprobes all the modules listed in /etc/modules. dont recall if it does anything else Feb 21 08:29:21 dont see any reason why it wouldnt work for both Feb 21 08:29:29 <[g2]> most excellent Feb 21 08:29:56 <[g2]> kergoth, THX again for adding hotplug-ng, I don't know if you noticed but I pushed it for OpenSlug baseline Feb 21 08:30:03 yep. thanks. Feb 21 08:30:13 <[g2]> it makes a *huge* difference Feb 21 08:30:43 that could also help with point 5) (loading ixp425_eth and ehci-hcd). It could be done the "normal way" (via /etc/modultils/whatever) Feb 21 08:31:24 <[g2]> I'll test it right now Feb 21 08:34:59 <[g2]> siddy-away, which repo are you pointing at nslu2-linux or oe-devel ? Feb 21 08:37:07 [g2], nslu2-linux Feb 21 08:37:35 <[g2]> you are aware of all the changes that went it recently ? Feb 21 08:38:01 you mean the switchbox-stuff? Feb 21 08:38:11 <[g2]> yeah Feb 21 08:38:55 I've read that, but haven't had the time to take a look at it. Feb 21 08:39:00 <[g2]> it should be in a good state now, but I think it was a little hosed earlier Feb 21 08:39:32 And I won't have the time in the near future.... :-\ Feb 21 08:40:55 <[g2]> just FYI Feb 21 08:41:10 <[g2]> and thx for all the help Feb 21 08:41:12 will booting to usb-disk work with that switchbox out of the box? Feb 21 08:41:33 <[g2]> that's what will be testing very soon Feb 21 08:41:50 <[g2]> it does for unslung, but there kernel has all the modules built in Feb 21 08:42:13 <[g2]> we'll either change the default kernel config or explicitly load the modules from switchbox via the jffs2 partition Feb 21 08:42:30 oh, not the problem with my current kernel. I already have all thet usb-stuff in there. Feb 21 08:42:43 <[g2]> and we should be able to boot to .sda[1|2] and .sdb[1|2] Feb 21 08:43:55 hm... of course I need sdd1, so once again I need switchbox-tuning! ;) Feb 21 08:44:17 <[g2]> currently the initrd is on /initrd Feb 21 08:44:54 <[g2]> I think we might be able to setup the necessary stuff (if it's not already there) to be able to modify it from the OpenSlug cmdline for the brave and bold Feb 21 08:50:43 <[g2]> siddy-away, cool that works for both Feb 21 08:50:55 <[g2]> now I've just got one more question Feb 21 08:51:02 ? Feb 21 08:51:35 <[g2]> I've manually added the two modules to the /etc/modules file but the comments in there say "don't edit" this file it's generated by update-modules Feb 21 08:51:50 <[g2]> what's the proper way of doing this ? Feb 21 08:51:57 base-files? Feb 21 08:52:02 you'll have to create a new file in /etc/modutils and add the two modules there. Feb 21 08:52:22 the /etc/modules is created by update-modules iirc Feb 21 08:52:53 (by copying all files in /etc/modutils/) Feb 21 08:53:41 <[g2]> that's simple enough Feb 21 08:54:33 <[g2]> and we may or may not have to run the update-modules earlier in the init sequence Feb 21 08:55:39 yes, we'll especially have to take care of not braking the first boot, so the ordering may be important. Feb 21 08:56:38 perlguru: I just tried a fresh installtion of OE on a brand new Sun quad opteron and it crashes at ipkg-native too. Feb 21 08:57:01 there goes my chance to "borrow" this nice new machine. Feb 21 08:57:17 <[g2]> root@nslu2:/etc# cat /etc/modutils Feb 21 08:57:17 <[g2]> # Adding modules to be automatically loaded via update-modules Feb 21 08:57:17 <[g2]> ipx425_eth Feb 21 08:57:17 <[g2]> ehci-hcd Feb 21 08:57:35 <[g2]> siddy-away, I ran update-modules after that but it didn't update /etc/modules.conf Feb 21 08:57:43 <[g2]> well /etc/modules Feb 21 08:57:45 What about ohci-hcd? Feb 21 08:58:14 <[g2]> VoodooZ_Work, I think every thing gets loaded via hotplug Feb 21 08:58:21 VoodooZ_Work, good to know I am not the only one... Feb 21 08:58:27 err... you need a directory /etc/modutils/ and place some file in there. Feb 21 08:58:28 cool. Feb 21 08:58:39 perlguru: still. it sucks. Feb 21 08:58:45 and both using AMD64 Feb 21 08:58:53 yes, indeed Feb 21 08:58:55 perlguru: What else did you find out about this problem. Feb 21 08:58:57 <[g2]> VoodooZ_Work, ok ohci doesn't get loaded Feb 21 08:59:06 <[g2]> but everything else Feb 21 08:59:12 [g2]: could be useful for USB 1.1 support. Feb 21 08:59:31 <[g2]> hotplug works for usb Feb 21 08:59:33 perlguru: did you google for this? Feb 21 08:59:40 [g2]: good. Feb 21 08:59:41 <[g2]> except for net Feb 21 08:59:42 no Feb 21 09:00:21 I was looking forward to using the quad opteron to cut my build times in half so I could try more stuff in the same time. Feb 21 09:01:10 VoodooZ_Work, the funny part is: it used to work Feb 21 09:01:44 perlguru: what linux distro are you using ? Feb 21 09:01:51 Gentoo Feb 21 09:01:51 really? Feb 21 09:01:56 <[g2]> siddy-away, THAT works better :) Feb 21 09:01:58 I'm using fedora core 3. Feb 21 09:02:21 When did it work? did you find out what the change was? Feb 21 09:02:38 if we can pinpoint it then we can ask the OE guys perhaps. Feb 21 09:02:47 no, not yet. i have problem since XMas Feb 21 09:03:05 last succesfull build was just before xmas Feb 21 09:03:10 ok. I'll check it out soon. Feb 21 09:03:19 I have to run now. Lunch time. bbl Feb 21 09:04:07 VoodooZ_lunch, last image was of 20050128 Feb 21 09:04:43 Frankenslug was purchased on Saturday... Feb 21 09:08:27 Frakenslug = my test slug Feb 21 09:28:16 <[g2]> siddy I've got a chicken and egg issue with the update Feb 21 09:28:31 <[g2]> Starting portmap daemon: portmap. Feb 21 09:28:31 <[g2]> Configuring kernel-module-ehci-hcd Feb 21 09:28:31 <[g2]> /etc/modutils/modutils.txt: 2: ixp425_eth: not found Feb 21 09:28:31 <[g2]> /etc/modutils/modutils.txt: 3: ehci-hcd: not found Feb 21 09:28:31 <[g2]> /etc/modutils/modutils.txt: 4: ohci-hcd: not found Feb 21 09:28:32 <[g2]> Error while executing /etc/modutils/modutils.txt, aborting Feb 21 09:28:34 <[g2]> Configuring kernel-module-ext3 Feb 21 09:28:36 <[g2]> /etc/modutils/modutils.txt: 2: ixp425_eth: not found Feb 21 09:28:38 <[g2]> /etc/modutils/modutils.txt: 3: ehci-hcd: not found Feb 21 09:28:40 <[g2]> /etc/modutils/modutils.txt: 4: ohci-hcd: not found Feb 21 09:28:42 <[g2]> Error while executing /etc/modutils/modutils.txt, aborting Feb 21 09:32:04 'night all Feb 21 09:33:36 <[g2]> nite Feb 21 09:35:58 btw, when I purchased Frankenslug, I was informed by the Beast Buy guy that there were custom firmwares for the NSLU2 Feb 21 09:44:05 [g2], "executing /etc/modutils/modutils.txt"?! Something looks strange here, that file should definitely not be executed. Feb 21 09:49:06 [g2], looking at /usr/sbin/update-modules I guess you made /etc/modutils/modutils.txt executable, so update-modules will execute it. chmod 644 should help. Feb 21 09:49:38 <[g2]> thx will try Feb 21 09:59:31 <[g2]> siddy-away, IS THE MAN! :) THX we are really close now Feb 21 09:59:46 great! Feb 21 10:00:30 <[g2]> it's all works except the ixp425 driver starts after the networking has already run so the networking isn't brought up automatically Feb 21 10:01:30 <[g2]> I think the short-term fix is to leave the explicit load of the ixp425 driver in the sysconfsetup and automatically load ehci and ohci Feb 21 10:02:06 <[g2]> THX for helping speed the process along Feb 21 10:02:55 np! Feb 21 10:10:11 heh, couldnt you cheat, and do it the way network modules are loaded on a lot of desktops? Feb 21 10:10:32 (that is, alias the interface name to the driver module, and let it get autoloaded) Feb 21 10:10:46 alias eth0 ixp425_eth .. or whatever Feb 21 10:10:56 in modprobe.conf Feb 21 10:11:13 <[g2]> kergoth, I could try that too Feb 21 10:11:42 <[g2]> but I'm not sure if that's more of a drawback than explicitly loading the module Feb 21 10:12:26 certainly seems cleaner to me. no more ordering problems, it gets loaded the first time the interface comes up, regardless of when that happens Feb 21 10:12:50 kergoth: have you heard of a problem building ipkg-native under linux on x86-64? Feb 21 10:13:13 ask cosmicpenguin Feb 21 10:13:19 thanks Feb 21 10:13:21 he's done x86_64 builds more recently than i Feb 21 10:13:28 k Feb 21 10:14:16 <[g2]> siddy-away, that works! Feb 21 10:14:47 <[g2]> kergoth, I'll have to looks at the alias option too Feb 21 10:15:03 the way kergoth proposed? yeah, that sounds good. Feb 21 10:15:24 <[g2]> siddy-away, no, the explicit module right now Feb 21 10:15:50 <[g2]> I was reflashing when kergoth suggested that Feb 21 10:16:05 <[g2]> I'd like to understand how that works and try it later Feb 21 10:16:24 <[g2]> and also understand the tradeoffs Feb 21 10:17:15 <[g2]> by default we are bringing up ixp as eth0, there are a couple ppl that are tailoring it for BT / usbnet, etc.... already Feb 21 10:17:47 <[g2]> right now its just comment out the 1 modprobe in the sysconfsetup init file Feb 21 10:17:56 <[g2]> and get the driver loaded Feb 21 10:18:26 <[g2]> the net hotpluging is an issue with hotplug-ng which will need to be worked out Feb 21 10:18:59 that would be changed to modifying one alias, not much difference. Feb 21 10:19:19 hotplug... hm... always wondering what we need that for in openslug. Feb 21 10:19:46 <[g2]> plugging in drives, adapters etc... Feb 21 10:19:53 net is just a matter of splitting a couple of scripts from linux-hotplug into a hotplug-common package that both linux-hotplug and hotplug-ng RRECOMMENDS. Feb 21 10:20:35 <[g2]> kergoth, nod. I'm reading the code and doc's and trying to come up to speed on that Feb 21 10:21:00 <[g2]> and I need to get a grip on how the alias works Feb 21 10:21:03 guys, I'm now really away, meal-time. Feb 21 10:21:21 <[g2]> me too. lunch is on the table Feb 21 10:21:36 an alias is just that. Feb 21 10:21:37 an alias Feb 21 10:21:55 if i alias ixp425_eth to eth0, then when i run 'modprobe eth0', it loads ixp425_eth Feb 21 10:22:01 just an aliased name for a module Feb 21 10:22:18 and it happens that when you go to bring up an interface, it attempts a modprobe. Feb 21 10:23:08 <[g2]> ok so by adding the module alias the S40networking auto will modprobe eth0 a.k.a ixp425_eth and bingo it'll work Feb 21 10:23:20 right. Feb 21 10:23:36 <[g2]> that's a crystal clear explaination, THX Feb 21 10:23:44 np Feb 21 10:24:11 <[g2]> I'll look to add the alias after lunch and test that out. it is a cleaner change Feb 21 10:24:16 <[g2]> ~praise kergoth Feb 21 10:24:19 All hail kergoth! Feb 21 10:24:39 <[g2]> ~praise siddy-away Feb 21 10:24:42 All hail siddy-away! Feb 21 10:25:00 <[g2]> bbiab -- lunch Feb 21 11:10:20 03jp30 * 10unslung/ (make/openldap.mk sources/openldap/hostcc.patch): openldap cross compilation stuff Feb 21 11:16:32 03g2 07 * r1.2839.1.1 10openembedded/ (5 files in 3 dirs): Fix modutils punchlist issues Feb 21 11:17:24 Wow! Thanks to cosmicpenguin on OE I was able to fix the AMD64 issue and my build with no psyco JIT is 32minutes on the quad opteron! Feb 21 11:17:38 <[g2]-away> VoodooZ_lunch, COOL! Feb 21 11:17:42 ANd that's without tweaking the -j 6 yet. Feb 21 11:17:49 I'll try again with 7 and 8 for fun. Feb 21 11:17:53 <[g2]-away> kergoth, the alias works fine and that's what's checked in Feb 21 11:18:38 <[g2]-away> VoodooZ_Work, was that the ipk-native issue that perlguru has too ? Feb 21 11:18:44 yep. Feb 21 11:18:48 <[g2]-away> cool Feb 21 11:18:55 <[g2]-away> I'm sure he'll be happy Feb 21 11:19:01 If you see him before I do let him know that it's a bug in the latest version Feb 21 11:19:11 <[g2]-away> off for a bit Feb 21 11:19:36 <[g2]-away> you might want to try pulling from nslu2-linux and building OpenSlug, the punch list issues are resolved Feb 21 11:19:40 he can workaround it by add this to his local.conf: PREFERRED_VERSION_ipkg-native = "0.99.138" Feb 21 11:19:40 PREFERRED_VERSION_ipkg = "0.99.138" Feb 21 11:19:53 <[g2]-away> just tweak your alias in modprobe.conf for BT Feb 21 11:19:53 I just did a pull. Feb 21 11:19:59 cool. Feb 21 11:20:05 <[g2]-away> cool, I'll check the log when I get back Feb 21 11:20:11 later. Feb 21 11:20:15 ANd good work Feb 21 11:21:26 i have a question about psuedo-terminals on unslung: unslung uses bsd-style ptys rather than the /dev/pty filesystem, right? how does a unprivileged program like xterm get control of a ptyp/ttyp pair on a system like that? normally on glibc you can call getpt(), which hides the details of the difference between bsd and unix98; on unslung getpt() returns -1 unless the caller is root. looks like the problem is the permissions of /dev/ptyp0 and f Feb 21 11:21:26 riends Feb 21 11:31:32 03ptweety * 10unslung/ (11 files in 3 dirs): corrected permission problem. Feb 21 11:31:39 03ptweety * 10unslung/sources/perl-html-parser/control: corrected permission problem. Feb 21 11:31:44 03ptweety * 10unslung/sources/perl-html-tagset/control: corrected permission problem. Feb 21 11:32:10 03ptweety * 10unslung/sources/ (perl-mime-base64/control perl-net-dns/control): corrected permission problem. Feb 21 11:32:39 03ptweety * 10unslung/sources/ (3 files in 3 dirs): corrected permission problem. Feb 21 11:33:36 sorry for this multiple messages, but sf.net seems to be verry slow today Feb 21 11:45:56 jp30, I've run into that problem too Feb 21 11:46:35 I *think* it went away when I mounted /dev/pts like so: Feb 21 11:46:38 none /dev/pts devpts gid=5,mode=620 0 0 Feb 21 11:47:58 jacques, thanks, might also need a /dev/ptmx. what say I make a package that does this? Feb 21 11:48:55 this probably needs to be addressed on the image creation level rather than package Feb 21 11:49:17 yes, I suppose that's right Feb 21 11:50:30 perhaps a slugbug is in order Feb 21 11:50:45 (if there isn't already one - I seem to remember other people finding this) Feb 21 11:52:04 jacques, will do. strictly speaking this is extra functionality rather than a bug, though. the bug is presumably the permissions on the bsd-style ptyp nodes Feb 21 11:52:45 hey peeps Feb 21 11:53:06 ive gotta prob for you all Feb 21 11:54:31 is it a developer problem or a user problem? Feb 21 11:54:36 ~nslu2-general Feb 21 11:54:38 #nslu2-general is the IRC channel specifically set up for end-user questions about the NSLU2 device. Questions that are not related to the nslu2-linux development projects should not be asked in #nslu2-linux, but should be asked in #nslu2-general instead. Feb 21 11:59:48 ByronT: Taking care of it Feb 21 12:01:24 hi. I need some advice Feb 21 12:01:45 I have been working on getting usb audio support on the nslu2 Feb 21 12:01:53 which is now completed Feb 21 12:02:19 i have an nslu2 running usb audio and acting as a music server now Feb 21 12:02:46 i based the server on mpd Feb 21 12:03:08 a lot of packages were built and I can add them to the cvs rep Feb 21 12:03:21 no problem there Feb 21 12:03:31 problem lies in the kernel changes Feb 21 12:03:40 i did those in openembedded Feb 21 12:03:59 but am not sure how I need to package them up for nslu2 distribution Feb 21 12:04:17 and how to properly insert these driver bitbakes into OE Feb 21 12:04:38 please advise Feb 21 12:10:12 did you make it into a changeset> Feb 21 12:10:56 no, not yet. would like to know where to add it first Feb 21 12:11:18 now added alsa-driver 1.0.8 under packages/alsa Feb 21 12:11:28 and did patches to that to cross compile it Feb 21 12:11:49 but it might have to sit somewhere else Feb 21 12:12:02 i also need a change in defconfig of unslung-able Feb 21 12:12:18 and an extra kernel module included in the base build Feb 21 12:13:52 03jp30 * 10unslung/make/gtk.mk: gtk: configure input modules on install; don't get confused by target gdk-pixbuf-csource in staging directory Feb 21 12:14:16 03jp30 * 10unslung/sources/gtk/postinst: gtk: configure input modules on install; don't get confused by target gdk-pixbuf-csource in staging directory Feb 21 12:16:37 um.. Feb 21 12:16:56 how did you make these kernel changes? Feb 21 12:17:54 i changed the following: Feb 21 12:18:40 CONFIG_SOUND=m in packages/linux/unslung-kernel/able/defconfig Feb 21 12:19:25 that gives me audio hooks in the kernel Feb 21 12:19:44 then I patched the autotools files for alsa-driver to have it cross compile Feb 21 12:19:49 no C code changes Feb 21 12:20:22 oh yeah, and added alsa-driver_1.0.8 to OE, as it is not there Feb 21 12:20:43 they seem to rely on 2.6 kernels that include it for other projects Feb 21 12:20:57 03ptweety * 10unslung/Makefile: perl-db-file and perl-dbi ready for native_only_testing Feb 21 12:21:16 03ptweety * 10unslung/ (4 files in 2 dirs): perl-db-file and perl-dbi ready for native_only_testing Feb 21 12:21:52 03ptweety * 10unslung/sources/perl-dbi/control: perl-db-file and perl-dbi ready for native_only_testing Feb 21 12:22:55 sk8jkr, sounds like good work Feb 21 12:23:10 :-\ Feb 21 12:23:23 sk8jkr: It's a Java app in the browser. Don't leave the page :) Feb 21 12:23:50 just found that out the hard way Feb 21 12:25:39 Wondering what's wrong with cyrus-imapd.mk and postfix.mk. Feb 21 12:25:58 I have no problem with these packages. Feb 21 12:26:17 Can someone please send me the log, so I can fix the problems? Feb 21 12:26:44 sk8jkr, you should make a changeset and sent it to nslu-changesets@lists.sourceforge.net - then we can work on getting it pushed into oe Feb 21 12:30:00 sigh Feb 21 12:30:13 oh hes back now Feb 21 12:30:31 ok, will do Feb 21 12:30:56 sk8jkr, if youve used bk edit to edit these files; you can do a bk ci of these files and then a bk commit to get a changeset number Feb 21 12:31:14 then you can bk send -r (some changeset number) nslu-changesets@lists.sf.net Feb 21 12:31:30 yes, read that on the Wiki Feb 21 12:32:10 this was the plan all along, just wanted to know if i am ok with file locations Feb 21 12:32:22 basically will they allow a new entry in packages/alsa Feb 21 12:33:19 in order to get the right ipk for installation on a slug I have to put in nslu2-specific stuff Feb 21 12:33:35 like for instance just packaging usb-audio and not all other sound cards Feb 21 12:34:00 i thought maybe I should have a nslu2-alsa-driver or something that builds the ipk we need on nslu2 Feb 21 12:34:04 Kergoth will be better equipped to answer that. Feb 21 12:34:23 pTweety, i have a slug sitting idle. would it be useful for you if i try building cyrus-imapd and see if it fails? Feb 21 12:34:27 I'm not sure what the policy is there. Feb 21 12:34:42 yes, verry useful Feb 21 12:35:01 OK, will do, then... Feb 21 12:35:10 probably to just have a variable which configures which alsa sound card drivers to built Feb 21 12:35:11 thx Feb 21 12:35:38 like gentoo has: ALSA_CARDS="emu10k1" Feb 21 12:35:40 it's a parameter to ./configure Feb 21 12:35:57 yeah I know Feb 21 12:36:47 any1 got a usb printer to work on this little device/ Feb 21 12:36:55 I can do it that way. but it will still package alsa header files to /usr/include/sound Feb 21 12:38:05 pTweety, is the only reason cyrus-imapd can't build cross that it likes to build & run binaries at compile time? Feb 21 12:38:51 AFAIK, yes. But I checked it not to deep Feb 21 12:39:50 you didn't try configuring it to use HOSTCC in appropriate places? Feb 21 12:40:57 I tried with HOSTCC but found that I have to patch the source an several places (to much for me) Feb 21 12:41:51 ulch,... yes that's understandable. well, it's native building OK for me so far Feb 21 12:44:34 rwhitby, are you arround? Feb 21 12:46:21 7:16am Feb 21 12:50:29 pTweety, make cyrus-imapd just failed with "armv5b-softfloat-linux-gcc: Internal error: Killed (program cc1)". yurgh! Feb 21 12:51:51 might have just run out of memory Feb 21 12:52:01 this was while building chartable.c. Feb 21 12:52:06 can you send me the complete log by mail? Feb 21 12:52:23 I've seen gcc ICE a lot when running our of memory Feb 21 12:52:26 jacques, sounds plausible, it was thrashing the disk before it died... no -pipe in this build. filled up /tmp? Feb 21 12:52:50 hm, but my slug is not verry special Feb 21 12:53:01 depends how much other stuff you have running Feb 21 12:53:32 someone with lots of crap running will see that more than someone who kills everything not necessary for compiling Feb 21 12:53:46 hm, nothing more than sshd Feb 21 12:53:50 apache and slapd are running on my slug, that's probably the relevant difference Feb 21 12:54:04 lol Feb 21 12:54:21 apache is great, but it does like to use ram Feb 21 12:54:39 jp30, can you please retry without apache? Feb 21 12:54:54 do you also have standard 56MB swap? that's barely enough Feb 21 12:55:00 I have 128MB swap on mine Feb 21 12:55:17 jepp, I ha everthing default Feb 21 12:55:23 pTweety, will do. might help to try forcing -pipe into CFLAGS, too Feb 21 12:56:12 unslung 3.17 with an unmodded slug Feb 21 12:56:38 -pipe just increases ram usage Feb 21 12:56:50 which is why I lobbied for its removal Feb 21 12:58:27 in this case i think the problem might be running out of /tmp. assuming that gcc using /tmp, not /opt/tmp on the slug. i will try without -pipe and without apache running. Feb 21 12:59:23 (the file it's dying on appears to be a very large generated source, making for a large temporary assembly file with -pipe) Feb 21 12:59:43 s/with/without/ Feb 21 13:00:17 sigh Feb 21 13:00:28 I would like it better if you changed one variable at a time Feb 21 13:00:44 jacques, that's what i am doing. Feb 21 13:00:53 i've just switch off apache Feb 21 13:01:07 ok, sorry I misread Feb 21 13:01:29 I thought you said "with -pipe and without apache running" Feb 21 13:02:35 jacques, s'ok... :) Feb 21 13:03:02 ok, it is thrashing swap again, let's see if it will die this time Feb 21 13:03:12 jp30, I don't support you have top installed? I use that to monitor how big gcc is getting Feb 21 13:03:25 I know it takes ram itself, but it's useful in these cases Feb 21 13:03:37 you can watch ram ans swap usage Feb 21 13:03:49 sure do, gcc is using ~41M vm, 12M of which is resident Feb 21 13:03:58 ouch Feb 21 13:03:58 looks like I was wrong about /tmp Feb 21 13:04:14 this is gcc and now g++ ? g++ takes tons of ram Feb 21 13:04:17 now Feb 21 13:04:19 not Feb 21 13:05:53 recent g++ seems to have been getting hungrier. not unusual to see it grabbing 100M in a single allocation :( Feb 21 13:06:16 jp30, hmm why can gcc only get 12MB resident? should be able to get up to 24MB or so Feb 21 13:06:57 the reason I lobbied against -pipe for native builds is that gcc and as would run at same time, contending for cpu and vm Feb 21 13:06:59 not sure about that, it's down to about 9MB or so now. puzzling Feb 21 13:07:10 and as can also get big - I've seen it get > 10MB Feb 21 13:07:49 uilds were actually slower with -pipe (and some would not even build due to running out of vm) Feb 21 13:08:11 this is all native of course, cross still uses -pipe Feb 21 13:08:19 jacques, re -pipe, that sounds reasonable... so long as the temporary files are going in /opt/tmp where there's plenty of space for them Feb 21 13:10:01 I get what you're saying about temporary files, but I just haven't hit that issue on the nslu2 Feb 21 13:10:09 I don't know where they are going :-\ Feb 21 13:12:36 two things to report: the cyrus-imapd build has gotten past the place where it died last time; and native gcc uses /tmp for its temporaries Feb 21 13:14:50 perhaps a judicious use of a certain ENV var will fix that? Feb 21 13:14:51 then we have to wait for another 15 mins (if I recall corectly my cyrus tests) Feb 21 13:15:49 <[g2]-away> VoodooZ_Work, any luck with the pull/OpenSlug build ? Feb 21 13:16:44 yep. Feb 21 13:16:55 Works great and builds fast now! Feb 21 13:17:05 Actually, I didn't try the default. Feb 21 13:17:18 pTweety: gastro is down at the moment, so I can't pull up the failure log Feb 21 13:17:22 <[g2]> rwhitby, morning sunshine ! Feb 21 13:17:26 I commented out the default commandline and uncommented the jffs2 direct one. Feb 21 13:17:30 was there anything I wrote in the Makefile about it? Feb 21 13:17:33 boots in ~40secs Feb 21 13:17:33 [g2]: mrning Feb 21 13:17:37 nop Feb 21 13:17:52 [g2]: everything cool with switchbox overnight? Feb 21 13:18:15 rwhitby, you simply demoted cyrus-imapd and postfix Feb 21 13:18:21 <[g2]> rwhitby, think so the rest of the punchlist was fixed today Feb 21 13:18:32 I still have to put in my private changes in though so I'll try to optimize other things to get to 30seconds flat. Feb 21 13:19:10 <[g2]> siddy-away, kergoth and others had some suggestions and insights and it's all checked in and running Feb 21 13:19:16 pTweety: I wrote some comments in the Makefile - search for postfix Feb 21 13:19:44 grr, "ssh: connect to host cvs.sourceforge.net port 22: Connection refused" Feb 21 13:19:53 [g2]: are all the PRs bumped? Can I just bitbake without cleaning? Feb 21 13:20:00 <[g2]> rwhitby, I didn't get to play the /linuxrc much or booting directly to the hd, but I think that's the only issue Feb 21 13:20:07 <[g2]> rwhitby, nod on the PRs Feb 21 13:20:11 # cyrus-imapd fails when compiling the perl stuff Feb 21 13:20:11 # postfix fails when packaging Feb 21 13:20:17 <[g2]> rwhitby, pull first :) Feb 21 13:21:23 [g2]: building now, but no time to test this morning Feb 21 13:23:35 base-files, openslug-init and modutils-initscripts - any others? Feb 21 13:24:22 <[g2]> openslug-init Feb 21 13:24:41 <[g2]> I guess that was the second one :) Feb 21 13:25:04 <[g2]> distro/openslug.conf Feb 21 13:25:38 <[g2]> rwhitby, you should be fine, VoodooZ_Work pulled and built with it Feb 21 13:25:57 flashing now Feb 21 13:26:23 yep. Feb 21 13:26:58 so is this 1.2-alpha ;-) Feb 21 13:27:26 that was fast Feb 21 13:27:36 <[g2]> tiny changes Feb 21 13:27:42 what happened to 1.0? Feb 21 13:27:53 in fact, wasnt there a 0.7 ? Feb 21 13:27:57 <[g2]> dyoung-zzzz, rwhitby is 1.0 phobic Feb 21 13:27:58 yep, that's what the number after the decimal point is for :-) Feb 21 13:28:08 Every time I blink, the version changes. Feb 21 13:28:17 You guys are too fast. Feb 21 13:28:18 sigh Feb 21 13:29:02 modprobe: FATAL: Could not load /lib/modules/2.6.9/modules.dep: No such file or directory Feb 21 13:29:06 <[g2]> it's a plan rwhitby and I have to make you feel like a slacker :) Feb 21 13:29:17 rwhitby: that normal on first boot Feb 21 13:29:25 <[g2]> rwhitby, on first boot you get a couple of those Feb 21 13:30:46 ok, second boot is squeaky clean Feb 21 13:30:51 nice job! Feb 21 13:31:01 <[g2]> and to you mate! Feb 21 13:31:02 congrats! Feb 21 13:31:05 jp30, any news about the cyrus compile? Feb 21 13:31:14 <[g2]> ~praise nslu2-linux Feb 21 13:31:16 All hail nslu2-linux! Feb 21 13:31:19 now we just need a package feed, right? Feb 21 13:31:39 <[g2]> a lot of packages work Feb 21 13:31:42 * rwhitby is looking for that courier to deliver the usb dongle today :-) Feb 21 13:31:52 is openslug supposered to be booting using switchbox? Feb 21 13:32:12 or do I need to manually change that? Feb 21 13:32:16 pTweety, it is still running... I suggest you add TMPDIR=/opt/tmp to the environment though, that should make it less memory hungry Feb 21 13:32:32 [g2]: nod. that's why we need a feed - so I don't have to work out which :-) Feb 21 13:32:35 (ie: did I miss some push in the last few hours) Feb 21 13:32:37 <[g2]> dyoung-zzzz, openslug boots using switchbox since last night Feb 21 13:32:46 aw crap. Feb 21 13:32:49 <[g2]> rwhitby, put the changes ing Feb 21 13:32:49 ok Feb 21 13:33:13 <[g2]> rwhitby, we need to get OpenSlug booting to hd Feb 21 13:33:34 I recommend compiling in the required modules into the kernel Feb 21 13:33:46 then it will work for recovery from flash key in recovery mode Feb 21 13:34:15 <[g2]> ok, do you want to play with the defconfig and make that happen ? Feb 21 13:34:19 yep Feb 21 13:34:46 <[g2]> ok go for it, just make sure the kernel stays < 1M Feb 21 13:34:47 my rule of thumb is that if the hardware is permanently attached, then compile in instead of make module. then modules for everything else Feb 21 13:35:04 oh - I thought you said "do you want me to play .." Feb 21 13:35:07 jp30, where do I add this? To configure or make? Feb 21 13:35:11 I don't have time today, can you do itA? Feb 21 13:35:30 <[g2]> actually I think there's an exception to that rule. Feb 21 13:35:34 if not, I'll look at it in 13 hours Feb 21 13:35:39 yeah, exception is ixp Feb 21 13:35:42 <[g2]> I think ehci has a bug in it Feb 21 13:35:51 oh Feb 21 13:36:04 <[g2]> which will need patching, I've got a stack dump from the ehci isr Feb 21 13:36:11 pTweety, it would need to in the environment of the make invocation that actually does the build. e.g. "TMPDIR=/opt/tmp $(MAKE) -C ..." Feb 21 13:36:16 ok, gotta go Feb 21 13:36:34 <[g2]> rwhitby-away, cheers Feb 21 13:36:39 <[g2]> and THX Feb 21 13:36:42 * rwhitby-away whistles "hi ho, hi ho, ....." Feb 21 13:37:02 [g2]: I think we're beta-ready now. Feb 21 13:37:09 later... Feb 21 13:37:16 Just need some alpha testesr Feb 21 13:37:27 * VoodooZ_log runs away and hides Feb 21 13:37:37 pTweety, my build has completed without trouble. "Works For Me" Feb 21 13:37:38 <[g2]> rwhitby-away, I think so, just a few more users, a manifest/snapshot Feb 21 13:37:49 and a README ? Feb 21 13:37:58 * dyoung-zzzz hides Feb 21 13:38:13 * VoodooZ_log leaves... Feb 21 13:38:42 <[g2]> I was thinking maybe the NTP fix and IXP as interrupt in the driver Feb 21 13:38:52 <[g2]> and maybe NET console Feb 21 13:39:22 so the question is... Did they diddle the tick *because* of the ixp polling? Feb 21 13:40:05 <[g2]> that's a good question, if we go to interrupt ixp driven "do we even care" ? Feb 21 13:41:17 <[g2]> the interrupt driver ixp needs testing, but I really like the idea of it because on balance I'm guessing the ethernets these boxen are running on are on average less loaded Feb 21 13:41:27 Is it ok to change TMPDIR to /opt/tmp? On my slug that dir does not exist by default. Feb 21 13:41:58 <[g2]> also, we could change to /dev/random instead of /dev/urandom for the dropbear keygen and probably ssh Feb 21 13:42:14 <[g2]> we would get some entrophy Feb 21 13:42:25 Thats a scary message. Feb 21 13:42:38 when it tells you there isnt enough entropy available. Feb 21 13:42:54 <[g2]> on openslug entrophy is 0 Feb 21 13:44:00 pTweety, hmm, that's a worry, I was under the impression it did by default. well, better not refer to a dir that doesn't necessarily exist. does no harm to not have that TMPDIR set, just makes the build use more VM Feb 21 13:45:23 so it compiled without the TMPDIR set for you? You just freed some mem with shutting down apache? Feb 21 13:45:45 pTweety, yes, that's right, i didn't mess with TMPDIR myself Feb 21 13:46:04 I thought there was a variable just for gcc Feb 21 13:47:12 hmm tho I cannot find it Feb 21 13:47:13 gcc only pays attention to TMPDIR as far as I can tell (from man gcc). the trouble is that we can't count on /opt/tmp to exist Feb 21 13:48:13 rwhitby-away, what is running on the slug building the packages? Can you free some more mem on it? Feb 21 13:48:21 could always mkdir $(BUILD_DIR)/tmp, and set TMPDIR to that, but it's a lot of hackery just to speed up a build Feb 21 13:48:51 pTweety, are you sure rwhitby had memory problems? I think his build died in a different place from mine Feb 21 13:48:56 not that bad - could just be in the makefile Feb 21 13:48:58 toplevel Feb 21 13:49:43 hm, he wrote something about perl-stuff and your broke at char*.c, right? Feb 21 13:49:54 that's right Feb 21 13:51:37 you have perl installed? Feb 21 13:51:47 pTweety: the build errors on gastro were not mem problems Feb 21 13:52:27 gastro is the official build slug? Feb 21 13:53:07 yep Feb 21 13:53:07 yes, i have perl installed and staged. i noticed that my build used the installed perl. Feb 21 13:53:51 ... and used it by its full path. (i.e. /share.../perl) Feb 21 13:54:39 rwhitby-away, is perl 5.8.6 installed on gastro? Feb 21 13:55:50 pTweety: the packages on gastro are listed on the native compilation wiki page Feb 21 13:58:11 rwhitby-away, i notice that pkgconfig and libtool aren't listed on the wiki page - should they be added? Feb 21 13:59:06 if they are installed, yes. but gastro is down so I can't check Feb 21 13:59:09 back later Feb 21 13:59:21 ok, found perl. But now I'm lost. I need more info about the error occurred on gastro Feb 21 14:00:04 jp30, can you try make postfix on sour slug as well? Feb 21 14:00:08 ka6sox or dyoung will be able to tell you the error from the make.log on gastro unslung packages when it comes up later Feb 21 14:00:20 postfix problem was in ipk target, not build (it built fine) Feb 21 14:00:28 ciao Feb 21 14:00:33 bye Feb 21 14:00:42 pTweety, I'll try postfix Feb 21 14:01:56 thanks Feb 21 14:02:53 this might take longer... i offered to do cyrus-imapd because i already had its dependencies staged. Feb 21 14:05:34 as I suspected, now my poor slug is embarking on pcre. i'll leave it running, but may be a while before i have news for you Feb 21 14:05:45 jp30, I've to go to bed now but will read the irc-log. Thanks for your testing (since I know how anoying such a native build can be ;-) Feb 21 14:06:01 no probs Feb 21 14:06:02 night Feb 21 14:06:05 bfn Feb 21 14:06:17 the time involved is the most annoying aspect for me Feb 21 14:06:37 takes so long to test things to see if they're fixed etc Feb 21 14:07:30 good incentive to make things cross-compile if at all possible... Feb 21 14:07:45 yep :-) Feb 21 14:44:50 dyoung: ping Feb 21 14:52:00 rwhitby-away u around? Feb 21 15:01:54 He's never around these days when I am... Must be avoiding me :-) Feb 21 15:08:55 garpinc: you rang? Feb 21 15:09:26 <[g2]> I hear he's never around :) Feb 21 15:09:34 yes I did.... Feb 21 15:10:36 rwhitby-web I was wondering if there are any issues with the latest stuff I checked in... i.e: transcode and the latest version of libAres...e.. Feb 21 15:10:54 is it in READY_FOR_TESTING? Feb 21 15:12:19 Well libAres was a change to the make file to check out from CVS instead. Feb 21 15:12:54 transcode and the others haven't been put in READY_FOR_TESTING. I'll do that when I get home.. Feb 21 15:22:59 re Feb 21 15:23:07 wb Feb 21 15:23:22 forgot to join.. my irc proxy at home isnt accessible Feb 21 15:23:32 (damn wrt handed my desktop a new ip, so all my forwards are dead) Feb 21 15:23:35 * kergoth_ mutters Feb 21 15:23:59 static ip is your friend Feb 21 15:24:03 heh, indeed Feb 21 15:24:10 hadnt gotten around to doing that Feb 21 15:24:16 this is definate motivation to do so Feb 21 15:24:38 it's about the first thing I do when I work on a new client's network Feb 21 15:24:57 only dhcp addressee's will be wireless ones Feb 21 15:25:46 <[g2]> kergoth_, thx for the help earlier -- the alias worked and that's what's checked in Feb 21 15:26:02 great Feb 21 15:26:09 up to 1,333 unique packages in oe Feb 21 15:26:17 <[g2]> awesone Feb 21 15:26:20 i just checked in target path obeying fixes for over 215 packages Feb 21 15:26:29 heh Feb 21 15:26:32 <[g2]> awesome Feb 21 15:26:43 still quite a few to do though. uclibc for example obeys prefix and exec_prefix Feb 21 15:26:46 but thats all Feb 21 15:26:52 assumes it knows where everything goes from there Feb 21 15:28:11 <[g2]> kergoth_, In the next week or two I'd like to setup an OE package status for OpenSlug on a web page Feb 21 15:28:26 there are already wiki pages for that, arent there? Feb 21 15:29:10 <[g2]> There's a packages page, but I'm more focus on OE builds status Feb 21 15:29:23 what compiles and what doesnt? Feb 21 15:29:30 thats _really_ _really_ hard to maintain Feb 21 15:29:32 trust me Feb 21 15:29:36 people have tried before Feb 21 15:29:46 <[g2]> compiles is the first part, ipk install and runs Feb 21 15:29:59 thatd be useful Feb 21 15:30:04 i add lots of things to oe and never know if they work Feb 21 15:30:09 <[g2]> well that's the whole point of having the community updating it Feb 21 15:30:26 <[g2]> right and we need ot close the loop on that stuff Feb 21 15:34:03 gnite all Feb 21 15:34:10 <[g2]> nite Feb 21 15:34:23 later all Feb 21 15:46:11 <[g2]> kergoth_, what do you think of adding some stats production to the "non-broken" packages in OE Feb 21 15:46:30 what do you mean? Feb 21 15:46:38 <[g2]> we could keep a tiny sqlite3 db in the BB dir Feb 21 15:47:06 <[g2]> and inject records straight from bb as it complete the compiles/patches etc... Feb 21 15:47:11 [g2]: just write a new eventhandler. Feb 21 15:47:33 bb already supports writing custom event handlers to do things when tasks and apckages and builds complete or fail Feb 21 15:47:43 <[g2]> right and take the arch/distro/etc.. and roll up the compile build status Feb 21 15:48:16 write a new bbclass or .inc to do it Feb 21 15:49:04 <[g2]> Ok I may do that for OpenSlug and it could probably be used for any distro Feb 21 16:03:03 Folks, we have a new member of the nslu2-linux core team: jp30 is going to help out with Unslung package release management :-) Feb 21 16:03:49 ~congratulate jp30 Feb 21 16:03:51 * jbot congratulates jp30 on being a new owner of a $500 brick. Feb 21 16:04:00 heh Feb 21 16:04:08 jbot, you're on drugs Feb 21 16:04:15 heh, you can tell a lot of jbots factoids were created in #handhelds.org Feb 21 16:04:18 ~brick rwhitby-web Feb 21 16:04:21 * jbot installs a bad bootloader on rwhitby-web and turns rwhitby-web into a brick Feb 21 16:04:44 * rwhitby-web gets out his jtag cable and un-bricks himself Feb 21 16:04:48 :) Feb 21 16:05:48 jp30 (Josh) teaches at UC Davis; contributed apache and x11; and says that his greatest claim to fame is as the author of gdkxft and "the world's flags given letter grades" Feb 21 16:06:06 ~praise jp30 Feb 21 16:06:10 All hail jp30! Feb 21 16:06:46 my boss told me the other day that i should tell prospective employers to 'google for kergoth' on my resume Feb 21 16:06:49 i found this amusing Feb 21 16:06:55 you can find the worlds flags thing on my webpage btw. it has only led to a small number of death threats Feb 21 16:07:00 ~google kergoth Feb 21 16:07:03 Google says kergoth is at http://oz.pdai.org/unofficial/unstable/kergoth/ or http://sourceforge.net/users/kergoth/ or https://developer.berlios.de/users/kergoth/ or http://www.mperia.com/userpage.php?uid=284 or http://profiles.yahoo.com/kergoth Feb 21 16:07:35 you need a better PR agent, kergoth :-) Feb 21 16:07:45 heh, i should really create a personal web page Feb 21 16:07:51 i dont think i've had one since '95 Feb 21 16:08:23 ~stab monday Feb 21 16:08:26 * jbot runs at monday with an origami Swiss Army knife, and inflicts a nasty paper cut. Feb 21 16:08:43 lucky it's Tuesday here :-) Feb 21 16:08:56 nice Feb 21 16:08:58 today sucked Feb 21 16:09:01 even more than usual Feb 21 16:09:07 and thats saying something Feb 21 16:09:31 ~monday Feb 21 16:09:32 i think my life is becoming office space Feb 21 16:09:33 i guess monday is when everything breaks for no apparent reason, creating so many problems that it takes you until friday to get back to normal. at which point one more thing breaks that takes you the whole weekend to fix Feb 21 16:10:31 ~friday Feb 21 16:10:32 Friday sucks, because it should be the weekend, but you're stuck working anyway. Feb 21 16:10:41 so true Feb 21 16:11:48 jp30, so having given Guam a F.. Did you receive any Chamorro Threats? Feb 21 16:13:36 no, the peaceful people of Guam were relaxed about the whole thing. they probably liked that i said their flag would at least make a nice tea towel Feb 21 16:13:49 Cool, I was wondering about that. Feb 21 16:14:01 ...and wasn't obviously designed with MS frontpage Feb 21 16:14:08 jp30, url for the flag page? Feb 21 16:14:25 http://ahpc-jp30.st-and.ac.uk/~josh/flags Feb 21 16:14:35 is the first google hit. Feb 21 16:15:14 ka6sox-away, what dyoung just said Feb 21 16:16:18 it's a couple of years old now, pre-Afghanistan and East Timor Feb 21 16:17:51 hmm... i notice the link to my homepage from the flags page is broken Feb 21 16:17:54 colonial nonsense - how true .... (Australia gets a C) Feb 21 16:19:48 philosophy.org.au ? Feb 21 16:21:14 cool, I can attend in Adelaide .... Feb 21 16:21:47 yes, i'm an academic philosopher... philosophy.org.au should be dead though, the aussie govt started charging for it Feb 21 16:22:30 hi all. is this an appropriate place to ask really basic questions? Feb 21 16:22:38 eek! and those cyber-squatters at the school of philosophy got hold of it! Feb 21 16:22:53 they are NOT to do with me Feb 21 16:23:51 LOL Feb 21 16:24:12 NSLU2-IRC: you'll need to change your nick for a start .... Feb 21 16:24:51 I have that nick on permanent ignore. Feb 21 16:26:01 ok, later folks. Feb 21 16:27:47 hi. i'll get straight to it. whenever I try to run screen it always asks "Please set a terminal type". how do i do this? Feb 21 16:30:58 coruscant, you want to set the TERM environment var Feb 21 16:31:59 erm ok. how do i do that? please have patience, i'm very new to all this :-( Feb 21 16:36:22 what program are you connecting to your slug with? putty? Feb 21 16:37:47 xp telnet Feb 21 16:38:20 ulch. try "TERM=ansi screen" Feb 21 16:41:51 <[g2]> jp30, Ok if I ssh in TERM=xterm and all works fine, on the serial connection TERM=linux and it appears like a 25x80 screen fixed Feb 21 16:42:07 <[g2]> it's there something else I should be doing for that ? Feb 21 16:42:24 <[g2]> s/it's/is/ Feb 21 16:44:13 [g2], not sure what the problem is there. what terminal program do you use with your serial connection? Feb 21 16:45:06 <[g2]> minicom Feb 21 16:45:25 TERM=linux is unlikely to be right for minicom Feb 21 16:47:25 man page for minicom suggests it has a built in restriction to 24 lines Feb 21 16:48:15 ...and it is an ANSI terminal, so TERM=ansi Feb 21 16:48:30 jp30, you homepage needs updating ;) Feb 21 16:48:52 <[g2]> I'll have to check that and maybe change terminal programs Feb 21 16:48:57 <[g2]> thx Feb 21 16:49:04 ka6sox-away, are you looking at my wiki page on weka.ucdavis.edu? Feb 21 16:49:18 ... man of many homepages Feb 21 16:49:23 philosophy.au Feb 21 16:50:03 yes that does need updating :) you followed the link from the flags page? Feb 21 16:50:23 yes Feb 21 16:50:39 and weka is even better....like watching a test pattern on late nite TV Feb 21 16:51:20 Nah it looks like a winning flag. Feb 21 16:51:45 I'm surprised that Albania scored so high... Feb 21 16:51:50 you are looking at the root of weka, aren't you. try weka.ucdavis.edu/~jp30 Feb 21 16:52:23 good. Feb 21 16:54:06 weka is my office desktop, a lot of what's on it is in transition from my old job at arche-wiki.st-and.ac.uk Feb 21 16:54:44 no-one at St Andrews was competent to keep running the project's wiki so I carried it with to me to california Feb 21 16:55:46 still no luck. i've type in TERM='ansi screen' and all sorts, still no luck. i'm even using PUTTY to see if that helps. Feb 21 16:57:43 coruscant, you need to type "TERM=ansi screen" without the quotes. it means "run screen with TERM set to ansi"; you shouldn't have this problem with putty, though, it should set TERM appropriately Feb 21 17:00:52 OK, folks, I've gotta go... see y'all later... **** BEGIN LOGGING AT Mon Feb 21 17:46:19 2005 Feb 21 18:27:11 C+ ????? Feb 21 18:27:17 oh he left Feb 21 18:27:24 ? Feb 21 18:27:36 he gave the USA flag a C+ Feb 21 18:27:43 ah Feb 21 18:27:44 I was going to threaten his life Feb 21 18:27:55 heh Feb 21 18:30:01 I kinda like Bhutan - any flag with a dragon on it gets my vote Feb 21 18:44:20 I like the eagle thingy on the Albanian flag. Feb 21 18:56:32 03unslung * 10unslung/Makefile: Demoted gtk (fails to build in demos: /bin/sh: line 1: no: command not found) Feb 21 19:01:26 I'm looking for a workaround for something on the slug... Normally, I'd do: "someting | dd bs=1 skip=offset ibs=1024 obs=1024" to skip to an offset in a stream. But busybox doesn't honor ibs and obs. Anybody have a good idea for a workaround? Feb 21 19:01:44 Basically, I'm just trying to position to a specific position in a stream, and do it efficiently. Feb 21 19:02:25 Use bs= Feb 21 19:02:47 bs=offset, skip 1? Feb 21 19:03:23 bs=1 and ibs=1024 obs=1024 doesn't make sense Feb 21 19:03:42 dd bs=1024 skip=2 Feb 21 19:03:46 would skip the first 2048 bytes Feb 21 19:03:54 I'm just trying to skip offset bytes, but read and write from the streams in 1K chunks, rather than 1 byte chunks Feb 21 19:04:01 can't do that Feb 21 19:04:07 not with the busybox one Feb 21 19:04:20 well, yeah... that's why I'm looking for a workaround. :) Feb 21 19:04:35 download and compile the full GNU dd :) Feb 21 19:04:56 didn't even know you could skip and read/write a different block size Feb 21 19:05:00 This is a stream that gets fopened... without ibs and obs, dd takes like 55% cpu just moving single bytes at a time Feb 21 19:05:20 you can't modify the client program? Feb 21 19:05:48 install coreutils Feb 21 19:06:26 But coreutils conflicts with busybox, and I wouldn't want a simple program to require someone to do something as drastic as remove busybox and install coreutils Feb 21 19:07:41 I sort of have control of the client program, but basically it's doing on-the-fly transcoding of ogg to wav. The "transcoding script" gets a filename and offset to position to. Feb 21 19:08:14 The script (on the linux side) is just "oggdec $1 | dd bs=1 skip=offset $2 ibs=1024 obs=1024" Feb 21 19:08:16 ah Feb 21 19:08:25 you trying to strip off the RIFF header? Feb 21 19:08:26 But without ibs and obs, it's *way* too painful Feb 21 19:08:47 Nope... if seeking from iTunes, daap gives you a bytewise offset to seek to Feb 21 19:08:57 ohh Feb 21 19:09:37 well. you could extract dd from the coreutils package and rename it if you don't want to change everything around Feb 21 19:09:45 it's a bit unportable however Feb 21 19:09:58 On a bright note, I did get a vorbistools packages and hacked up the integer decoding library into oggdec, so it at least only takes 2 minutes to decode a 5 min song rather than 45 minutes. :) Feb 21 19:10:16 heh Feb 21 19:10:18 tremor? Feb 21 19:10:20 ya Feb 21 19:10:26 libvorbisidec Feb 21 19:10:37 rpedde I ported transcode. Will that help? Feb 21 19:11:47 garpinc even with a transcode package, I'm still left with the same problem. How to seek from a stream, and do it without huge CPU Feb 21 19:12:09 I was just hoping someone knew a simple shell script trick or something. Feb 21 19:12:36 If you did bs=offset skip=1, would it do reads and writes of bs from the input and output streams? Or would it still do 1 byte reads? Feb 21 19:14:45 it should do offset sized reads and writes Feb 21 19:24:59 grumble... might be easier to just make it non-seekable. Feb 21 21:02:50 hi all, need some help building unslung. i have the env setup..bitbake unslung-image but nothing shows up in the /build/tmp directory...tried several times. bitbake goes well w/o problems...also i get the idea behind bitkeeper but where is teh source code that the patches are being applied to? i mean, where is the base unslung/linksys source tree? Feb 21 21:15:58 03kin-kwok * 10unslung/ (6 files in 2 dirs): rewrite scripts for slugbug #102 Feb 21 21:20:14 Uh.... what do you do when you run out of space on your conf partition? Feb 21 21:22:46 use /sbin/unsling hdd-data instead of /sbin/unsling hdd Feb 21 21:23:48 * rwhitby-web is annoyed because his bluetooth dongle won't arrive until tomorrow now :-( Feb 21 21:25:33 If I unsling with my unslung hdd, it should copy /opt from hdd to hdd-data, right? So after that, should I get rid of the /opt dir on the conf partition? Feb 21 22:08:02 rpedde: I doubt that it will transfer from /share/hdd/conf/{opt/usr} to /share/hdd/data/{opt,usr} - you will need to do that yourself. Feb 21 22:09:08 rwhitby-web: yup. it didn't. I did. woohoo! Thanks. Feb 21 22:13:11 np Feb 21 22:22:04 03jp30 * 10unslung/ (4 files in 2 dirs): vte: initial checkin Feb 21 22:33:41 jp30: ping Feb 21 22:33:51 pong Feb 21 22:34:40 got the key...uploading Feb 21 22:34:41 thanks Feb 21 22:34:55 ah, good! Feb 21 22:54:20 03jp30 * 10unslung/ (make/gtk.mk sources/gtk/test-inline-pixbufs.h): fix problems cross-building gtk without host gdk-pixbuf-csource Feb 21 23:05:45 jp30.... What's the deal with freetype? Feb 21 23:05:59 I don't see sources/freetype in cvs.. Feb 21 23:07:04 that's because there'd be nothing in it... freetype needs no patches and the control file is generated by freetype.mk Feb 21 23:08:12 look at freetype.mk to see how its done. saves hassle of keeping .mk and control in sync Feb 21 23:09:12 03garpinc * 10unslung/ (5 files in 3 dirs): transcode stuff Feb 21 23:10:00 Thanks jp30... Feb 21 23:10:35 I just built freetype independently for transcode and just figured out you already built it. Feb 21 23:10:48 doh! Feb 21 23:10:59 hope my build does all you want Feb 21 23:11:00 I know... 2nd time i've done that... Feb 21 23:11:18 I hope so too. You just did standard build right? Feb 21 23:12:24 think so... pretty standard. the main difficulty with freetype is getting programs that depend on it to behave themselves and not get distracted by the host environment Feb 21 23:15:45 03garpinc * 10unslung/Makefile: transcode and supporting libs Feb 21 23:16:02 Well we'll see.. Feb 21 23:17:27 jp30... What I had to patch transcode to get it to work with freetype. Maybe you have a better option. Feb 21 23:17:44 s/What/Well Feb 21 23:19:40 03garpinc * 10unslung/Makefile: xvid lib Feb 21 23:23:39 samms71: jp30 has put an apache and php packages in the cvs repository - can you compare them with yours and see if they will do the trick for you? Feb 21 23:24:00 sure... Feb 21 23:24:20 do you know what rev? apache & php? Feb 21 23:24:22 samms71, they are apache 2.0 and php 4.3 Feb 21 23:24:27 thx.. Feb 21 23:24:42 did you manage to build php as a shared lib? Feb 21 23:24:53 pear is missing, but i can get it working if you need it; yes, all is shared Feb 21 23:25:12 rwhitby-away I checked in and specified tested for transcode and related libraries... Feb 21 23:25:15 (jp30) great!!! Feb 21 23:25:49 (rwhitby) i'll get it right now and give it a whirl w/ gallery... Feb 21 23:27:10 btw...to anyone..i setupa box w/ gentoo running on colinux to build unslung-image and it works (i.e. it makes images) but where is the source code? I've searched around and don't see where the base files are. i want to modify teh ipx4xx files to "fatten" my slug. Feb 21 23:28:08 (jp30) where does the ipkg install apache/php to ? /opt? Feb 21 23:28:31 samms71, yes, you'll find the configuration in /opt/etc/apache2 Feb 21 23:28:48 k Feb 21 23:28:53 i used the GNU layout Feb 21 23:30:09 garpinc, i take it this means you've succeeded in attaching a DVD reader to your slug? Feb 21 23:32:50 garpinc, ffmpeg's makefile doesn't obey DESTDIR, it tries to write to the host's /opt directory at staging time Feb 21 23:33:01 jp30 no it just means that transcode default config prefers that libdvdread is enabled. But in theory I think it's possible. bob_tm has been able to get all kinds of things working. Feb 21 23:34:16 jp30 I'll take a look at that... In the middle of trying to build ghostscript... Feb 21 23:34:44 ghostscript... nice! Feb 21 23:35:22 more details about ffmpeg: the trouble is when it tries to install man pages during staging Feb 21 23:37:09 Is that all that it writes there? Feb 21 23:37:15 just man pages? Feb 21 23:40:03 that was the first thing it tried to write... Feb 21 23:41:24 ...and died because it didn't have write access to /opt Feb 21 23:42:18 good idea... Mine has write access... That's why it worked for me... I'll have to see what it put in there. Feb 21 23:43:07 garpinc, looks to me like ffmpeg just doesn't support DESTDIR at all, you may need to stage it manually (and build an ipk manually when the time comes!) Feb 21 23:44:21 For some reason it seemed to stage okay for transcode.. I'll have to see what happened.. Feb 21 23:45:47 you might have better luck manipulating prefix rather than DESTDIR **** ENDING LOGGING AT Mon Feb 21 23:59:56 2005