**** BEGIN LOGGING AT Thu Nov 30 02:59:57 2006 Nov 30 03:51:44 hi all... have a question about cpio in optware Nov 30 03:52:04 anyone know it well? Nov 30 18:34:20 ? Nov 30 18:38:19 Hello, I'm trying to set up mij NSLU2 as webserver with php, but tried phpthttpd, appWeb and Apache but they all hang te slug after reboot. Anyone ideas? Nov 30 20:47:55 hullu, anyone around? Nov 30 20:48:58 :-/ Nov 30 21:01:53 argh im getting a nervouse breakdown on this damn thing Nov 30 21:03:26 anyone here that has had problems with the nslu not recognizing disks, or similar problems Nov 30 21:06:47 "please go to the web interface and format the drive before unslinging"..... *sigh* Nov 30 21:10:39 hmm... this seems to be a pretty sleepy channel :-/ Nov 30 21:12:16 anyone around that can help me with some troubleshooting? Nov 30 21:17:49 how did you format the drive? Nov 30 21:18:30 through the web interface... turned out as an ext3 drive which i guess is a good thing? (im a noob as you might already suspect) Nov 30 21:19:27 is it a hard drive r a flash drive? Nov 30 21:19:33 or Nov 30 21:19:35 hard drive, lacie 320gig Nov 30 21:19:59 it turns up in the web interface, i just cant use the unsling thingie when telnetting Nov 30 21:21:24 rwhitby: it went south at step 5 Nov 30 21:21:46 had a counter that went from 120 to 0, then said something silly Nov 30 21:22:15 what version of unslung for a start? Nov 30 21:22:52 6.8 Nov 30 21:23:15 ok, so you've flashed unslung, and you get the web interface saying you're running unslung 6.8 from flash, right? Nov 30 21:23:25 yes Nov 30 21:24:10 and the disk was recognised and then formatted by the web interface? Nov 30 21:24:55 yes Nov 30 21:25:25 USB Port 1: Ready, 300221MB (100% Free) Nov 30 21:25:47 Formatted (EXT3) Nov 30 21:25:53 ok, and you've telnetted into the linux command line, ready to run the unsling script? Nov 30 21:26:24 yes Nov 30 21:26:47 what's "mount" say? Nov 30 21:26:55 and "cat /proc/partitions" Nov 30 21:26:56 redoing it step by step again, getting the same problem.... its counting down, saying "Waiting for /share/hdd/data ..." Nov 30 21:27:15 martinju: you know how to use pastebin? Nov 30 21:27:21 can i break the counter thing? Nov 30 21:27:24 no :-/ Nov 30 21:27:32 Go to http://pastebin.ca Nov 30 21:27:58 paste in the full output of the commands I said above, and also paste in the full output of the unsling scripts Nov 30 21:28:08 then paste the URL it gives you here Nov 30 21:28:24 ok Nov 30 21:30:16 ok pasted in the cat and unsling outputs Nov 30 21:31:24 http://pastebin.ca/262780 Nov 30 21:32:09 run "dmesg" and paste that Nov 30 21:32:49 argh, all of it? Nov 30 21:33:18 do you know how to recognise disk mounting lines? Nov 30 21:33:23 if not, all of it. Nov 30 21:33:43 the EXT3 lines? Nov 30 21:35:13 paste at least from the INIT line Nov 30 21:35:17 ok Nov 30 21:36:27 so much info, cant find the lines Nov 30 21:36:45 cut and paste the lot then Nov 30 21:37:06 ok, but this might be everything ive tried the last hour oO Nov 30 21:39:27 web interface says USB Port 1: Ready, 6MB (3% Free)??? Nov 30 21:45:15 finding anything? Nov 30 21:48:03 what's the pastebin url? Nov 30 21:48:17 http://pastebin.ca/262785 Nov 30 21:51:28 martinju: use something better than HyperTerm next time :-) Nov 30 21:51:59 lol ok... uhm... putty? (used it in college about 8 years ago...) Nov 30 21:52:09 putty is good Nov 30 21:52:18 (you can get putty to save the log too) Nov 30 21:52:26 and you can use putty when you ssh in later Nov 30 21:52:59 have you read the wiki pages about which port to use with Unslung 6? Nov 30 21:53:13 * rwhitby has to go in 2 minutes - work phone call Nov 30 21:53:32 yes, but i think i got a bit confused there Nov 30 21:53:39 dunno how, it seemed pretty straight forward Nov 30 21:56:20 can i reset the whole thing and start over, or is that very complicated? Nov 30 21:56:43 reflash and reformat the disk, and you're back at the start Nov 30 21:57:01 reflash is just straight forward through the web interface right? Nov 30 21:57:12 best to use upslug2 or the SerComm flash utility Nov 30 21:57:17 do not use EraseAll Nov 30 21:57:38 ok Nov 30 21:57:50 you can't flash through web with Unslung, cause the running rootfs is on the flash partition you're overwriting Nov 30 21:57:58 gotta go Nov 30 22:04:43 that question was interesting... which port do you have your hdd plugged in? Nov 30 22:05:37 port1... im redoing with port2 now Nov 30 22:05:51 shouldnt matter _that_ much should it? Nov 30 22:07:04 i don't really know. but the readme seems to lean towards port 2, if you're not going to use another ext3 device in port 1. Nov 30 22:07:28 not in some time at least... Nov 30 22:08:06 i guess i can just as welll use an ntfs there Nov 30 22:08:06 anyway, it's the thing to try... Nov 30 22:08:06 yeah, just reflashed Nov 30 22:08:06 crossing my fingers :D Nov 30 22:08:09 you're not into linux at all yet? Nov 30 22:08:35 (well i'm still quite new to that stuff too) Nov 30 22:09:00 ive been dabbling a bit in linux, but im not into it Nov 30 22:09:17 as soon as i get rid of my gaming addiction im swithcing though Nov 30 22:09:51 actually the slug can be a good toy to get into console mode linux Nov 30 22:10:42 yeah.. a lil linux box all on its own. just gonna use it for twonkyvision, but i hear there are a lot of nice stuff u can do with it Nov 30 22:12:12 i just love being able to have a media server without my computer being turned on Nov 30 22:12:30 it also means that if you don't get lucky with unslung, you can still give openslug or debian a try. Nov 30 22:12:31 *sigh* doesnt work :-/ Nov 30 22:12:56 yeah thats true... i just wish stuff would be easy :) Nov 30 22:13:18 /share/flash/data does not appear to have been formatted by the Linksys formatting utility :-/ Nov 30 22:13:23 i had a similar issue trying to run the slug from a flash drive Nov 30 22:13:50 after a power cycle, it wouldn't be recognized anymore as formatted. Nov 30 22:14:41 never solved it. i used a hdd instead. i'm afraid i'm not gonna be of a great help tonight... :-/ Nov 30 22:14:53 hehe Nov 30 22:15:08 i just get so frustrated... and work in 6 hours Nov 30 22:15:14 gonna be a long day tomorrow Nov 30 22:15:38 do you power cycle the slug between formatting and trying to unsling? Nov 30 22:15:47 http://www.nslu2-linux.org/wiki/HowTo/NotFormattedFix Nov 30 22:16:34 i've had a few nights of despair with the slug at the beginning too ;) Nov 30 22:16:40 hmmm... havent done that... so format, disconnect disk, reboot? Nov 30 22:16:56 yess Nov 30 22:17:02 still, it's nothing like a fix Nov 30 22:17:30 the power goes down... you have to format the drive and unsling again Nov 30 22:17:46 ok... gonna give it a shot, brb (got the slug in the other room) Nov 30 22:18:22 that trick did work with my flash drive. Nov 30 22:20:15 but every time i power it down, i have to redo it again? or does it work once it boots from the hdd? Nov 30 22:20:32 nope Nov 30 22:20:41 you have to redo it again Nov 30 22:20:45 oO Nov 30 22:20:47 so, it's really not a fix. Nov 30 22:20:51 sorry. Nov 30 22:20:55 oh well Nov 30 22:21:10 but the data stays on there i hope? Nov 30 22:21:45 i had to format the drive to get it seen as formatted again. so... no. Nov 30 22:22:21 hmm... there has to be a solution.... althoug being a linux noob i cant see that ill ever find it :) Nov 30 22:22:35 someone else may help you Nov 30 22:23:25 rwhitby knows the slug welle, takes part in its development, etc... it's just too bad he had to leave, you were in good hands. better than mine to the least. Nov 30 22:23:32 bah now i cant log in through telnet.... it snatches the pw from the hdd i guees Nov 30 22:23:48 oh ok... ill hang around in here a bit then .) Nov 30 22:25:43 you can try the mailing list too. with a complete paste of your "dmesg" output. Nov 30 22:26:01 and an accurate description of your problem Nov 30 22:26:25 hmm sounds like a good idea... Nov 30 22:26:25 it's very active. Nov 30 22:26:49 i wonder if this might depend on the version i use? Nov 30 22:27:03 version of what? unslung? Nov 30 22:27:55 yeah Nov 30 22:28:16 or... its probably hardware as usual.. im jinxed when it comes to hardware Nov 30 22:28:21 dunno Nov 30 22:29:02 first, install putty or something similar and grap a clean log of dmesg Nov 30 22:30:33 ok Nov 30 22:34:46 ok, grabbing log... gonna go find that mailing list Nov 30 22:36:20 if you paste it into pastebin again, i'll have a look too Nov 30 22:39:27 ok Nov 30 22:39:47 http://pastebin.ca/262850 Nov 30 22:45:36 i wish that stuff would tell me something Nov 30 22:46:34 your hdd seems to be detected Nov 30 22:46:36 SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) Nov 30 22:47:07 if the fdisk command available when running from the internal flash? Nov 30 22:48:43 hmm... dunno... in the webportal? Nov 30 22:50:15 via telnet Nov 30 22:50:47 yeah it seems to be working Nov 30 22:51:31 then try "fdisk /dev/sda" and if it forks, issue the command "p" at the fdisk prompt Nov 30 22:51:46 it should display the partition table of your hdd Nov 30 22:52:13 s/forks/works/ Nov 30 22:52:13 Texture meant: it should display the partition table of your hdd Nov 30 22:52:38 duh Nov 30 22:53:09 says something like number of cylinders blahblah Nov 30 22:54:11 could you paste it here? Nov 30 22:54:16 # fdisk -l /dev/sda Nov 30 22:54:18 argh Nov 30 22:54:24 check the pastebin, posted it there Nov 30 22:55:13 # Nov 30 22:55:39 seems there are 3 partitions? Nov 30 22:55:59 yeah, the disk seems ok Nov 30 22:56:09 brb phone Nov 30 23:02:14 back Nov 30 23:02:36 wb :) Nov 30 23:03:43 this might have no meaning Nov 30 23:03:49 hmm.. /share/flash/data seems to imply the slug thinks its a flash drive? Nov 30 23:04:09 but try to type "mount -t ext3 /dev/sda1 /share/flash/data" Nov 30 23:04:55 device or resource busy Nov 30 23:05:23 never mind Nov 30 23:05:49 but you were probably right, isn't there another folder in /share for hard drives? Nov 30 23:06:13 yeah... containing conf and data folders Nov 30 23:06:30 or maybe it just means that the hdd is plugges in port 2 Nov 30 23:06:48 plugged Nov 30 23:07:39 no idea.... Nov 30 23:07:39 i suppose port2 = /share/flash/ Nov 30 23:08:09 ah right Nov 30 23:09:14 i gotta get some sleep, but ill be back tomorrow to sort this damn thing out :-) Nov 30 23:09:25 thanks for helping out mate, i really appreciate it Nov 30 23:09:40 i have to sleep to, we're both in europe. nite Nov 30 23:09:47 nn! Nov 30 23:09:51 yw... i've not been very helpful... **** ENDING LOGGING AT Fri Dec 01 02:59:58 2006