**** BEGIN LOGGING AT Sat Jul 29 02:59:56 2006 Jul 29 03:42:22 I have never seen or heard of that particular failure mode. What does the NSLU2 report after you re-attach the 6GB drive and reboot? Jul 29 04:02:14 thankz for responding!!!! very grateful. Jul 29 04:02:54 from web interface Admin->Disk... Jul 29 04:03:03 disk2 was FAT16/32 Jul 29 04:03:27 I press the format disk2 button....and the "Formatting..." word appears Jul 29 04:03:45 after about 3 mins, it changed back to "Fat16/32" Jul 29 04:04:15 that's when I telnet to 192.168.1.77 and did a fdisk -l /dev/sda Jul 29 04:04:27 and I see 3 partitions...2 Linux, 1 swap Jul 29 04:05:52 Oh yes...ans. to your qn: after reattaching the 6GB disk, I did a "df" and see the disk being mounted at /share/hdd/.../HDD_2_1_1 Jul 29 04:05:59 no other messages Jul 29 04:08:27 Ok. The only explanation I can come up with is that the device appears to be partitioned, but the actual "newfs" command did not run correctly, and the original FAT filesystem is still present. The only way it could be mounted as HDD* is if it sucessfully mounted as a FAT filesystem despite the fdisk output. Jul 29 04:08:52 I thought you had successfully formatted and unslung to this device earlier? Jul 29 04:09:02 yes..I did... Jul 29 04:09:17 and what happened? Jul 29 04:09:28 it failed to boot. All solid LEDs but no ping, no telnet and no webif Jul 29 04:09:46 did not change firewall settings...use the same laptop to access before and after Jul 29 04:10:26 So, did you then reflash entirely? Jul 29 04:10:40 yes...I use sercomm to do that.... Jul 29 04:11:01 Hard to debug if you reset and reflash, though! Jul 29 04:11:36 Well, clearly there's now something funny with that device. What exactly is it -- a disk drive, or a compact-flash device? Jul 29 04:11:57 minidrive... Jul 29 04:12:05 1" minidrive 6GB. Jul 29 04:12:27 I'm not familiar with those. Do they present an IDE interface with a USB converter? Jul 29 04:12:27 hey...does it work with SD Cards via a Card Reader Jul 29 04:12:36 USB converter Jul 29 04:12:57 it's a compact flash type II, I think. Jul 29 04:13:18 Ah. So what type of converter are you using. Jul 29 04:14:11 if you are referring to the 6GB drive, it already has a USB male connector...I just insert directly into nslu2's usb port Jul 29 04:14:49 now I'm thinking of using SD card via card reader, since that's the only other storage device I can try now. Jul 29 04:14:57 Ok, I'm trying to sort out if the device might be using a multi-lun converter, such as is used in the multi-card flash card readers. Jul 29 04:15:11 oh...ok. Jul 29 04:15:33 The card reader probably won't work, as it will present (usually) only one of the slots as the first disk. Jul 29 04:15:55 what if I only plug in one device per card reader? Jul 29 04:16:04 Nope. Jul 29 04:16:13 oh... Jul 29 04:16:23 What firmware is flashed? Jul 29 04:16:31 unslung 6.8-beta Jul 29 04:16:47 I tried di-nslu2 too...also problematic. Jul 29 04:17:07 Ok, let's leave that in there for a while - reflashing serves no purpose unless we conclude that the flash has been "messed with" later on. Jul 29 04:17:23 What is the state of the disk device? Jul 29 04:17:24 oh..one other observation... Jul 29 04:17:55 the disk? I re-partition and format it to FAT32 Jul 29 04:18:23 observation: once in a while, the webif will return "Page Not Found" Jul 29 04:18:31 I think it's HTTP 400 Jul 29 04:18:55 Let's start by bootign the NSLU2 without disks, enabling telnet, and telnetting into the device... Jul 29 04:19:55 ok...do that now.... Jul 29 04:20:02 I mean doing that now. Jul 29 04:20:38 arrgh...sorry...I tried going on to debian installer just now... Jul 29 04:20:47 now I'm flashing back to unslung 6.8 Jul 29 04:22:10 is there a diff in using manual flashing thru' redboot/tftp and using sercomm? Jul 29 04:22:53 No diff, just don't use eraseall. Jul 29 04:23:27 ok. I tried all 3, upslug2, sercomm and tftp....all gave me problems :( Jul 29 04:23:56 Well, what you've outlined seem to be disk problems, not flash problems. Jul 29 04:24:48 ok...so what is supported? USB flash drive and HDD via USB interface only? Jul 29 04:25:32 the funny thing is...I managed to get it formatted to EXT3 twice....and successfully unsling it also... Jul 29 04:26:51 ok...got in webif...enabled telnet Jul 29 04:27:01 I wish it could be characterized so simply. There are some devices that don't work at all, but many more that seem to fail in odd ways. In general, the crop of USB to IDE converters is spotted with poor implementations or just plain bad hardware, it seems. Jul 29 04:27:39 ok...but pure USB Flash drive have much higher chances to work right? Jul 29 04:27:42 There are also limitations imposed by Linksys' formatting utility that we don't know clearly, and can't fix because we don't know the details. Jul 29 04:28:06 ok... Jul 29 04:28:15 telnetted in. Jul 29 04:28:25 In general, a USB disk drive in the 12 - 120GB range will almost certainly work just fine. Jul 29 04:29:00 Ok, can you point a browser at the web interface to make sure it's working? Jul 29 04:29:21 yes...working. Jul 29 04:30:08 now, looking at the telnet console, I'm plugging in a FAT32 formatted single partition 6GB minidrive Jul 29 04:30:14 Good. Plug in the disk device, and wait a couple minutes... Jul 29 04:30:30 Is it mounted, then? Jul 29 04:30:59 erh..mounting...can see the disk's LEDs lighting up. Jul 29 04:31:25 ok...now webif shows FORMATTED (FAT16/32) Jul 29 04:31:46 What port did you plug into? Jul 29 04:31:49 in disk2 Jul 29 04:32:09 Can you cut and paste the output from "fdisk -l /dev/sda" Jul 29 04:32:18 ok...hold on Jul 29 04:33:56 df Jul 29 04:34:32 \dev\sda1 1 977 5603064 b Win95 FAT32 Jul 29 04:34:55 can't type "forward slash" as it's an IRC command Jul 29 04:35:08 Put a period as the start of the line Jul 29 04:35:26 oh :O hehe...too long did not IRC... :P Jul 29 04:35:36 there's 2 other partitions! Jul 29 04:36:06 a linux (sda2) and linux swap (sda3) Jul 29 04:36:28 Can you cut and paste those lines too? Jul 29 04:37:04 ok...hold on. Jul 29 04:37:48 Device Boot Start End Blocks Id System Jul 29 04:37:55 ./dev./sda1 1 977 5603064 b Win95 FAT32 Jul 29 04:38:02 ./dev./sda2 978 999 126170 83 Linux Jul 29 04:38:08 ./dev./sda3 1000 1021 126170 82 Linux swap Jul 29 04:38:40 perhaps I should erase and repartitio to single partition? Jul 29 04:42:32 erh...sorry...I jumped the gun and repartition...now it's: Jul 29 04:42:36 Disk ./dev./sda: 185 heads, 62 sectors, 1021 cylinders Jul 29 04:42:45 Units = cylinders of 11470 * 512 bytes Jul 29 04:42:48 Jul 29 04:42:55 Device Boot Start End Blocks Id System Jul 29 04:42:56 Yes indeed. Perhaps the instructions aren't clear enough; that's exactly what is meant when they suggest reformating to FAT -- return the device to a single-partition FAT (or NTFS on large drives) device. The problem is that if the Linksys code sees the partition layout you have, it's close enough that it considers it formatted, and won't do it again. It won't tell you that it won't... Jul 29 04:42:58 ...actually do it, it leads you to believe that it was sucessful. In this case, definitely bring it back to the factory settings - one large partition, FAT (or NTFS is you like). Jul 29 04:43:02 ./dev./sda1 1 1021 5855404 6 FAT16 Jul 29 04:43:40 now it's back into one partition...shall I format it via webif? Jul 29 04:43:57 Yes. Jul 29 04:44:04 ok..hold on. Jul 29 04:44:21 one more thing before I format... Jul 29 04:44:26 I'm a bit paranoid by now... Jul 29 04:44:43 when I plug out the disk, and plug it in again...do I need to reboot the slug? Jul 29 04:44:58 At what point will you be doing that? Jul 29 04:45:15 it was 3 partitions just now when I fdisk -l. Jul 29 04:45:34 so I unplug it...slot into my linux machine...repartition and reformat to FAT16 Jul 29 04:45:37 then plug it back. Jul 29 04:45:52 Ok, you've just done all that, right? Jul 29 04:45:57 yes. Jul 29 04:46:09 ok, I'll format now. Jul 29 04:46:10 Ok. Since it was mounted as FAT, that's ok. Jul 29 04:46:34 Disk 2 status: Formatting... Jul 29 04:47:07 thankz...appreciate very much... Jul 29 04:50:58 Done formatting yet? Jul 29 04:51:08 something strange... Jul 29 04:51:14 still formatting... Jul 29 04:51:34 but disk LED doesn't show any activity Jul 29 04:51:52 "ps" from telnet console shows that it's doing mkfs.ext3 Jul 29 04:51:54 Yeah, it's not doing anything. Jul 29 04:52:28 There seems to be some "sleep" going on, probably by the Linksys code to avoid timing issues. Jul 29 04:52:32 sh -c ./usr./bin./mkfs.ext3 -m 1 ./dev./sda1 2>./ Jul 29 04:52:59 ./usr./bin./mkfs.ext3 -m 1 ./dev./sda1 Jul 29 04:53:03 oh...so that's ok? Jul 29 04:54:31 Well, it's ok in the sense that it's expected. I sure think a better formatting mechanism is possible! Jul 29 04:54:50 ok...waiting Jul 29 04:54:56 There's no reason that a 6GB device should take so long... Jul 29 04:55:25 But it's what the firmware does, so we'll have to wait :) Jul 29 04:56:41 still waiting... :( Jul 29 04:57:01 it was faster previously when it was successfully format to EXT3 Jul 29 04:58:07 Yeah, whenever the Linksys firmware sees a partition that looks like it might be previously formatted by the NSLU2, it skips the newfs step and attempts to mount it instead. Jul 29 04:58:58 They do this to minimize the likelihood of user error erasing data. But clearly if the intent of the format is to return the disk to a "virgin" state, the Linksys utility is quite wrong. Jul 29 04:59:20 exactly!! Jul 29 04:59:26 ok...I see LED activity now!! Jul 29 05:01:08 :( Jul 29 05:01:23 problem...that's what Ive been facing the last 24 hours... Jul 29 05:01:32 telnet connection just lost... Jul 29 05:01:40 and now I can't http to 192.168.1.77 Jul 29 05:02:07 I think my nslu2 is malfunctioning Jul 29 05:03:33 thankz mwester...shall not waste more of your time...I'll buy another one later today.... Jul 29 05:04:00 oh...before that...can I get a tip or 2 from you w.r.t. openslug? Jul 29 05:09:08 I'm back; I see something has gone wrong then. What makes you think it is the NSLU2 and not the disk device? Jul 29 05:09:52 hmmm...ok...it could be the disk...you're right. Jul 29 05:10:07 however, I've been getting a lot of "Page Not Found"s Jul 29 05:10:52 just now...when I navigate out of Admin page to Home page...and then back to Admin, I get a "Page Not Found" error. Jul 29 05:11:11 after that...can't access the webif and lost telnet connection. Jul 29 05:11:27 It could also be the network. Jul 29 05:11:52 unlikely...as I can ping my linksys router... Jul 29 05:12:08 and after rebooting NSLU2 everything back to normal... Jul 29 05:12:37 Bad network cable? Jul 29 05:12:56 How much current does the 6GB disk consume, BTW? Jul 29 05:13:03 don't think so.... only had preoblem with nslu2 Jul 29 05:13:16 wait...I double check. Jul 29 05:14:05 330mA Jul 29 05:14:12 voltage 3.3 - 5 V Jul 29 05:15:26 Ok; you should be able to get about 500ma from the nslu2. Jul 29 05:15:52 Do you have a memory stick about? (one greater than 256MB?) Jul 29 05:16:18 no :( only a 256MB Jul 29 05:16:45 but a 512 SD Card....which I thought of using a card reader to plug into NSLU2...but your advice is no Jul 29 05:17:12 I'll get back to you...I'll go borrow another USB Thumbdrive later Jul 29 05:17:20 now I try one last time..formatting. Jul 29 05:17:21 The prob with the sd card is that it's a long shot that it would be /dev/sdb on port 1 (and it wouldn't work on port 2 at all). Jul 29 05:18:19 ok... Jul 29 05:18:57 is it common that once in a while, the webif is inaccessible and will return "Page Not Found"? Jul 29 05:19:21 erh...actually it's "Cannot find server" Jul 29 05:19:23 No. Jul 29 05:19:44 That would usually indicate a network problem. Jul 29 05:20:11 it's during formatting...I guess NSLU2 is "not free" to entertain port 80 Jul 29 05:20:43 The kernel is running; the port is open; the connection should be established. Doesn't matter if the web server is blocked... Jul 29 05:21:25 that would indicate that the kernel is having trouble. Which might indicate that the kernel drivers are having great difficulties with the USB interface and the device on the other end. Jul 29 05:21:59 There might be all manner of interesting messages being sent to the non-existent console right now... USB bus errors, etc. Jul 29 05:22:18 oh.....ok....then it could REALLY be that the minidrive's giving me all these problems. Jul 29 05:22:28 nope.... Jul 29 05:23:06 once I mounted the mindrie with a FAT32 single partition Jul 29 05:23:29 df from telnet console shows it mounted as ./share./flash./data./HDD_2_1_1 Jul 29 05:23:33 that's correct? Jul 29 05:25:35 OpenSlug question: can it work with 256MB thumbdrive? Jul 29 05:25:54 It should AFAIK Jul 29 05:25:58 Qn2. is "turnup disk" supposed to take 30 mins to complete? Jul 29 05:26:24 Goodness no. I think it assumes that the target is formatted and newfs'd - did you do that? Jul 29 05:26:39 what is newfs? Jul 29 05:26:56 mkfs.ext2 usually. Jul 29 05:27:09 I tried on my 6GB drive...always hang... Jul 29 05:27:19 I mean I tried it within OpenSlug. Jul 29 05:27:26 There's a problem right there. Jul 29 05:27:49 ya..now I know, the drive is the culprit. Jul 29 05:28:15 Well, it might work fine, could be that the drivers don't deal with it correctly. Jul 29 05:28:37 took forever to transfer rootfs over Jul 29 05:28:44 same with the 256MB...about 20 mins. Jul 29 05:28:52 You might post to the mail list to see if anyone else has had experiences with the little drives. Jul 29 05:29:03 ok..will do that.. Jul 29 05:29:06 hey..thankz a lot!!!! Jul 29 05:29:38 Basically, turnup is doing what unsling does: copies the rootfs over. Since the rootfs is no bigger than 6MB, it can't take all that long! Jul 29 05:30:11 Good luck; I gotta run now. Jul 29 05:30:19 ok...goodnight :) Jul 29 08:10:46 Hi, need help on OpenSlug. Jul 29 08:11:12 wanted to know if "turnup memstick" is supposed to be VERY slow? Jul 29 08:11:25 It transfers files to memstick at abut 4KB/s Jul 29 08:14:49 Morning :) Jul 29 08:15:07 good afternoon over at my end :) Jul 29 08:15:39 For the logs when SSH wil not start anymore and /var/log/messages give a fault "fatal: daemon() failed: Success" Jul 29 08:16:00 Then it is porseble /dev/null is a real directory Jul 29 08:16:24 rm -f /dev/null and mknod -m 666 /dev/null c 1 3 wil fix this Jul 29 08:16:39 lizardkok: good evening for you :) Jul 29 08:17:07 oh... Jul 29 08:17:42 there is no /dev/null for me. Jul 29 08:18:29 no /var/log/messages also... Jul 29 08:18:31 mv /bla/bla/filename /dev/null is notworking for you ? Jul 29 08:18:44 hold on, I try that now. Jul 29 08:18:55 hello Jul 29 08:19:05 anyone here running GentooSlug? Jul 29 08:19:08 it is.... Jul 29 08:19:25 mv /bla/lba/* /dev/null working Jul 29 08:19:38 I had the Problem SSh wil not start anymore and it cost me a few hours to find out so i think i write it here in the logs Jul 29 08:20:20 not me Petfrogg but morning Jul 29 08:20:36 ahh Jul 29 08:20:41 GOODMORNING! Jul 29 08:20:44 8 ) Jul 29 08:21:04 i was feeling sick last night... so i don't think the morning is soo good... Jul 29 08:21:36 I don't feel so good either :( Jul 29 08:21:39 i got a problem with gentooslug and modules/zip.so. it claims it can not stat it.. Jul 29 08:21:44 * Petfrogg gives lizardkok a hug Jul 29 08:22:01 thank you! Jul 29 08:23:01 I dont know anything about gentooslug Jul 29 08:23:14 and feel sick you must go to bed :P Jul 29 08:25:46 I'm too frustrated with NSLU2 that I must solve it before I sleep. Jul 29 08:25:59 I tried unslung for the past 24 hours...and failed. Jul 29 08:26:11 Now I'm trying OpenSlug..and not going anywhere either :( Jul 29 08:27:05 I'm doing "turnup memstick" now...it's painfully slow. Jul 29 08:30:37 what is wrong with unslung then ? Jul 29 08:33:26 can never successfully format my usb 6GB minidrive to EXT3 Jul 29 08:45:05 And if you format it at a pc ? Jul 29 09:00:17 morning caplink811-log Jul 29 11:07:43 * Petfrogg have just succeded with GentooSlug (Openslug) ssh, apache, php, mysql, ftp Jul 29 13:21:18 hi Jul 29 13:21:30 i reflashed my nslu2 using upslug2, but the sysconf values are restored Jul 29 13:21:37 is there a way to get the defaults? Jul 29 13:33:47 ptobler: is that not porsble with the reset button on the back ? Jul 29 13:35:05 no Jul 29 13:35:11 but i found a howto in the wiki Jul 29 13:35:49 it didn'T work Jul 29 13:36:07 and in the webinterface ..i am sure it is porsble there Jul 29 13:41:50 heia Jul 29 13:42:15 trying to compile apache 2.2.3 on an unslung slug Jul 29 13:42:26 ./configure runs fine, but when I make I get Jul 29 13:42:35 awk: /home/csant/src/public/apps/httpd/httpd-2.2.3/srclib/apr/build/make_var_export.awk:35: Unexpected token Jul 29 13:42:54 Hey does anyone know a good Linux IRC client? Jul 29 13:43:02 that allows for scripting too Jul 29 13:43:05 Anybody a clue of why this error occurrs? Jul 29 13:43:08 irssi, xchat Jul 29 13:43:11 l0c4lh0st: irssi Jul 29 13:43:22 csan_t: try gawk Jul 29 13:43:26 or mawk Jul 29 13:43:52 ptobler: oki - is that a know issue with awk on the slug? Jul 29 13:43:53 CAn I script with IRSII too? Jul 29 13:44:27 * csant_ mumbles somthing about busybox... Jul 29 13:44:30 I see it now :/ Jul 29 13:44:35 thanks, will try Jul 29 14:05:35 Ooh, irssi. Jul 29 14:05:41 No wonder I couldn't install it Jul 29 14:06:13 Is it multi network? Jul 29 14:23:25 How do I run IRSSI under another user? (NOt root) Jul 29 14:28:12 hmm, log in as non root and run irssi? :) Jul 29 14:35:50 yeah Jul 29 14:35:54 done it with "screen" Jul 29 14:36:05 However, how do I add this to the startup script? Jul 29 14:36:27 i.e., if I turn on my slug, it creates a screen, changes user to "blah" and starts irssi Jul 29 15:50:40 I'm wondering, is it possible to backup the (customised) firmware of a slug so that it can be flashed it in another one? Jul 29 16:39:06 which firmware should i use if i would like that my nslu2 is a fileserver i really rely on (it should be very stable) and if i want to use the debian pkg management system Jul 29 16:44:59 ptobler: btw, using gawk fixed the problem. thanks :) Jul 29 16:46:10 csant_: you're welcome :) Jul 29 17:17:10 strange disk access problem, Im using a flash disk as the root device, but every 5 or so seconds it is accessed, which is going to cause a lot of wear to the disk. All I've been able to work out so far is its not asterisk or being secure shelled into it and its being written to by kjournald (presumably something to do with ext 3 journaling) Jul 29 17:17:24 any ideas how to stop the disk activity when the unit is idle? Jul 29 17:58:38 is it possible to use the d-i installation routine and make a raid1 using two usb harddisks? Jul 29 18:17:19 Pete__: Unslung or Openslug? Jul 29 19:14:07 is there a way to complete reset all sysconf settings on my nslu2? Jul 29 19:20:26 have you read the howto's and the faq? Jul 29 19:23:03 basically http://www.nslu2-linux.org/wiki/HowTo/ResetSysConf Jul 29 19:52:24 caplink811-log: i did that before, redboot, fis and reset Jul 29 19:52:57 but after i entered reset, redboot was just idling, not finishing the command, my nslu2 booted though Jul 29 20:05:04 but the fis command was executed (output of the 2nd line as described in the document mentioned above)? Jul 29 20:14:39 i did that some hours ago Jul 29 20:14:50 fis has been quit without any issues at all Jul 29 20:16:32 mmhhh... does anyone know how I could backup my custom firmware so that I can flash it on another slug? can the backup be done with upslug/upslug2 ? Jul 29 20:20:21 IvanZ, what have you customised? Jul 29 20:24:17 well... I took out all the packages I didn't need (including the ssh server) and stuck some scripts in /etc to launch my own programs... Jul 29 20:24:46 so if I could somehow mount the firmware, I could probably do the same from a linux machine... Jul 29 20:41:49 IvanZ, there is somewhere in the wiki an info page which describes how the flash is partitioned (searchword could be mtdblock), maybe that http://www.nslu2-linux.org/wiki/HowTo/CompletelyBackupTheNSLU2 will help you too Jul 29 20:42:26 cheers for that, I'll have a look. Jul 29 21:00:23 RedBoot> fis erase -f 0x50040000 -l 0x20000 Jul 29 21:00:23 ... Erase from 0x50040000-0x50060000: . Jul 29 21:00:25 is that right? Jul 29 22:00:43 is there a way to test my serial port mod that I finished from within openslug, well i mean i know there is but is there a super easy quick way : ) Jul 29 22:01:02 i just wanna know that it works Jul 29 22:02:28 oh well, minicom on my laptop, a null modem cable, and the slug shall tell me i guess. :) Jul 29 22:10:08 npt: you know a straight null-modem cable won't cut it, right? the levels of the serial interface on the NSLU2 aren't RS-232 compatible. Jul 29 23:14:15 mwester: openslug **** ENDING LOGGING AT Sun Jul 30 02:59:56 2006