**** BEGIN LOGGING AT Tue Jan 03 02:59:59 2006 Jan 03 07:33:40 hi all Jan 03 07:34:15 anyone in the mood to walk me through obtaining the kernel source package with monotone? Jan 03 07:36:52 CervAnteZ, best thing is to go to the wiki, read the page on mastermakefile, download the master makefile and hit make Jan 03 07:37:22 ok, i'll try thx Jan 03 07:41:01 eFfeM: is this supposed to be done on the slug or on any machine? Jan 03 07:41:14 <[g2]> CervAnteZ a host machine Jan 03 07:41:20 ok thx Jan 03 07:42:37 do i need to 'make setup' in order to get the files necessary for rebuilding the kernel? Jan 03 07:43:14 CervAnteZ, all the info you need is in the wiki, please read the wiki first Jan 03 07:43:33 ok, sorry, will do Jan 03 09:19:46 Hello, quick question: Is there aa easy way to use unslung packages on an openslug? Jan 03 09:22:25 CervAntez, I might be able to help a bit but I'm a total novice. you need to start by getting this thing called the "Master makefile" Jan 03 09:22:46 Thx, i got the MasterMakefile, did the make setup-host-debian, got the Intel files and created the md5 files, and did make setup to fetch the files needed. As far as I can see there is no wiki page describing what exactly i need to do next Jan 03 09:23:33 If you look through the master makefile you'll see a bunch of targets Jan 03 09:23:38 sgmiller: i'm running the armeb debian on the slug on top of openslug, what i'm trying to do is create a custom kernel and replace the one in flash Jan 03 09:24:29 you are trying to compile the kernel natively (on the slug)?? Jan 03 09:25:24 no, I'm trying to build it on a x86 host machine (which runs debian as well) Jan 03 09:25:57 as far as i understand it i can replace the kernel on the slug using the upslug2 tool Jan 03 09:26:13 did you build the image you are currently using or did you get it pre-compiled from somewhere? Jan 03 09:26:39 the one on it now is the one that comes with the openslug firmware (2.7) Jan 03 09:27:45 I think you want to build a new complete image and then steal the kernel which is produced as an intermediate step Jan 03 09:28:00 do i? Jan 03 09:28:05 :-) Jan 03 09:28:30 i found the target openslug-kernel in the makefile Jan 03 09:28:33 Again, I am not an expert, but after you've done it once I suspect you'll be able to use the "bb" (bitbake) to compile the kernel package independently. Jan 03 09:28:57 I think you just became the expert, let me know how it goes. Jan 03 09:29:40 ok, thx for the hints Jan 03 09:41:53 haha, so much for me being an expert :-) ERROR: Build of virtual/kernel failed Jan 03 09:49:39 how far did it get? Jan 03 09:50:35 not too far, i'm afraid Jan 03 09:51:04 make openslug-kernel didn't even finish Jan 03 09:51:31 you might give "make openslug-image" a try, that worked for me, you'll get the kernel as part of that. Jan 03 09:51:56 seemingly package libtool-native creation failed Jan 03 09:52:14 does the "Monotone" stuff work? Jan 03 09:52:22 i wish i knew Jan 03 09:52:35 is there a way to find that out? Jan 03 09:52:38 what happens if you type "Monotone --version" Jan 03 09:53:01 sorry "monotone --version" Jan 03 09:53:03 monotone 0.24 (base revision: d59847072bb689e952ab21db7f9fababdb80a19f) Jan 03 09:53:18 ok, that good. Jan 03 09:53:43 do you have any more on teh libtool error? Jan 03 09:54:01 NOTE: package libtool-native-1.5.10-r3: task do_fetch: completed Jan 03 09:54:01 NOTE: package libtool-native-1.5.10-r3: task do_compile: started Jan 03 09:54:13 NOTE: package libtool-native-1.5.10-r3: task do_compile: failed Jan 03 09:54:14 ERROR: TaskFailed event exception, aborting Jan 03 09:54:14 NOTE: package libtool-native-1.5.10: failed Jan 03 09:55:10 CervAnteZ, it should also mention the log file where the compiler error message is Jan 03 09:55:31 (not that I am knowledgeable on debianslug, i'm on openslug) Jan 03 09:55:42 There should be a directory in the format of: Jan 03 09:55:52 eFfeM: checking the logs right now Jan 03 09:56:02 /tmp/work/libtools-XXX/temp Jan 03 09:56:53 back in a bit... Jan 03 09:58:53 eFfeM: can you make something of this: Jan 03 09:59:02 configure: error: source directory already configured; run "make distclean" there first Jan 03 09:59:02 make[3]: *** [i686-linux-libtool] Fehler 1 Jan 03 09:59:02 make[3]: Leaving directory `/home/Itachi/testgian/src/Slug/openslug/tmp/work/libtool-native-1.5.10-r3/libtool-1.5.10' Jan 03 09:59:02 make[2]: *** [all-recursive] Fehler 1 Jan 03 09:59:48 normally during the build you fetch the src Jan 03 10:00:03 initially from the web, next time from your downloads dir Jan 03 10:00:07 they are cached there Jan 03 10:00:28 CervAnteZ: there's a symlink in your cwd Jan 03 10:00:37 libtool doesn't like that Jan 03 10:00:42 apparently your libtool dir tries to run configure on something already configured Jan 03 10:00:45 hi koen|away Jan 03 10:00:52 hey eFfeM Jan 03 10:01:08 ok, how can i resolve the issue? Jan 03 10:01:11 koen|away, I back off, you are way more an expert on this than i am Jan 03 10:01:25 build in a directory without symlinks Jan 03 10:02:16 I'm not quite i get it Jan 03 10:02:30 everything i did so far was running the automated scripts Jan 03 10:02:42 CervAnteZ, some place in your path is a symlink Jan 03 10:02:47 this can even be /home Jan 03 10:02:50 ah Jan 03 10:02:52 i get it Jan 03 10:02:54 ok Jan 03 10:03:02 and libtool has a stupid check that breaks on that Jan 03 10:03:30 something like basename(cwd)==builddir Jan 03 10:04:33 if that equates to 'false' it will try to put the configure scripts in cwd, which are already there Jan 03 10:05:01 eFfeM: I hit that bug last week Jan 03 10:05:13 i moved the Folder someplace else, should be symlink free now Jan 03 10:05:38 hi Jan 03 10:05:51 can someone have a look at "/etc/modprobe.conf vs. /etc/modules.conf"? Jan 03 10:05:57 i filed http://slugbug.nslu2-linux.org/bug.php?op=show&bugid=338&pos=0 Jan 03 10:06:01 * koen|away returns to being away again Jan 03 10:06:03 when you mentioned it, I knew I saw it before Jan 03 10:06:18 cu koen|away Jan 03 10:07:23 nope, didn't work, if i understand this right, within the autogenerated directory structure there are symlinked dirs that cause this prob, right? Jan 03 10:08:04 no, the symlinked dirs are not in the autogenerated directories, they are in the path leading to the dir where you have put the master makefile Jan 03 10:09:24 I'm pretty sure there aren't any symlinks in my current path Jan 03 10:10:14 did you do a make clean (or clobber or whatever it is called) after going to a symlink free place Jan 03 10:10:54 no, but even the path before was symlink free, i just moved a few levels below to make sure Jan 03 10:13:33 hm. not too sure about this, but when moving I should definitely clean everything first Jan 03 10:13:59 where is the faulty dir now? Jan 03 10:14:08 did the clobber target too now and restarted make openslug-kernel Jan 03 10:14:29 can you give me a pwd of the dir where the master makefile is? Jan 03 10:15:34 eFfeM: /home/Itachi/Slug Jan 03 10:16:04 can you do for me ls -ld /home; ls -ld /home/Itachi; ls -ld /home/Itachi/Slug Jan 03 10:16:11 and paste the outptu Jan 03 10:16:15 and paste the output Jan 03 10:16:30 just to be sure Jan 03 10:16:42 hmm, it seems to pass libtool-native now.... Jan 03 10:17:02 ah ok, wat testgian or src a symlink? Jan 03 10:17:15 (i'm trying to learn from this as well) Jan 03 10:17:31 home/testgian was a symlink to home/Itachi/testgian Jan 03 10:17:55 ah ok Jan 03 10:17:55 but i was in the path /home/Itachi/testgian/src/Slug when i called make Jan 03 10:19:13 CervAnteZ: your path must be 100% symlink free. every makes this mistake :-( Jan 03 10:20:44 i'll keep that one in mind, thx Jan 03 10:21:03 especially since my default src Dir is in a symlink path, or rather was Jan 03 11:02:30 anyone know if the twonkyvision mediaserver will run on debian also? Jan 03 11:20:42 why not just try? Jan 03 11:21:05 (but I guess it won't as the nslu variant is be and your debian is probably le) Jan 03 11:27:45 eFfeM: he might run the be debian port, just like me Jan 03 11:52:51 CervAnteZ: there is a debian port? Jan 03 11:53:10 debian slug port or normal debian port? Jan 03 11:56:06 neotheone: debonaras.org is doing an armeb port Jan 03 11:56:35 neotheone: as the nslu2-linux page points out correctly, there are two debian ports Jan 03 12:01:21 CervAnteZ: do you have a link quick pls ? Jan 03 12:01:43 nslu2-linux is real slow for me Jan 03 12:02:01 i wonder if its my connection or if the site is visited that much btw. Jan 03 12:28:48 neotheone: the site is on some temporary hardware Jan 03 14:18:19 CervAnteZ: can you please update the MasterMakefile wiki page with a warning about symlinks in the directory path? Jan 03 15:33:23 g2 ? Jan 03 15:33:30 <[g2]> ibedonc ? Jan 03 15:33:34 hi Jan 03 15:33:45 <[g2]> howdy there partner! Jan 03 15:34:02 getting close to be able to get one of your boards Jan 03 15:34:11 <[g2]> awesome Jan 03 15:34:25 <[g2]> I've got boards and power supplies Jan 03 15:34:30 dam slugs lockup as a firewall Jan 03 15:34:45 <[g2]> cases are on there way from China Jan 03 15:34:58 <[g2]> do you know what the lockup is ? Jan 03 15:35:05 two differnet ones Jan 03 15:35:08 no idea Jan 03 15:35:18 <[g2]> with the old drivers 1.4 I was seeing a lockup with dhcpclient after about 12 hours Jan 03 15:35:20 no response when it happens Jan 03 15:35:41 <[g2]> from both ethernet ports ? Jan 03 15:35:47 only use dhcpclient on usbnet Jan 03 15:36:09 not on int chip Jan 03 15:36:16 <[g2]> ok Jan 03 15:36:37 <[g2]> which IAL/CSR are you using ? Jan 03 15:36:44 does not matter if openslug sw or opendebian Jan 03 15:37:10 the one with latest openslug Jan 03 15:37:15 <[g2]> ok Jan 03 15:37:51 does not happen as a single port / app server Jan 03 15:37:52 <[g2]> I"ve just booted 2.6.15 today, rwhitby and check in some stuff and I'm starting to migrate to the very latest Jan 03 15:38:05 good Jan 03 15:38:41 <[g2]> with my old setup I was able to send 4-8GB through the box and billions of packets Jan 03 15:38:50 these issues should not happen with your board? Jan 03 15:39:22 <[g2]> I haven't done exhaustive testing other than what I just described Jan 03 15:39:34 <[g2]> the difference is you've go 2 serial ports and JTAG Jan 03 15:39:52 <[g2]> when it was locking up it was only 1 port or one task Jan 03 15:39:53 also , I forget if you have both nic's available ? Jan 03 15:40:00 <[g2]> Oh yeah Jan 03 15:40:05 good Jan 03 15:40:15 <[g2]> I can to line-rate bridging with 60% CPU left Jan 03 15:40:28 <[g2]> big packets (SCP) Jan 03 15:40:48 <[g2]> it's got the 533Mhz remember Jan 03 15:40:52 yes Jan 03 15:41:32 so after the 11th I can get one ( I get paid) :) Jan 03 15:41:53 <[g2]> cool Jan 03 15:42:11 <[g2]> I may have some cases by then Jan 03 15:42:30 <[g2]> I'll have at least a few more but some ppl have already oredered Jan 03 15:42:37 <[g2]> or want more Jan 03 15:42:58 good Jan 03 15:43:41 I have one slug as a saned / dhcp server , and it is working ok Jan 03 15:43:49 not locking up Jan 03 15:44:01 the other is router Jan 03 15:44:19 that is a problem Jan 03 15:48:18 <[g2]> I've got many Lofts Jan 03 15:48:33 <[g2]> I'm setting one up to run as the a debain buildd Jan 03 15:49:27 <[g2]> bbiab dinner calls Jan 03 16:23:37 well, seems like make openslug-kernel went through successfully, i did forget to make one change to the kernel config though(doh!) is there an easy way to change it and rebuild the kernel only? Jan 03 16:25:22 rm -rf tmp/{work,stamps}/nslu2-kernel* Jan 03 16:25:43 openslug/tmp is you're at the top-level Jan 03 16:26:20 okies thx Jan 03 16:26:44 is this where the final kernel image will be too? Jan 03 16:35:01 final kernel image is in tmp/deploy/images Jan 03 16:35:20 CervAnteZ: I didn't see your update to the wiki regarding symlinks ... Jan 03 16:36:03 rwhitby: i'm sorry? Jan 03 16:36:20 rwhitby: was i supposed to make one? Jan 03 16:37:11 Jan 03 14:18:19 CervAnteZ: can you please update the MasterMakefile wiki page with a warning about symlinks in the directory path? Jan 03 16:37:37 the price of asking questions here is to update the wiki when you get answers Jan 03 16:37:50 oops, seems like i didn't see that one Jan 03 16:37:52 sorry Jan 03 16:38:03 i'll do my best Jan 03 16:39:28 thanks Jan 03 16:44:22 rwhitby: i added the note, not sure if its alright though, my first time doing it... Jan 03 16:53:35 CervAnteZ: that's fine - thanks. Jan 03 16:54:12 please continue to fix things in the wiki as we assist you through the process - we rely on those following the meagre instructions to fix them and flesh them out Jan 03 16:54:24 ok, will do Jan 03 18:20:05 is there a way to extract a kernel image from a complete openslug image? Jan 03 18:23:42 slugtool Jan 03 18:23:51 ok Jan 03 18:24:45 when i upload a kernel image to the slug, do i have to rename it or do something else to it first? Jan 03 18:27:03 depends how it was built Jan 03 18:27:29 it's a BE image, then it needs assembly code prepended to set the machine id correctly Jan 03 18:27:45 if it's an LE image, then it also needs byteswapping Jan 03 18:27:53 ah, thats what messed things up Jan 03 18:28:00 the nslu2-linux builds do those things automatically Jan 03 18:28:09 oh Jan 03 18:28:17 i did a make openslug-image Jan 03 18:28:26 the image in tmp/deploy/images are already modified Jan 03 18:28:39 i uploaded it using upslug2, but as it seems it didn't work Jan 03 18:29:00 do you have serial? Jan 03 18:29:05 nope Jan 03 18:29:22 but i only uploaded the kernel, so redboot is still intact Jan 03 18:29:24 you're gonna have some fun then :-) Jan 03 18:29:38 did you upload a new rootfs with matching ixp modules? Jan 03 18:29:52 no.... Jan 03 18:30:12 define "didn't work" .. Jan 03 18:30:16 but i installed all modules on the harddrive.. Jan 03 18:30:35 after reboot/reset only red led flashing.... Jan 03 18:30:56 oh, that means the kernel didn't even boot Jan 03 18:31:23 is there a log file accessible by redboot? Jan 03 18:31:30 is this a custom kernel? Jan 03 18:31:33 no Jan 03 18:32:04 or a stock openslug build from monotone head ? Jan 03 18:32:24 its a 2.6.15 and i used to have 2.6.12.2 on it before(came with openslug 2.7 beta image) Jan 03 18:33:11 its the one one gets when doing make openslug-kernel, didn't use any other sources Jan 03 18:33:23 yes, but is it built from monotone head, or have you modified the defconfig or something? Jan 03 18:33:37 did you rebuild the ixp modules to match the new kernel? Jan 03 18:34:25 i modified defconfig by toggling one unset option to module, which was built successfully Jan 03 18:34:41 (they don't rebuild automatically - that should be noted on the wiki too) Jan 03 18:34:43 i took the modules in tmp/deploy/ipkg and installed them Jan 03 18:35:04 if they didn't rebuild, then they are built for the old 2.6.12.2 kernel and will not load Jan 03 18:35:20 but that shouldn't stop the kernel at least changing the led to flashing amber Jan 03 18:35:35 packages all had the 2.6.15 in their name, so i guess it worked Jan 03 18:36:02 ok, so maybe it's just a bad flash or something? Jan 03 18:36:10 might be flashing amber too, red and amber look quite similar from my point of view... Jan 03 18:38:28 what would flashing amber mean? Jan 03 18:38:34 missing modules? Jan 03 18:42:35 ok, i'm trying to go back to the old kernel now Jan 03 18:46:26 well, i guess constant amber is not a good sign either... Jan 03 21:02:21 hi... i've just set up my nslu2 for opendebianslug... according to http://www.nslu2-linux.org/wiki/DebianSlug/OpenDebianSlug Jan 03 21:02:40 i'm now stuck between step 17 and 18 Jan 03 21:04:11 it's booting for about 5 minutes now... accessing the harddrive all the time and the ready led blinking amber Jan 03 21:04:32 it's not reacting on ping's Jan 03 21:05:21 hmm.. it's over... ping is working.. ssh too Jan 03 21:05:34 but it doesn't boot from harddrive :-( Jan 03 21:06:15 disk1 led isn't active Jan 03 21:06:31 but i can mount it Jan 03 21:06:50 *strange* Jan 03 21:27:16 EvilDevil: check if there is a hidden .recover file on your hard disk, if it exists delete it and manually do a fsck, then reboot and everything should be back to normal **** ENDING LOGGING AT Wed Jan 04 02:59:57 2006