**** BEGIN LOGGING AT Sun Jan 21 03:00:03 2007 Jan 21 08:28:28 why is my load average 1 even though the slug is idle? Jan 21 14:34:22 hi all!! any1 round for a few mins to answer a few q's??? Jan 21 14:34:32 no :) Jan 21 14:34:40 haha! oh no - u again! *hides* Jan 21 14:34:41 hehehe Jan 21 14:35:08 been quiet in here since you went :) Jan 21 14:35:16 ive flashed to unslug n formatted 1 of the drives i was talking bout the other night 2 ext3 - getting 5-6mb/sec on ftp Jan 21 14:35:25 better Jan 21 14:35:51 just wondering what the best combination/transfer protocol to use would be to get the data on/off the drives the quickest - what im doing - ext3 on all 3 and use ftp? Jan 21 14:36:14 i think samba's proving quickest on mine. Jan 21 14:36:40 samba??? is that an extension or another flash? been seeing it all round the place Jan 21 14:37:05 smb is what windows uses nativley so just good old unc \\slug\drive etc Jan 21 14:38:14 there u go again going over my head >.< Jan 21 14:38:36 samba 1st then the \\slug\etc Jan 21 14:39:03 the slug comes with smb (samba) out of the box Jan 21 14:39:31 you named your slug mysql then you should be able to go to \\myslug\drive 2 Jan 21 14:39:44 "\\myslug\drive 2" by doing "start, run" Jan 21 14:39:48 in a normal explorer window Jan 21 14:40:00 yes Jan 21 14:40:28 try just \\[myslug] then you can browse the shares Jan 21 14:40:43 where [myslug] is the name of your slug Jan 21 14:42:12 yeah - sorry man - im not that daft Jan 21 14:42:20 heh Jan 21 14:42:28 the xfer rates on that b4 were horrible tho Jan 21 14:42:39 but u think they'll increase now ive got unslug Jan 21 14:42:45 hmm mine seems better than ftp Jan 21 14:43:04 maybe i should do more testing Jan 21 14:43:16 well maybe now you have ext3 Jan 21 14:44:05 just tried it then - getting 1-2mb/sec n my cpu goes 2 100% Jan 21 14:44:09 slows down the whole machine Jan 21 14:44:33 thru ftp - its 5-6mb/sec last ngiht - just try it again now 2 make sure Jan 21 14:46:30 4mb/sec atm Jan 21 14:46:39 xfering from pc - ext3 on slug Jan 21 14:48:12 just looking for the most efficient way to get the data flowing cause im dealing with large files most of the time Jan 21 14:48:29 actually mine seems slower on smb now? not getting the 4mb i used to Jan 21 14:48:47 ahh ok it's picked up Jan 21 14:48:57 it seems about 1mb quicker on smb Jan 21 14:48:59 uve just flashed ur slug 2 unslug n ext 3? Jan 21 14:49:06 yeah Jan 21 14:49:26 an i'm lovin it! Jan 21 14:50:33 what u averaging? Jan 21 14:50:46 about 4mb on smb 3 on ftp Jan 21 14:51:29 does ur cpu go2 100% when u start an xfer? Jan 21 14:51:49 it goes pretty high if i recall Jan 21 14:52:10 was that writing or reading? Jan 21 14:52:37 writing i havent really monitored it as it's a backup so speed isnt that important for me Jan 21 14:53:11 i setup ms synctoy to just sync my pc so i can access my files remotely without having the pc on Jan 21 14:53:12 ah k - well writing im getting 3.5-almost 4mb/sec Jan 21 14:53:28 which is kewl - n the cpu is @ 70ish% Jan 21 14:55:09 ive got taskmanager open so i can see which 1's are going faster smb is more consistent speed - ftp jumps around a lot but the peaks are higher Jan 21 14:55:52 ftp is definately faster 3.5 - 5mb/sec Jan 21 14:56:47 4mb/sec is acceptable Jan 21 14:57:47 well as most of my access will be over the net i'll never get anywhere near that Jan 21 14:58:17 ahh - true true Jan 21 14:58:38 mines more for media centre as u already know :-p just got my plazma tv here finally 2day - 50" lg plazma Jan 21 14:58:46 looks so pretty >.< Jan 21 14:59:22 heh Jan 21 14:59:43 * warlord0 jealous. wants new toys. but hte wife would spoil them watching soaps anyhow Jan 21 15:00:16 haha - no soaps on lg...only the good stuff - trek trek trek :-p haha! Jan 21 15:00:50 its got a hdtv tuner inside it so just plug in the aerial n ur away - so clear with teh hdtv Jan 21 15:01:11 n cause the screens so big when u swap th standard digital u can really see teh difference - specially in ppl's skin Jan 21 15:03:35 well i gots me lotsa file xfering 2 do - many hundreds of gigs >.< *turns off pc n wanders 2 kitchen* Jan 21 15:03:55 thanks again warlord!!! ur a legend! Jan 21 15:04:00 np laters Jan 21 16:49:53 uhm can someone explain why I get input/output errors? Jan 21 16:50:03 and how can I determine it's my NSLU2 or Jan 21 16:50:04 the drive Jan 21 16:58:43 l0c4lh0st: how are you mounting the drive? Jan 21 16:58:51 And is your NSLU2 overheating? Jan 21 16:59:50 it's not that hot Jan 21 16:59:58 and I just use mount /dev/sdb /data Jan 21 17:00:10 It's usually the drive's temp that is the problem... Jan 21 17:00:19 actually, it's an USB stick Jan 21 17:00:24 not IDE / SATA Jan 21 17:00:55 Ah. The obvious question, then, is if the stick is failing. Jan 21 17:01:25 (Seldom do we see USB errors or an overheating slug) Jan 21 17:01:41 Yeah Jan 21 17:01:50 I'd like to know how I can verify it's the stick and not the slug Jan 21 17:01:53 l0c4lh0st: what mount flags are you using for the drive? Jan 21 17:01:58 Nothing Jan 21 17:02:04 "mount /dev/sdb /data" Jan 21 17:02:05 Sync or async? Jan 21 17:02:09 that's what I used to type Jan 21 17:02:18 uh, sorry, what do you mean by that? Jan 21 17:02:25 What filesystem is on the stick? Jan 21 17:02:31 ext3 Jan 21 17:02:48 You're running a journaling filesystem on a memory stick? Jan 21 17:02:53 Neat! Jan 21 17:03:03 Isn't that good? Jan 21 17:07:17 What should I use then? Jan 21 17:07:19 I managed to save important data Jan 21 17:07:23 by putting it in my PC Jan 21 17:07:42 o_O Jan 21 17:07:45 oh Jan 21 17:07:51 it's FAT32 Jan 21 17:07:52 not ext3 Jan 21 17:07:52 wtf Jan 21 17:07:56 I would imagine that it wouldn't be since the journal would hit the same spot on the flash over and over (granted the control chips would try to do some balancing of the writes to limit the damage) Jan 21 17:08:43 well I can safely format it now Jan 21 17:08:43 but what is the chance it happens again? Jan 21 17:08:58 fdisk (on Debian) was complaining btw Jan 21 17:08:59 What firmware are you running on the slug? Jan 21 17:09:01 it had too many cilinders or something Jan 21 17:10:08 I'm formatting it now in Windows Jan 21 17:10:51 USB flash memory devices will do internal load leveling, so no writes will hit the same spot on the flash over and over. Ext3 works rather nicely on the devices! Jan 21 17:11:25 So I should format it Ext3? Jan 21 17:11:25 mwester: I'd imagine if the disk was close to full that it wouldn't be able to load level as well. Jan 21 17:11:48 The number of cylinders for this disk is set to 1081. Jan 21 17:11:49 There is nothing wrong with that, but this is larger than 1024, Jan 21 17:11:49 I have one of my slugs running on a usb flash device. Jan 21 17:11:52 That's the message I get Jan 21 17:11:59 mine is running on an USB flash device too Jan 21 17:12:00 Re: cylinders: the concept doesn't apply to the devices, windows and the NSLU2 disagree on the geometry, so you'll alway see complaints. It works fine, since there are no cylinders in reality. Jan 21 17:12:04 1 GB usb stick Jan 21 17:12:26 but 3 days ago I added a 4 GB usb stick Jan 21 17:12:27 for data Jan 21 17:12:29 and stuff Jan 21 17:13:23 A second one? Jan 21 17:13:42 How is it connected to your slug? Jan 21 17:14:16 OS flash disk is in port 1 Jan 21 17:14:21 and the data flash disk is in port 2 Jan 21 17:14:27 For my slugs, I either upgraded the power supply to a larger one or use a powered hub. Jan 21 17:14:45 You're thinking it doesn't get enough power? Jan 21 17:14:50 I have no idea. Jan 21 17:15:11 can you tell me how to properly make a filesystem? Jan 21 17:15:22 'cause I want ext2 or ext3, not fat32 Jan 21 17:15:52 hi :> I'm one of the authors of the MediaTomb project, it's a UPnP server for linux. I'd be very interested to see a package for nslu2, some people were asking about this. Unfortunately I do not have an NSLU2 unit, is there anyone who is willing to help out? Jan 21 17:16:04 But for me, after removing the diode to allow me to run the slug at 233 and having a USB ethernet card and flash card, I was having issues with it being reliable. After upgrading the power supply it has been more reliable. Jan 21 17:16:39 mke2fs -j /dev/sd?1 is the simplest way to make an ext3 filesystem Jan 21 17:16:51 ooh, not with fdisk? Jan 21 17:17:08 fdisk is used to make partitions, not filesystems. Jan 21 17:18:15 Creating journal (16384 blocks): Jan 21 17:18:15 Sooo it becomes ext3 Jan 21 17:18:33 Jin^eLD: Certainly. I don't see eno about today, but he coordinates and manages the optware feeds. Is MediaTomb user-space, or does it involve kernel code? Jan 21 17:19:33 yup. Jan 21 17:19:37 mwester: userspace, there is already a .bb file for it, koen also made an Angstrom package Jan 21 17:19:50 afaik NSLU2 uses OE, right? Jan 21 17:20:19 WARNING: Re-reading the partition table failed with error 22: Invalid argument. Jan 21 17:20:21 o_O Jan 21 17:20:42 OpenSlug uses OE for its packages; Unslung and many other devices use the Optware mechanism. Jan 21 17:20:55 l0c4lh0st: what did you do in fdisk? Jan 21 17:21:08 make a partition Jan 21 17:21:13 or shouldn't I do that? :| Jan 21 17:21:15 I presume that it uses the standard automake and such? Jan 21 17:21:40 mwester: yes, it uses autoconf/automake Jan 21 17:21:48 l0c4lh0st: did you reboot after changing the partition table? If the partition table is in use then the kernel can get confused Jan 21 17:22:46 when you saved the partion table did you get a warning? Jan 21 17:23:01 Jin^eLD: I'll take a look at the OE bb stuff, and see if I can get it to build for openslug. If I need to contact you, which IRC channel might I find you in? Jan 21 17:23:27 3joshin: I'm doing it again now Jan 21 17:23:38 seems to be going alrighty now Jan 21 17:23:48 mwester: I'm on #mediatomb on freenode, you can also reach me via mail - jin@mediatomb.org Jan 21 17:23:58 Jin^eLD: Why do you think that MediaTomb would be any different on the nslu2 vs any other linux machine? Jan 21 17:24:04 thanks! Jan 21 17:24:19 * joshin runs Gentoo on his nslu2 without problems (so far) Jan 21 17:24:48 s/any other linux/any other SLOW linux/ Jan 21 17:24:49 joshin: well, I had a user who did some testing and there was some weirdness involved; but what I would like to see is - a package that others could just download and install Jan 21 17:24:50 joshin meant: Jin^eLD: Why do you think that MediaTomb would be any different on the nslu2 vs any other SLOW linux machine? Jan 21 17:25:06 :) Jan 21 17:25:22 anyone know where the cheapest place is to get a nslu2 Jan 21 17:25:23 Aah, did they state the type of weirdness they encountered? Jan 21 17:25:49 I got one from an Amazon associated seller for right around $50 Jan 21 17:26:09 joshin: the guy who tried that did on-target compilation and he also had some libs messed up, so I was never sure if the weirdness came from the installation he had or from our code; he was reporting crashes during streaming though Jan 21 17:26:13 $50 man that's almost a 1/3 of what i paid! Jan 21 17:26:53 * DrJ is wanting another slug to put debian on Jan 21 17:27:11 I see one for $78.50 from an amazon seller. http://www.amazon.com/gp/offer-listing/B0001FSCZO/ref=dp_olp_2/002-5395948-6182414 Jan 21 17:27:12 I paid $90 for my first one at walmart Jan 21 17:27:25 * warlord0 is wanting a slug to play with so i can leave my production one alone :) Jan 21 17:27:33 That's why I have 2. Jan 21 17:27:40 that's what I want also warlord0 Jan 21 17:27:48 one to play around wtih some I don't screw my good setup Jan 21 17:27:50 One of these days/months/years I'll see about adding memory to one. Jan 21 17:28:04 i have 250gb drives coming out of my ears i just want another slug :( Jan 21 17:28:26 hmm, they appear to go a little cheaper on ebay Jan 21 17:28:52 Yeah but then you have to factor in the risk of buying through eBay. Jan 21 17:29:14 * DrJ has bought many things from ebay Jan 21 17:29:21 warlord0 Jan 21 17:29:24 warlord0: I'm not talking about disk space. I'm talking about upgrading my slug from 32MB to 64 or even 128MB. Jan 21 17:29:26 Where can I get such a pair of ears? Jan 21 17:29:42 heh Jan 21 17:29:43 l0c4lh0st: Plastic surgeon? Jan 21 17:29:57 10(joshin10): so you want a fattened slug? Jan 21 17:30:04 Yup. Jan 21 17:30:25 I've been practicing removing memory chips from old dead memory modules. Jan 21 17:30:32 i'd be interested to see how it performs or how hard it is to achieve. i'm all thumbs when it comes to soldering Jan 21 17:30:55 joshin: you don't trust ebay? Jan 21 17:31:08 I'd imagine that it would be spectacularly nice to have a 128MB slug. Especially for us crazy folk running Gentoo on it. Jan 21 17:31:30 yeah but gentoo is too much of a real mans linux for me. Jan 21 17:32:34 DrJ: I've been buying and selling on eBay since before it was called eBay. But 10% of the transactions on it have been imperfect so for me to jump on a 'deal' the item needs to be 10% cheaper than elsewhere. Jan 21 17:32:41 warlord0: Chicken! :) Jan 21 17:32:54 i'm not afraid to admit that :) Jan 21 17:33:08 With a few A64's to do all the compiling, it works quite nicely. Jan 21 17:33:50 too much like pushing a screwdriver in my ear and waggling it about Jan 21 17:33:59 i get the same result Jan 21 17:35:31 all the uk ebay slugs are looking to go for about £10 cheaper than i paid. that's about 20%. Jan 21 17:36:47 joshin, I did get one DVD I bought from ebay that ended up being a bootleg Jan 21 17:36:56 but out of the 25 experiances I've had, that was the only bad one Jan 21 17:37:29 BTW, I'm talking to all you fine people via my slug which is running an irssi proxy. :) Jan 21 17:37:43 i got screwed over some blank dvds. they were under the recovery value so paypal etc. just bowed out. Jan 21 17:38:18 I figure a 5% utilized 2.5-5w device is better than a .05% device that uses 100w or more. :) Jan 21 17:38:41 i like the idea of using a proxy on mine but a java client to go with it, to run in a browser would be very handy Jan 21 17:45:46 hmm how do i find out if the performance of my slug is down to php or mysql? if i access mysql from my pc using the admin/query tools it performs pretty well. but using wordpress takes about 3-4 seconds to render simple pages. anyone else got experience with this? Jan 21 17:59:12 warlord0: What does "top" say? Jan 21 17:59:22 Which OS/firmware are you running? Jan 21 18:00:16 running unslung, top seems to indicate php-fcgi is where the performance is as it stays above most things. is that correct? Jan 21 18:01:03 oh running under cherokee Jan 21 18:01:37 Ok. How about your memory usage? What does free say? Jan 21 18:01:53 (BTW, are you running busybox top or procps top?) Jan 21 18:02:06 busybox i guess Jan 21 18:02:27 total used free shared buffers Jan 21 18:02:28 Mem: 30524 27784 2740 0 2380 Jan 21 18:02:28 Swap: 120480 12960 107520 Jan 21 18:02:28 Total: 151004 40744 110260 Jan 21 18:02:28 I'd install the procps package if you can. Much better output for debugging things like this. Jan 21 18:02:41 ahh ok Jan 21 18:03:02 so i need to do a forece-overwrite in ipkg to do that wouldnt i? Jan 21 18:03:07 You're using an awful lot of swap. Jan 21 18:03:17 Not sure, try it the normal way first. :) Jan 21 18:03:30 What apps are you running on your slug? Jan 21 18:03:55 cherokee, mysql, php and vsftpd Jan 21 18:04:30 Can you pare down the number of threads/processes on any of them? Jan 21 18:04:43 if i knew how maybe Jan 21 18:05:41 I'd suggest strongly that you learn. Jan 21 18:05:44 seems to have 3 mysql, 4 php and 6 cherokee threads Jan 21 18:05:49 i will try :) Jan 21 18:06:42 I'm not familiar with cherokee but if it is like apache, you probably don't need more than a couple of threads listening for conections. Jan 21 18:09:01 ahh i think i see in advance.conf for cherokee i can set threads... will play for a bit :) Jan 21 18:09:16 Good luck! Jan 21 18:09:53 thx Jan 21 18:28:42 Does anybody has a url on the commands supported by unslung? Jan 21 18:28:42 I have trouble with the most simple thing like usermod and adduser. Using them returns "No such file or directory" Jan 21 18:40:08 mika_ :) Jan 21 18:49:19 bad: ls /opt/bin /bin /usr/bin Jan 21 18:49:46 that will list the names of the user commands available on your nslu2. the list will change as you add/remove packages. Jan 21 18:50:17 and "ls /sbin /usr/sbin /opt/sbin" will list the commands that are considered administrative-only. Jan 21 18:51:31 10(bad10): you're better off adding users in the web gui then editting /etc/passwd as necessary Jan 21 19:08:44 hi Jan 21 19:33:52 ok, tn Jan 21 19:33:54 x Jan 21 20:16:54 could anyone help me diagnose a "disk not formatted" condition that doesn't appear to be covered by FAQ/wiki/google searches? Jan 21 20:19:05 fwiw I've verified that this disk that was working still has a readable partition table, and the data is all there (thanks to another linux box) Jan 21 21:18:07 Quikkie: what firmware? Jan 21 21:18:14 6.8 Jan 21 21:18:31 How is it formatted? Jan 21 21:18:39 in fact dmesg tells me it doesn't like the partition table Jan 21 21:18:56 standard ext3 via the slug Jan 21 21:19:24 So, it's natively formatted on the NSLU2? (three partitions, etc?) Jan 21 21:19:29 correct Jan 21 21:19:39 worked up until this morning Jan 21 21:19:46 What's the message in demsg Jan 21 21:20:14 scsi1 : SCSI emulation for USB Mass Storage devices Jan 21 21:20:14 ! scan_scsis Jan 21 21:20:14 do read capacity!!! Jan 21 21:20:14 read capacity ok!!! Jan 21 21:20:14 The capacity is 625142448 Jan 21 21:20:15 *** 49 Jan 21 21:20:17 Vendor: WD Model: 3200JB External Rev: 0107 Jan 21 21:20:19 Type: Direct-Access ANSI SCSI revision: 02 Jan 21 21:20:21 Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0 Jan 21 21:20:23 SCSI device sdb: 625142448 512-byte hdwr sectors (320073 MB) Jan 21 21:20:25 31 port connect!!!!! Jan 21 21:20:27 /dev/scsi/host1/bus0/target0/lun0:<2>usb-storage: host_reset() requested but no Jan 21 21:20:29 t implemented Jan 21 21:20:31 scsi: device set offline - command error recover failed: host 1 channel 0 id 0 l Jan 21 21:20:33 un 0 Jan 21 21:20:35 SCSI disk error : host 1 channel 0 id 0 lun 0 return code = 6070000 Jan 21 21:20:37 I/O error: dev 08:10, sector 0 Jan 21 21:20:39 I/O error: dev 08:10, sector 2 Jan 21 21:20:41 I/O error: dev 08:10, sector 0 Jan 21 21:20:45 I/O error: dev 08:10, sector 0 Jan 21 21:20:47 unable to read partition table Jan 21 21:20:49 WARNING: USB Mass Storage data integrity not assured Jan 21 21:20:51 oops too much in the paste buffer, sorry Jan 21 21:21:19 Works ok on another Linux system, then? Jan 21 21:21:50 debian vmware image can fsck, fdisk and mount Jan 21 21:23:05 Are you hot-plugging, or booting with the device attached? Also, is it self-powered? Jan 21 21:23:46 I've tried booting with disk, without disk and hot plugging and yes the HDD has it's own psu Jan 21 21:24:05 What does the vmware image say the partition table is? Jan 21 21:24:36 you want the output of fdisk? Jan 21 21:25:58 yep Jan 21 21:27:36 255head, 63 sectors per track, 38913 cylinders Jan 21 21:28:36 (paraphrasing as I can't c'n'p between x session and windows based cli vmware) Jan 21 21:29:33 sdb1 starts at 1 ends at 38883, blocks 312327666, id 83 Jan 21 21:30:20 sdb2 starts at 38884 ends at 38898, blocks 120487+ , id 83 Jan 21 21:31:00 sdb3 starts at 38899 ends at 38913, blocks 120487+ , id 82 Jan 21 21:33:34 one other thing: when I ask fdisk to verify the partition table it comes back with "5165 unallocated sectors" Jan 21 21:35:15 dunno about the unallocated sectors, but all else looks normal. It worked earlier? Jan 21 21:36:39 yup, I had sshd, nfs, lighttpd, php-fcgi and torrentflux working last night - I set a torrent going and this morning it was locked up. Jan 21 21:37:13 samba, ssh, web admin and lighttpd unresponsive but it was pinging okay Jan 21 21:37:35 power button beeped but otherwise did nothing Jan 21 21:38:16 so my last resort was to yank the power (I'm a unix admin in work life so I know how bad it is to do that) Jan 21 21:43:14 Does fdisk -l have anything to say on the NSLU2? Jan 21 21:46:22 nope - just returns the prompt Jan 21 21:51:58 which is a correct behavior on the slug, seems that one needs a device Jan 21 21:52:27 s/that/that this/ Jan 21 21:52:27 caplink811 meant: which is a correct behavior on the slug, seems that this one needs a device Jan 21 21:54:45 specifying /dev/sda (in this case) still returns the prompt with no further output Jan 21 21:55:14 which is, hm, unusual Jan 21 21:57:18 yup! I'm not really much more than a casual user of linux with a reasonable understanding of general unix concepts i.e. I can find my way around a solaris /aix/hpux/freebsd box. Jan 21 21:58:26 but I know what I don't know ;) Jan 21 22:04:05 just as an idea, it seems a thing, to do a backup of that disk Jan 21 22:04:20 s/a thing/a good thing/ Jan 21 22:04:20 caplink811 meant: just as an idea, it seems a good thing, to do a backup of that disk Jan 21 22:05:23 yeah, strangely it's the newest disk I have (~6 months old) Jan 21 22:06:52 and afterwards, tr something like fdisk /dev/sdx on your linux machine, and write down the partition map.. maybe it's corrupted in some kind which makes the nslu crazy Jan 21 22:11:19 * Quikkie nods Jan 21 22:13:40 I held out a vague hope that someone had the right incantation to revive my slug... never mind - at least this time I made notes on what I installed / configured Jan 21 22:15:47 thanks for your time mwester / caplink811 I appreciate it! Jan 21 22:15:53 np **** ENDING LOGGING AT Mon Jan 22 02:59:58 2007