**** BEGIN LOGGING AT Wed Jan 03 02:59:58 2007 Jan 03 03:06:30 Anyone successful at formatting a 300GB Onetouch III on an NSLU2? Jan 03 03:07:51 I keep getting a "format failed" message. Jan 03 03:23:47 I'm starting over with an NTFS format. Jan 03 03:24:00 Maybe that'll at least be mountable. Jan 03 03:39:55 Jan 03 14:09:19 afternoon all Jan 03 18:37:46 hello all - does anyonne know an easy way to found out how much free space you have left (and used) on the HD connected to the NSLU2? Jan 03 19:00:05 mlch: df -h Jan 03 19:01:24 heh, he left after waiting for less than a minute :/ Jan 03 19:14:47 I noticed that after my post :p Jan 03 19:15:26 oh ... not again ... Jan 03 19:15:44 * osas talking to himself Jan 03 20:20:48 I have problems with mysql on unslung: when I type mysql and enter, it says "mysql: error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file or directory". Yhe file is in the /opt/lib/mysql dir. How can I fix this? Jan 03 20:22:04 ik_wil_geen_spam, moment pls, you should create a symlink, but i must look, which one... Jan 03 20:22:50 ik_wil_geen_spam, ln -s /opt/lib/mysql/libmysqlclient.so.14.0.0 /lib/libmysqlclient.so.14 should work Jan 03 20:25:45 Yes. Tnx! Jan 03 20:27:40 a hasty customer... Jan 03 20:29:42 :) Jan 03 21:05:31 Hi guys Jan 03 21:05:43 how heavy is mysql on unslung? Jan 03 21:05:51 On the unslung there is locate. A nice tool, but how can I fill the db for it? Jan 03 21:06:16 for locate you will need to populate it's own database Jan 03 21:06:26 I forgot the command that you need to run ... Jan 03 21:06:29 one sec Jan 03 21:07:33 updatedb Jan 03 21:07:50 this is the one that you need to run to populate the db Jan 03 21:08:10 ik_wil_geen_spam: are you running mysql on unslung? Jan 03 21:09:27 Yep. And updatedb doesn't work. -u does not work too Jan 03 21:09:30 osas: depends entirely on what you wish to do. Casual, low-volume work is fine. Heavy file-intensive work will be poor compared to a larger system with faster I/O, faster CPU, and more memory! Jan 03 21:09:54 MySQL is running... Jan 03 21:10:00 I would like to try to se asterisk with mysql from flash ... Jan 03 21:10:04 no swap ... Jan 03 21:10:17 No swap? dangerous. Jan 03 21:10:46 also, I don't know how many times mysql writes to disk, if there's no activity on the db Jan 03 21:10:49 I think asterisk works ok with no swap, but running much more may run it out of memory. It only has 32MB. Jan 03 21:10:58 I know :-) Jan 03 21:11:22 right now, I killed most of the other procceses to free up more space Jan 03 21:11:35 killing samba helps greatly Jan 03 21:12:13 on the other hand, for unslung 5.5 and 6.8, if running from flash, the /dev and /var should be mounted into mem by default Jan 03 21:12:31 right now, those are not (I manually patched my init scripts) Jan 03 21:12:32 From internal flash, yes. Jan 03 21:12:46 even from external flash Jan 03 21:13:20 * mwester makes note to check; unslung is not supposed to use ramfs when unslung to external device Jan 03 21:13:21 mysql uses a lot of memory Jan 03 21:13:42 If I use an external flash, /dev and /var are not mounted into ramfs Jan 03 21:13:53 running it from flash without swap is like jumping from the empire states building without parachute Jan 03 21:14:36 mwester: here's what I did on rc.1: Jan 03 21:14:51 25c25 Jan 03 21:14:51 < if ( ( [ ! -f /.sda1root ] && [ ! -f /.sda2root ] && [ ! -f /.sdb1root ] && [ ! -f /.sdb2root ] ) || [ -f /.ext3flash ] ) ; then Jan 03 21:14:51 --- Jan 03 21:14:51 > if ( [ ! -f /.sda1root ] && [ ! -f /.sda2root ] && [ ! -f /.sdb1root ] && [ ! -f /.sdb2root ] ) ; then Jan 03 21:15:04 . Jan 03 21:15:15 extra check for /.ext3flash Jan 03 21:16:00 Ok. that makes /var non-peristent (a potentially bad thing, and not supportable), and it means that you have less RAM to run asterisk and mysql! Jan 03 21:16:26 yup, but I have less writes to the flash Jan 03 21:16:42 I'm running asterisk in this config for a year now and it is ok Jan 03 21:16:44 flash drives are cheap. Jan 03 21:16:46 isn't /var backed up to flash at shutdown ? Jan 03 21:17:12 you can get a tiny usb pen for about 15$ Jan 03 21:17:15 shutdown on the linksys firmware is more like a controlled crash - no time to backup anything Jan 03 21:18:20 the concerning part is really /var/log -- if ram-based, no ability to find out why system failed. Jan 03 21:18:36 but if it's been running for a year, then that's probably not a common occurence :) Jan 03 21:18:41 yup Jan 03 21:18:56 in a controlled/tested env it should be ok Jan 03 21:19:07 anyway, this is my setup Jan 03 21:19:24 I'm not sure I'd add mysql to that setup without a great deal of testing! Jan 03 21:19:34 do you have a serial port on the SLUG? Jan 03 21:19:38 extra tests on rc.1 and rc.sysinit for /var, /dev and /tmp Jan 03 21:19:49 now, but I can add one Jan 03 21:20:16 my prefered setup is openslug, but I couldn't get the lates asterisk to run on openslug :( Jan 03 21:20:23 That's where the diagnostics regarding memory shortfall would end up; easiest way to see if that's the problem. Jan 03 21:21:00 I too would prefer openslug -- much easier to free the memory, and less hacking about to do what you wish! Jan 03 21:21:18 Have you filed a bug, or let the package maintainer know of the problem on openslug? Jan 03 21:21:26 ik_wil_geen_spam: can you post the memory utilization for mysql? Jan 03 21:21:43 I was maintainig the package :-) Jan 03 21:22:14 I was able to compile for optware, but not for openembedded Jan 03 21:22:32 I need to hack more the config stuff :p Jan 03 21:22:41 I don't have time right now Jan 03 21:23:38 I opened a bug with asterisk guys about the hacked config stuff ... Jan 03 21:23:55 Check in with eno on #nslu2-linux -- he is working on creating a feed of optware for OpenSlug. Perhaps if you and he were to spend a few minutes, you might be able to get the optware asterisk working on openslug. Jan 03 21:24:06 osas: slugosbe gets the best of both worlds Jan 03 21:24:08 I know that Jan 03 21:24:31 osas, mem consumption of mysql on unslung-5.5 -> http://rafb.net/p/2uYLn753.html Jan 03 21:24:36 asterusk1.4 doesn't compile for openslug optware target :( Jan 03 21:25:03 bummer Jan 03 21:25:07 caplink811: thx Jan 03 21:25:10 np Jan 03 21:25:42 hmmm ... it doesn't look big Jan 03 21:25:47 it might work Jan 03 21:26:05 I will give it a try ... sometime ... and let you know guys how it works Jan 03 21:26:29 yeah ... slogos is the best :-) Jan 03 21:26:55 I have mine running for ages (with my dircproxy on it) Jan 03 21:27:04 osas: my memory utilization is default. My db doesn't do much. Jan 03 21:27:42 k Jan 03 21:28:13 slug with flash is the best combination: no fans -> no noise :-) Jan 03 21:28:57 osas, looks like it is missing PATH_MAX include/asterisk/paths.h:23 Jan 03 21:29:05 osas, the best combination is SLUG and NFS-root Jan 03 21:29:32 Naib: you are creating a dependancy :-) Jan 03 21:29:42 I want a standalone box Jan 03 21:30:29 eno: where should I define the PATH_MAX? Jan 03 21:31:08 I has passed some time since I was trying to copile asterisk14 for slugos optware Jan 03 21:31:20 and I was trying using the 3.10 toolchain Jan 03 21:31:25 for some strange reason, slugosbe does not get PATH_MAX definition included Jan 03 21:31:39 ok Jan 03 21:31:54 I will give it a try sometime this week Jan 03 21:32:01 as a workaround, i now put -DPATH_MAX=4096 in STAGING_CPPFLAGS for slugosbe Jan 03 21:32:11 I will let you know how it works Jan 03 21:32:14 I see Jan 03 21:32:35 eno: are you going to update the makefile? Jan 03 21:32:54 since asterisk14 does not use STAGING_CPPFLAGS, just set it in ASTERISK14_CPPFLAGS Jan 03 21:32:59 i'm trying that right now Jan 03 21:33:11 and looks like it's working Jan 03 21:33:37 you'll need to have the openslug toolchain built Jan 03 21:33:47 asterisk has some dependencies ... and those are provided via optware packages Jan 03 21:34:04 but the same package might be aready installed Jan 03 21:34:27 it means that there will be two packages providing the same functionality? Jan 03 21:34:39 one in / and the other one in /opt? Jan 03 21:34:56 eno: I have the openslug 3.19 toolcahin Jan 03 21:35:28 for instance openssl: it will be available via openslug feeds and via openslug optware feeds Jan 03 21:35:41 do we need to install both? Jan 03 21:35:46 osas, let's switch to #nslu2-linux Jan 03 21:35:52 ok Jan 03 21:38:25 any plan on getting the OpenSSH/SSL which is avail for OpenSlug to be compiled against tcp-wrapper? Jan 03 21:38:38 and also having tcp-wrapper avail in the feeds? Jan 03 21:55:44 Naib: i can only speak for optware, tcpwrappers just got in optware/slugosbe feed Jan 03 21:56:20 ahh nice, got my own patched bb and compiled here, since need tcpd to block script-kids Jan 03 23:42:25 Hi, anybody here? What the various nslu2 channels available? I had to reinstall by irc client :( Jan 04 00:01:05 chacko: http://www.nslu2-linux.org/wiki/Main/IRC Jan 04 00:03:00 eno: I see only -LINUX and -general there. I had seen and used another one previously... Jan 04 00:26:12 chacko: maybe #openslug ? Jan 04 00:27:43 eno: thanks, that was it :) Jan 04 00:28:18 can you add it to the wiki page? Jan 04 00:28:36 I shall Jan 04 00:37:55 eno: I cannot do this, it asks for a password. I had changed other wiki pages before. Jan 04 00:38:27 eno: there is configuration correction needed in the ipkg-opt.ipk Jan 04 00:54:05 chacko: sorry, i was away (busy at work) Jan 04 00:54:20 please tell me the ipkg-opt.ipk change Jan 04 00:54:44 eno: let me look it up Jan 04 00:57:13 FIX: edit the opt/etc/ipkg.conf (this got installed as part of the ipkg expansion and has …/stable feed instead of …/unstable. Jan 04 00:57:58 i think we should use stable feed Jan 04 00:58:50 when we officially announced the slugosbe Jan 04 00:58:55 there will be a stable feed Jan 04 00:59:08 like in the case of nslu2 Jan 04 00:59:20 (i mean optware/nslu2) Jan 04 00:59:46 ok... Many of the other manual configs you describe on the webpage you gave me, can be actually put into the ipg-opt.ipk Jan 04 01:00:10 for nslu2, currently stable == unstable Jan 04 01:00:37 but there were discussion in #nslu2-linux about making these two feeds different Jan 04 01:02:21 Yes, that is what I like too... So if ipkg-opt.ipk just gets from your feed (after manual get of opt-pkg.ipk), then they will remain separate Jan 04 01:02:24 if it's not too much trouble, how about you start a new wiki page: OptwareSlugosbeManualBootstrap Jan 04 01:02:54 btw, the sync rebuild you did, did fix that time update error msg, VERY GOOD! Jan 04 01:03:05 excellent Jan 04 01:03:29 that wiki page can start from my blog entry Jan 04 01:03:40 make changes as needed Jan 04 01:04:23 Yes, I can try that, but I prefer to use the nslu2 wiki pages Jan 04 01:04:44 yes, start the new wiki page on nslu2-linux.org Jan 04 01:05:22 hope I can get in, as I said, it asked for a password from me when I tried to update that one page... Jan 04 01:05:37 I do not remember ever using even a user name before Jan 04 01:06:10 new wiki page should be ok, try it Jan 04 01:07:32 The way Rod said to go was, just get the ipgk-opt.ipk manaully (to put in a barrier to prevent errors), and then ipkg install of that .ipk should everything needed.. Which means your .ipk needs to be updated Jan 04 01:08:11 Eno, are you back at home? Jan 04 01:08:14 i can ask Rod to link stable to unstable for the time being Jan 04 01:08:19 i'm still at work Jan 04 01:08:52 then it should work out-of-box Jan 04 01:08:56 do you know anything about linux debugfs or sleuthkit ? Jan 04 01:09:19 sorry i don't Jan 04 01:09:47 Thanks, ok, got ot go ... Will talk later ... Jan 04 01:10:06 later **** ENDING LOGGING AT Thu Jan 04 03:00:02 2007