**** BEGIN LOGGING AT Mon Jun 05 02:59:57 2006 Jun 05 10:53:08 anyone around? Jun 05 10:54:09 i'm using debianslug, seems slower than unslung, could it be the tmpfs thing? Jun 05 10:54:29 tmpfs on /dev/shm type tmpfs (rw) and tmpfs on /dev type tmpfs (rw,size=10M,mode=0755) Jun 05 11:07:23 Sorry, I can't help you (I think), but I got a question to you: How big is your DebianSlug? I read you need 2.6 GB drive for it, but I only got a 1 GB usb stick Jun 05 11:14:41 hi bazz Jun 05 11:15:07 slower in general or on some specific tasks? Jun 05 11:25:55 i got a 300 GB disk attached to it Jun 05 11:25:59 hiya drif Jun 05 11:26:21 well actually, i'm using rtorrent for some downloading Jun 05 11:26:33 and smb goes kind of slowly Jun 05 11:26:49 and irssi (this client), is also kind of slow Jun 05 11:27:07 switching between screens (screen command) is also rather slow Jun 05 11:28:20 http://pastebin.com/759488 Jun 05 11:28:54 i think half of the RAM is being used for a ramdisk or sth like that Jun 05 11:29:29 top - 13:43:48 up 4 days, 16:04, 5 users, load average: 2.55, 2.98, 2.63 Jun 05 11:30:07 copying files FROM the slug to a local pc is slower than copying files TO the slug Jun 05 11:30:33 3000 kbyte/s down and 4200kbyte/s up Jun 05 11:32:37 when using rtorrent at background or without? Jun 05 11:36:35 never tried without actually Jun 05 11:37:04 let's try Jun 05 11:38:05 no difference: Avg: 2904.05 kByte/s Jun 05 11:39:11 uploading: Avg: 3803.38 kByte/s Jun 05 11:42:39 it would be nice if anyone could give some advice on this Jun 05 11:42:43 brb Jun 05 15:43:19 what did it mean when booting unslung and ready/status keeps flashing indefinitely... Jun 05 15:47:07 drif, seems like the slug is having a party... ;) but seriously. i don't know. there's a page on the www.nslu2-linux.org wiki about the status leds, but i think that this applies to SlugOS only Jun 05 15:49:55 l0c4lh0st, the 2.6 GB is the requirement for the Cross-Compile Environment Jun 05 15:50:19 So I need that space on the NSLU2? Or just on my HDD ? Jun 05 15:50:54 l0c4lh0st, you need that space if you want to cross-compile the debianslug-image on a x86 box Jun 05 15:51:16 But I don't want that, I just want to put Linux on my NSLU2 + Apache, PHP etc. Jun 05 15:53:13 l0c4lh0st, this should work without problems on a 1 GB stick. according to http://www.nslu2-linux.org/wiki/DebianSlug/DebianSlugUsers there are some users that run debianslug on a 512MB usb-stick Jun 05 15:53:27 Okay Jun 05 15:53:37 Then I'll look further into it when it's summer vacation :D Jun 05 17:38:17 hi.. i have an unslung 5.5 box that seems to be having problems with port 2 drives. i can see a new drive via the web gui, and format it, but it comes back and says unformatted when it's done and df doesn't show it. how can i manually try to mount it ? Jun 05 17:40:37 mount /dev/sdb1 /mnt Jun 05 17:41:27 ah so that shows that the drive is formatted but not partitioned like it should be i guess: Jun 05 17:41:48 /dev/sdb1 153660192 32832 152066244 0% /mnt Jun 05 17:43:36 what script does the web gui run when you tell it to format a drive ? Jun 05 17:46:20 no clue... but you can run fdisk -l /dev/sdb to see if it is partitioned Jun 05 17:47:14 to create a ext3 filesystem on a partition, you can run mkfs.ext3 /dev/sdb1 (make sure that there is no data on it yet) Jun 05 17:47:23 Device Boot Start End Blocks Id System Jun 05 17:47:58 that looks a lot like sda, which is the same size drive, so it looks partitioned Jun 05 17:48:22 for some reason the slug doesn't want to mount it like it did my old drive before my old one started acting weird. Jun 05 17:48:53 i.e. /share/flash/data and /share/flash/conf no longer show up Jun 05 17:49:10 i thought it was the old drive but now i'm wondering if it's the slug, since the same issue is happening on this new drive Jun 05 17:53:41 so i guess the question is where/when is the 2nd drive supposed to be mounted with the proper partitions in the proper places, as it appears ok overall Jun 05 17:56:33 i guess the wiki knows the answer (unlike me) Jun 05 17:57:05 seanb724, how many USB_Detect processes are shown by the ps -ef command? Jun 05 17:57:06 i haven't been able to find any answers to these questions there, so so far you've been more help :-) Jun 05 17:57:34 hmm Jun 05 17:57:35 ps -ef | grep -i USB Jun 05 17:57:35 root 10 1 0 Jun03 ? 00:00:31 [usb-storage-1] Jun 05 17:57:35 root 20 1 0 Jun03 ? 00:00:54 [usb-storage-0] Jun 05 17:57:35 root 6800 3488 0 13:38 ttyp0 00:00:00 grep -i USB Jun 05 17:58:55 you should have 2x /usr/sbin/USB_Detect Jun 05 17:59:22 should i manually start them to see what happens ? Jun 05 17:59:42 *shrug* i just idle here :P Jun 05 18:01:02 no, there is a faq on the wiki Jun 05 18:01:10 ~nslu2-faq Jun 05 18:01:11 ok, so you should have a look to http://www.nslu2-linux.org/wiki/FAQ/HomePage Jun 05 18:02:13 i've looked there and didn't find anything that met this specific issue... Jun 05 18:02:16 i checked out: http://www.nslu2-linux.org/wiki/FAQ/DriveNotFormatted Jun 05 18:02:21 but that was for usb hubs which i don't have Jun 05 18:02:38 and http://www.nslu2-linux.org/wiki/HowTo/TroubleshootADriveMissingCondition Jun 05 18:02:45 as well but that was all for the main drive not a 2nd drive Jun 05 18:02:47 the part in the moddle of the page should help you Jun 05 18:03:16 which page ? the drive missing page ? Jun 05 18:03:18 without a USB_Detect process, the slug wont automount the disk(s) Jun 05 18:03:54 yes, beyond "do the following" Jun 05 18:04:31 below, sorry Jun 05 18:05:21 ok, i don't see those words on that page. can you send the link to the page ? Jun 05 18:05:43 http://www.nslu2-linux.org/wiki/FAQ/DiskNotRecognized it is, sry Jun 05 18:05:48 as far as the drive missing page, i did try some of that, such as formating it ntfs on a windows box, then retrying with the slugh. but i get the same symptoms Jun 05 18:06:25 ok that is page i have not been to, so let me try that. Jun 05 18:08:32 it refers to the following directory: /var.state/run/ Jun 05 18:08:40 is that a typo ? i don't have such a dir Jun 05 18:09:08 when you boot without the hd attached Jun 05 18:09:10 ? Jun 05 18:09:41 i was poking around before i reboot Jun 05 18:09:59 i did have the usb_det.pid file in /var/run/ that had a date of 4/3 whereas everything else has a date of now Jun 05 18:10:10 well, my last reboot , which was a little while ago Jun 05 18:10:49 so you should delete this file, and possible in /var.state/run as well Jun 05 18:11:22 ok trying that now, 1st with drives attached to see what happens Jun 05 18:11:33 thanks for pointing out that page, somehow i had missed it Jun 05 18:40:25 so it didn't work without rebooting with no drives, but when i got in there, removed the usb_det.pid file from /var/run (it was not in /var.state/run/ and rebooted, i still have no usb_det running and i only see one drive :-( Jun 05 18:42:24 normally, you should have 2 running USB_Detect processes (one for each USB port) Jun 05 18:42:40 yeah when i rebooted w/ no drives after i removed the usb_det.pid file, i did Jun 05 18:42:55 then i rebooted again with the drives attached and now i can see just 1 drive, but no usb_det is running Jun 05 18:45:02 well, try the follow... boot with hd attached, log in, Jun 05 18:45:05 then mount -t jffs2 /dev/mtdblock4 /mnt Jun 05 18:45:16 cd / Jun 05 18:45:57 find / -name usb_det.pid maybe that there are other directories with the pid files in Jun 05 18:46:11 with both hd's attached? it boots fine and recognizes the hd in port 1, which is where i run unslung from. but it doesn't see the 2nd drive. Jun 05 18:46:30 just the unslinged one Jun 05 18:51:59 no other usb_det.pids show up Jun 05 18:54:27 hm, are you sure, that your 2nd drive is formatted with ext3? and can you mount it manually e.g. mount /dev/sdb1 /mnt (after you umount /dev/mtdblock4 Jun 05 18:54:30 ) Jun 05 19:09:47 well i formatted it with the web gui, but it never finishes and says its good. just says its unformatted Jun 05 19:09:58 so i just booted with just my primary drive and usb det is now running Jun 05 19:11:44 and i just plugged in the drive and usb_det is still running, but df doesn't show /share/flash/data and /conf like it should Jun 05 19:11:53 so it may not be formatted properly Jun 05 19:11:58 i can try again via the web gui Jun 05 19:12:39 like it should, if the drive is correctly formated.. how long did you wait, that the webif format finished ? Jun 05 19:13:01 a long time... it's 160GB. Jun 05 19:13:26 a long time is how long in minutes? Jun 05 19:14:08 i didn't time it but maybe 30 minutes... i'd come back to the web gui and it would say not formatted instead of formatting Jun 05 19:14:32 k, that should be long enough Jun 05 19:15:15 this disk is a 3.5" in an external enclosure, with an external power supply? Jun 05 19:15:21 i don't know if you saw the beginning, but the reason i got the new drive is that my old one was getting a little flaky. it was loud, so i started turning it on every few weeks to do a drivetodrive copy using rsync... Jun 05 19:15:24 yes Jun 05 19:15:33 it's a fantom drive 160GB, same as the primary Jun 05 19:15:51 but sometimes on the old drive, it would not be recognized. i figured the drive was just going bad, so i got this new one Jun 05 19:16:01 plugged it in, tried to format, and nothing showed up. Jun 05 19:16:52 just an idea, boot without a disk, and then plug the new drive in port 1, and try to format it, maybe , it works.. Jun 05 19:17:55 is there a way to see when the slug is done formatting ? Jun 05 19:18:54 a running mkfs.ext3 process normally, but dunno, if that is the slug's way to do it Jun 05 19:19:25 if i run mount /dev/sdb1 /mnt when the 2nd drive is plugged in i then see Jun 05 19:19:33 /dev/sdb1 153660192 32832 152066244 0% /mnt Jun 05 19:19:57 and Jun 05 19:19:58 fdisk -l /dev/sdb Jun 05 19:19:58 Jun 05 19:19:58 Disk /dev/sdb: 255 heads, 63 sectors, 19457 cylinders Jun 05 19:19:58 Units = cylinders of 16065 * 512 bytes Jun 05 19:19:58 Jun 05 19:20:00 Device Boot Start End Blocks Id System Jun 05 19:20:16 sean: you still need to know how the script web gui uses? (just spotted that on the backlog) Jun 05 19:20:21 so it looks like it at least tried to format Jun 05 19:20:31 how=which Jun 05 19:20:36 well i thought if i could look at the script i could do everything manually step by step Jun 05 19:21:14 well, there's no real script - simply fdisk /dev/sdX (X=being either a or b) does the job Jun 05 19:21:36 when using the stock fdisk Jun 05 19:22:02 it defines the three partitions Jun 05 19:22:34 just like the ones above? if so then it looks like it is formatting them Jun 05 19:22:42 but it never mounts them like it should Jun 05 19:23:18 above? I can't see any... Jun 05 19:23:42 fdisk -l /dev/sdb Jun 05 19:23:43 Jun 05 19:23:43 disk /dev/sdb: 255 heads, 63 sectors, 19457 cylinders Jun 05 19:23:43 units = cylinders of 16065 * 512 bytes Jun 05 19:23:43 Jun 05 19:23:43 Device Boot Start End Blocks Id System Jun 05 19:24:11 seanb724, maybe that you paste to fast, use pastebin.com instead Jun 05 19:25:21 the slug's fdisk/format process do somethings more, cp some files to the 2nd partition (specially .dongle) Jun 05 19:26:39 more like touch that one Jun 05 19:26:56 yep Jun 05 19:27:06 when i've manually mounted the new drive then cd to /mnt, i see lost+found and public dirs Jun 05 19:27:25 seems ok then Jun 05 19:27:26 but no .dongle Jun 05 19:27:37 yeah i think it's almost there :-/ Jun 05 19:27:42 this file should be on /dev/sdb2 Jun 05 19:28:00 touch /mnt/.dongle Jun 05 19:28:01 what is shown when you mount /dev/sdb2 /mnt ? Jun 05 19:28:46 cap: sean already told us above Jun 05 19:29:06 ok then when i go to /mnt and ls -al i see a .dongle along with a bunch of other stuff Jun 05 19:29:33 .htpasswd? Jun 05 19:29:50 yes there is a .htpasswd in there Jun 05 19:32:18 because i seen nothing beneath seanb724's line starting with Device Boot... is there a partition /dev/sdb3 too, with type swap ? Jun 05 19:32:55 yes let me do it line by line Jun 05 19:32:56 dev/sdb1 1 19435 156111606 83 Linux Jun 05 19:33:02 dev/sdb2 19436 19450 120487+ 83 Linux Jun 05 19:33:06 dev/sdb3 19451 19457 56227+ 82 Linux swap Jun 05 19:33:08 is it Jun 05 19:33:53 ok, so the drive looks partitioned and formated well Jun 05 19:34:01 yeah it just won't mount Jun 05 19:35:04 hm, you could mount /dev/Sdb1 and /dev/sdb2 manually, and i assume, when you enter swapon /dev/sdb3 it would work too Jun 05 19:35:44 but you have only one running USB_Detect process... Jun 05 19:35:55 where should be two Jun 05 19:36:08 well, none Jun 05 19:36:14 there were two when i booted w/o the 2nd drive Jun 05 19:36:34 but none now Jun 05 19:36:36 :-/ Jun 05 19:40:43 so just rebooted again w/o 2nd drive, and again see 2 usb_detects running Jun 05 19:42:04 ok, that is correct, when you plug in the 2nd disk, the processes dies? Jun 05 19:42:49 check dmesg after you have plugged the second drive Jun 05 19:43:22 ok plugging in the 2nd one Jun 05 19:44:15 the usb_detect processes are still running Jun 05 19:44:30 it usually takes a while until it automounts Jun 05 19:44:51 a bunch of things in dmesg but the end is: Jun 05 19:44:52 WARNING: USB Mass Storage data integrity not assured Jun 05 19:44:52 USB Mass Storage device found at 3 Jun 05 19:45:04 that's normal **** BEGIN LOGGING AT Mon Jun 05 19:47:55 2006 Jun 05 19:50:48 re people Jun 05 19:52:33 sean: split there...how's the mount going? Jun 05 19:52:57 no change yet Jun 05 19:53:10 and the two processes are still running? Jun 05 19:53:28 demsg same, still have usb_detects, but nothing in df Jun 05 20:04:23 still no change -- nothing new in dmesg, still have two usb_detects running Jun 05 20:05:57 and no /dev/sdbx mounted, curious... Jun 05 20:06:21 nope, no sdb anything in df Jun 05 20:08:01 * caplink811_log running out of ideas... Jun 05 20:08:08 :-( Jun 05 20:08:15 drif, ? Jun 05 20:08:24 drif ? Jun 05 20:10:35 seanb724, another idea/question, when you mount /dev/sdb1 /share/flash/data and mount /dev/sdb2 /share/flash/conf and swapon /dev/sdb3 Jun 05 20:10:55 is the drive shown in the webif, as formated and mounted? Jun 05 20:11:11 ah, we are back from the split it seems Jun 05 20:11:19 no the web if shows not formatted Jun 05 20:11:30 i've formatted it there several times and it always comes back that way Jun 05 20:12:03 not format, just mount'em Jun 05 20:17:42 manually mount them ? Jun 05 20:18:40 yeah, that was the question, what is shown in the webif, if you mount all partitions manually Jun 05 20:19:08 i mounted them earlier but probably not the proper way to have them in /share/flash/data and conf Jun 05 20:19:34 and if it happens this won't work - just make a shell script to mount/umount'em? Jun 05 20:19:59 as i said above, mount /dev/sdb1 /share/flash/data and mount /dev/sdb2 /share/flash/conf and swapon /dev/sdb3 Jun 05 20:20:21 drif, that is plan b ;) Jun 05 20:20:25 hmm Jun 05 20:20:26 mount /dev/sdb1 /share/flash/data Jun 05 20:20:26 mount: Mounting /dev/sdb1 on /share/flash/data failed: No such file or directory Jun 05 20:20:50 no /share/flash/data? Jun 05 20:21:02 hm, /share/flash/data exists= Jun 05 20:21:17 s/=/?/ Jun 05 20:21:18 caplink811_log meant: hm, /share/flash/data exists? Jun 05 20:21:20 http://www.2sparrows.org/temp/df Jun 05 20:22:26 that's the boot drive - what about that? Jun 05 20:23:02 that's all that shows up Jun 05 20:24:36 but the question was... does /share/flash/data exists? Jun 05 20:25:00 as directory? Jun 05 20:25:05 how do you check that ? Jun 05 20:25:08 just ls Jun 05 20:25:25 jep, ls -la /share/flash Jun 05 20:25:59 nope not three Jun 05 20:26:01 there Jun 05 20:26:16 interesting.. Jun 05 20:26:26 indeed Jun 05 20:26:31 also /share/flash/conf isn't there? Jun 05 20:26:37 could that be the reason USB_Detect fails? Jun 05 20:26:57 that could be a reason that automagically mount wont work Jun 05 20:27:14 cap ;P Jun 05 20:27:17 so just mkdir or what ? Jun 05 20:27:20 up Jun 05 20:27:21 yup Jun 05 20:27:43 it should be Jun 05 20:27:44 drwxr-xr-x 2 root root 4096 Jan 1 1970 conf Jun 05 20:27:44 drwxrwxr-x 3 admin everyone 4096 Jan 3 00:17 data Jun 05 20:27:56 beneath /share/flash Jun 05 20:28:19 I think you need to install coreutils before Jun 05 20:28:29 drwx------ 2 root root 4096 Jun 6 16:08 conf Jun 05 20:28:29 drwx------ 2 admin everyone 4096 Jun 6 16:08 data Jun 05 20:28:33 is what i made Jun 05 20:29:09 seanb724, change the file/dirrights to that what i post before Jun 05 20:29:12 so just chmod left Jun 05 20:29:13 pls Jun 05 20:29:39 hrm, 755 ? Jun 05 20:29:45 i was never good at converting the letters quickly :-/ Jun 05 20:30:08 you can use the letters also Jun 05 20:30:14 755 conf and 775 data Jun 05 20:32:11 drwxr-xr-x 2 root root 4096 Jun 6 16:08 conf Jun 05 20:32:11 drwxrwxr-x 2 admin everyone 4096 Jun 6 16:08 data Jun 05 20:32:31 cap: how to achieve this: find -group X -> cat each file found individually Jun 05 20:32:49 hm, just reboot with both drives attached, maybe, that it would work Jun 05 20:33:14 i manually added and it seems ok but let me try the reboot Jun 05 20:33:16 drif, dunno.. Jun 05 20:35:27 hey whatta ya know... Jun 05 20:35:33 both drives are there now Jun 05 20:35:35 :-) Jun 05 20:36:29 :) Jun 05 20:36:40 thank you both so much for your help Jun 05 20:36:47 strange there weren't those directories in the first place Jun 05 20:36:52 i can try to update the wiki though i've never done it Jun 05 20:37:01 really the last place to look a for a problem :P Jun 05 20:37:26 well, my old drive was acting funny -- the one that got loud most of the time, so i was shutting it off and only backing up drive to drive every few weeks Jun 05 20:37:33 sean: which unslung? Jun 05 20:37:42 and then that started not working -- it didn't show up so i thought it finally crapped out Jun 05 20:37:46 so i got the new one, same problem Jun 05 20:37:51 but maybe the old one is still good Jun 05 20:38:01 if so it will be my offsite back up and i'll up date it every few months :-) Jun 05 20:38:05 it is 5.5 Jun 05 20:38:07 ~emulate rwhitby Jun 05 20:38:08 well, my work here is done Jun 05 20:38:15 :P Jun 05 20:38:17 thanks again ! Jun 05 20:39:14 sean: are those drives the same brand? Jun 05 20:40:39 no, one i made a few years ago Jun 05 20:40:44 when that was cheaper Jun 05 20:40:54 and one is an Fantom Drive (same as primary) Jun 05 20:41:09 so i have 3 160 GB drives, two Fantom and one I made Jun 05 20:42:11 you're pretty handy, I might say ;) Jun 05 20:43:57 I'm forced to buy'em retail :P Jun 05 20:44:18 well it's just a case and a drive so no biggie Jun 05 20:44:23 but i did build my PC :-) Jun 05 20:44:38 i'm a router/network guy by trade Jun 05 20:45:20 usually those thins go hand on hand Jun 05 20:45:25 things Jun 05 20:46:31 sean: and that previous was meant as joke, lame though I give you that Jun 05 20:47:03 well a few years ago there was a big $$ difference and i was cheap Jun 05 20:47:15 i'd probably by a cheap dell these days instead of building my own server too Jun 05 20:50:23 wiki updated Jun 05 20:50:36 which part Jun 05 20:50:49 http://www.nslu2-linux.org/wiki/FAQ/DiskNotRecognized Jun 05 20:50:50 never mind Jun 05 20:50:54 seems the best place to go Jun 05 20:52:01 drif, i=`find -group bla`;cat $i|more maybe Jun 05 20:54:42 * caplink811_log heading to bed now, gn8@all Jun 05 20:57:11 laters Jun 05 20:57:29 thanks again ! Jun 05 20:58:51 np **** ENDING LOGGING AT Tue Jun 06 02:59:57 2006