**** BEGIN LOGGING AT Thu Mar 08 02:59:57 2007 Mar 08 04:08:28 If someone would help me out I would greatly appreciate it. Mar 08 04:08:30 I have an NSLU2 unslung (6.8) to a 512mb flash drive on port 2. Port 1 has a Linksys USB 2.0 hub with a single partition 250gb WD My Book attached to Hub port 1 (formatted ext3 and partitioned by a separate Linux machine). There were no errors when I created the partition and formatted the partition. Mar 08 04:08:36 I used /unslung/rc.local to mount the drive and append to smb.conf and share.info to create a share as follows: Mar 08 04:08:47 #!/bin/sh Mar 08 04:08:48 cat<>/etc/samba/smb.conf Mar 08 04:08:48 [video] Mar 08 04:08:48 valid users=@"administrators",@"everyone" Mar 08 04:08:48 comment=For everyone Mar 08 04:08:48 path=/share/hdd/data/drive1/ Mar 08 04:08:50 read only=yes Mar 08 04:08:52 write list=@"administrators" Mar 08 04:08:54 EOF Mar 08 04:08:56 cat<>/etc/share.info Mar 08 04:08:58 video=0:2:For everyone:/drive1/:administrators:7,everyone:7 Mar 08 04:09:00 EOF Mar 08 04:09:02 return 1 Mar 08 04:09:04 It appends to the files correctly, mounts the drive, and creates the share. Mar 08 04:09:06 The ownership of /share/hdd/data/drive1/ is admin.everyone. Mar 08 04:09:08 The permissions of /share/hdd/data/drive1/ is 775 (drwxrwxr-x) Mar 08 04:09:10 When I UNC (from my XP machine) to //slug the ADMIN 2 / DISK 2 / video – the shares exist but I can not access the video share. When I click on video it gives a windows error \\slug\video is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network name cannot be found. Mar 08 04:09:15 I can write to the /share/hdd/data/drive1 directory and create files in it from the console (as root) Mar 08 04:09:17 Can anyone tell me what I’m doing wrong? Mar 08 04:11:36 the mount command from the rc.local script didn't show up it's the first line and is --> /bin/mount -t ext3 /dev/sdb1 /share/hdd/data/drive1 -o rw,noatime Mar 08 04:12:26 "This channel is for development related questions. See #nslu2-general" Mar 08 04:12:50 :) OK, I'll try there Mar 08 04:12:58 TY Mar 08 06:25:39 I figured I'd start from scratch building up my cross-compile toolchain and in doing so, I've encountered a new and interesting error: http://www.pastebin.ca/385968 Mar 08 06:36:42 What make target will generate the content of the directory 'common' in the build root? Mar 08 06:43:46 hillct: mv Makefile Makefile.old Mar 08 06:43:52 mtn -d monotone/nslu2-linux.mtn co -b org.nslu2-linux.dev . Mar 08 06:44:06 then run the make command again Mar 08 06:44:11 worked. thanks Mar 08 06:44:14 hillct: is that monotone 0.33? Mar 08 06:44:17 * hillct makes notes Mar 08 06:44:30 0.32 I think Mar 08 06:44:34 checking Mar 08 06:45:17 0.33 Mar 08 06:48:16 looks like it's a new 0.33 feature. Mar 08 06:48:48 rwhitby: could be. thanks. Going to get some sleep while make setup-slugos-3.10-beta runs Mar 08 06:50:30 LOL. I thought I had this procedure well documented and ready to go. If I had known rebuilding the toolchain a second time wouls take up another 48 hours of my life, I would have stuck with what I had... Mar 08 06:52:05 hillct: pushing fix to Makefile now Mar 08 06:52:58 aparently make setup-slugos-3.10-beta doesn't create topdir.conf or auto.conf either Mar 08 06:54:11 I wonder why this ever worked the first time I did it (a week or so ago) Mar 08 06:54:26 "( cd releases/slugos-$*-beta ; ${MAKE} setup-env )" Mar 08 06:54:33 that line is supposed to do that. is it not? Mar 08 06:57:55 setup-env exists, but the only files in conf are local.conf.sample and site.conf Mar 08 06:59:20 rwhitby: NAiL mentioned this earlier but I don't see it in the scrollback. What are the vars that should be defined in conf/auto.conf ? Mar 08 07:00:03 DISTRO and MACHINE Mar 08 07:00:42 and the values? (in the case of slugos-3.10-beta release build? Mar 08 07:01:36 it should be set in that Makefile Mar 08 07:02:02 http://svn.nslu2-linux.org/svnroot/slugos/releases/slugos-3.10-beta/Makefile Mar 08 07:03:00 that Makefile will create auto.conf and topdir.conf the first time a target is called in that directory. Mar 08 07:04:33 hillct: I bet you're cd'ing into the directory and trying to type bitbake commands straight away, instead of using the Makefile that is there, right? Mar 08 07:05:34 I'm sourcing setup-env Mar 08 07:05:39 then using bb commands Mar 08 07:05:49 which worked fine last week Mar 08 07:06:10 of course sourcing seyup-env is key Mar 08 07:06:23 or was the key to making it work properly Mar 08 07:07:58 looks to me like there's one more config file or something that needs to get written and might have been written when I was testing various make targets the first time around, upon which the builds depend Mar 08 07:08:33 at that time, we'd figured it was just topdir.conf, but now aparently it's topdir.conf and auto.conf Mar 08 07:08:45 and possibly one more file Mar 08 07:10:16 after make setup-slugosbe, the various links found inside the directory 'slugosbe' link back to files in the directory 'common' which doesn't seem to exist. What make terget is responsible for creation of 'common' ? Mar 08 07:15:34 and now I run up against this: http://www.pastebin.ca/385984 Mar 08 07:16:24 it was my understanding that OE was supposed to have a mapping where distro and machine map to target_arch Mar 08 07:17:26 when I ws doing this , yestarday, before starting from scratch, I encountered this same error, with reference to TARGET_OS not being defined. Mar 08 07:17:35 I have no idea whether that's relevent Mar 08 07:17:42 hillct: your problem is that you are not hitting a Makefile target first in the subdir Mar 08 07:17:59 you *must* hit a Makefile target in the subdir before you do anything else. Mar 08 07:18:06 so sometihng isn't being set up Mar 08 07:18:09 (that creates the topdir.conf and auto.conf files) Mar 08 07:18:20 right - you're not hitting the target which sets everything up Mar 08 07:20:34 ok, let's start from the top. Mar 08 07:20:45 with an empty directory, you download the master makefile. Mar 08 07:20:48 then you run "make setup" Mar 08 07:21:10 then you run "make setup-slugos-3.10-beta" Mar 08 07:21:20 ah Mar 08 07:21:28 then you run "make slugos-3.10-beta" Mar 08 07:21:32 which bit didn't you do? Mar 08 07:21:35 I ran make setup-slugosbe first Mar 08 07:23:27 ok, there is a missing dependency if you do that first. It's now fixed and pushed. "make update-master" to get it. Mar 08 07:28:28 wen running make update-master I'm getting a variety of consistency errors but each provides instructions for how to correct Mar 08 07:28:33 this will take a while Mar 08 07:31:22 ok. deleting diretories releases, slugosbe and unclung. starting again from setup-slugosbe with new Makefile Mar 08 07:32:22 ok, it's 2:30am here. I'm going to try this one last time then I MUST call it a night Mar 08 07:38:06 aparently there's no target that specifically populates 'common' so you still have to make setup Mar 08 07:40:15 ok. g'night. back in a few hours Mar 08 15:29:01 how come does monotone fail with master Makefile doing make setup ? mtn: doing anonymous pull; use -kKEYNAME if you need authentication Mar 08 15:31:24 it's probably failing for some other reason. Authentication is not required for READ access Mar 08 15:31:52 the mtn message is just informational Mar 08 15:32:06 as far as I know Mar 08 15:32:32 pierrelux: rwhitby is the guy to ask though Mar 08 15:33:58 hillct: it's maybe not just informational since I get "make: *** [setup-master] Error 1" Mar 08 15:35:58 informational in that the error you're seeing occurs imediately after but not related to the message Mar 08 15:36:17 just a guess though. rwhitby would know Mar 08 15:38:09 well, it doesn't work after for make openslug-image. this problem has to be solved then... Mar 08 16:06:30 what sequewence did you follow when you attempted this? Mar 08 16:06:39 er sequence Mar 08 16:10:23 I got monotone 0.28, and followed the instructions at http://www.nslu2-linux.org/wiki/Development/MasterMakefile Mar 08 16:13:00 I'm compiling monotone 0.28 right now instead of using the deb package for Dapper (I use edgy though) to see if it makes a difference Mar 08 16:19:12 well, it does the same with a fresh version from source Mar 08 16:20:35 I use monotone 0.33 Mar 08 16:20:43 works like a camp Mar 08 16:20:46 champ Mar 08 16:21:11 make sure you've updated the monotone database swchema for your version Mar 08 16:23:21 hillct: I think I've found the problem: http://www.handhelds.org/hypermail/oe/43/4368.html Mar 08 16:24:24 that'd definately do it... Mar 08 16:24:36 although I'm suprised the error message is so generic Mar 08 16:25:03 can't login vs can't get a response of any kind on that port Mar 08 16:46:12 NAiL: it just occurred to me, it would vastly increase the speed ob cross compile enviroment builds if it were possible to skip the do_package step (stop at staging) when building the cross-compile enviroment. Is there a bitbake option to indicate which steps to skip ar runtime? Mar 08 18:33:38 the libcap package seems to be broken in slugos-3.10-beta http://www.pastebin.ca/386535 Mar 08 18:33:57 line 10 pretty much says it all Mar 08 18:54:49 eno: ping Mar 08 18:55:20 I would like to enable proper staging for perl build Mar 08 18:56:00 I need to build an openser module based on perl and I can't with the current setup Mar 08 18:59:18 osas: go ahead and check-in your change as long as it does not break the existing build Mar 08 18:59:33 ok Mar 08 19:39:57 03osas * r5756 10optware/trunk/make/perl.mk: perl: enable proper staging Mar 08 20:08:14 NAiL: it seems that the version of libcap_1.10.bb included in slugos-3.10-beta is broken with regard to staging. It improperly handles capability.h so I tested the version in HEAD, under the 3.10-beta toolchain. It appears to work properly. Would you like a diff of the recipe or can you just copy the version from HEAD ? Mar 08 20:11:05 the libcap version and associated patches are identical. The only difference is in the .bb recipe (which doesn't specify a relase but should since it's obviously been modified since the version included in 3.10-beta Mar 08 20:13:45 0.9.5 or 0.9.3? Mar 08 20:15:49 oh, libcap Mar 08 20:17:00 03nail 07slugos-3.10-beta * r391 10slugos/openembedded/packages/libcap/libcap_1.10.bb: libcap: Fix broken compile Mar 08 20:28:23 NAiL: thanks Mar 08 20:28:55 that's the last dependency for a successful build of OpenPBX Mar 08 20:30:00 once I work out the rather strange selection of file layout, I expect to have a nice little PBX going... Mar 08 20:31:45 I'm going to have a package of alternative (sample) config files that will overwrite the default set. Is there a standard mechanism for dealing with this, like copying any existing config files to filename.conf.ipkgold or some such thing? Mar 08 21:18:18 seems to me that 'unknown' is not a good distro name Mar 08 21:18:20 root@filegate2:/lib/modules# uname -a Mar 08 21:18:20 Linux filegate2 2.6.16 #1 PREEMPT Fri Jun 9 07:34:31 PDT 2006 armv5teb unknown Mar 08 21:18:20 root@filegate2:/lib/modules# Mar 08 21:19:25 I believe that's a kernel config parameter Mar 08 21:19:35 compile time Mar 08 21:19:48 not a big deal, but worthwhile for completeness Mar 08 22:56:11 hi Mar 08 23:03:22 hi CoreDump|home Mar 08 23:20:49 morning Mar 09 00:33:35 Does anybody know approx how much space will it take to install the native compiler on slugos/be to compile simple c progs? Mar 09 00:55:41 * CoreDump|home has no idea Mar 09 01:49:04 chacko: My very bare Gentoo slug installation (so think of Gentoo stuffed on top of slugos) fits in around 270MB. Mar 09 02:17:06 That has a full compiler, includes, and all the other needed tools. Mar 09 02:25:13 Hello people. **** ENDING LOGGING AT Fri Mar 09 02:59:57 2007