**** BEGIN LOGGING AT Fri Mar 09 02:59:57 2007 Mar 09 03:13:36 Does anyone here know the difference on the nslu2 between gcc -O1 and gcc -O2 (native on the slug) Mar 09 03:13:38 ? Mar 09 03:16:48 it's a generic GCC optimization flag, you can look it up Mar 09 03:17:43 AFAIK, -O1 are speed optimizations (without making the executable larger), -O2 is more aggresive optimization (allowing to enlargen the exe), but I might be totally wrong here. RTM. Mar 09 03:18:31 ptan: I like using -Os on the slug and other small systems. Mar 09 03:18:59 Uses all the optimizations as -O3 except for the ones that take up more space Mar 09 03:40:14 I found the problem that caused the gcc bug I reported on the nslu2 mailing list Mar 09 03:40:46 It seems that it works on -O2 and -O3, but fails on -O1 and -O0 Mar 09 03:44:05 Same code, but one works and one fails just by changing the optimization levels.... Mar 09 03:44:27 (this is now bordering on bizarre... considering that gcc has been around for a while...) Mar 09 03:44:35 Sounds like a gcc bug. Mar 09 03:44:44 (I know, 'duh!') Mar 09 03:45:11 You could try in #gcc though the channel seems more dead than here. Mar 09 04:54:37 joshin, ru there? I have been away... Mar 09 07:53:02 03oleo * r5757 10optware/trunk/make/transmission.mk: transmission: 1517->1555 - bitfield fixes Mar 09 15:39:14 03bzhou * r5758 10optware/trunk/make/py-flup.mk: py-flup: 0.5+r2307 -> 0.5+r2311 **** BEGIN LOGGING AT Fri Mar 09 17:26:12 2007 Mar 09 17:37:33 joshin, r u there? Mar 09 17:37:49 * joshin looks around Mar 09 17:38:43 joshin, yesterday u mentioned about 250M for the c compiler setup... Mar 09 17:38:59 I assume that was for making a full slug image? Mar 09 17:39:20 Yup Mar 09 17:40:00 Ah!! Suppose I want to try to compile helloWorld.c, what is the starting point on slugosbe? Mar 09 17:40:44 install gcc* and binutils* Mar 09 17:40:56 my need for the compiler is for compiling tiny low level utis which I cannot do in a php script Mar 09 17:41:42 joshin, any guess what the totoal size of those two sets will be? Mar 09 17:42:25 Um, <270M... :) Mar 09 17:42:36 :) Mar 09 17:43:08 Have you built a cross-compiler? Mar 09 17:43:14 You may be able to use it instead. Mar 09 17:43:45 joshin, well, that was my second thought... I do not have any cross yet. Mar 09 17:44:27 I use winxp, I have vmware workstation (not used yet), and ubuntu 6.0 LTS CD here Mar 09 17:44:53 Sounds like my main desktop... But Gentoo instead of ubuntu Mar 09 17:45:05 both picked up at some conferene ;) Mar 09 17:45:42 * mwester loves vmware workstation Mar 09 17:45:59 And a quick du of the relevant directories came up with around 60MB. I probably missed stuff so figure 72MB for a build environment. Mar 09 17:46:45 vmware rocks. Though it is slow compared to kvm. Of course since gaming does not do well under virtualization my gaming machines are XP with emulated linux. Mar 09 17:47:05 Maybe 6.0 will be faster. I need to give it a whirl. Mar 09 17:47:59 I am not concerned about space on my winxp, it is a reasonably fast 1.6G pc with 10G disk spare... Mar 09 17:48:26 But I am not *nix savvy, so even the learning curve looks steep :( Mar 09 17:49:25 It is a touch steep. But if you do even the tiniest bit of trying to find the answers to your problems before asking for help, you should avoid flamage. Mar 09 17:50:00 The Gentoo forums and howto's are great places to find general linux info. Mar 09 17:50:25 Obviously it has a Gentoo bend to it but you can find nearly anything there. Mar 09 17:51:17 I have a feeling, it might be much simpler to install gcc* and binutilts* on my small slugosbe, for my limited purposes ?? Mar 09 17:52:17 chacko: if you really want to know the space requirement for gcc+binutils, you can also goto http://ipkg.nslu2-linux.org/feeds/openslug/cross/3.10-beta/ Mar 09 17:52:35 and manually download and extract gcc...ipk and binutils...ipk Mar 09 17:53:23 * eno uses vmware server with ubuntu on the winxp laptop Mar 09 17:55:34 eno, assuming I can spare 100M++, i can just do ipk install of gcc* and binutils* right?? Mar 09 17:56:19 chacko: You will probably need some *dev packages too for includes and the like Mar 09 17:56:27 i dunno whether there're other packages depended upon by gcc and binutils Mar 09 17:56:28 Just install things as you need them. Mar 09 17:57:17 BTW, that linux learning curve is far easier to scale if you don't mind risking blowing your system up a few times. Mar 09 17:57:32 i would just do an "ipkg list_installed" before and after, and give plenty of spaces Mar 09 17:57:41 Though a virtual machine is easier to deal with than an embedded device Mar 09 17:57:48 gentlemen Mar 09 17:58:00 * joshin looks around Mar 09 17:58:07 I have OpemPBX sucessfully running on the slug Mar 09 17:58:31 it doesn't do much yet, but if you'd like to test it, please call 919-323-3690 Mar 09 17:58:51 Hey, that's my girlfriend's number! :) Mar 09 17:59:13 hillct: what hardware are you using to interface with the telco? Mar 09 17:59:15 does she sound like your girlfriend? Mar 09 17:59:46 Call origination and termination is provided by www.voipyourlife.com Mar 09 18:00:06 you don't need any specific telecom hardware to receive calls Mar 09 18:00:10 joshin, why 'risking blowing your system' ? I thought vmware will comparmentalize linux totally? I cannot afford any risk with my winxp Mar 09 18:00:18 I have a Supura 2100 ATA for my local extension Mar 09 18:00:49 chacko: I was referring to experimenting too much on your slug. Mar 09 18:00:51 chacko: vmware will completely isolate anything you're running as a guest Mar 09 18:01:20 And your winxp is safe but I was thinking of blowing up your linux system (aka the virtual machine) Mar 09 18:01:25 Vmware is wonderful for that; it also allows one to take a "snapshot" at a point in time,and then revert to that snapshot should everything go completely wrong. Mar 09 18:01:40 good point... Mar 09 18:01:52 it used to allow you to take multiple snapshots, but they removed that functionality Mar 09 18:01:56 oh well Mar 09 18:02:08 Depends on the version. Workstation has no limitations Mar 09 18:02:11 That's in the "you gotta pay for it" workstation version, hillct. Mar 09 18:02:12 mwester, that is nice! Mar 09 18:02:21 now you can only have one snapshot per guest at a time Mar 09 18:02:24 server used to not exist Mar 09 18:02:43 of course you can copy the files off and make your own snapshots Mar 09 18:03:05 multiple snapshots per guest at a time was only available in VMware WS 3.0 Mar 09 18:03:12 In any case, yes, you can probably get by with just gcc and some misc support utilities on the slug with minimal risk, chacko. Mar 09 18:03:23 in 3.2 they set it up so you could only store one snapshot at a time Mar 09 18:03:38 yeah Mar 09 18:03:40 sounds like a cool project: http://www.hermann-uwe.de/blog/linuxbios-with-x11-server-completely-in-flash-rom Mar 09 18:03:47 But if you wish to set up a vmware environment on your XP system at some point, there are a number of folks who have done it and can offer some help. Mar 09 18:03:47 what mwester said Mar 09 18:04:03 ditto Mar 09 18:04:43 * mwester needs to write up a VMware installation "cheat-sheet" for work anyway... Mar 09 18:05:49 ? Mar 09 18:05:58 really? it's pretty damn trivial Mar 09 18:06:05 is it possible to have a virtual slug (under qemu or ...)? Mar 09 18:06:14 mwester, that is very comforting :) I just looked, I had 'installed' the vmware about 6 months ago, but never used it :( Mar 09 18:06:35 eno: it should be. I thought about persuing it but got bored and found a second slug for $50. Mar 09 18:06:57 chacko: if you mean the free vmware server, version 1.0.2 came out last week Mar 09 18:07:00 so upgrade Mar 09 18:07:20 my vmware is 5.5.2 and Lincence says No expiration... Mar 09 18:07:27 nice Mar 09 18:07:34 * hillct wants one Mar 09 18:07:59 the advantge of a virtual slug is speed and RAM Mar 09 18:08:11 has that been done? Mar 09 18:08:16 does it work? Mar 09 18:08:44 I can't imagine it would work under vmware since that's i386-only Mar 09 18:09:15 what virtualization tool offers ARM hardware emulation? Mar 09 18:09:16 I'll see if I can get a virtual slug working with qemu this afternoon. Mar 09 18:09:20 qemu Mar 09 18:09:24 cool Mar 09 18:09:40 that's be awsome for native builds Mar 09 18:09:44 We'll see if the kids let me get any 'work' done today. Mar 09 18:11:02 I'm puttin the spandsp library recipe into OE bug tracker momenterily if someone could check it in Mar 09 18:11:09 http://tech.groups.yahoo.com/group/nslu2-linux/message/15669 Mar 09 18:11:19 although the vmware player part is not necessary Mar 09 18:14:11 hillct, in some email from vmware recently, I thought they were making many pkgs free ... they are about to go public Mar 09 18:14:48 mine was a full developer's pkg, I think, free from a show Mar 09 18:14:50 dino Mar 09 18:15:14 eno: why is SlugOS not listed as a distribution in the OE bugtracker? Mar 09 18:16:04 i have no idea, i don't use OE much Mar 09 18:16:36 s/use OE/develop OE/ Mar 09 18:16:36 eno meant: i have no idea, i don't develop OE much Mar 09 18:18:09 rwhitby: ping Mar 09 18:20:43 joshin: would be nice if it works using qemu Mar 09 18:25:23 rwhitby: when you get a chance, please check this recipe in http://bugs.openembedded.org/show_bug.cgi?id=1958 Mar 09 18:35:29 hillct, The vmw subscription change announcement at http://rafb.net/p/zZfive83.html Mar 09 18:37:46 ah Mar 09 18:39:06 hillct, I dont even know if I should upgrade my sw before my subscription ends in a few months -- I dont know enaough about the products Mar 09 18:40:29 stick with what you've got but check the rules for your subscription to see if it includes new versions of the workstation product Mar 09 18:50:49 chacko: vmware server is free Mar 09 18:54:35 eno, I have a fully licensed workstation Mar 09 18:57:37 workstation offers a number of very nice features not present in the free server product; I too have 5.5.2 and need to decide if the 6.0 features are worth paying for. Don't know yet... Mar 09 18:59:36 my free license might allow me to upgrade free to 6.0 Mar 09 19:00:19 is gentoo vs ubunto just one of preference? Never used either, had used redhat for a while a few years ago Mar 09 19:00:49 * mwester doesn't know, started as a Redhat user and now uses Fedora Core Mar 09 19:01:41 same Mar 09 19:01:47 used Gentoo for a while Mar 09 19:01:56 never used Ubantu Mar 09 19:02:06 er ubunto Mar 09 19:02:12 is fedora core a 3rd flavour? Mar 09 19:02:36 Fedora is an offshoot of redhat Mar 09 19:22:58 when running from /dev/sda1 slugosbe , can I use turnup disk /dev/sdb3 and then reboot with the second disk also plugged in to boot from the second disk partion 3? Mar 09 19:53:56 marceln, when running from /dev/sda1 slugosbe , can I use turnup disk /dev/sdb3 and then reboot with the second disk also plugged in to boot from the second disk partion 3 Mar 09 19:54:31 I have done this ok to start from /dev/sda3, for example Mar 09 19:56:48 Chacko: I don't know. Mar 09 19:57:11 Most of the things i have done are with unslung. Mar 09 19:57:34 marceln, thanks Mar 09 21:06:42 eno, is it possible I would not get everything for gcc from ipkg, but your optware feed will be needed? Mar 09 21:31:48 chacko: no, slugosbe does not need anything from optware to work (including compilation) Mar 09 21:33:34 eno, I cannot locate a pkg to provide the string.h -- from the ipkgfind site Mar 09 21:55:44 The feeds have been, um, "troubled" of late. Perhaps the package you desire is not indexed at the moment. :( Mar 09 22:03:39 mwester, ok I shall wait ... Mar 09 22:54:03 hi Mar 09 22:54:32 morning Mar 10 00:53:44 mwester, I installed, I think, ubuntu in vm. Now how do I do an 'ls' in that machine? Mar 10 01:00:54 chacko: er, click in the window, login, and type "ls" -- but I'm assuming it's not so obvious; is ubuntu not starting in the vm then? Mar 10 01:01:27 I don't know if Ubuntu will give you a gui to log into, or a command line :( Mar 10 01:08:54 mwester, perhaps I have to wait much longer for the ubuntu install to finish... I am trying the install again. Mar 10 01:09:28 But vmware is booting the ubuntu installer up correctly, right? Mar 10 01:09:30 The instruction sez at the end it will eject the ubuntu cd, which did not happen the last time. Mar 10 01:09:36 Ah, ok. Mar 10 01:10:33 everything was quite so i thought it was done, now my task manager shows the cpu is quite loaded, so install is going on... Mar 10 01:10:34 Did you google to see if there are known issues with VMware (vmware presents specific virtual hardware to the virtual machine, and it has been known to cause problems with some installations)? Mar 10 01:11:07 their instruction showed my ubuntu version will run in the 5.5.2 Mar 10 01:11:55 Ok, then it should be ok. Perhaps just slow. Do you have a read CD, or are you connecting an ISO file image to the virtual CD drive? Mar 10 01:12:02 s/read/real/ Mar 10 01:12:03 I think the install is going on, because the cpu load changes, the cd is running but no cd reading Mar 10 01:12:04 mwester meant: Ok, then it should be ok. Perhaps just slow. Do you have a real CD, or are you connecting an ISO file image to the virtual CD drive? Mar 10 01:12:44 I am installing from an original ubuntu cd, from a rather fast cd drive Mar 10 01:13:15 For my install, I just connect the virtual machine to an on-disk image of the install CD - installs as fast as the host CPU can run. The translation from physical CD to virtual CD can be a bit of a slowdown. Mar 10 01:14:11 well, it is time for me to go for a short walk around the block... :) Mar 10 01:14:29 Ok, later Mar 10 01:33:25 mwester, I am able to start a terminal window :) Mar 10 01:33:52 chacko: # ipkg search /usr/include/string.h Mar 10 01:33:52 libc6-dev - 2.3.5+cvs20050627-r13 - /usr/include/string.h Mar 10 01:34:20 may not be the exact version, but string.h should be from libc6-dev Mar 10 01:37:16 eno, does this search on the local machine or from the feed? I see no hits... Mar 10 01:40:24 mwester, it looks like ubuntu is running from the cd, because any command will do cd access! I need to get this installed onto the hardisk, how? Mar 10 01:40:54 is the ubuntu CD perhaps a "Live" cd? Mar 10 01:42:48 possible, yes... By itself it is a live cd... there is some instruction here on doubling clicking on instal ... let me study this, thank you! Mar 10 01:45:34 mwester, it sez install default will erase all existing sw and data from the pc; but vmware will isolate that right? Mar 10 01:46:56 Yes it will; the virtual machine cannot see anything outside of the resources that you gave it when you created the vm. The worst that could happen is if you over-allocated the disk space, the virtual disk might consume more disk space than expected. Mar 10 01:47:39 thanks, i shall proceed now :) Mar 10 01:49:33 something very strange! I have my xp clock running in the taskbar, and the clock running in the ub. install is good 7 min behind it ticking seconds!!! Mar 10 01:49:46 amd64? Mar 10 01:51:21 it is an amd, for socket462, cant remember the chip number Mar 10 01:53:10 it has to be a 32bit one, was a very cheap board/chipset when I put this together 2 yrs ago... 1.6mhz on an M811 board Mar 10 02:03:09 if you search the vmware site, they should have some knowlegebase articles that can help out on the clock skew. Basically, VMware must emulate a real PC, but because it itself is running on an operating system, it often cannot deliver periodic timer interrupts at thousand of ticks per second reliably. Mar 10 02:04:13 There are different solutions depending on situation and the tools available. Mar 10 02:04:46 does not matter for me for the time being, but was startled to see that :) Mar 10 02:05:57 I am trying to figure out where it is going install this... I had the virtual machine at a partition M:\.... But I think it is trying to install this at Mar 10 02:06:47 the same volume as my xp is... Guessing based on the size of the disk it sez it will erase ... I do not want it on my xp partion Mar 10 02:09:05 What's M:\ Mar 10 02:11:30 That is a real volume on an extended partition on my large 250G disk, I have many volumes (for historical reasons..) have c,d,e,f,h,m,n,o :) Mar 10 02:11:56 When you defined the virtual machine, it prompted you for a virtual disk, of a certain capacity. It should also have prompted you for a filename that it could use as the raw storage for the disk data. That filename should be on the local PC's hard drive, but it doesn't matter what partition. Mar 10 02:12:28 The file will not grow larger than the size of the virtual disk you specified when you created the machine. So it shouldn't be a problem. Mar 10 02:13:06 Basically, any references *ubuntu* is making to disk is to the virtual disk in VMware -- it translates that to the file you created, so all should be well. Mar 10 02:14:40 today I cloned and move that to M:\. My confusion is it the place where vmware was installed or the place I gave for this obuntu vm... Mar 10 02:15:22 vm->settings->options show the working directory as M:\MyVmWMachines\Ubuntu_cloned\ Mar 10 02:15:37 So that is where it will go right?? Mar 10 02:16:06 Click on the hard drive in vm->settings, on the hardware tab. Mar 10 02:16:35 on the uypper right, it should say "Disk file" -- that's the path to the file containing the virtual disk. Mar 10 02:18:00 If it only lists the filename, then it's under the working directory. Otherwise it will be the full path to the virtual disk file Mar 10 02:18:15 Ah!! Thanks, that is what I was searching for :) Yes that is a 4GB one, I must have defined that 6 months ago... I need to locate it Mar 10 02:20:10 If necessary, you can move the virtual disk file elsewhere and update the vm settings to tell it where it moved. I find it best to move the entire working directory, not just the disk file. Mar 10 02:21:16 Oh - one tip, since we mentioned it earlier -- if you use the snapshot feature, the snapshots will appear in the working directory as well. Mar 10 02:21:27 The file name - w/o path -- is Ubuntu-cl1.vmdk Is that a physical file I can search for? Mar 10 02:21:38 Yes. Mar 10 02:22:09 It should be in the M:\MyVMWMachines\Ubuntu_cloned\ folder Mar 10 02:23:53 let me check Mar 10 02:24:46 yes, happy camper Mar 10 02:25:23 :) Mar 10 02:25:56 chacko: http://ipkg.nslu2-linux.org/feeds/openslug/cross/3.10-beta/libc6-dev_2.3.5+cvs20050627-r6_armeb.ipk ? Mar 10 02:26:38 where does your feed point to? Mar 10 02:31:42 eno, http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/Packages.gz That is what I see when I do ipkg update Mar 10 02:35:00 $ wget -q -O - http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta/Packages | grep '^Package: libc6-dev' Mar 10 02:35:03 Package: libc6-dev Mar 10 02:35:54 * mwester wonders if the ipkg search tool is not examining all the feeds; he's had trouble finding things too. Mar 10 02:43:42 same Mar 10 02:44:20 I believe the feeds themselves are messed up though, as I've had trouble installing things I know are there... Mar 10 02:58:25 they are **** ENDING LOGGING AT Sat Mar 10 02:59:56 2007