**** BEGIN LOGGING AT Sun Jan 22 02:59:57 2006 Jan 22 08:32:53 NAiL: You updated samba again? saw version 3.0.20 r4... Jan 22 08:36:38 hmm Jan 22 08:36:45 I probably did, can't remember why right now Jan 22 08:36:55 =) Jan 22 08:37:05 ah, yes Jan 22 08:37:06 +# Include interface for using external supplicant (Xsupplicant) for EAP Jan 22 08:37:06 +# authentication Jan 22 08:37:06 +#CONFIG_XSUPPLICANT_IFACE=y Jan 22 08:37:09 urgh Jan 22 08:37:16 it was just fixing a timestamp bug Jan 22 08:37:22 ok Jan 22 08:37:52 this version also support files <4G i suppose? Jan 22 08:38:09 I've had reports of that, yes ;) Jan 22 08:38:39 ok, safe to update then! =) Jan 22 08:39:52 I'm running -r4 Jan 22 08:40:37 hehe, I suppose time will tell... Upgrading now. Jan 22 09:23:30 worked. Thanx man! Jan 22 09:27:33 np Jan 22 09:27:49 Good to get some feedback ;) Jan 22 12:18:32 0 Jan 22 12:28:26 I have messed up the partion table on my external disk :-| I can mount the disk, but it will not boot. e2fsck output: "e2fsck: Bad magic number in super-block while trying to open" Any thoughts? Jan 22 12:33:33 <[g2]> stein do you have a backup of or know the exact sizes of the previous partitions ? Jan 22 12:34:06 <[g2]> If you haven't borked the data in the partition, you can just rewrite the partition table Jan 22 12:34:46 [g2]: I don't have any spare room to make a backup... (150gb disk, full of data). It was formated by the original linksys firmware. Jan 22 12:35:19 mke2fs -S /dev/sda??? Jan 22 12:36:10 <[g2]> stein I'm not sure what the -S option does Jan 22 12:36:15 * [g2] checks man Jan 22 12:36:53 I saw it while googling for a solution... Jan 22 12:37:22 <[g2]> stein Your partition table for the disk is messed up right ? Jan 22 12:37:45 <[g2]> I don't think you want the -S option Jan 22 12:39:28 <[g2]> stein you say you can mount the disk right ? Jan 22 12:39:37 [g2]: Well, I'm not a viz on partition table... I can still mount the different partions :-) Jan 22 12:40:01 <[g2]> iirc the Linksys formats 3 partitions Jan 22 12:40:17 <[g2]> There's a swap, a small rootfs and data Jan 22 12:40:24 Yes! Jan 22 12:40:30 <[g2]> small as in small like 300 MB Jan 22 12:41:29 <[g2]> if your data partition is fine then your data is "safe" on the disk Jan 22 12:41:50 <[g2]> you can backup that data on another computer Jan 22 12:42:11 anyone here that can give me some pointers on the makefile / cross compiler chain? Jan 22 12:42:20 I got two partions with ext3. the small with 177mb. and a swap Jan 22 12:42:37 <[g2]> the Linksys partition should only have your unslung/openslug/linksys stuff which you can rebuild Jan 22 12:42:59 My desktop only has 40 gb... Jan 22 12:43:08 <[g2]> ds316 you've seen the instructions on http://www.nslu2-linux.org right ? Jan 22 12:43:56 I guess there must be some easy way of rewriting the superblock... Jan 22 12:44:22 yes g2 I've been through them, spent the last week messing about with it, v. little hair left. Jan 22 12:46:55 <[g2]> ds316 what's the problem ? Jan 22 12:48:14 got as far as doing a "make optware-nslu2", falls over when trying to download / compile asterisk, as "ftp.digium.com/pub/asterisk/asterisk-1.2.1.tar.gz" doesnt exist. Basically trying to work out how to get around this, not that bothered about asterisk at this point in time anyway Jan 22 12:52:23 ds316, there is a workaround for that behaviour at the wiki Jan 22 12:54:02 <[g2]> ds316 I haven't built optware in awhile Jan 22 12:54:14 <[g2]> looks like 1.2.2 is at digium Jan 22 12:55:24 I've seen the "If a package can't be downloaded" bit at the bottom of the wiki page, but in this case digium has dropped the old version and added a new one. I assume this is noted in a conf file somewhere (????) but not sure which. I'm not a developer at such, but I would like to get my head around compiling my own Openslug packages, hence newbie question Jan 22 12:55:57 ah, ok, this is the hint, which i meant Jan 22 12:58:56 back in a mo Jan 22 13:32:28 ds316: If you want to compile your own OpenSlug packages, why are you building Optware ? Jan 22 13:36:55 Can anyone give me a good example for usage of a union fs? Jan 22 13:47:27 sorry still here, change of client Jan 22 13:56:09 rwhitby - my understanding was optware meant any ipk packages, but I assume from your comment I'm going full speed down the wrong track Jan 22 13:58:08 yes Jan 22 13:58:28 optware is for unslung Jan 22 13:59:09 if you do a "make openslug-packages", it'll build all the ipks that are in the openslug feed Jan 22 14:00:07 i'll get right on the case Jan 22 14:00:10 NAiL: cramfs rootfs, with a writeable jffs2 overlay Jan 22 14:00:21 rwhitby-away: good idea :) Jan 22 14:02:04 ~/SLUG> make openslug-packages Jan 22 14:02:04 make: *** No rule to make target `openslug-packages'. Stop. Jan 22 14:02:28 ??? Jan 22 14:02:30 hmm Jan 22 14:02:51 it shouldn't complain about that Jan 22 14:02:55 try make openslug Jan 22 14:03:51 we're rolling Jan 22 14:04:14 hmm Jan 22 14:04:32 that's strange... but that'll probably build the packages too ;) Jan 22 14:04:49 man... I was wondering why I was running out of space on my root partition Jan 22 14:05:02 I've got >1gb logs! Jan 22 14:06:00 In the meantime, could someone just give me a three liner on how the bitbake stuff ties in with everything else? Not quite getting the full picture from the wiki. More importantly, how do I use the compiler chain to cross compile normal packages after downloading the tarballs? Jan 22 14:07:13 I don't know how to use the cross chain to compile stuff manually, but the way I do it is add a .bb (bitbake file) to the tree, and compile the package. Jan 22 14:07:22 that compiles and packages it up nicely (most of the time) Jan 22 14:07:37 dang, tailing a 1gb logfile takes it sweet time Jan 22 14:24:11 Nial - couple of more newbie questions - where do you get the bb files from / how do you add them to the tree / how do you compile that package only? Jan 22 14:25:38 If there isn't a .bb file in the tree already, you'øll have to make one Jan 22 14:26:11 adding them to the tree can be done by sending them to the mailinglist. You don't have to do that do compile something, but it'll help others that want to compile stuff too Jan 22 14:26:40 compiling that package only is done by doing "bb -b path/to/file.bb" Jan 22 14:26:52 Ã(after sourcing openslug/setup-env) Jan 22 14:31:01 I assume since I've set up the native compile env on my openslug-slug I can just compile tarballs the usual way there though? Jan 22 14:34:05 ds316_: usually, yes. We prefer .bb files, so that the package can be added to the feed for others to use. Jan 22 14:34:42 NAiL: "make openslug" now only compiles the image. Jan 22 14:34:54 you have to ask for packages specifically now with "make openslug-packages" Jan 22 14:35:05 that's what I thought too, but if make openslug-packages failed? Jan 22 14:35:30 old(er) makefile? Jan 22 14:35:45 my environment is about a week old, could that have something to do with it? Jan 22 14:35:51 make update Jan 22 14:36:45 ok, giving that a go Jan 22 14:37:55 rwhitby - see where you're coming from when it comes to bb packages, but have to admit I know too little about this just yet to trust what I'm doing is fault free, hence I'm reluctant to add anything to feeds Jan 22 14:39:37 ds316_: it doesn't get added automatically Jan 22 14:40:02 but if you do it that way from the start, then it can be added as soon as you get it to work and someone checks it Jan 22 14:44:04 ok, assume the answer to this is probably rtfm, but how do I create bb packages Jan 22 14:44:31 not quite rtfm, as there isn't much of a "m" to "r" Jan 22 14:44:55 what in particular are you trying to compile? Jan 22 14:45:20 thought that, was wondering if I was missing something Jan 22 14:45:56 ds316_: there are over a thousand examples of .bb files in OE :-) Jan 22 14:46:13 trying to complie php-apache, i.e. the apache php module. As a result I would probably have to recompile apache as well to get module support Jan 22 14:47:42 OE = http://oe.handhelds.org/ ???? Jan 22 15:01:05 ? Jan 22 15:01:39 openembedded is the source tree you have Jan 22 15:01:42 with all the .bb files Jan 22 15:02:44 hi, after upgrading my slug-ram to 128MB my slug seems to by death. i can switch in on, but only the power led is on. nothing on the serial port. any idea before resolder the original rams? a jtag adapter is available. Jan 22 15:06:15 I'd check with #openjtag, and see if they have any good suggestions :) Jan 22 15:19:53 thanks NAil! Jan 22 15:21:10 np Jan 22 15:31:45 NAiL does that mean I already have all sources after doing a "make update" or do I need to specifically request the sources before doing the bb compile? Jan 22 15:37:39 you have metadata. each .bb tells bitbake what sources are required, and where to download them, and how to build them. Jan 22 15:38:35 so if I want to compile e.g. apache, what steps do I specifically follow? Jan 22 15:38:49 bb apache Jan 22 15:39:26 and how would I find out it's called apache, and not eg. apache2054 etc? Jan 22 16:01:08 ds316: by the name of the .bb file Jan 22 16:10:46 thanks, will revisit after some sleep Jan 22 18:58:47 anyone home ? Jan 22 19:11:31 <[g2]> tom___ can you hear me ? **** ENDING LOGGING AT Mon Jan 23 02:59:57 2006