Page 1 of 1

meteohub - kind of strange reboot

Posted: Fri Oct 24, 2008 2:09 am
by Unconnected
suddenly i noticed that my weather-data was not being updated.

i checked the meteohub but it wasn't accessible with its normal ip. so i checked the dhcp-list and the ip changed (allthough the ip was set to 'fixed' in meteohub)

trying to access the webpage on it failed... so i ssh'ed to it. the passwd was still meteohub so i thought everything was fine, but the output of ps and ls gave me something not quite 'meteohub-like':

[root@server evert]# ssh 192.168.0.15
root@192.168.0.15's password:
root@LKG288307:~$ ps w
PID Uid VmSize Stat Command
1 root 564 S init [3]
2 root SWN [ksoftirqd/0]
3 root SW< [events/0]
4 root SW< [khelper]
5 root SW< [kthread]
38 root SW< [kblockd/0]
41 root SW< [khubd]
56 root SW [pdflush]
57 root SW [pdflush]
58 root SW< [kswapd0]
59 root SW< [aio/0]
81 root SW [mtdblockd]
82 root SW [nftld]
234 root 588 S < udevd --daemon
504 root SWN [jffs2_gcd_mtd4]
516 root 608 S /sbin/syslogd -n -C 64 -m 20
518 root 600 S /sbin/klogd -n
707 root 260 S udhcpc -n -p /var/run/udhcpc.eth0.pid -i eth0
751 root 624 S /bin/sh /root/stickit
775 root 912 S /usr/sbin/sshd
805 root 544 S /sbin/getty 115200 ttyS0
886 root 2000 S sshd: root@pts/0
890 root 852 S -sh
897 root 436 S sleep 10
898 root 748 R ps w
root@LKG288307:~$ uptime
01:59:10 up 3 min, load average: 0.19, 0.29, 0.12
root@LKG288307:~$


root@LKG288307:/$ ls -la
drwxr-xr-x 19 root root 0 Jan 1 1970 .
drwxr-xr-x 19 root root 0 Jan 1 1970 ..
drwxr-xr-x 2 root root 0 Jan 1 1970 bin
drwxr-xr-x 2 root root 0 Jan 1 1970 boot
-rw-r--r-- 1 root root 119913 Mar 4 2008 data.tgz
drwxr-xr-x 10 root root 1480 Oct 24 02:01 dev
drwxr-xr-x 20 root root 0 Oct 24 02:00 etc
drwxr-xr-x 2 root root 0 Jan 1 1970 home
drwxr-xr-x 2 root root 0 Jan 1 1970 initrd
drwxr-xr-x 5 root root 0 Jan 1 1970 lib
-rwxr--r-- 1 root root 149 Mar 1 2008 linuxrc
lrwxrwxrwx 1 root root 10 Jan 1 1970 linuxrc.sav -> boot/flash
drwxr-xr-x 12 root root 0 Mar 25 2008 media
drwxr-xr-x 2 root root 0 Jan 1 1970 mnt
drwxr-xr-x 3 root root 0 Mar 4 2008 opt
dr-xr-xr-x 37 root root 0 Jan 1 1970 proc
drwxr-xr-x 3 root root 0 Mar 13 2008 root
drwxr-xr-x 2 root root 0 Jan 1 1970 sbin
drwxr-xr-x 10 root root 0 Jan 1 1970 sys
lrwxrwxrwx 1 root root 8 Mar 1 2008 tmp -> /var/tmp
drwxr-xr-x 10 root root 0 Jan 1 1970 usr
drwxr-xr-x 7 root root 0 Jan 1 1970 var
root@LKG288307:/$


the hostname had changed and none of the meteohub stuff was running. i gave a reboot and it came back to this state.

i had it before and only a hard reset (turn off/on) fixed it, so i'll try that tomorrow (i'm not at home right now). did anyone notice this as well?

Re:meteohub - kind of strange reboot

Posted: Fri Oct 24, 2008 11:10 pm
by admin
the ps output and command line prompt indicate that Meteohub was not able to boot the USB stick.

Boot process is done in two steps. Step 1 is booting the limited SlugOS from NSLU2 firmware, then full-fletched Meteohub is booted from USB stick. For some reason the system does not do the second step. I had this once with a certain USB stick. After working some while this USB stick could not be started (just on every second attempt) for sure. Changin the stick solved this.

Re:meteohub - kind of strange reboot

Posted: Sat Oct 25, 2008 6:49 am
by Unconnected
ok, but the strange thing is... i didn't reboot the nslu2 for this situation to happen. it just got into this mode...

and a few software-reboots didn't fix anything, only a hard reboot (turning it on/off) :dry: