**** BEGIN LOGGING AT Fri Oct 21 03:00:00 2005 Oct 21 03:40:23 Jacmet, dwery: I'm giving up on the LE kernel build. It never works for me. Oct 21 03:40:45 If either of you can get a kernel built from the debian cvs repo to boot something, then I'll start again on the installer. Oct 21 03:40:47 rwhitby-away: still /dev/console ? Oct 21 03:41:04 dwery: yep. no change from yesterday, and I've tried lots of different things. Oct 21 03:42:42 I haven't a lot of time in these days. If jacmet can take care of it, it would be better. Otherwise I'll try to do something in the weekend. Oct 21 03:42:52 So I've lost patience with it, and will go back to BE stuff (cause I least I can boot an installer from that). Oct 21 03:43:14 If someone get's it to work sometime, I'll come back to it straight away. Oct 21 03:44:09 ok Oct 21 03:44:29 feel free to edit the stuff in cvs to make it work. Oct 21 03:44:41 I can't even get an LE build in OE to compile either. Oct 21 03:45:19 I'm going to lunch...can you please post directions to the cvs/kernel you want to use and, eventually, a .config? Oct 21 03:47:24 cvs -d :ext:@cvs.sf.net:/cvsroot/nslu co debian Oct 21 03:47:29 make kernel Oct 21 03:47:38 the defconfig is in the configs dir Oct 21 03:48:02 and the concatenation of the patches from the kernel repo is in the patches dir (linux-2.6.12-nslu2.patch) Oct 21 03:49:14 03rwhitby * 10debian/ (Makefile configs/nslu2_defconfig): Checked in current state, so others can look at it and tell me where I'm going wrong Oct 21 03:49:35 ok, the cvs repo (make sure you check it out with :ext:) is exactly what I was using. Oct 21 03:49:54 I built it all on a debian sarge ix86 box. Oct 21 03:50:23 you have to swap the kernel once it's built (I used the swap.py script), and the initrd-debian.gz-swap from Jacmet's site. Oct 21 03:50:33 http://peter.korsgaard.com/articles/initrd-debian.gz-swap Oct 21 03:50:53 that should be all the info you need. Oct 21 03:51:00 hope you get it to work ... Oct 21 04:11:55 Is there any possibility the oe buildt stock kernel could have more modules buildt in. Two more needed for usb cdrw to work "out of the box". Oct 21 04:13:29 eFfeM: Thank you for the wiki notes youhave btw, comfirmed for me why I could not get cdrecord to work properly in debonaras install I am running. Oct 21 04:18:43 Im not even sure if the 'oe buildt stock kernel' is understandable. I am refering to the kernel image that is loaded on openslug by default at least. Oct 21 04:26:07 widrone: we only compile in that whic his required to boot. everything else is modules. Oct 21 04:26:37 then you ipkg install any other modules Oct 21 04:26:45 we're happy to enable anything as a module Oct 21 04:28:25 widrone, I also discovered some of these things the hard way Oct 21 04:28:45 and indeed you need some additional modules Oct 21 04:30:44 I've made some by modifying defconfing and recompiling the kernel Oct 21 04:38:11 rwhitby-away, for openslug I would like to see four changes in defconfig Oct 21 04:38:20 three of them are additional modules: Oct 21 04:38:23 CONFIG_BLK_DEV_SR=m Oct 21 04:38:24 CONFIG_CHR_DEV_SG=m Oct 21 04:38:24 CONFIG_USB_PWC=m Oct 21 04:38:39 for audio extraction from cdrom and for a philips webcam Oct 21 04:38:56 eFfeM: now you have write access, you can do that at your leisure :-) Oct 21 04:39:29 I know but for some of the things I do not feel that confident Oct 21 04:39:32 (as soon as the repo is up again, of course, although you could sync to monotone.vanille.de instead while monotone.nslu2-linux.org is down) Oct 21 04:39:50 adding a new package has less impact than modifying defconfig Oct 21 04:40:05 also for now the head is not working for me, so I cannot really test my work Oct 21 04:40:25 eFfeM: if it's not working, then you can't break it :-) Oct 21 04:40:31 ROFL Oct 21 04:41:17 one q though, I also want to enable this: Oct 21 04:41:20 CONFIG_USB_EHCI_SPLIT_ISO=y Oct 21 04:41:25 installing debian with no serial and usb network is dreadful Oct 21 04:41:42 this will help 1.1 devices on a 2.0 hub (like audio and webcam) Oct 21 04:41:54 rwhitby-away: Im aware of the save space on flash, Im a happy camper with modules. Oct 21 04:41:59 but it adds a little bit to the footprint as EHCI is not a module Oct 21 04:41:59 I want that too Oct 21 04:42:01 eFfeM: that will be great if it fixes that problem. Oct 21 04:42:06 I feel it will make my imic work. Oct 21 04:42:12 ferrix: got a better alternative? Oct 21 04:42:22 rwhitby-away, I'll add it Oct 21 04:42:23 but I havnt had time to actually test it.... Oct 21 04:42:43 dyoung-away, can you keep me (or better the wiki) updated on your imic experiments. Oct 21 04:42:46 Now Im just throwing every usb thing I can get my hands on on the debian slug to see what works. Oct 21 04:43:16 I considered buying one but I understood from koen that although he could compile everything he could not get it working Oct 21 04:43:23 eFfeM: Of course! I just havnt had enough spare time to actually test it. I should just test it right now, I flashed a slug with a kernel that has it enabled. Oct 21 04:44:06 rwhitby-away: no Oct 21 04:44:20 also I have usb_snd_audio compiled, but still I cannot get audio from my webcam. made /dev/dsp (<14,3>) but could not open it Oct 21 04:44:37 also tried other devno's (14,19, 14,35) but to no avail Oct 21 04:44:46 ferrix: guess it's not so dreadful then ;-) Oct 21 04:45:08 widrone, I kinda did the same for openslug. See my profile on the wiki with a list of the devices that I have tested Oct 21 04:46:05 usb devices that I have and did not test yet are: mouse, kbd, adsl modem Oct 21 04:46:42 rwhitby-away, do you happen to know if someone has a working head (or is looking into the issue) Oct 21 04:47:02 building a set of kernels on a headless and networkless box sucks big time Oct 21 04:47:14 what I see is that it is probably network related as the power button stills works and the leds follow their pattern Oct 21 04:47:14 my head was working 2 weeks ago. Oct 21 04:47:42 2 weeks ago it worked for me as well, but yesterday I could not get it running. it just does not respond to its ip address Oct 21 04:48:08 dyoung-away, b.t.w. I've put the latest pvrusb2 driver in the archive Oct 21 04:48:14 eFfeM: I have a mouse, but I cant grok in my mind why to stick it in the slug yet (no vga adapter) and I have a isdn adapter here too, but no isdn line. Oct 21 04:48:16 this one also works for 2.6.14 Oct 21 04:48:31 eFfeM: Thanks. I was meaning to do it, but too much other stuff going on. Oct 21 04:48:51 (thats why i wanted you to have write access) Oct 21 04:48:54 :-) Oct 21 04:49:20 widrone, same here; I also have a usb wifi stick that might be supported (I can't open it but I think there is a ralink chipset in it). Oct 21 04:49:41 can the slug work with an usb-serial adapter out-of-box? Oct 21 04:50:12 ferrix, no idea, don't have one, but that triggers another question/test Oct 21 04:50:14 eFfeM: And there is a usb to paralell adapter lying abouts here I plugged in. Oct 21 04:50:24 widrone: "because you can!" Oct 21 04:50:46 (about the mouse) Oct 21 04:50:57 I have a usb to ethernet adapter and could compile in the pegasus code (instead of having it as a module) Oct 21 04:51:09 dyoung-away: As soon as I figure someting I can use the moue input for ill try. :) Oct 21 04:51:12 eFfeM: oh yes it does. I have a serial adapter, an usb ethernet and lots of stuff at the office but I am not going there any time soon Oct 21 04:51:33 that might be able to give me access. However, I think I might need a trick to enable it. Oct 21 04:51:39 Any suggestion on how to tackle this? Oct 21 04:51:41 ferrix: define "out of the box". Unslung and Openslug should reconise common USB/Serial adapters straight away. Oct 21 04:52:18 dyoung-away, can such a serial adapter also be used to monitor the device (instead of doing the serial mod) Oct 21 04:52:35 dyoung-away: well... haven't seen an unslunged slug coming out of the box, have you? Oct 21 04:52:36 eFfeM: 047e:1001 Agere Systems, Inc. (Lucent) USS720 Parallel Port , and there is in kernel support somewhere it seems. Oct 21 04:52:41 eFfeM: that wont work, because its hard coded in several places that the console is /dev/ttyS0 Oct 21 04:52:59 ferrix: Nope. So I guess the answer is no. :-) Oct 21 04:53:50 dyoung-away, I'm not too scared doing a private kernel mod for this (if the # of places is limited). I was also thinking about making the usb port /dev/ttyS0 Oct 21 04:53:57 don't know how feasible that is Oct 21 04:54:36 Me neither. There was talk about it a while ago, but noone actually did anything about it. Oct 21 04:55:38 you would need to jam those modules into the kernel. Even at that it wouldnt become active until after redboot. Oct 21 04:55:43 I bet the amber light says "you've fucked up the kernel image again" Oct 21 04:55:57 It may raise more quesitons than answers. Oct 21 04:56:00 hm. must see if I can score such a device. it would be interesting as this does not require opening the case, so it helps people like me that are not too eager about open-slug surgery Oct 21 04:57:23 back to my earlier Q: what would be a good place to start ifconfig on my external usb<->eth adapter. Oct 21 04:57:48 Probably I need to stuff something like "ifconfig eth0 up 192.123.1.78" or so somewhere Oct 21 04:57:52 eFfeM: What does your LED look like? Oct 21 04:58:03 green Oct 21 04:58:11 it goes through the standard boot cycle Oct 21 04:58:14 Hmm Oct 21 04:58:23 but it does not respond to its ip address Oct 21 04:58:38 Oky, when you upgraded, did the ixp drivers also get rebuilt (for the image you built) Oct 21 04:58:39 can't even ping it and I am using static ip Oct 21 04:58:41 ? Oct 21 04:58:44 dammit... seems like I need to go with unslung. Oct 21 04:58:54 ferrix, why Oct 21 04:59:03 dyoung-away, let me check Oct 21 04:59:14 eFfeM: its sounding like youve got a 2.6.14-foo kernel with 2.6.other ixp drivers. Oct 21 04:59:44 eFfeM: did you remember to blow away the ixp build dirs when you rebuilt the kernel? Oct 21 05:00:03 no! Oct 21 05:00:12 i was completely unaware fo that Oct 21 05:00:14 of that Oct 21 05:00:21 eFfeM: I want to have the gadget working and it seems like I'd have to make a custom lart kernel or at least get the modules working somehow Oct 21 05:00:27 I'd bet $1 thats what it is. Oct 21 05:00:41 eFfeM: and I don't have a clue what's wrong with my kernel image again Oct 21 05:01:27 actually I expected that since I got from tmp/work/openslug-kernel-2.6.14-rc2-r5.1 to tmp/work/openslug-kernel-2.6.14-rc3-r3.1 that all of the kernel would be rebuild Oct 21 05:01:45 dyoung-away, rwhitby-away what exactly do I need to rm Oct 21 05:01:57 eFfeM: Thats true! But the ixp stuffs are "external". Oct 21 05:02:04 eFfeM: tmp/{work,stamps}/ixp* Oct 21 05:02:31 eFfeM: rm -rf tmp/{work,stamps}/ixp* Oct 21 05:02:38 eFfeM: then rebuild the image Oct 21 05:02:56 ferrix: armel or armeb ? Oct 21 05:02:59 eFfeM: Then find the mojo to get the magic button push right so you can reflash it Oct 21 05:03:35 (using upslug or similar tool) Oct 21 05:04:09 rwhitby-away: ? Oct 21 05:04:35 rwhitby-away: ah... le Oct 21 05:05:18 dyoung-away, rwhitby-away, thanks. it is rebuilding now. (actually discovered that I am becoming dyslectic ipx vs ixp :-) ) Oct 21 05:06:12 IMHO the hard part is getting the button push right. I've only suceeded to get the button push like once out of numerous tries) Oct 21 05:06:29 eFfeM: ipx is another animal eh? :-) Oct 21 05:06:50 one final q: openslug-kernel-2.6.14-rc3-r3.1/defconfig says: # CONFIG_CPU_BIG_ENDIAN is not set Oct 21 05:06:52 is this ok? Oct 21 05:07:04 eFfeM: only if you're building LE :-) Oct 21 05:07:25 I suspect that someone was building LE and left it in there. Oct 21 05:07:34 rwhitby-away, that was what I feared. I just build what was on the head Oct 21 05:08:41 will that affect the ixp modules I just rebuild? Oct 21 05:12:36 modified defconfig, and for safetys sake nuked the ixp dirs again Oct 21 05:13:42 eFfeM: Good Plan Oct 21 05:14:09 eFfeM: The ixp modules in there should default to the 1.4 which is BE only. Oct 21 05:14:17 better safe than sorry this time, this became a little bit frustrating Oct 21 05:14:21 eFfeM: So that could also be the problem. Oct 21 05:14:40 eFfeM: IE: Kernel started in LE; thus could not load the BE IXP Modules Oct 21 05:14:56 eFfeM: But the green light tells us it finished booting and is "running". Oct 21 05:16:00 dyoung-away, figured that out, actually this morning I changed defconfig and rebuild, but I'm not 100% sure any more if I did a -cclean first Oct 21 05:16:13 (too many other things on my head at that time) Oct 21 05:16:45 and defconfig changes seem not really trigger recompilation very well (and dependencies) Oct 21 05:17:25 eFfeM: you have to bump package PRs to get rebuilds Oct 21 05:17:42 and for external modules, there is no automatic dependency on the kernel version Oct 21 05:17:46 dumb q: what are PRs? Oct 21 05:17:48 facts of life with OpenEmbedded Oct 21 05:17:58 eFfeM: PR=1 at top of foo.bb Oct 21 05:18:06 ah ok Oct 21 05:18:09 seen that Oct 21 05:18:09 eFfeM: the easiest way to trigger a rebuild is to to blow away the compile stamp. Oct 21 05:18:28 I use that for testing purposes before actually bumpping the PR. Oct 21 05:18:30 that is what I normally do; rm tmp/stamps/*kern*comp* Oct 21 05:18:52 eFfeM: Good Plan. :-) Oct 21 05:19:02 i'm still unaware about the use of a lot of things Oct 21 05:19:12 I always do tmp/{stamps,work}/.... Oct 21 05:20:16 dyoung-away, I am not sure if rm *kern*comp* actually suffices to process all defconfig dependencies so for defconfig changes I normally do a -cclean first. Of course rwhitby-away's solution is even better Oct 21 05:21:30 Its true. Usually when I'm fiddling kernel stuffs, its pretty specific; so I know ahead of time what I can safely avoid recompiling. Oct 21 05:21:34 rm -rf tmp/{work,stamps}/{openslug,ixp}* works well for just about anything .... Oct 21 05:21:48 Yep. Oct 21 05:22:02 first thing I do if something is not working Oct 21 05:22:12 dyoung-away: devio-1.1 duploading now Oct 21 05:22:30 rwhitby-away, ok, I'll bite. where in the wiki would this fit? Oct 21 05:22:44 eFfeM: somewhere under Development/* Oct 21 05:23:08 rwhitby-away: I probably wont get to it tonight; I'm pretty tired; and its busy rebuilding the index now. Oct 21 05:23:26 dyoung-away: no problem, I'm installing the .deb locally anyway Oct 21 05:23:45 this is the devio with built-in swap a stream support Oct 21 05:23:48 rwhitby-away, I'll add something here: http://www.nslu2-linux.org/wiki/Development/HomePage Oct 21 05:23:55 have to wait for the build to finish anyway. Oct 21 05:24:53 rwhitby-away: is your date right? Oct 21 05:25:04 rwhitby-away: the email I just recieved claims its yesterday. Oct 21 05:25:30 yeah, if our builds didn't take so long, the wiki would never be written Oct 21 05:25:37 dyoung-away: stupid date is wrong again Oct 21 05:25:57 hwclock -systohc is your friend. :-) Oct 21 05:27:04 dyoung-away: not on a vmware session it isn't Oct 21 05:27:32 oh yeah, I forgot about that. Oct 21 05:27:33 (the host system date is correct) Oct 21 05:27:54 either vmware, or the debian image inside it is getting it wrong somewhere. Oct 21 05:28:25 oh well, its not that big of a deal, it just means I need to remember to look back in the inbox for rwhiby messages. :-) Oct 21 05:32:57 dyoung-away: I will try and fix it. Oct 21 05:33:18 Its really not that big of a deal for me, I just like razzing you about it. :-) Oct 21 05:33:35 dyoung-away, that means you can sent emails from rwhitby-away's future :-) Oct 21 05:33:59 eFfeM: no, my emails just take 11 hours to get to him Oct 21 05:34:18 pfff. what are you using? pigeons ??? Oct 21 05:34:43 RFC1149 Oct 21 05:35:07 I don't have the capability for RFC2549 yet, so I can't expedite. Oct 21 05:35:12 ROFL! Oct 21 05:36:49 * rwhitby waits while everyone reads rfc1149 ... Oct 21 05:36:59 I'm getting old! Lost track after RFC1112 (multicast). Did an implementation on that for IP over Satellite Oct 21 05:37:34 rwhitby, ROFL, was unaware of that one Oct 21 05:38:18 it's not on the standards track, so it's not very well known ... Oct 21 05:38:21 you won't be able to get an RFC like that one out nowadays Oct 21 05:39:20 now I also know why TCP has sequence numbers and ack's. Oct 21 05:39:49 and flow control with back pressure Oct 21 05:41:33 yep Oct 21 05:45:51 03rwhitby * 10debian/Makefile: Added in the new xp command from devio. Oct 21 05:49:45 back in 5 mins Oct 21 05:58:52 good news and some surprising results Oct 21 05:59:34 did an rm of ixp as suggested and a bb -cclean openslug-kernel followed by bb openslug-kernel and bb openslug-image Oct 21 05:59:45 flashed the resulting image Oct 21 06:00:10 upon rebooting I got the dreaded "no route to host' message Oct 21 06:00:22 rebooted without hd attached and it just boots! Oct 21 06:00:34 rebooted again with hd, again " no route" Oct 21 06:00:45 rebooted without hd, it boots Oct 21 06:00:54 note that I did not do a turnup ! Oct 21 06:01:02 hotplug disk Oct 21 06:01:31 yeah, if I connect the hd after booting I can access it Oct 21 06:01:50 I'm surprised though that without turnup it will not boot if the hd is attached Oct 21 06:01:52 brb Oct 21 06:09:14 by the way, i got disconnected because once I typed reboot in the wrong window Oct 21 06:45:59 hm, I reflashed the image, yet /linuxrc on the flash fs says: Oct 21 06:46:02 #!/bin/sh Oct 21 06:46:02 exec '/boot/disk' '/dev/sda5' '-t' 'ext2' '-o' 'defaults' Oct 21 06:46:02 exec /boot/flash Oct 21 06:46:30 how the heck would it contain that if I didn't do a turnup ? Oct 21 06:51:39 how did you reflash ? Oct 21 06:52:24 eFfeM: what command did you use to reflash? Oct 21 07:01:18 sorry was called away Oct 21 07:01:23 reflash -i Oct 21 07:02:37 reflash -i will preserve a whole lot of configuration information, including the linuxrc. Oct 21 07:02:45 ah Oct 21 07:02:47 it's a feature :-) Oct 21 07:03:02 indeed it says something about restoring configuration params Oct 21 07:03:03 (and a very useful one at that) Oct 21 07:03:34 I alread did a clean and rebuilt of openslug-image Oct 21 07:03:36 you need to do a turnup flash to change the linuxrc back to running from flash Oct 21 07:05:00 running from disk is fine and what I want Oct 21 07:05:22 well, reflash -i did what you wanted then :-) Oct 21 07:05:30 the reason that the network was not working was that /lib/modules was not there Oct 21 07:05:57 actually lib/modules was but I moved from 2.6.14-rc2 to 2.6.14-rc3 Oct 21 07:06:11 yeah, to update the disk, you need to ipkg update, pointing at a feed built from head. Oct 21 07:06:19 (or just do what you did) Oct 21 07:06:25 so it could not find ixp400 and ixp425_eth Oct 21 07:06:47 yep, that's the most common cause of network failure when flashing new kernel versions Oct 21 07:07:14 well, I was lazy so I booted w/o hd, then mounted the disk on /mnt and did a cp -R /lib/modules /mnt/lib/modules Oct 21 07:08:46 I'm inclined to change linuxrc to mount the hd first and test if /lib/modules/`uname -a` exists before calling boot/disk Oct 21 07:08:53 or add a test to that extend in /boot/disk Oct 21 07:09:19 to avoid this Oct 21 07:09:22 not a bad idea at all. suggest it to jbowler on the nslu2-developers list Oct 21 07:10:03 why are ixp400 and ixp425_eth not compiled in into the kernel, they are always needed anyway Oct 21 07:10:13 not possible Oct 21 07:10:14 i'll suggest to jbowler Oct 21 07:10:16 ok Oct 21 07:10:48 both technically not possible (I think) and also not allowable under the license you clicked through to download the source for them. Oct 21 07:12:04 humm... Oct 21 07:12:19 I am a bit disappointed Oct 21 07:12:46 unslung does anything I need it to do. seems like I never actually get a debian installed there Oct 21 07:15:28 rwhitby, don't know about technical, but there is not always a click-thru license when you download the source. Oct 21 07:16:17 I just also d/l-ed 2.7. The source is on berlios and can be d/l-ed without license. After that I also took the binary and that required a license Oct 21 07:16:34 Also if you d/l the master makefile from the wiki there is no license Oct 21 07:19:03 posted the msg Oct 21 07:21:22 I think jbowler has implemented it in the newer versions of the ixp that it will no longer download the source automatically - you have to download it yourself (which involves clicking through the license). We should probably backport that to the current version too. Oct 21 07:22:10 but if you clicked through the license for the binary, then you are well aware of the licensing conditions, so you should know that you can't compile the modules into the kernel. Oct 21 07:27:15 ferrix: debian installation currently requires serial, or the exact usb ethernet adapter that Jacmet compiled into his LE kernel. Oct 21 07:27:41 I have been trying for four days to build an LE kernel that works, so that I can compile in other usb ethernet adpaters, with no success. Oct 21 07:28:02 your best chance of success is to put a serial port on the slug. Oct 21 07:28:55 rwhitby: yeah. I also tried to compile the eth module from scratch and drop it in the initrd but that just proved me incompetent Oct 21 07:29:16 or at least that's nothing I should do during office hours Oct 21 07:29:28 rwhitby, I saw the license pass by, but I didn't really try to read it. I'm not even sure if my english is good enough to actually understand it. Oct 21 07:30:53 eFfeM: most of the licence text is just words here in .fi anyway. Oct 21 07:31:32 and so it is in most non-US countries Oct 21 07:32:15 yeah, I don't know about the legalese of this in .nl Oct 21 07:32:51 apparently there was some ruling though that shrink-wrapped licenses are not valid (or at least shrink-wrapped licenses that were not in dutch) Oct 21 07:33:16 of course I never tested this, nor do I have plans to do so Oct 21 07:34:03 ferrix: that may be true, but a fair proportion of the core team lives in the US, or in countries that have extradition treaties with the US, or are people who will want to visit the US in the future. So we (the project) don't take chances, no matter where individuals live outside of the US. Oct 21 07:34:11 rwhitby, all, I've upgraded http://www.nslu2-linux.org/wiki/Development/HomePage with what I learned today; please have a look at it if I did not add incorrect things Oct 21 07:34:52 rwhitby, I agree (been in the US 7 or 8 times this year) Oct 21 07:35:29 and of course I don't want to bring our nice project in danger Oct 21 07:35:55 eFfeM: pretty much correct - just did a minor edit Oct 21 07:36:31 eFfeM: thanks for updating the wiki Oct 21 07:37:22 my pleasure Oct 21 07:37:48 rwhitby, one other wiki suggestion Oct 21 07:38:08 eFfeM: just do it :-) Oct 21 07:38:11 rwhitby: yeah... that's wise Oct 21 07:38:20 rwhitby, can't; let me explain Oct 21 07:38:27 ok Oct 21 07:38:50 I'd like to see a dynamically generated page called profiles which contains the names of everyone who created a profile Oct 21 07:39:17 this page should be updated automatically whenever someone adds a profile (just like recentchanges is updated) Oct 21 07:39:27 such a page I cannot make Oct 21 07:39:30 dunno how to do that. read up on pmwiki and make a proposal on nslu2-developers please. Oct 21 07:39:40 ok, will do Oct 21 07:39:45 thx. night. Oct 21 07:39:48 have a good sleep Oct 21 07:39:58 and thanks for your help Oct 21 07:40:19 thanks for yours. I get the feeling that you will be making lots of commits to the repo in the future .... Oct 21 07:41:05 not next week, will be out of town Oct 21 07:41:52 but later yes, found an old love back in nslu2, good old times hacking minix on my atari st Oct 21 07:48:31 rwhitby-asleep, by the way, I've been so active this week since I have a vacation. After tomorrow I have to spent the daytime to make a living to feed the family. Oct 21 07:49:33 yep, as we all do :-) Oct 21 07:52:17 yup, also just made the developers posting about the wiki Oct 21 09:12:13 Im trying to build a package, Im using the masterMakefile :) - I have built the ipk package and installed it onto my slug, but when I try to run the program file it says: Oct 21 09:12:27 [root@slug root]$ helloworld Oct 21 09:12:27 -bash: /opt/bin/helloworld: cannot execute binary file Oct 21 09:13:02 btw. the package Im trying to build is a simple C helloworld - to learn howto do it, and then moveon to more complicated Oct 21 09:13:19 the files are here: http://vap.orda.dk/nslu2-devel/helloworld/ Oct 21 09:13:26 src files, ipk file, helloworld.mk Oct 21 09:33:25 orda, did you build native or cross? Oct 21 09:33:36 cross compile Oct 21 09:33:51 and "file helloworld" gives which result Oct 21 09:33:53 ? Oct 21 09:34:17 I followed the: AddAPackageToUnslung Oct 21 09:34:19 if it isn't on the slug, try it on the build machine Oct 21 09:34:36 well when i run it: Oct 21 09:34:37 [root@slug root]$ helloworld Oct 21 09:34:37 -bash: /opt/bin/helloworld: cannot execute binary file Oct 21 09:34:58 Im thinking I have set the mk fil eup wrong Oct 21 09:35:13 i think you didN#t compile cross Oct 21 09:35:18 n't Oct 21 09:36:00 which you can check with file /opt/bin/helloworld Oct 21 09:36:03 I crosscompiled it, and downloaded the ipk file to the slug and installed it with ipkg and Oct 21 09:36:23 when I run it it's says that Oct 21 09:36:57 yeah, and tzh equestion is, what executable format does the helloworld have Oct 21 09:37:45 okay, how do I use which Oct 21 09:38:56 aeh, which filename Oct 21 09:39:46 uhm, it doesnt give anything really Oct 21 09:39:46 [root@slug bin]$ which helloworld Oct 21 09:39:46 /opt/bin/helloworld Oct 21 09:40:48 well, i don't know, which package provide file, but you can check on the build machine too, if file /path/to/your/builded/executable gives something like that Oct 21 09:41:26 ELF 32-bit LSB executable, Intel 80386, version 1 Oct 21 09:41:44 then is something wrong with your mk. script Oct 21 09:47:16 ah got it Oct 21 09:47:17 [orda@dhcppc3 bin]$ file helloworld Oct 21 09:47:17 helloworld: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped Oct 21 09:47:36 så my mk file is bad Oct 21 10:00:02 do cross compile Oct 21 10:05:59 orda, when you first try to compile, the toolchain was automagically builded? Oct 21 10:06:36 hmm yes I belive so.. Oct 21 10:07:02 first I build the miau package and bash Oct 21 10:07:19 so I got hold of the cross enviroment Oct 21 10:07:34 Was that your question ? Oct 21 10:07:43 yes Oct 21 10:10:33 okay Oct 21 10:10:51 Im rewriting my .mk now Oct 21 10:10:52 and in your Makefile for heeloworld CC points to the toolchain cc? Oct 21 10:11:01 no Oct 21 10:11:22 I was missing that info :) Oct 21 10:11:52 should be something like Oct 21 10:11:52 CC=/home/joerg/unslung/toolchain/armv5b-softfloat-linux/gcc-3.3.5-glibc-2.2.5/bin/armv5b-softfloat-linux-gcc Oct 21 10:13:19 have a look at wakelan.mk, and the depending Makefile in builds/wakelan, that is a simple porgram with only one c file Oct 21 10:13:38 oh nice, Ill look at that right now Oct 21 10:21:23 heh, Im waiting for the ftpserver hosting the wakelan src to let me in, maximum nr. of allowed clients connected :-O Oct 21 10:34:36 you could put this (http://www.jrbnet.de/texte/wakelan-1.1.tar.gz) in your optware/downloads directory Oct 21 10:35:01 I got access now, but thanks Oct 21 10:35:21 np Oct 21 10:50:41 it's going ahead Oct 21 10:50:52 but still a long way I think Oct 21 10:50:57 :) Oct 21 14:42:16 prepare yourselves for a big flood of CIA messages by our restarted monotone server sometime soon .... Oct 21 15:14:27 03eFfeM 07org.openembedded.dev * r3cf0fa95... 10/packages/linux/nslu2-kernel/2.6.14/defconfig: Oct 21 15:14:27 defconfig: changed settings to support wider range of hardware Oct 21 15:14:27 * CONFIG_BLK_DEV_SR=m (for audio extraction from cdrom) Oct 21 15:14:27 * CONFIG_CHR_DEV_SG=m (for audio extraction from cdrom) Oct 21 15:14:27 * CONFIG_USB_PWC=m (module for Philips and Logitech Webcams) Oct 21 15:14:28 * CONFIG_USB_EHCI_SPLIT_ISO=y (support USB 1.1 devices on USB 2.0 hubs) Oct 21 15:14:30 * CONFIG_CPU_BIG_ENDIAN=y (should be the default until LE is more mature) Oct 21 15:15:14 03nail 07org.openembedded.dev * r831dfac6... 10/packages/meta/openslug-packages.bb: openslug-packages: remove php5 from feed. Oct 21 15:15:20 03justinp 07org.openembedded.dev * rf9c285d9... 10/packages/bluez/bluez-utils.inc: bluez-utils.inc: band-aid fix for compiling on Gentoo AMD64 Oct 21 15:15:26 03justinp 07org.openembedded.dev * ra55bfda1... 10/packages/netcat/netcat_0.7.1.bb: Add netcat 0.7.1 Oct 21 15:15:39 here it comes .... batten down the hatches Oct 21 15:32:12 where it is.... btw, your slang drives me crazy ;-) Oct 21 15:43:01 hmm - it was far less than I thought it was going to be Oct 21 16:50:57 03rwhitby 07org.openembedded.dev * rcd62a942... 10/packages/meta/ucslugc-image.bb: ucslugc-image: Added Oct 21 18:03:22 YEEEEEEEEEES!! =) Oct 21 18:03:26 Im so happy Oct 21 18:03:34 I got everything working Oct 21 18:04:04 I have succesfully ported my helloworld program to the slug via crosscompiling Oct 21 18:04:25 thanks caplink811_log Oct 21 18:05:26 now I can start porting the real stuff.. uuhohh Oct 21 19:41:22 orda: are you porting for openslug or unslung? Oct 22 02:39:46 hi all. any1 can tell me why i always get the homepage of my router when i wanna use nslu2-built-in-thttpd ? Oct 22 02:51:01 I think you didn't do any nat/routing from your router. Oct 22 02:51:06 what brand? **** ENDING LOGGING AT Sat Oct 22 02:59:56 2005