PogoPlug crashed and now can't get up (or need NC help)

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

PogoPlug crashed and now can't get up (or need NC help)

Postby regder » Sun Jan 26, 2014 2:09 am

So my Pogo crashed the other day and now won't boot up. By that I mean, orange light comes on, but I doesn't show up in my router ip table. I've ran e2fsck to check for errors and it comes up clean.

I know the first question will be what is the netconsole outpout. I had netconsole working before when I first set it up. When I punch in the nc command, it returns "nc: Can't assign requested address"

Appreciate any help figuring this out.
regder
 
Posts: 42
Joined: Fri Mar 02, 2012 12:21 am

Re: PogoPlug crashed and now can't get up (or need NC help)

Postby moonman » Sun Jan 26, 2014 4:07 am

You need to setup alias for the ethernet interface before netcat starts to work. Is orange LED the normal state or the fail state on your device? If you didn't create machid=dd6 environment variable in u-boot it will always be orange
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: PogoPlug crashed and now can't get up (or need NC help)

Postby regder » Sun Jan 26, 2014 4:22 am

Please dumb it down a bit for me. Orange is the normal light when Arch is working as it should.
regder
 
Posts: 42
Joined: Fri Mar 02, 2012 12:21 am

Re: PogoPlug crashed and now can't get up (or need NC help)

Postby moonman » Sun Jan 26, 2014 5:12 am

If using linux and your lan interface is eth0:
    sudo ifconfig eth0:0 10.10.10.5
    sudo ifconfig eth0:1 10.10.10.4

That is if you followed the guide to update uboot/setup netconsole in my signature. Also orange is not the normal color, when you get everything sorted out, set the proper machid, otherwise kernel thinks you have a sheevaplug
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: PogoPlug crashed and now can't get up (or need NC help)

Postby regder » Sun Jan 26, 2014 6:55 am

So I loaded up a Mint VM and entered the lines from your post. Opened two terminal windows and entered

nc -lu 10.10.10.5 6666 and nc -lu 10.10.10.4 6666

Rebooted the Pogo, but still nothing. Am I missing anything? I've had netconsole working on this thing before, of course that was when it was working fine...
regder
 
Posts: 42
Joined: Fri Mar 02, 2012 12:21 am

Re: PogoPlug crashed and now can't get up (or need NC help)

Postby moonman » Sun Jan 26, 2014 8:45 am

How is your networking setup in VM? Bridged? It has to be bridged and in promiscuous mode. Little details like this make all the difference so it may be better if you just boot your computer from a live cd/usb so you don't have to deal with things like this.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: PogoPlug crashed and now can't get up (or need NC help)

Postby regder » Sun Jan 26, 2014 8:07 pm

Looks like I got NC to work. Here's the result

$this->bbcode_second_pass_code('', ' nc -lu 10.10.10.4 6666
[ 30.029872] kjournald starting. Commit interval 5 seconds
[ 30.036442] EXT3-fs (sda1): using internal journal
[ 30.042937] EXT3-fs (sda1): recovery complete
[ 30.047362] EXT3-fs (sda1): mounted filesystem with writeback data mode
[ 30.054066] VFS: Mounted root (ext3 filesystem) on device 8:1.
[ 30.062226] devtmpfs: mounted
[ 30.066036] Freeing unused kernel memory: 252K (c06ce000 - c070d000)
[ 30.394110] systemd[1]: systemd 208 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
[ 30.483910] systemd[1]: Inserted module 'autofs4'
[ 30.531845] NET: Registered protocol family 10
[ 30.537875] systemd[1]: Inserted module 'ipv6'
[ 30.544928] systemd[1]: Set hostname to <alarm>.
[ 30.922594] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 30.939028] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 30.947225] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 30.954976] systemd[1]: Expecting device dev-ttyS0.device...
[ 30.975288] systemd[1]: Starting Remote File Systems.
[ 30.995259] systemd[1]: Reached target Remote File Systems.
[ 31.000965] systemd[1]: Expecting device sys-subsystem-net-devices-eth0.device...
[ 31.025274] systemd[1]: Starting Delayed Shutdown Socket.
[ 31.055261] systemd[1]: Listening on Delayed Shutdown Socket.
[ 31.061139] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 31.085256] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 31.092351] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ 31.115256] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 31.121913] systemd[1]: Starting LVM2 metadata daemon socket.
[ 31.145260] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 31.151482] systemd[1]: Starting Encrypted Volumes.
[ 31.175254] systemd[1]: Reached target Encrypted Volumes.
[ 31.180896] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 31.215267] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 31.224848] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 31.233196] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 31.241317] systemd[1]: Starting Paths.
[ 31.265250] systemd[1]: Reached target Paths.
[ 31.269752] systemd[1]: Starting Journal Socket.
[ 31.295260] systemd[1]: Listening on Journal Socket.
[ 31.305101] systemd[1]: Starting Apply Kernel Variables...
[ 31.328186] systemd[1]: Starting Setup Virtual Console...
[ 31.358022] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 31.397462] systemd[1]: Mounting Debug File System...
[ 31.437478] systemd[1]: Started Set Up Additional Binary Formats.
[ 31.443895] systemd[1]: Mounted Huge Pages File System.
[ 31.455735] systemd[1]: Starting Journal Service...
[ 31.495378] systemd[1]: Started Journal Service.
[ 31.651891] systemd-journald[58]: Vacuuming done, freed 0 bytes
[ 32.272775] systemd-udevd[79]: starting version 208
[ 121.237640] systemd-journald[58]: Received request to flush runtime journal from PID 1')

Thanks again for the help
regder
 
Posts: 42
Joined: Fri Mar 02, 2012 12:21 am

Re: PogoPlug crashed and now can't get up (or need NC help)

Postby moonman » Mon Jan 27, 2014 1:02 am

Looks like it boots but network doesn't come up. See if enabling dhcpcd@eth0 will help.
On your mint box mount the alarm drive and run this:

ln -s '/usr/lib/systemd/system/dhcpcd@.service' '<alarm mount point>/etc/systemd/system/multi-user.target.wants/dhcpcd@eth0.service'

Disable other services like netctl if you have them enabled. Just remove the symlink from <alarm mount point>/etc/systemd/system/multi-user.target.wants
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: PogoPlug crashed and now can't get up (or need NC help)

Postby regder » Mon Jan 27, 2014 1:26 am

Hmmm, still more of the same. Only thing in "multi-user.target.wants" was rsyslog.service

$this->bbcode_second_pass_code('', '[ 29.892092] kjournald starting. Commit interval 5 seconds
[ 29.898673] EXT3-fs (sda1): using internal journal
[ 29.903514] EXT3-fs (sda1): mounted filesystem with writeback data mode
[ 29.910256] VFS: Mounted root (ext3 filesystem) on device 8:1.
[ 29.918203] devtmpfs: mounted
[ 29.921979] Freeing unused kernel memory: 252K (c06ce000 - c070d000)
[ 30.261979] systemd[1]: systemd 208 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
[ 30.356135] systemd[1]: Inserted module 'autofs4'
[ 30.399868] NET: Registered protocol family 10
[ 30.405784] systemd[1]: Inserted module 'ipv6'
[ 30.412915] systemd[1]: Set hostname to <alarm>.
[ 30.804610] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 30.821088] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 30.829277] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 30.837022] systemd[1]: Expecting device dev-ttyS0.device...
[ 30.857410] systemd[1]: Starting Remote File Systems.
[ 30.877385] systemd[1]: Reached target Remote File Systems.
[ 30.883097] systemd[1]: Expecting device sys-subsystem-net-devices-eth0.device...
[ 30.907388] systemd[1]: Starting Delayed Shutdown Socket.
[ 30.937379] systemd[1]: Listening on Delayed Shutdown Socket.
[ 30.943256] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 30.967378] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 30.974471] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ 30.997381] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 31.004043] systemd[1]: Starting LVM2 metadata daemon socket.
[ 31.027381] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 31.033604] systemd[1]: Starting Encrypted Volumes.
[ 31.057376] systemd[1]: Reached target Encrypted Volumes.
[ 31.063023] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 31.097387] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 31.106967] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 31.115314] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 31.123423] systemd[1]: Starting Paths.
[ 31.149355] systemd[1]: Reached target Paths.
[ 31.153885] systemd[1]: Starting Journal Socket.
[ 31.177388] systemd[1]: Listening on Journal Socket.
[ 31.187367] systemd[1]: Starting Apply Kernel Variables...
[ 31.210356] systemd[1]: Starting Setup Virtual Console...
[ 31.240045] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 31.279582] systemd[1]: Mounting Debug File System...
[ 31.321585] systemd[1]: Started Set Up Additional Binary Formats.
[ 31.332490] systemd[1]: Mounted Huge Pages File System.
[ 31.338033] systemd[1]: Starting Journal Service...
[ 31.377495] systemd[1]: Started Journal Service.
[ 31.467019] systemd-journald[58]: Vacuuming done, freed 0 bytes
[ 32.144744] systemd-udevd[79]: starting version 208
[ 121.094353] systemd-journald[58]: Received request to flush runtime journal from PID 1')
regder
 
Posts: 42
Joined: Fri Mar 02, 2012 12:21 am

Re: PogoPlug crashed and now can't get up (or need NC help)

Postby moonman » Mon Jan 27, 2014 1:45 am

It sohuld not be empty.

Here's what I've got:
$this->bbcode_second_pass_code('', 'lrwxrwxrwx 1 root root 44 Jul 12 2013 avahi-daemon.service -> /usr/lib/systemd/system/avahi-daemon.service
lrwxrwxrwx 1 root root 38 Jan 28 2013 cronie.service -> /usr/lib/systemd/system/cronie.service
lrwxrwxrwx 1 root root 39 Jan 11 2013 devmon@root.service -> /usr/lib/systemd/system/devmon@.service
lrwxrwxrwx 1 root root 39 Jan 10 2013 dhcpcd@eth0.service -> /usr/lib/systemd/system/dhcpcd@.service
lrwxrwxrwx 1 root root 39 Jan 19 19:50 haveged.service -> /usr/lib/systemd/system/haveged.service
lrwxrwxrwx 1 root root 40 Jan 26 17:59 lighttpd.service -> /usr/lib/systemd/system/lighttpd.service
lrwxrwxrwx 1 root root 36 Dec 15 2012 nmbd.service -> /usr/lib/systemd/system/nmbd.service
lrwxrwxrwx 1 root root 35 Mar 1 2013 nmb.service -> /usr/lib/systemd/system/nmb.service
lrwxrwxrwx 1 root root 40 Oct 21 2012 openntpd.service -> /usr/lib/systemd/system/openntpd.service
lrwxrwxrwx 1 root root 39 Jan 4 01:02 php-fpm.service -> /usr/lib/systemd/system/php-fpm.service
lrwxrwxrwx 1 root root 36 Jan 4 03:32 pogoplug.service -> /etc/systemd/system/pogoplug.service
lrwxrwxrwx 1 root root 36 Jan 10 2013 rcscript.service -> /etc/systemd/system/rcscript.service
lrwxrwxrwx 1 root root 40 Jan 13 14:51 remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
lrwxrwxrwx 1 root root 42 Jan 23 2013 rpc-idmapd.service -> /usr/lib/systemd/system/rpc-idmapd.service
lrwxrwxrwx 1 root root 42 Jan 23 2013 rpc-mountd.service -> /usr/lib/systemd/system/rpc-mountd.service
lrwxrwxrwx 1 root root 36 Dec 15 2012 smbd.service -> /usr/lib/systemd/system/smbd.service
lrwxrwxrwx 1 root root 35 Mar 1 2013 smb.service -> /usr/lib/systemd/system/smb.service
lrwxrwxrwx 1 root root 43 Oct 21 2012 sshdgenkeys.service -> /usr/lib/systemd/system/sshdgenkeys.service
lrwxrwxrwx 1 root root 36 Oct 21 2012 sshd.service -> /usr/lib/systemd/system/sshd.service
lrwxrwxrwx 1 root root 41 Oct 21 2012 syslog-ng.service -> /usr/lib/systemd/system/syslog-ng.service
')

You of course don't need all of them, but there are some important ones like sshd.

You got dhcpcd service now, see if you can ping the box now, or if tries to acquire an ip from the router. Though I think if this folder is almost empty the best way to recover now is a complete reinstall.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests