**** BEGIN LOGGING AT Tue Sep 26 02:59:56 2006 Sep 26 09:11:58 anyone else got this error? (openslug on an IXDP425) INIT: version 2.86 booting /etc/init.d/rcS: /etc/init.d/rcS: 17: mount: not found Sep 26 09:26:28 are you building HEAD? Sep 26 09:28:45 yes Sep 26 09:29:12 then don't Sep 26 09:29:20 blaster8: yes, but it seems the default busybox .config does not set CONFIG_{MOUNT,UMOUNT} Sep 26 09:29:32 yes, we install our own from coreutils Sep 26 09:29:48 blaster8: likewise is building for a different board, and understands that head is unstable at the moment Sep 26 09:30:23 ok, but as long as it is clear that HEAD is broken on all targets except NSLU2 BE atm Sep 26 09:32:18 blaster8: yep, IXDP425 BE here. Sep 26 09:32:45 IXDP is not == NSLU2, mind Sep 26 09:32:49 different peripheral Sep 26 09:33:00 ok, can you check tmp/rootfs Sep 26 09:33:06 Look for sbin/mount Sep 26 09:33:10 simple checks first Sep 26 09:33:52 blaster8: I have both, and a third custom IXP4xx board. My aim is to develop on the IXDP425, work towards the custom board. Sep 26 09:34:20 ok, that sounds good Sep 26 09:34:37 theoretically, the 2 ethernet ports on the IXDP should work atm Sep 26 09:34:43 if you can get it to boot, that is ;) Sep 26 09:36:16 blaster8: In some sense, I think it is best for me to stick with the stable openslug build, but I need up-to-date graphics libraries like cairo/freetype. Sep 26 09:36:40 First, I would see if the stable build works at all Sep 26 09:36:46 Then we know if we have a regression Sep 26 09:37:10 I don't know if we ever had the IXDP as a successful development target Sep 26 09:37:43 likewise: would it be a problem to backport cairo/freetype to 3.10? Sep 26 09:37:54 blaster8: I did that over half a year ago, directly from OE (no mastermakefile) and I am following the same approach now with HEAD. Indeed it seems that much has changed since. Sep 26 09:38:15 SlugOS 4.x is currently in a pre-alpha state Sep 26 09:38:18 NAiL: probably not, I should take that road it seems. Sep 26 09:38:25 That's your main problem Sep 26 09:38:49 How can I stick to the stable build, not using the MasterMake file, but with conf/local.conf only? Sep 26 09:39:03 no way of doing that Sep 26 09:39:08 huh? Sep 26 09:39:31 Use the Master Makefile Sep 26 09:39:42 ... Sep 26 09:39:42 make openslug-3.10-beta should do it Sep 26 09:40:29 or svn co http://svn.nslu2-linux.org/svnroot/slugos/releases/slugos-3.10-beta/ slug/ Sep 26 09:40:36 (I think that path is correct) Sep 26 09:40:51 either will work, NAiL's version is cleaner Sep 26 09:42:28 But I have a remaining question: How was 3.10-beta tagged in time? Using bb package version, or was the monotone repository copied, or its revision? Sep 26 09:42:40 monotone repository copied Sep 26 09:42:46 and pushed to SVN Sep 26 09:43:07 blaster8: ah! That I didn't suspect. I expected that I could extract some revision out of MTN. Sep 26 09:43:11 it *should* have been tagged in mtn as well, but that was forgotten. Sep 26 09:43:17 ;) Sep 26 09:43:32 you could figure out the revision, but that'd take some time ;) Sep 26 09:43:36 NAiL: Anyway, we do some maintenance once it is SVN anyway Sep 26 09:43:40 ok, that clears some issues for me. I should really work against the 0.24 0.25 mtn repo? Sep 26 09:43:50 ? 0.24 0.25 Sep 26 09:43:56 no Sep 26 09:44:13 if you are confused, foolproof way of building is: Sep 26 09:44:19 download Master Makefile Sep 26 09:44:25 make openslug-3.10-beta Sep 26 09:44:35 ok, i was reading this on http://www.nslu2-linux.org/wiki/Development/MasterMakefile Sep 26 09:44:37 that will pull from SVN and build Sep 26 09:44:54 http://www.nslu2-linux.org/Makefile Sep 26 09:45:00 read that, more up-to-dat ;) Sep 26 09:45:20 blaster8: ok, I will just follow that and than proceed from there. Thanks for explaining the background, you as well NAiL. Sep 26 09:45:41 If the 3.10 build doesn't work either, come back to HEAD Sep 26 09:47:20 blaster8: I will first see if there is a more generic distro in OE available, although I will move off the beaten path then (not good). Sep 26 09:47:24 if the 3.10 build doesn't work, tell me ;) Sep 26 09:48:17 NAiL: You know C right? Sep 26 09:48:25 need help Sep 26 09:49:02 blaster8: barely Sep 26 09:49:06 that'll do Sep 26 09:49:10 http://www.hohnstaedt.de/ixp_npe/IxNpeMicrocode.h Sep 26 09:49:17 #if __BYTE_ORDER == __LITTLE_ENDIAN Sep 26 09:49:38 how can I set little endian here? From an environment variable? Sep 26 09:50:20 no, there's another way, I just can't remember :P Sep 26 09:50:47 something like -D__BYTE_ORDER=__LITTLE_ENDIAN when compiling Sep 26 09:50:48 http://gcc.gnu.org/onlinedocs/cpp/If.html Sep 26 09:51:34 ok Sep 26 09:51:53 but won't __LITTLE_ENDIAN be undefined if we're compiling BE? In that case you could do #ifdef __LITTLE_ENDIAN instead, no? Sep 26 09:52:36 but I need to byteswap the firmware, but only for DebianSlug Sep 26 09:53:37 NAiL: I think you're right about the -D option Sep 26 09:54:40 The logic will be in the BB file Sep 26 09:55:13 uh, does bitbake know the difference between LE and BE? Sep 26 09:55:16 yes Sep 26 09:55:22 '${ARCH_BYTE_SEX}' Sep 26 09:55:25 ah, good Sep 26 09:55:29 defined in the distro conf files Sep 26 09:55:39 nothing to worry about then :) Sep 26 09:55:41 otherwise, how could it mangle the kernel? Sep 26 09:55:45 that's the easier way Sep 26 10:01:39 hmm Sep 26 10:06:35 isn't working, not sure why Sep 26 10:21:11 sorted it Sep 26 11:50:59 NAiL: Idea: suppose I take the current OE/org.openembedded.dev branch, can I make my own distro that has the exact set of preferred versions that matches openslug 3.10-beta? Sep 26 11:57:33 Not necessarily Sep 26 11:57:46 Build SlugOS 3.10 and see if it runs Sep 26 11:57:58 If it does not, then we will fix HEAD Sep 26 12:01:25 blaster8: I would like to work against the www.openembedded.org mtn org.openembedded.branch (I have multiple targets to maintain, not only IXP4xx). Sep 26 12:01:59 Well, lets first see if there is a regression between 3.10 and HEAD Sep 26 12:02:13 That will help us fix HEAD so it actually boots Sep 26 12:14:03 blaster8: ok, machine is chewing away at buidling 3.10. Sep 26 12:14:16 sorry to send you the long way round Sep 26 12:14:24 NAiL: any idea whereabouts upstream monotone should have been tagged for 3.10? Sep 26 12:14:49 Clue here: http://www.slug-firmware.net/s-dls.php Sep 26 12:14:56 (Date) Sep 26 12:15:04 blaster8: np, always good to start off from something well tested. My own test base is well... me alone Sep 26 12:15:13 that's the problem Sep 26 12:15:40 We're really happy if you can get SlugOS to support the IXDP425 and eventually your own custom machine Sep 26 12:16:09 but first we need to get this bit of debugging going Sep 26 12:16:15 blaster8: I think I had SlugOS run on my IXDP425 already, but I was pulling from OpenEmbedded then (let me check its date, I have it here I think) Sep 26 12:16:48 You have checked that /sbin/mount exists on your root partition, right? Sep 26 12:17:06 yes, it did not Sep 26 12:17:36 why ever not... were you building OpenSlug stock or with modifications Sep 26 12:18:46 In slugos-image.bb RDEPENDS there is 'util-linux-mount' Sep 26 12:18:59 at least on my machine Sep 26 12:19:10 blaster8: I worked with the www.openembedded.org MTN, branch org.openembedded.dev, wrote a small local.conf for my config, and ran off. Sep 26 12:19:15 blaster8: double checking that Sep 26 12:19:19 well that's why then Sep 26 12:19:25 you said you were building OpenSlug Sep 26 12:19:32 and you're not building OpenSlug at all Sep 26 12:19:39 you're building your own custom distro Sep 26 12:20:18 please make clear what you are doing, as we all assume that the people who walk through the door of this IRC channel are doing something standard Sep 26 12:20:41 like building the openslug target, rather than a target all of their own Sep 26 12:20:43 ok Sep 26 12:21:18 Step 1: You're best solution if you want support from us is to build an NSLU2-Linux target Sep 26 12:21:52 blaster8: I was/am confused about the interdependency of th repo on www.openembedded.org and the NLSU2 repository. Sep 26 12:22:04 OK Sep 26 12:22:23 It's simple Sep 26 12:22:27 I worked from the MTN @ OE.org, MACHINE="ixp4xx" DISTRO = "openslug" Sep 26 12:22:41 so for long I was assuming I was building the OpenSlug distro. Sep 26 12:22:49 No your not, sorry Sep 26 12:22:58 argh Sep 26 12:23:02 you're/your confusion Sep 26 12:23:23 If you want to build OpenSlug, download the Master Makefile Sep 26 12:23:32 and type 'make openslug' Sep 26 12:23:52 yep, understand that now. You guys have explained the differences to me. Sep 26 12:24:24 You are missing the contents of packages/images/slugos-image.bb from your custom distro, btw Sep 26 12:24:35 blaster8: just for the record, then what am I binding when building the openslug distro from OE.org? Sep 26 12:24:56 You're building the distro Sep 26 12:25:13 but for whatever reason you're not building a correct boot image Sep 26 12:25:26 as you can't be building slugos-image, or you would have util-linux-mount Sep 26 12:29:08 likewise: there's two commits shortly after eachother, one changing the version to 3.10-beta, and one after that changing it to 4.0-beta IIRC. Sep 26 12:29:43 (in the monotone repo) Sep 26 12:29:58 the one changing the version to 3.10 should've been tagged. Sep 26 12:53:24 * NAiL suggests changing the maintainer field in the ixp4xx-npe.bb ;) Sep 26 12:58:11 point :) Sep 26 13:00:18 * NAiL goes off to work Sep 26 13:08:09 likewise: ping Sep 26 13:08:24 you doing OK now? Sep 26 13:08:40 building... Sep 26 13:08:44 right Sep 26 13:09:12 same here, actually - I'm doing a total rebuild just to check all is working and go back to a clean start Sep 26 13:10:09 blaster8: where is the local.conf located? I just did a grep for it, without result. (I want it to point to my global download dir, as its downloading pkgs I suspect I already downloaded). Sep 26 13:16:53 ok easy fix Sep 26 13:17:03 local.conf is in openslug/conf/local.conf Sep 26 13:17:25 but I simply symlink downloads in the Makefile build directory to my global downloads Sep 26 13:32:31 03blaster8 * r427 10kernel/trunk/patches/2.6.18/ (34-ixp4xx-0.1.0-fix-qmgr-LE.patch series): Add endian fix for qmgr code Sep 26 13:55:06 blaster8: could it be called auto.conf instead? No local.conf here Sep 26 13:59:47 no - it should be there, I think Sep 26 14:00:07 For now I would symlink downloads Sep 26 14:05:30 blaster8: no local.conf. find -regex '.*local\.conf$' (I symlinked downloads indeed.) Sep 26 14:05:51 blaster8: where are you from blaster8? .nl here Sep 26 14:15:35 allo Sep 26 14:15:47 sorry only intermittently here Sep 26 14:15:56 have you run make setup-openslug Sep 26 14:17:23 blaster8: no, immediately ran make openslug-3.10 (as NAiL mentioned) Sep 26 14:17:51 well, either should create the openslug directory with local.conf inside Sep 26 14:18:03 not sure what has happened there Sep 26 14:18:11 still, do you need local.conf right now? Sep 26 14:18:38 change packages/images/slugos-image.bb if you need extra stuff in the image Sep 26 14:30:18 blaster8: no, it's just that I wanted to learn to what extend this openembedded build differs from what I have learned so far. Sep 26 14:38:22 Do builds on 64-bit hosts still result in larger executables etc.? Both heard this on #oe as well as read this on the NLSU2 wiki. Sep 26 14:38:44 no idea Sep 26 14:39:00 I'd recommend building on i386 Debian Etch Sep 26 14:39:29 blaster8: asking on #oe right now. Sep 26 20:38:13 03gda * r4103 10optware/trunk/ (4 files in 3 dirs): openldap: new version, cross compiled on ds101g Sep 26 20:49:47 Tobbe: do you have the optware build setup available? If so I can let you have the patches that make df build. In order to make it work you have to replace /etc/mtab with a link to /proc/mounts and I can't commit the changes until I know if there are any side effects to doing that on the NSLU2 and what other platforms it needs doing on Sep 26 23:28:02 03bzhou * r4104 10optware/trunk/make/py-sqlobject.mk: py-sqlobject: upstream upgrade to 0.7.1 Sep 27 00:01:47 03rwhitby * 10slugimage/slugimage: First, not very well tested, version which inserts and deletes the actual skip regions. Sep 27 02:30:40 03bzhou * r4105 10optware/trunk/ (13 files in 3 dirs): python24 is now the concrete package, python just sets the default Sep 27 02:33:57 03bzhou * r4106 10optware/trunk/Makefile: now we have python python24 & python25 **** ENDING LOGGING AT Wed Sep 27 02:59:56 2006