**** BEGIN LOGGING AT Mon Dec 21 02:59:57 2009 Dec 21 05:29:04 morning all Dec 21 05:29:11 anybody awake? Dec 21 10:10:25 leave Dec 21 16:18:27 hello folks Dec 21 16:18:41 could someone help me with my nslu2? Dec 21 16:23:05 Not if you don't describe your problem. Dec 21 16:24:18 :) Don't ask to ask. Just ask your question - be specific, list your firmware version, what you've tried to do to fix it, what has worked and not worked, and then wait patiently, as most of the folks on this channel aren't watching the screen, they peek in and will answer if they see your question/description and have something to suggest. Dec 21 16:24:43 oh k... Dec 21 16:26:25 so i've installed the actual avalable unslung firmware and tried to compile UnrealIRCd on it. Had some problöems, because the configure script couldn't find any Compiler, but i got that solved. now as i try to run "make", it tells me theres nothing to do. Any Idea why? Dec 21 16:26:31 Thanks in advance Dec 21 18:18:22 i need the kernel module sources to natively compile on slugos. aren't there any informations on this availible? Dec 21 18:37:56 also: i have traced the slugs pci pins and i think that, from the hardware side, it's possible to add the 3 unused pci ports. unfortunately the last time i worked and developed with/under linux was 2003, so i have no idea what i have to change on the software side to get the additional pci ports running. any ideas? Dec 21 18:48:26 still no one here with ideas on my UnrealIRCd "make" problem? Dec 21 18:48:37 hello Dec 21 18:49:38 i am new to nslu2 but i had this problem, but i can't remember what the problem was Dec 21 18:50:02 type make clean Dec 21 18:50:10 and then make Dec 21 18:53:11 still alive? Dec 21 18:56:31 already tried this...no result Dec 21 18:57:42 unlogically if it had solved it after your description Dec 21 18:58:10 nono...i had problems with the ./config skript Dec 21 18:58:24 it couldn't find a compiler Dec 21 18:58:28 you did a make without compiler like i did... Dec 21 18:58:29 solved it by installing one Dec 21 18:58:54 no the step before..."run ./Config Dec 21 18:59:10 after that i have to run "make" Dec 21 18:59:15 yes, unlogically if a make clean solves a (without compiler not compileable) issue Dec 21 18:59:20 and there it fails with "nothing to do" Dec 21 19:00:09 um...i'm going to start from beginning Dec 21 19:00:20 does it matter where i extract the sources to? Dec 21 19:01:03 if i remember right the "nothing to do" message appears if the compilation exists and is up to date. but without compiler? Dec 21 19:01:27 now there is a compiler Dec 21 19:01:35 delete the extracted folder and extract it again Dec 21 19:02:03 yes now. but not before. forget about it. delete the extracted folder and extract it again Dec 21 19:02:03 can i use /tmp for it or do i have to use some specific folder? its not stated in the documentation Dec 21 19:02:23 extract it whereever you want Dec 21 19:04:16 done Dec 21 19:04:37 now docu tells me to cd into the folder and run ./Config Dec 21 19:04:47 that "nothing to do" thing also happens with other compilers (ms vcc for example) under certain circumistances. for me it worked when i deleted the build directory Dec 21 19:05:26 now distro would docu how you to learn linux Dec 21 19:05:43 how to learn linux sorry Dec 21 19:06:55 sry, but i'm kinda confused of this sentence...not that used to english language Dec 21 19:07:15 ? Dec 21 19:07:34 now distro would docu how to learn linux Dec 21 19:08:41 so should i do the things stated in the documentation of UnrealIRCd? Dec 21 19:10:06 the sentence i wrote means: i don't know any linux distribution with a documentation that is able to teach you linux (shouldn't ./Config be ./configure?) Dec 21 19:10:49 nope this one works...and is stated in that UnrealIRCd documentation...quote: "./Config " Dec 21 19:10:49 sorry, my native language is german Dec 21 19:10:53 mine too Dec 21 19:10:56 :D Dec 21 19:12:08 no idea. normally it is ./configure, ./make, ./ make install or ./make config, ./make, ./make install Dec 21 19:12:25 http://www.unrealircd.com/files/docs/unreal32docs.de.html Dec 21 19:12:49 does make work in the new extractet directory? Dec 21 19:12:53 nope Dec 21 19:12:55 mom Dec 21 19:13:15 gices me following error: # make Dec 21 19:13:15 make: *** No targets specified and no makefile found. Stop. Dec 21 19:13:30 ./make Dec 21 19:13:32 ? Dec 21 19:13:41 not found Dec 21 19:14:00 no idea Dec 21 19:14:04 funny thing is that there IS a Makefile.in Dec 21 19:15:12 i renamed "Makefile.in" into just "makefile" Dec 21 19:15:21 i never had problems working with "real" distributions, but had strange problems like you have it when working with more than one distribution for the slug Dec 21 19:15:21 now i get no error ôo Dec 21 19:15:46 ehe Dec 21 19:15:50 hmm Dec 21 19:16:01 check your home directory Dec 21 19:16:03 now its compiling Dec 21 19:16:11 what did you do? Dec 21 19:16:20 Nomad_> i renamed "Makefile.in" into just "makefile" Dec 21 19:16:23 then ran "make Dec 21 19:16:27 nice Dec 21 19:16:29 but now i get compilation error Dec 21 19:16:49 make[1]: *** No rule to make target `../include/setup.h', needed by `timesy '. Stop. Dec 21 19:17:03 i have never seen a "Makefile.in" nor a "/.Config" Dec 21 19:17:27 hehe Dec 21 19:17:52 like me. native compiling fails Dec 21 19:18:19 do you have any knowledge about cross compiling? Dec 21 19:18:25 nope Dec 21 19:19:09 Nomad_: have you installed optware-devel ? Dec 21 19:19:19 hm i doubt it Dec 21 19:19:34 normally Makefile.in is for automake Dec 21 19:20:28 installing optware-devel...let's see if it works then Dec 21 19:20:47 normally, there is no ./Config :D Dec 21 19:21:10 eno does it exist for slugos too? Dec 21 19:21:43 think so, but it skips native compiler Dec 21 19:21:55 i saw the howto compile, but i couldn't install optware devel under slugos 5.3? Dec 21 19:22:08 and on slugos, it relies on opkg to provide native compiler Dec 21 19:22:41 you'd need to setup optware ipkg first Dec 21 19:22:43 hmm, trying again maybee it solves my compiling problems Dec 21 19:23:02 eno i tried both ipkg and opkg Dec 21 19:23:39 optware-devel is just a meta package Dec 21 19:23:46 see http://ipkg.nslu2-linux.org/feeds/optware/slugos5be/cross/unstable/?C=N;O=A Dec 21 19:23:54 but there was a note on the howto that this package isn't availible for slugos after 4.8 or something like that Dec 21 19:23:56 it's in the feed Dec 21 19:24:30 i have to check this thanks Dec 21 19:24:34 does it show up in "ipkg list | grep optware-devel" Dec 21 19:25:29 @eno: a questioin about that ipkg list search: won't just "ipkg list optware-devel" do the trick? Dec 21 19:25:39 yes Dec 21 19:26:16 i know that i tried all that Dec 21 19:26:19 you can even do "ipkg list 'optware-*'" Dec 21 19:26:24 but i will do it again Dec 21 19:27:02 anywhere: is your optware feed setup to point to http://ipkg.nslu2-linux.org/feeds/optware/slugos5be/cross/unstable ? Dec 21 19:27:31 doesn't ipkg/opkg install optware-devel say package up to date if its installed or not found? Dec 21 19:27:53 eno yes Dec 21 19:28:10 if it's already installed, it says "package up to date" Dec 21 19:28:35 "ipkg info optware-devel" Dec 21 19:29:09 yes and "not found" or something if its not availible Dec 21 19:29:37 Package optware-devel (6.8-9) installed in root is up to date. Dec 21 19:30:10 then it's installed already Dec 21 19:30:14 jop Dec 21 19:30:33 again, on slugos optware does not provide native toolchain Dec 21 19:30:43 we don't want to duplicate the effort Dec 21 19:30:47 do you know where i can get kernel and kernel module sources for native compiling? Dec 21 19:31:00 öh? Dec 21 19:31:18 for slugos, I believe it's all cross compiled Dec 21 19:31:33 so i have to install another firmware? Dec 21 19:31:38 ok Dec 21 19:32:15 you can search for kernel module recipe at nslu2-linux.org and openembedded.org Dec 21 19:32:25 i had some reasons for changing to slugos, but i also wanted to native compile Dec 21 19:32:45 it should be doable Dec 21 19:32:58 but? Dec 21 19:33:07 can you "opkg install gcc"? Dec 21 19:33:21 had some problems with this i think Dec 21 19:34:05 haven't played with slugos for some time, I remember it used to work Dec 21 19:34:31 if you want native compiling on slugos, then you need to solve this problem Dec 21 19:34:33 i was able to compile some, but not every package i tried.... Dec 21 19:34:43 optware won't help you Dec 21 19:35:05 no, install gcc doesn't work, "package not found". but i installed gcc, i am able to natively compile Dec 21 19:35:23 maybe paste the error, and we can spot some missing package Dec 21 19:35:39 root@NAS01:/# ipkg install gcc Dec 21 19:35:44 don't understand your last line Dec 21 19:35:54 anywhere: opkg install gcc Dec 21 19:36:24 i think i told you that optware ipkg does not provide native toolchain on slugos Dec 21 19:36:45 opkg list | grep gcc Dec 21 19:37:41 hm i've got an error while installing optware-devel... Dec 21 19:37:56 root@NAS01:/# gcc --help Dec 21 19:38:03 Usage: gcc [options] file... Dec 21 19:38:19 gcc is installed on my slug Dec 21 19:38:46 root@NAS01:/# gcc -dumpversion Dec 21 19:38:50 4.2.4 Dec 21 19:39:47 i have compiled some package from source, but others failed because of missing kernel module sources Dec 21 19:40:42 "type gcc" or "which gcc" shows the full path, then "opkg search /usr/bin/gcc" probably will tell you which package it is from Dec 21 19:42:16 gcc-symlinks - 4.2.4-r3 - /usr/bin/gcc Dec 21 19:43:20 look at where /usr/bin/gcc symlink to Dec 21 19:44:14 and very likely you did "opkg install some-gcc-package" before Dec 21 19:44:25 i know what you told me aboud ipkg and native compiling. here is ipkgs answear to ipkg install optware-devel: Dec 21 19:44:28 Package optware-devel (6.8-9) installed in root is up to date. Dec 21 19:44:45 ipkg recognises opkg packages? Dec 21 19:44:53 that's as expected Dec 21 19:45:11 don't ever mix /opt/bin/ipkg with /usr/bin/opkg Dec 21 19:45:12 that was what i wanted to show you Dec 21 19:45:26 and yes, i think i installed another package before Dec 21 19:45:36 if you don't know how to separate the two package trees, don't use /opt/bin/ipkg Dec 21 19:45:46 ok Dec 21 19:47:23 gcc -> armeb-linux-gnueabi-gcc Dec 21 19:49:08 anywhere: I think you get native toolchain fine Dec 21 19:50:26 i think it's what you are talking about: i was very confused about the ipkg/opkg trees, double package installation a.s.o. Dec 21 19:52:29 whatever, a kernel module won't compile because of missing kerne module sources. is it possible to native compiling kernel modules on slugos? Dec 21 19:53:05 of course you can, kernel module source == kernel source Dec 21 19:53:29 usually it's stock kernel from kernel.org plus some patches Dec 21 19:53:33 any hint how/where i can get it? Dec 21 19:53:55 where can i get the patches? Dec 21 19:54:05 for kernel modules, usually the patches do not matter Dec 21 19:54:54 you need to search OE build recipes to locate the patches Dec 21 19:55:46 cool! Dec 21 19:55:50 6 years no kernel module compiled seems to be a long time, especially when beginning on slug.... Dec 21 19:56:26 just be aware that OE builds the kernel and image using cross compilation Dec 21 19:56:50 so native compilation may need some setup Dec 21 19:57:23 you can also search "opkg list | grep kernel" Dec 21 19:57:40 in case there's kernel headers packaged Dec 21 19:58:04 there isn't Dec 21 19:58:10 i did this before Dec 21 19:59:01 hmm, i never cross compiled... hmm. i just would like to have those 3 pci ports enabled Dec 21 20:06:12 So you don't know that they don't actually work, then? Dec 21 20:07:05 i know that they are routet outside the bga Dec 21 20:07:15 PCI support is implicitly enabled, because there are other on-board devices that are PCI on the NSLU2, so if you can make the hardware work, the existing kernel will see them. Dec 21 20:08:05 Once you can sucessfully do an "lspci" command and see the hardware device you've added, then it will be time to add a module for that extra hardware, assuming that the module/driver for whatever PCI card you add is not already in the feeds. Dec 21 20:08:16 if you are telling me that i dont have to learn cross compiling i will begin soldering right nos Dec 21 20:08:17 That would be a cool mod. Dec 21 20:09:06 There's not much to learning the cross-dev environment, you just download the master makefile, make sure you have the prerequisite development software packages on the host, and type "make slugosbe" :) Dec 21 20:09:45 yes, but there aren't any pci modules compiled for the nslu2 expect the originally routed usb pci device. so i have to learn cross compiling, just to install the kernel sources. help me pleas Dec 21 20:09:57 We gave up on host-based development on the NSLU2 when some of the cross-dev problems were adequately solved; it's just too difficult and tedious to build on the device itself. Dec 21 20:10:11 what module do you think it is that you need? Dec 21 20:10:26 I'm trying to tell you that PCI support is in-kernel --- no modules are necessary. Dec 21 20:11:10 you might need a module for the PCI card you choose to plug in, though. Dec 21 20:11:41 you are telling me that i can connect any linux-supported pci device to the slug's pci without compiling the kernel module for arm before? Dec 21 20:12:16 I'm telling you that the NSLU2 kernel will detect the device on the bus, and the lspci command will identify the device's PCI info for you. Dec 21 20:13:07 i am interest in having 3 additional pci ports working from the hardware side, what kind of device i connect to one of them doesn't matter Dec 21 20:13:13 If you plug in a "bus-master-ultra-64-gigabit-satellite-tv-transponder-megaplex" card (just ot make a typical marketing name for products these days), you might need a driver for that card. Dec 21 20:14:03 If all you want is the PCI ports to work, that is in-kernel. If there is not support for the nubmer of slots or the capabilities of the slots you add, then that can't be done with a module. Dec 21 20:14:39 But in any case, you don't want to try to compile the kernel on the slug, you want the crosss dev environment, built with the master makefile. Dec 21 20:16:05 cp /proc/config.gz /tmp Dec 21 20:16:05 last time i compiled a kernel was on a 200mhz machine. slug is 266mhz, why not? Dec 21 20:16:11 gunzip /tmp/config.gz Dec 21 20:16:15 grep "PCI" /tmp/config Dec 21 20:16:35 Linux barely boots on 32MB of ram anymore. Dec 21 20:17:04 I'm just telling you the answer that will a) be easiest and b) will permit people here to help you. Dec 21 20:17:58 If you want to build the kernel on the device, that's fine -- but it's not done anymore, so the kernel sources are not a package, and you'll have to figure it out yourself, because there's no reason for any of the devs to have made those packages or to have kept the wiki articals on native building up-to-date. :) Dec 21 20:18:02 where a) will be buying a eeebox or something and b) is the real argument Dec 21 20:18:38 k, i have to cross compile Dec 21 20:21:09 what's the better choice, linux on vmware or windows? Dec 21 20:22:57 The cross-dev env only works in linux... so the answer is linux on vmware. Fedora 10 or 11 works pretty well, I'm not sure if anyone has upgraded to Fedora 12 yes. I have no idea about Debian, but I know many are using Ubuntu. Dec 21 20:23:21 FYI: i just managed compiling UnrealIRCd on unslung...installing optware-devel did the trick. Thank you, eno! Dec 21 20:26:05 i read a howto about cross compiling with windows, my problem is that i worked with debian around 2001, with suse between 99 and 2003 and that i missed the ubuntu years Dec 21 20:28:13 whatever i think its impossible to get the most out of the nslu whitout pci so i will try to make it running Dec 21 20:30:53 If it turns out that something needs to be changed in the kernel to support that mod, I will promise to make the changes in the current development branch, if you will write a wiki article explaining how you made the hardware mods to do that. :) Dec 21 20:31:23 I think it would be neat to be able to use some of the mini-pci cards I have. Dec 21 20:34:12 uhm...does anyone know, where the unrealircd.conf file is to find? :D Dec 21 20:43:04 mwester: sheevaplug v1.2's pcis rx and tx isn't routet outside the bga. after inspecting marvells product sortiment i think that v1.3 isn't either, as well as their announced 2ghz plug wouldn't be. is cpu everything? i need a "brain-slug", a fat slug combined with a fast slug. latter one is a gigabit-ethernet slug equipped with some gigabit ethernet pci hardware with good offload capabilities. Dec 21 20:45:28 Ouch. Dec 21 20:45:55 why ouch? Dec 21 20:46:07 Difficult combo to get cheaply. Dec 21 20:46:18 i know Dec 21 20:46:20 How about the beagleboard? Dec 21 20:47:00 nslu2 is nicer Dec 21 20:47:28 OpenRD? Dec 21 20:47:53 nslu2 is nicer Dec 21 20:48:36 Well, ok, but the nslu2 will have a tough time with only 32MB of memory and such a slow clock, compared to these other devices. Dec 21 20:49:17 Even if you offload a lot of the network processing, you still don't have a lot of fast memory or I/O to process a gigabit data stream. Dec 21 20:49:54 Have you looked for a DSM-G600 Rev A? Dec 21 20:50:15 i know it would be slow, because of the cpu. i wrote about fat slug beside, witch has more than 32mb of memory Dec 21 20:50:49 Same processor, runs the same kernel, boots and runs SlugOS, 64MB of memory, 16MB of flash, and has a built-in minipci. Dec 21 20:51:06 Just very hard to find -- eBay is the only place I've seem them recently. Dec 21 20:51:27 i want a brain-slug, a brain-cpu isn't that special Dec 21 20:52:39 thats why you don't run your mini-pci cards on a wrt54 equipped with a mini pci slot isn't it? Dec 21 20:53:55 Me? I don't have time for more than one processor type, so I run dd-wrt on my wrt systems and play with various ARM-based devices for my hobby. :) Dec 21 20:57:55 i know that it's pointless "to some point" or whatever having a nslu with pci but it has to be done because it's a nslu, point. Dec 21 21:04:18 i read about someone having a bare pcb. if he does some tracing mesurements on his board it would maybe make the mod easier. I traced all the pci lines, but i could not make shure that there are no more "drilled-trough-only" routes that in fact are routet to another component in an underlaying layer on the pcb. Dec 21 21:13:29 in fact a drilled trough only soldering point is much harder to connect to than a component soldering point and since i am talking about pci (55 Pins or something like this) checking the routes on a bare board is worth about it. Dec 21 23:19:21 evening all, anybody awake on here? Dec 21 23:37:49 no Dec 21 23:41:29 excellent, i can see this channel will be of great help getting to the root of my USB disconnect problems lol Dec 21 23:48:50 You didn't mention any problems, you just asked if people were awake. Which is the answer to riddle, if I recall correctly. Dec 21 23:49:24 We used to have bot that would do this, but now I have to type this all the time. :( Dec 21 23:49:28 :) Don't ask to ask. Just ask your question - be specific, list your firmware version, what you've tried to do to fix it, what has worked and not worked, and then wait patiently, as most of the folks on this channel aren't watching the screen, they peek in and will answer if they see your question/description and have something to suggest. Dec 21 23:49:40 Cut-n-paste works too. :) Dec 22 00:47:50 appols i got sidetracked watching crank, are there any known problems with the Debian distro on the nslu2, I have a slug with a 4 gig flash disk soldered internally and a raling 3070 based usb wifi also soldered internally Dec 22 00:48:39 it seems to have problems with the usb flash disk hanging resulting in filesystem corruption and the driver remounting read only Dec 22 00:50:08 [42956184.790000] end_request: I/O error, dev sda, sector 2092043 Dec 22 00:50:10 [42956184.800000] end_request: I/O error, dev sda, sector 2092043 Dec 22 00:50:11 [42956185.030000] wpa_supplicant: page allocation failure. order:6, mode:0x1 Dec 22 00:50:13 [42956185.030000] [] (dump_stack+0x0/0x14) from [] (__alloc_pages_internal+0x3c0/0x3d8) Dec 22 00:53:51 I appreciate the ralink 3070 isnt the best choice for usb wi-fi but it was dirt cheap and i seem to have managed to get it working by compiing the ralink kernel module Dec 22 00:57:39 but im unsure why the USB flash seems to randomly stop working, it appears to occour some time after i have gone to work if i have left it running with me logged into an ssh session **** ENDING LOGGING AT Tue Dec 22 02:59:56 2009