**** BEGIN LOGGING AT Sun May 28 02:59:56 2006 May 28 08:23:41 hi rod May 28 08:26:02 howdy May 28 08:26:34 My NAS100d refuses to spin up disks. May 28 08:26:50 Tried another disk - same result. May 28 08:27:33 So I'm thinking of taking the disk out of the top of the nas100d, and replacing it with an ATA (Linksys SPA3000) and turning the nas100d into an asterisk box. May 28 08:29:37 looks good, I'm very interested in your results. I have a spa3000 and did install asterisk on my slug, but did not really get into configuring it May 28 08:30:22 actually at the momemt I'm trying to get bluetooth running so I can use my BT headset with the slug (and perhaps even use it as a phone) May 28 08:30:29 Even better would be the SPA3102, cause it has an extra ethernet port which could be connected to the nas100d May 28 08:30:45 bluetooth on slugos? May 28 08:31:16 (I have a dedicated BlueSlug which is the DUND gateway for my Treo650 when it's at home. May 28 08:32:35 i have the BT stuff running, and once managed to get audio to the headset, but then suddenly it stopped working May 28 08:33:31 with the .16 kernel and alsa 1.0.11 I thought I'd try again as my Philips USB sound card which worked on PC under .15 suddenly also started to work on openslug with a .16 kernel May 28 08:34:26 actually I have been playing with the idea to use my symbian based cell phone as a remote for the slug May 28 08:52:22 I have a small root (/) and a large opt (/opt) set up as ipkg targets. When I try to install the compiler suite, using "ipkg -d opt", the packages are invariably written to /. This fills up my root fs, making the system unusable. May 28 08:53:12 Other packages install into the "opt" target just fine. Is there something else I need to know about installing openslug-native? May 28 09:38:13 Hi rwhitby. May 28 09:38:20 g;day May 28 09:38:48 I have a question about installing openslug-native via ipkg. Is that up your alley? May 28 09:39:35 a bit. what's the question? May 28 09:39:45 I have a small root (/) and a large opt (/opt) set up as ipkg targets. When I try to install the compiler suite, using "ipkg -d opt", the packages are invariably written to /. This fills up my root fs, making the system unusable. May 28 09:40:02 But other packages install into the "opt" target just fine. May 28 09:43:40 Is there something else I need to know about installing openslug-native via ipkg? May 28 09:44:28 Hi gerdi. May 28 09:52:13 killing-joke: what firmware are you running? OpenSlug packages install in /, not /opt. Optware packages install in /opt, but are only designed for use with the Unslung firmware. May 28 09:54:31 rwhitby: I am running OpenSlug 2.7 May 28 09:55:37 killing-joke: you can try ipkg -d /opt May 28 09:55:46 don't know if that will work (never done that) May 28 09:55:52 better put / on a hard disk May 28 09:55:56 then you should not be expecting things to install in /opt unless you give special flags to ipkg. May 28 09:56:00 and on a large partition May 28 09:56:33 and if ipkg -d is not working perhaps file a PR May 28 09:57:21 Many thanks :) May 28 09:58:02 that is file a PR with #oe, not #nslu2-linux. May 28 09:58:02 I think what I will do is mkfs over the existing disk partitions and re-"turnup disk". May 28 09:58:35 if you do not have anything valuable on your disk that seems the proper way. May 28 09:59:27 They are a brand new pair of laptop HDDs in little black cases. It's going to be the RAID array for my traveling network circus. May 28 10:01:40 killing-joke: I have a 1.5 GB /, a 1 GB swap and the rest is /home, / is now 72 % filled so if I had to do this over I'd probably go for a 2 GB / May 28 10:01:49 then again my slug is heavily loaded .... May 28 10:02:10 and if you really run into problems you can always offload /usr or so to another partition May 28 10:02:11 Grief! I was bound to run into problems. May 28 10:02:31 I thought, "Little bitty computer, little bitty slash." May 28 10:02:41 ... and formatted 128 MB ext3. May 28 10:02:52 the 1G swap is probably grossly overdimensioned but I once ran into a perl script that ran havoc and caused the slug to crash by running out of swap May 28 10:04:11 128M is doable if you do not want to install large packages. I know someone running a slug with a 512M memory stick and he also has a 400M web site on that stick (but of course he only installed apache, php and mysql) May 28 10:06:09 I wanted to keep / small and install the packages on other partitions. I was happy to see the " -dest " flag in ipkg. It just doesn't seem to do what I want it to. The quick hack, I think, will be to make a separate /, /var, and /usr, and to make them all quite a bit larger than I otherwise would have. May 28 10:06:16 Thanks very much for your tips! May 28 10:12:26 killing-joke: it might be that with -d you need to say /opt iso opt (or maybe even /opt/ ) May 28 10:12:40 this is one of the lesser used options of ipkg May 28 10:17:28 eFfeM: I am writing a script to remove all the tools from root ... May 28 10:17:55 I will try the '/opt' and '/opt' after I get some space back. May 28 10:18:10 be careful not to remove too much ... May 28 10:18:39 if you really want to use your existing setup then perhaps just re-mkfs the 128 M partition and rerun turnup May 28 10:18:59 otherwise you might up with more headaches and misery ... May 28 10:19:29 Yes. May 28 10:19:57 I think I will try to isolate the bug (?) in ipkg, if there is one. May 28 10:20:27 After that, I will reformat the whole mess and start over with much larger partitions. May 28 10:21:08 btw if you really want to know what is going on: you can unpack an .ipk file using ar, it will give you a control.tar.gz which has 3 files that say how things are going to be installed May 28 10:21:43 * killing-joke laughs maniacally. May 28 10:21:54 Fabulous. >:) May 28 10:22:18 So, the extra pkgs are gone now. And I get this error ... May 28 10:22:21 ERROR: Unknown dest name: `/opt' May 28 10:24:22 If I want to read the source to ipkg, will I find it in the OE Monotone? May 28 10:24:46 killing-joke, I assume you have /opt May 28 10:25:17 I have a mounted / (128 MB), and a mounted /opt (512 MB). May 28 10:25:59 Filesystem Size Used Available Use% Mounted on May 28 10:26:05 /dev/sda1 119.1M 67.9M 45.1M 60% / May 28 10:26:12 /dev/sda3 473.5M 26.3M 422.8M 6% /opt May 28 10:26:42 yeah, just tried it doesn't work for me either May 28 10:27:13 if you have set up a cross compile environment the best way to see the source is to build the package May 28 10:27:48 looked into the ipkg source before, it is not a very nice program May 28 10:27:50 Ah, but I was trying to bootstrap my dev environment by installing these compiler packages. :) May 28 10:28:07 oh, you do not want to do that, believe me May 28 10:28:23 best way is to set up a cross environment May 28 10:28:39 Will it take a month to compile? May 28 10:28:42 a native build is deadly slow especially for C++ May 28 10:29:13 not if you want a simple program or module, but if you want to do some serious work (like rebuilding the kernel) it will take ages May 28 10:29:35 Good advice. You are saving me months of my life. May 28 10:29:48 you would have found out the hard way May 28 10:29:59 I ... tend to. Yes. May 28 10:30:10 setting up a cross build system is easy. just check out the wiki page on MasterMakefile May 28 10:30:28 hey, that's how most of us learned things May 28 10:30:40 and actually that are the lessons that are remembered best May 28 10:31:03 yup May 28 10:31:05 Yes, Development/MasterMakeFile May 28 10:31:42 try that on a pc linux box. feel free to stop by if you encounter problems May 28 10:31:58 last august i was where you are now May 28 10:32:15 I appreciate the tips. Thanks! May 28 10:32:24 lots of interesting things and challenges but also lots of fun May 28 10:32:41 killing-joke: don't forget the rules May 28 10:33:01 especially the one about updating the wiki if you discover something new or find things unclear May 28 10:33:10 that also helps to reduce the learning barrier for others May 28 10:33:27 and enjoy! May 28 10:35:50 I should add or update a wiki page to cover these gotchas. May 28 10:36:38 I should add to or update a wiki page with these gotchas. May 28 10:36:45 good. meanwhile I'll file a PR on ipkg -d May 28 10:42:26 hi all, are we planning to move from gcc 3.4.4. to 3.4.6? (3.4.6 is the last one in the 3.4 series) May 28 10:42:39 i had some problems compiling btsco with 3.4.4 ... May 28 10:42:51 oops food has arrived back later May 28 14:38:15 hi, this might be a little bit off-topic, but I ran into problems connecting my bluetooth headset to my NSLU2. May 28 14:38:47 I've installed a BT dongle and on a hcitool scan I see my cell phone, but not my head set May 28 14:39:08 only if I put the headset into pairing mode it is seen by hcitool scan May 28 14:39:18 however if I then try to ping it I get: May 28 14:39:34 Can't connect: Permission denied May 28 14:39:42 no idea what is going on May 28 14:39:48 anybody a clue? May 28 14:56:32 no bt wiz around ?? I'm now onto "Connection timed out" .... May 28 16:56:13 has anyone tried connecting an APC UPS data port to nslu2 and running some ups monitoring? May 28 16:58:20 tuv, yeah, but not with an APC UPS May 28 16:58:42 EvilDevil, so it works? May 28 16:58:55 tuv, yes :) try nut May 28 17:01:18 nice May 28 17:02:44 http://www.networkupstools.org/ May 28 17:23:13 tuv: monitoring works. shutdown on Unslung isn't very straightforward though. May 28 17:23:51 using DebianSlug here.. so i don't think there will be any shutdown problems May 28 17:24:06 mwester-away, does unslung have a ups package? May 28 17:26:54 No. I've had one on my list of things to do for almost a year, but I've always gotten stuck on what to do about the powerdown sequence with the NSLU2. May 28 17:29:09 btw, how does one shutdown an unslung properly? i've always had disk corruptions after web-if shutdowns and halt just does a hard instant dirty shutdown May 28 17:42:27 mwester-away ? May 28 17:48:11 :p IMO there is no proper way to shutdown unslung or the native linksys firmware -- its more like a controlled crash. The command line "DO_Shutdown" does what the GUI does, and that's the closest thing to a proper shutdown the box has. If you look in /bin, you'll see "halt-test" (IIRC) -- that's not used anywhere but is a leftover on the linksys image. just reading it makes it pretty... May 28 17:48:13 ...clear that Linksys didn't know how to shut it down either. With R63 we finally got the source to the busybox "halt" routine, so we now have the tools to "fix" it (and I still hope to put in the hooks to make a UPS-triggered orderly shutdown happen). Basically the "halt" code in busybox was hacked by Linksys so that it kills a set of processes, waits one second, kills the rest (or sends... May 28 17:48:14 ...them the signal anyway), waits only one more second, then calls the SetLed utility to turn off the power. It doesn't even call the kernel "halt" routine! I think what happens on any "loaded up" slug is that the amount of time to wait for all the processes to shutdown isn't enough; but I haven't looked at it lately to see if that's really the case. May 28 17:55:50 hmm.. so that wasn't only my problem.. i basically switched to debianSlug only for this problem May 28 18:03:02 :-D I tried an experiment based on Unslung 6.9-alpha -- and replaced the entire Linksys init and halt/reboot mechanisms with something more like the standard "init" technique. It shows some progress, fixes lots of problems, but it's not Unslung anymore. So someone needs to come up with a compromise approach. May 28 18:08:54 has someone already tried to use a "windows media center edition" usb-infrared receiver on openslug? May 28 18:10:02 http://pastebin.com/743295 that's the /proc/bus/usb/devices entry for that thing May 28 18:15:51 i think lirc has support for it (mceusb2) May 28 18:50:37 can debianSlug handle usb hubs naturally or does it need some tweaking? May 28 19:15:23 tuv, it can handle it without tweaks May 29 01:52:41 i just found out that i don't have sysfs mounted on my debianSlug.. is that ok? i can't get to my ups via usb May 29 01:55:22 is there a package responsible for mounting sysfs? May 29 02:08:13 hmm.. sysfs is mounted, but there is no /proc/bus/usb and no /sys/bus/usb/drivers/hiddev (there is usbhid though) May 29 02:09:08 and i have the following in syslog: apcupsd FATAL ERROR in linux-usb.c at line 649 Cannot find UPS device May 29 02:24:21 i think i narrowed down the problem a bit.. it seems hiddev is not compiled into nslu2's kernel, neither is it loadable.. so assuming it is needed, i'm stuck :( May 29 02:27:14 will i be able to build/use any kernel modules if i compiled my debianSlug kernel using the Makefile? May 29 02:35:14 if you compile your own kernel and modules, then you can easily change the defconfig and send us the patches for incorporation. May 29 02:39:04 tuv: what is the relevant CONFIG_* symbol in .config? May 29 02:39:39 rwhitby, # CONFIG_USB_HIDDEV is not set May 29 02:40:16 rwhitby, while on my x86 laptop: CONFIG_USB_HIDDEV May 29 02:40:46 CONFIG_USB_HIDDEV=y in the SlugOS/DebianSlug kernel May 29 02:41:30 rwhitby, well.. looks like d-i's bundled kernel is different May 29 02:42:00 tuv: indeed it is. May 29 02:42:26 one day they should converge, but that day is a long way off at the moment May 29 02:42:43 (just due to having to push changes upstream and have them come back down again into the Debian kernel) May 29 02:44:16 if you want the fastest turn-around time for kernel changes, then cross-compiling the SlugOS/DebianSlug kernel in OE using the MasterMakefile is way faster than native Debian compiles on the slug. **** ENDING LOGGING AT Mon May 29 02:59:56 2006