**** BEGIN LOGGING AT Thu Jun 23 23:59:56 2005 Jun 24 04:07:12 hi Jun 24 04:54:29 UnspecifiedId: what dot files do you have in / on the jffs2? Jun 24 04:54:38 OM Jun 24 04:56:16 .sdaroot1 Jun 24 04:56:18 .unslung Jun 24 04:56:41 dev.state Jun 24 04:56:46 var.state Jun 24 05:03:48 .sdaroot1 or .sda1root ? Jun 24 05:06:05 sorry .sda1root Jun 24 05:09:03 ok, and what's mount say? Jun 24 05:09:32 # mount Jun 24 05:09:33 /dev/mtdblock4 on / type jffs2 (rw) Jun 24 05:09:33 /proc on /proc type proc (rw) Jun 24 05:09:33 usbdevfs on /proc/bus/usb type usbdevfs (rw) Jun 24 05:09:33 /dev/sda1 on /share/hdd/data type ext3 (rw) Jun 24 05:09:34 /dev/sda2 on /share/hdd/conf type ext3 (rw,sync) Jun 24 05:16:59 ok, so you're still on flash, even though sda1root is there. Jun 24 05:17:43 I've connected hdd, after booting via flash ie. can't boot with hdd attached Jun 24 05:17:50 ah, ok. Jun 24 05:18:08 you don't have serial, right? Jun 24 05:18:10 run unslung, slingover etc. Jun 24 05:18:17 no serial Jun 24 05:18:26 I did run sercom to flash after erasing though Jun 24 05:18:30 ok, anything in /unslung in flash? Jun 24 05:18:40 sercomm is cool Jun 24 05:18:41 no Jun 24 05:19:49 edit /linuxrc in the flash, and change the 20 to 80 on line 42 Jun 24 05:20:39 just to confirm, reboot with flash, edit linuxrc then reattach hdd ? Jun 24 05:20:58 edit it now (no need to reboot), then reboot with disk attached Jun 24 05:21:10 be very careful editing it Jun 24 05:21:54 k done Jun 24 05:22:29 does it boot with disk attached now? Jun 24 05:22:34 om Jun 24 05:22:44 do I unslung first ? Jun 24 05:22:55 no Jun 24 05:23:14 ok, rebooting Jun 24 05:25:36 when it's booted, we'll want to enable telnet, telnet in, and run dmesg and paste some of the output of that here Jun 24 05:26:22 of interest is that the Ready/Status light flashes about 5 times, then goes off, ethernet hdd leds are left on, but no beep Jun 24 05:26:57 is the disk externally powered? Jun 24 05:27:07 yes, Maxtor one touch Jun 24 05:27:43 is the disk being accessed? Jun 24 05:28:12 the blue led on the Maxtor is steady, which from memory means no Jun 24 05:28:37 led on nslu2 is constant ie. doesn't flicker Jun 24 05:29:17 ok, reboot without disk attached, then tell me what's in /share/hdd/data after you hot-plug the disk Jun 24 05:29:40 ok Jun 24 05:32:49 quick note on flash boot this time, ReadyStatus went Orange during seq. then ethernet green to ReadyStatus Off Jun 24 05:34:04 sorry correction, got beep etc. with green ReadyStatus light wasn't watching boot time Jun 24 05:34:48 so it's booted with flash? Jun 24 05:35:28 yes Jun 24 05:36:11 drwxrwxr-x 23 admin everyone 4096 Jun 24 22:05 . Jun 24 05:36:12 drwxrwxr-x 1 admin everyone 0 Jan 1 1970 .. Jun 24 05:36:12 -rw-r--r-- 1 root root 1 Jun 22 22:25 .sda1root Jun 24 05:36:12 -rw-rw-r-- 1 root root 25 Jan 1 1970 .unslung Jun 24 05:36:12 drwxrwxr-x 2 root root 4096 Jun 22 22:25 bin Jun 24 05:36:12 drwxr-xr-x 2 root root 4096 Jan 1 1970 dev Jun 24 05:37:04 booted for flood ? Jun 24 05:37:15 yep Jun 24 05:37:24 did the dump go through ? Jun 24 05:37:33 No. Use pastebin.ca Jun 24 05:37:48 break into two segments Jun 24 05:37:58 drwxrwxr-x 23 admin everyone 4096 Jun 24 22:05 . Jun 24 05:37:58 drwxrwxr-x 1 admin everyone 0 Jan 1 1970 .. Jun 24 05:37:58 -rw-r--r-- 1 root root 1 Jun 22 22:25 .sda1root Jun 24 05:37:58 -rw-rw-r-- 1 root root 25 Jan 1 1970 .unslung Jun 24 05:37:58 drwxrwxr-x 2 root root 4096 Jun 22 22:25 bin Jun 24 05:37:59 drwxr-xr-x 2 root root 4096 Jan 1 1970 dev Jun 24 05:38:01 drwxrwxrwx 2 root root 4096 Oct 9 2004 develop Jun 24 05:38:03 drwxr-xr-x 6 root root 4096 Jun 22 22:25 etc Jun 24 05:38:09 drwxrwxr-x 3 root root 4096 Jan 1 1970 home Jun 24 05:38:10 drwxr-xr-x 2 root root 4096 Jan 1 1970 initrd Jun 24 05:38:11 drwxrwxr-x 3 root root 4096 Jun 22 22:25 lib Jun 24 05:38:13 -rwxr-xr-x 1 root root 3685 Jan 1 1970 linuxrc Jun 24 05:38:15 drwxr-xr-x 2 root root 16384 Jan 1 1970 lost+found Jun 24 05:38:17 drwxrwxrwx 2 admin everyone 4096 Oct 9 2004 madzag Jun 24 05:38:19 drwxrwxr-x 5 root root 4096 Jan 1 1970 mnt Jun 24 05:38:21 drwxrwxr-x 5 root root 4096 Jan 1 1970 opt Jun 24 05:38:23 drwx------ 52 admin everyone 4096 Oct 17 2004 photos Jun 24 05:38:29 dr-xr-xr-x 2 root root 4096 Jan 1 1970 proc Jun 24 05:38:31 drwxrwxr-x 17 admin everyone 4096 Apr 15 23:57 public Jun 24 05:38:33 -rw------- 1 root root 64064 Jun 24 22:33 quota.user Jun 24 05:38:35 -rw------- 1 root root 64064 Jun 24 21:54 quota.user~ Jun 24 05:38:37 drwxrwxr-x 2 root root 4096 Jun 22 22:25 sbin Jun 24 05:38:39 drwxrwxr-x 4 admin everyone 4096 Jan 1 1970 share Jun 24 05:38:41 drwxrwxrwt 2 root root 4096 Jun 22 22:25 tmp Jun 24 05:38:45 drwxr-xr-x 2 root root 4096 Jan 1 1970 unslung Jun 24 05:38:47 drwxr-xr-x 2 root root 4096 Jan 1 1970 upload Jun 24 05:38:49 drwxrwxr-x 8 root root 4096 Jan 1 1970 usr Jun 24 05:38:51 drwxr-xr-x 2 root root 4096 Jan 1 1970 var Jun 24 05:39:11 ok, do the following: Jun 24 05:39:14 cd /share/hdd/data Jun 24 05:39:30 check Jun 24 05:40:08 rm -rf .sda1root .unslung bin dev etc initrd lib linuxrc mnt opt proc sbin share tmp unslung upload usr var Jun 24 05:40:19 (assuming you have no data in any of those dirs) Jun 24 05:40:22 rm -rf home Jun 24 05:40:29 (also assuming no data in there) Jun 24 05:40:40 you should be left with just your data on that disk, and no other stuff Jun 24 05:40:46 k Jun 24 05:40:54 do you have /opt packages stuff you need to save, or can you just reinstall them? Jun 24 05:41:23 be good practice for me :-) Jun 24 05:43:25 interesting says its a read-only file system for each of the directories, though root has the permission Jun 24 05:43:30 so you should just have develop, madzag, photos, public, quota.user and quota.user~ left Jun 24 05:43:44 aha. Jun 24 05:43:50 what does mount say? Jun 24 05:44:07 /dev/sda1 on /share/hdd/data type ext3 (ro) Jun 24 05:44:11 :-) Jun 24 05:44:20 ok, so that's the problem. Jun 24 05:44:35 you want to give me a 101 lesson Jun 24 05:44:40 on how to set to rw Jun 24 05:45:02 what does "ps -ef" say regarding processes related to quotas? Jun 24 05:45:13 (paste the lot if necessary) Jun 24 05:45:28 . Jun 24 05:45:28 . Jun 24 05:45:30 drwxrwxr-x 23 admin everyone 4096 Jun 24 22:05 . Jun 24 05:45:30 drwxrwxr-x 1 admin everyone 0 Jan 1 1970 .. Jun 24 05:45:30 -rw-r--r-- 1 root root 1 Jun 22 22:25 .sda1root Jun 24 05:45:31 -rw-rw-r-- 1 root root 25 Jan 1 1970 .unslung Jun 24 05:45:33 drwxrwxr-x 2 root root 4096 Jun 22 22:25 bin Jun 24 05:45:35 drwxr-xr-x 2 root root 4096 Jan 1 1970 dev Jun 24 05:45:37 drwxrwxrwx 2 root root 4096 Oct 9 2004 develop Jun 24 05:45:39 drwxr-xr-x 6 root root 4096 Jun 22 22:25 etc Jun 24 05:46:15 # ps -ef Jun 24 05:46:16 PID TTY Uid Size State Command Jun 24 05:46:16 1 root 1212 S /bin/init Jun 24 05:46:16 2 root 0 S [keventd] Jun 24 05:46:16 3 root 0 R [ksoftirqd_CPU0] Jun 24 05:46:16 4 root 0 S [kswapd] Jun 24 05:46:18 5 root 0 S [bdflush] Jun 24 05:46:20 6 root 0 S [kupdated] Jun 24 05:46:22 7 root 0 S [mtdblockd] Jun 24 05:46:24 8 root 0 S [khubd] Jun 24 05:46:32 9 root 0 Z [jffs2_gcd_mtd4] Jun 24 05:46:33 753 root 0 S [jffs2_gcd_mtd4] Jun 24 05:46:34 761 root 0 D [ixp425_csr] Jun 24 05:46:36 762 root 0 S [ixp425 ixp0] Jun 24 05:46:38 765 ttyS0 root 1916 S /bin/sh Jun 24 05:46:40 767 root 1936 S /sbin/syslogd -n Jun 24 05:46:42 769 root 1924 S /sbin/klogd -n Jun 24 05:46:44 871 root 9884 S upnpd &>/dev/null Jun 24 05:46:46 881 root 9884 S upnpd &>/dev/null Jun 24 05:46:48 882 root 9884 S upnpd &>/dev/null Jun 24 05:46:54 884 root 9884 S upnpd &>/dev/null Jun 24 05:46:56 886 root 9884 S upnpd &>/dev/null Jun 24 05:46:58 887 root 9884 S upnpd &>/dev/null Jun 24 05:47:00 973 root 2124 S /usr/sbin/thttpd -C /etc/thttpd.conf Jun 24 05:47:02 997 root 3896 S /usr/sbin/smbd -D Jun 24 05:47:04 999 root 3116 S /usr/sbin/nmbd -D Jun 24 05:47:06 1021 root 1932 S /usr/sbin/QuickSet Jun 24 05:47:08 1029 root 1876 S /usr/sbin/USB_Detect Jun 24 05:47:10 1031 root 1872 S /usr/sbin/USB_Detect Jun 24 05:47:59 paste from USB_Detect onwards Jun 24 05:48:13 1029 root 1876 S /usr/sbin/USB_Detect Jun 24 05:48:13 1031 root 1872 S /usr/sbin/USB_Detect Jun 24 05:48:13 1040 root 1864 S /usr/sbin/onetouch_detect Jun 24 05:48:13 1043 root 1864 S /usr/sbin/onetouch_detect Jun 24 05:48:13 1053 root 1296 S /usr/sbin/crond Jun 24 05:48:19 1059 root 1908 S /usr/sbin/CheckResetButton Jun 24 05:48:20 1061 root 1196 S /usr/sbin/CheckPowerButton Jun 24 05:48:21 1063 root 1196 S /usr/sbin/do_umount Jun 24 05:48:23 1102 root 2128 S /usr/sbin/thttpd -C /etc/thttpd.conf Jun 24 05:48:25 1116 root 1276 S /bin/inetd Jun 24 05:48:29 1117 root 0 S [usb-mxo-ot1] Jun 24 05:48:31 1118 root 0 D [usb-storage-1] Jun 24 05:48:33 1119 root 0 S [scsi_eh_1] Jun 24 05:48:35 1122 root 0 S [kjournald] Jun 24 05:48:37 1134 root 0 S [kjournald] Jun 24 05:48:41 1159 root 1912 S sh -c /etc/rc.d/rc.quota 2>/dev/null Jun 24 05:48:43 1160 root 1928 S /bin/sh /etc/rc.d/rc.quota Jun 24 05:48:45 1165 root 2496 D /usr/bin/quotacheck -a Jun 24 05:48:47 1166 root 1256 S /usr/sbin/telnetd Jun 24 05:48:49 1167 ttyp0 root 1928 S -sh Jun 24 05:48:53 1184 ttyp0 root 1984 R ps -ef Jun 24 05:48:55 end Jun 24 05:49:24 the quotacheck means that quotas are still being checked on the data disk. That takes a long time for a lot of data. Jun 24 05:49:36 the disk is ro while quotas are being checked. Jun 24 05:50:14 try "kill -9 1165" Jun 24 05:50:18 k disk is now rw Jun 24 05:50:34 before I've killed process Jun 24 05:50:46 did it just go rw by itself? Jun 24 05:50:50 yes Jun 24 05:51:01 but I'm assuming the diskquota process had finished Jun 24 05:51:05 just a matter of timing Jun 24 05:51:27 ok, that's the amount of time you will need to wait for the slug to boot if you leave quotas on Jun 24 05:51:51 put an rc.quota diversion script in /unslung in the jffs2 to turn it off Jun 24 05:52:19 ie. just kill the process ? Jun 24 05:52:27 in the rc.quota diversion script ? Jun 24 05:52:47 hang on .. Jun 24 05:53:34 #!/bin/sh Jun 24 05:53:36 return 0 Jun 24 05:53:43 that's what you need in /unslung/rc.quota Jun 24 05:53:53 that will skip the rc.quota script completely Jun 24 05:54:00 ok Jun 24 05:54:16 1160 root 1928 S /bin/sh /etc/rc.d/rc.quota Jun 24 05:54:16 1165 root 2496 D /usr/bin/quotacheck -a Jun 24 05:54:32 sorry just to complete the lesson so I fully understand Jun 24 05:55:16 http://www.nslu2-linux.org/wiki/Unslung/DiversionScripts Jun 24 05:55:58 was more to do with the process firing etc. but thanks Jun 24 05:56:10 this a common problem ? Jun 24 05:56:14 or just unusual Jun 24 05:56:39 a problem for those who are impatient :-) Jun 24 05:56:51 last question, does it go into the wiki somewhere or not ? Jun 24 05:56:51 how long did it take to go rw ? Jun 24 05:56:58 good 5min Jun 24 05:57:02 yep, please add an FAQ Jun 24 05:57:06 np Jun 24 05:57:15 once again, thanks for your patience and insight Jun 24 05:57:23 put the diversion script in, and reboot without disk attached. Jun 24 05:57:36 then hotplug disk and make sure it is immediately rw Jun 24 05:57:44 then remove the directories as listed before Jun 24 05:58:01 then unsling again Jun 24 05:58:05 np Jun 24 05:58:27 should be golden then Jun 24 05:58:55 np, thanks put me on the right path, if anything goes wrong I'll go assume the foetal position and try again another night. Thanks Jun 24 11:37:21 hello there Jun 24 11:37:35 anyone here? Jun 24 11:38:15 kinda Jun 24 11:38:24 oki :-) Jun 24 11:39:18 would anybody help me with my nslu2? Jun 24 11:39:41 just ask away Jun 24 11:40:49 mileuh0: We can never know if we can halp you without you being a bit more specific you know. Don't ask to ask. Just ask :) Jun 24 11:40:50 I've unslunged my disk, and now when I reboot the NSLU with a disk attached, the status led remains off, no beep, and it becomes unreacheable Jun 24 11:41:13 NaiL: yeaah :-) thx Jun 24 11:41:47 BUT when I boot it with NO disk attached it just works fine Jun 24 11:42:52 hmm... I don't have a unslung slug... Jun 24 11:43:23 too bad :-) Jun 24 11:44:03 what are you running, OpenSlug? Jun 24 11:44:48 yeah Jun 24 11:45:12 sounds like the unslinging did not *take* Jun 24 11:45:42 was this an upgrade to 5.5 or a fresh install of 5.5? Jun 24 11:46:30 ooooh no I've been disconnected, sooorry Jun 24 11:46:43 did you get those last two comments of mine? Jun 24 11:46:45 I couldn't read what you typed Jun 24 11:46:51 [13:45] sounds like the unslinging did not *take* Jun 24 11:46:51 [13:45] was this an upgrade to 5.5 or a fresh install of 5.5? Jun 24 11:46:52 no sorry Jun 24 11:47:03 thx Jun 24 11:47:08 it was a fresh install Jun 24 11:47:12 5.5 Jun 24 11:47:14 k... Jun 24 11:47:26 then that simplifies what could be wrong Jun 24 11:47:37 and more than likely the hd was not ready to be unslung to... Jun 24 11:47:59 boot with it unplugged, plug it in and give it a minute or two Jun 24 11:48:34 then do a mount (via telnet) and make sure that the /dev/sda or sdb shows as (rw) Jun 24 11:48:53 get a real IRC client!!! Jun 24 11:50:28 NAiL, can you help him out with those instructions as above... I've got to go Jun 24 11:50:29 disconnected again... did you get my last msg? Jun 24 11:50:44 13:47] 5.5 Jun 24 11:50:50 shit :-) Jun 24 11:50:57 I said Jun 24 11:51:15 I boot with no disk attached, Jun 24 11:51:37 activate telnet thru telnet.cgi script Jun 24 11:51:50 telnet into it Jun 24 11:52:01 and then plug the disk Jun 24 11:52:53 ok seems to work Jun 24 11:53:18 I have to head out... but here's what you need to check Jun 24 11:53:23 but now if I reboot with the disk status led remains off.. Jun 24 11:53:28 [13:47] then that simplifies what could be wrong Jun 24 11:53:28 [13:47] and more than likely the hd was not ready to be unslung to... Jun 24 11:53:28 [13:47] boot with it unplugged, plug it in and give it a minute or two Jun 24 11:53:28 [13:48] then do a mount (via telnet) and make sure that the /dev/sda or sdb shows as (rw) Jun 24 11:53:46 ok Jun 24 11:54:02 thank u very much Jun 24 11:54:10 the key is probably that your hd is still mounted (ro) and as a result, it looks like it unslung, but it really didn't Jun 24 11:54:27 so keep doing a mount until you see the (rw) Jun 24 11:54:31 and then unsling Jun 24 11:54:42 ooook thx Jun 24 11:54:45 and after the unsling finishes... reboot Jun 24 11:54:55 now, I really have to go Jun 24 11:55:20 ok thx a lot Jun 24 12:05:34 ByronT-Away: Sry, didn't see your msg until now Jun 24 13:58:54 .back Jun 24 14:29:35 Hi, I'm compiling OpenSlug from source and it stops while trying to make module-init-tools with '/usr/bin/ld: cannot find -lc'. Any suggestions? Jun 24 14:30:28 sdm485: how do you build? Jun 24 14:32:00 sdm485: For some reason, it can't find glibc Jun 24 14:32:01 I'm using Mandrake 10.0, 1G of RAM and am following the OpenSlug Wiki that jbowler has provided. Jun 24 14:32:55 Oh. It has been running for about an hour quite happily. Could I have run out of variable space? Jun 24 14:33:22 sdm485: Try building like this: "mkdir nslu2 && cd nslu2 && wget http://www.nslu2-linux.org/Makefile && make openslug-build" Jun 24 14:33:42 It's the "new and improved" build process, using monotone Jun 24 14:34:51 Okay, thanks for the help. I have Openslug running fine and am trying to get an environment together to build some new packages. I will do as you suggest. Jun 24 14:36:56 You'll need monotone though Jun 24 14:37:21 OK, I will go find it. Jun 24 15:52:26 OK.... Can someone tell me of a linux distro known to build OpenSlug (I think Mandrake may not...)? Jun 24 15:52:41 I'm using Gentoo Jun 24 15:53:10 I think there was a list of distros known to work on the wiki... Not sure tho Jun 24 15:53:35 OK, I will try it, Thanks. Jun 24 15:53:42 np **** ENDING LOGGING AT Fri Jun 24 23:59:56 2005