Pogoplug v2 (Pink/Gray) not always starting

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

Pogoplug v2 (Pink/Gray) not always starting

Postby kitenski » Thu Oct 25, 2018 7:16 pm

Evening,

First off an apology for not being that Linux savvy. I have a Pogoplug v2 sat in my garage monitoring my solar panels.

I did a pacman -Syu recently to update everything, it all went fine with no issues.

However on rebooting the box it didn't appear on the network. I tried powering on and off a few times and 1 out of 4 times it will appear on the network.

It does however appear to boot and be working as it gathered todays solar stats fine.

It's currently up, so I managed to look at the logs using the journalctl command.

I see this section where it didn't appear to get an Ethernet connection.

Can anyone advise me how to fix the issue so it get's a network connection on every boot please?

$this->bbcode_second_pass_code('', 'Oct 25 17:45:25 Arch Linux ARM install systemd-timesyncd[210]: No network connectivity, watching for changes.
Oct 25 17:45:25 Arch Linux ARM install systemd-networkd[211]: Enumeration completed
Oct 25 17:45:25 Arch Linux ARM install systemd-networkd[211]: lo: Link is not managed by us
Oct 25 17:45:26 Arch Linux ARM install kernel: mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
Oct 25 17:45:26 Arch Linux ARM install kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Oct 25 17:45:26 Arch Linux ARM install systemd-networkd[211]: eth0: Gained carrier
Oct 25 17:45:26 Arch Linux ARM install systemd-networkd[211]: eth0: Lost carrier
Oct 25 17:45:26 Arch Linux ARM install systemd-networkd[211]: eth0: Could not set route: Network is unreachable
Oct 25 17:45:28 Arch Linux ARM install network[224]: Starting network profile 'eth0'...
Oct 25 17:45:28 Arch Linux ARM install network[224]: The interface of network profile 'eth0' is already up
Oct 25 17:45:29 Arch Linux ARM install systemd-networkd[211]: eth0: Gained carrier
Oct 25 17:45:29 Arch Linux ARM install kernel: mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full d>
Oct 25 17:45:29 Arch Linux ARM install kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Oct 25 17:45:29 Arch Linux ARM install systemd-timesyncd[210]: Network configuration changed, trying to establish c>
Oct 25 17:45:31 Arch Linux ARM install systemd-networkd[211]: eth0: Gained IPv6LL
Oct 25 17:45:39 Arch Linux ARM install systemd-timesyncd[210]: request_name_destroy_callback n_ref=1
Oct 25 17:45:39 Arch Linux ARM install systemd-networkd[211]: request_name_destroy_callback n_ref=1
Oct 25 17:45:39 Arch Linux ARM install systemd[1]: Started Login Service.
Oct 25 17:45:39 Arch Linux ARM install systemd[1]: Started Network Service.
Oct 25 17:45:39 Arch Linux ARM install systemd[1]: netctl@eth0.service: Main process exited, code=exited, status=1/>
Oct 25 17:45:39 Arch Linux ARM install systemd[1]: netctl@eth0.service: Failed with result 'exit-code'.
Oct 25 17:45:39 Arch Linux ARM install systemd[1]: Failed to start A basic static ethernet connection.
')

and then another section shows this

$this->bbcode_second_pass_code('', 'Oct 25 17:45:30 Arch Linux ARM install systemd-timesyncd[210]: request_name_destroy_callback n_ref=1
Oct 25 17:45:41 Arch Linux ARM install network[231]: RTNETLINK answers: File exists
Oct 25 17:45:30 Arch Linux ARM install systemd-networkd[215]: request_name_destroy_callback n_ref=1
Oct 25 17:45:41 Arch Linux ARM install network[231]: Could not add address '192.168.1.12/24' to interface 'eth0'
Oct 25 17:45:41 Arch Linux ARM install network[231]: Failed to bring the network up for profile 'eth0'
Oct 25 17:45:30 Arch Linux ARM install systemd[1]: Started Login Service.
Oct 25 17:45:30 Arch Linux ARM install systemd[1]: Started Network Service.
Oct 25 17:45:31 Arch Linux ARM install systemd-networkd[215]: eth0: Gained IPv6LL
Oct 25 17:45:37 Arch Linux ARM install systemd-networkd[215]: eth0: Lost carrier
Oct 25 17:45:41 Arch Linux ARM install systemd[1]: Starting Network Name Resolution...
Oct 25 17:45:41 Arch Linux ARM install systemd[1]: Started A basic static ethernet connection.
Oct 25 17:45:41 Arch Linux ARM install systemd[1]: netctl@eth0.service: Main process exited, code=exited, status=1/FAILURE
')
kitenski
 
Posts: 20
Joined: Sat Jul 07, 2012 12:44 pm

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby TheSaint » Fri Oct 26, 2018 12:01 am

Better to see the pacman.log to understand what were the changes.
One more option to verify that any new configuration has come and need a care.
TheSaint
 
Posts: 346
Joined: Mon Jul 23, 2018 7:57 am

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby kitenski » Fri Oct 26, 2018 9:13 am

pacman.log is below, thanks for pointing that out, it does give me something to try!

$this->bbcode_second_pass_code('', 'The unit for profile 'eth0' uses deprecated features.
[2018-10-24 17:40] [ALPM-SCRIPTLET] Consider running: netctl reenable eth0')

which I have run without error:

$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install log]# netctl reenable eth0
removed '/etc/systemd/system/multi-user.target.wants/netctl@eth0.service'
removed '/etc/systemd/system/netctl@eth0.service'
'/etc/systemd/system/multi-user.target.wants/netctl@eth0.service' -> '/usr/lib/systemd/system/netctl@.service'
generated '/etc/systemd/system/netctl@eth0.service.d/profile.conf'
')

$this->bbcode_second_pass_code('', '[2018-10-24 17:02] [PACMAN] Running 'pacman -Syu'
[2018-10-24 17:02] [PACMAN] synchronizing package lists
[2018-10-24 17:02] [PACMAN] starting full system upgrade
[2018-10-24 17:03] [ALPM] transaction started
[2018-10-24 17:03] [ALPM] removed ca-certificates-cacert (20140824-4)
[2018-10-24 17:03] [ALPM] upgraded linux-api-headers (4.16.1-1 -> 4.17.11-1)
[2018-10-24 17:03] [ALPM] upgraded tzdata (2018e-1 -> 2018f-2)
[2018-10-24 17:03] [ALPM] upgraded iana-etc (20180221-1 -> 20181004-1)
[2018-10-24 17:04] [ALPM] upgraded filesystem (2018.1-2 -> 2018.8-1)
[2018-10-24 17:05] [ALPM] upgraded glibc (2.27-3 -> 2.28-4)
[2018-10-24 17:05] [ALPM-SCRIPTLET] Generating locales...
[2018-10-24 17:05] [ALPM-SCRIPTLET] Generation complete.
[2018-10-24 17:06] [ALPM] upgraded zlib (1:1.2.11-2 -> 1:1.2.11-3)
[2018-10-24 17:07] [ALPM] upgraded binutils (2.30-5 -> 2.31.1-3)
[2018-10-24 17:09] [ALPM] upgraded gcc-libs (8.1.1+20180531-1 -> 8.2.0-2)
[2018-10-24 17:09] [ALPM] upgraded ncurses (6.1-3 -> 6.1-4)
[2018-10-24 17:09] [ALPM] upgraded bzip2 (1.0.6-7 -> 1.0.6-8)
[2018-10-24 17:09] [ALPM] upgraded gdbm (1.16-1 -> 1.18-1)
[2018-10-24 17:13] [ALPM] upgraded perl (5.26.2-2 -> 5.28.0-1)
[2018-10-24 17:14] [ALPM] upgraded openssl (1.1.0.h-1 -> 1.1.1-1)
[2018-10-24 17:16] [ALPM] upgraded coreutils (8.29-1 -> 8.30-1)
[2018-10-24 17:16] [ALPM] upgraded lz4 (1:1.8.2-2 -> 1:1.8.3-1)
[2018-10-24 17:16] [ALPM] upgraded libgpg-error (1.31-1 -> 1.32-1)
[2018-10-24 17:16] [ALPM] upgraded libsystemd (239.0-2 -> 239.2-1)
[2018-10-24 17:16] [ALPM] upgraded p11-kit (0.23.12-1 -> 0.23.14-1)
[2018-10-24 17:16] [ALPM-SCRIPTLET] Created symlink /etc/systemd/user/sockets.target.wants/p11-kit-server.socket -> /usr/lib/systemd/user/p11-kit-server.socket.
[2018-10-24 17:16] [ALPM] upgraded ca-certificates-utils (20170307-1 -> 20180821-1)
[2018-10-24 17:16] [ALPM] upgraded ca-certificates-mozilla (3.38-1 -> 3.39-1)
[2018-10-24 17:16] [ALPM] upgraded ca-certificates (20170307-1 -> 20180821-1)
[2018-10-24 17:16] [ALPM] upgraded device-mapper (2.02.177-5 -> 2.02.181-1)
[2018-10-24 17:16] [ALPM] upgraded libutil-linux (2.32-3 -> 2.32.1-2)
[2018-10-24 17:16] [ALPM] upgraded json-c (0.13.1-1 -> 0.13.1-2)
[2018-10-24 17:16] [ALPM] upgraded cryptsetup (2.0.3-2 -> 2.0.4-1)
[2018-10-24 17:16] [ALPM] upgraded libnghttp2 (1.32.0-1 -> 1.34.0-1)
[2018-10-24 17:16] [ALPM] upgraded e2fsprogs (1.44.2-1 -> 1.44.4-1)
[2018-10-24 17:16] [ALPM] upgraded keyutils (1.5.10-2 -> 1.5.11-1)
[2018-10-24 17:16] [ALPM] upgraded libldap (2.4.46-1 -> 2.4.46-2)
[2018-10-24 17:17] [ALPM] upgraded curl (7.60.0-1 -> 7.61.1-3)
[2018-10-24 17:17] [ALPM] upgraded expat (2.2.5-1 -> 2.2.6-1)
[2018-10-24 17:18] [ALPM] upgraded dbus (1.12.8-1 -> 1.12.10-2)
[2018-10-24 17:18] [ALPM] upgraded libnftnl (1.1.0-1 -> 1.1.1-1)
[2018-10-24 17:18] [ALPM] upgraded libpcap (1.8.1-2 -> 1.9.0-1)
[2018-10-24 17:18] [ALPM] upgraded iptables (1.6.2-2 -> 1:1.8.0-1)
[2018-10-24 17:18] [ALPM] upgraded libelf (0.171-1 -> 0.174-1)
[2018-10-24 17:18] [ALPM] upgraded libtirpc (1.0.3-2 -> 1.1.4-1)
[2018-10-24 17:18] [ALPM] upgraded shadow (4.5-4 -> 4.6-1)
[2018-10-24 17:20] [ALPM] upgraded util-linux (2.32-3 -> 2.32.1-2)
[2018-10-24 17:20] [ALPM] upgraded pcre2 (10.31-1 -> 10.32-1)
[2018-10-24 17:20] [ALPM] installed audit (2.8.4-2)
[2018-10-24 17:21] [ALPM] upgraded systemd (239.0-2 -> 239.2-1)
[2018-10-24 17:22] [ALPM] upgraded dhcpcd (7.0.4-1 -> 7.0.8-1)
[2018-10-24 17:22] [ALPM] upgraded dnssec-anchors (20170711-1 -> 20181003-1)
[2018-10-24 17:22] [ALPM] upgraded file (5.33-3 -> 5.34-1)
[2018-10-24 17:22] [ALPM] upgraded libatomic_ops (7.6.4-1 -> 7.6.6-1)
[2018-10-24 17:22] [ALPM] upgraded gc (7.6.6-1 -> 7.6.8-1)
[2018-10-24 17:25] [ALPM] upgraded gcc (8.1.1+20180531-1 -> 8.2.0-2)
[2018-10-24 17:25] [ALPM] upgraded geoip (1.6.11-1 -> 1.6.12-1)
[2018-10-24 17:25] [ALPM] upgraded glib2 (2.56.1-1 -> 2.58.1-1)
[2018-10-24 17:26] [ALPM] upgraded npth (1.5-1 -> 1.6-1)
[2018-10-24 17:26] [ALPM] upgraded gnutls (3.5.18-1 -> 3.5.19-2)
[2018-10-24 17:26] [ALPM] upgraded sqlite (3.24.0-1 -> 3.25.2-1)
[2018-10-24 17:27] [ALPM] upgraded gnupg (2.2.8-1 -> 2.2.10-1)
[2018-10-24 17:27] [ALPM] upgraded gpgme (1.11.1-1 -> 1.12.0-1)
[2018-10-24 17:27] [ALPM] upgraded libidn (1.34-2 -> 1.35-1)
[2018-10-24 17:27] [ALPM] upgraded gsasl (1.8.0-7 -> 1.8.0-8)
[2018-10-24 17:27] [ALPM] upgraded haveged (1.9.1-4.1 -> 1.9.4-3)
[2018-10-24 17:28] [ALPM] upgraded icu (61.1-1 -> 62.1-1)
[2018-10-24 17:28] [ALPM] upgraded iproute2 (4.17.0-1 -> 4.18.0-1)
[2018-10-24 17:28] [ALPM] upgraded iputils (20161105.1f2bb12-2 -> 20180629.f6aac8d-2)
[2018-10-24 17:28] [ALPM] upgraded jfsutils (1.1.15-5 -> 1.1.15-6)
[2018-10-24 17:28] [ALPM] installed zstd (1.3.6-1)
[2018-10-24 17:28] [ALPM] upgraded libarchive (3.3.2-2 -> 3.3.3-1)
[2018-10-24 17:29] [ALPM] upgraded libtool (2.4.6+40+g6ca5e224-6 -> 2.4.6+42+gb88cebd5-1)
[2018-10-24 17:29] [ALPM] upgraded libxml2 (2.9.8-2 -> 2.9.8-5)
[2018-10-24 17:39] [ALPM] upgraded linux-firmware (20180606.d114732-1 -> 20181018.d877533-1)
[2018-10-24 17:39] [ALPM] upgraded lvm2 (2.02.177-5 -> 2.02.181-1)
[2018-10-24 17:39] [ALPM] upgraded man-db (2.8.3-2 -> 2.8.4-1)
[2018-10-24 17:40] [ALPM] upgraded man-pages (4.16-1 -> 4.16-2)
[2018-10-24 17:40] [ALPM] upgraded mkinitcpio-busybox (1.28.4-1 -> 1.29.3-1)
[2018-10-24 17:40] [ALPM] upgraded mkinitcpio (24-2 -> 25-1)
[2018-10-24 17:40] [ALPM] upgraded msmtp (1.6.7-1 -> 1.8.0-2)
[2018-10-24 17:40] [ALPM] upgraded nano (2.9.8-1 -> 3.1-1)
[2018-10-24 17:40] [ALPM] upgraded netctl (1.17-1 -> 1.18-1)
[2018-10-24 17:40] [ALPM-SCRIPTLET] :: The unit for profile 'eth0' uses deprecated features.
[2018-10-24 17:40] [ALPM-SCRIPTLET] Consider running: netctl reenable eth0
[2018-10-24 17:40] [ALPM] upgraded openssh (7.7p1-2 -> 7.9p1-1)
[2018-10-24 17:40] [ALPM] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2018-10-24 17:40] [ALPM] upgraded pacman-mirrorlist (20180323-1 -> 20180903-1)
[2018-10-24 17:40] [ALPM] upgraded pacman (5.1.0-2 -> 5.1.1-1)
[2018-10-24 17:41] [ALPM] upgraded pciutils (3.5.6-1 -> 3.6.1-1)
[2018-10-24 17:41] [ALPM] upgraded php (7.2.7-2 -> 7.2.11-2)
[2018-10-24 17:41] [ALPM] upgraded php-cgi (7.2.7-2 -> 7.2.11-2)
[2018-10-24 17:41] [ALPM] upgraded php-fpm (7.2.7-2 -> 7.2.11-2)
[2018-10-24 17:41] [ALPM] upgraded psmisc (23.1-1 -> 23.2-1)
[2018-10-24 17:42] [ALPM] upgraded s-nail (14.9.10-1 -> 14.9.11-1)
[2018-10-24 17:42] [ALPM] upgraded systemd-sysvcompat (239.0-2 -> 239.2-1)
[2018-10-24 17:42] [ALPM] upgraded texinfo (6.5-1 -> 6.5-2)
[2018-10-24 17:43] [ALPM] upgraded xfsprogs (4.16.1-1 -> 4.18.0-1)
[2018-10-24 17:43] [ALPM] transaction completed
[2018-10-24 17:43] [ALPM] running 'detect-old-perl-modules.hook'...
[2018-10-24 17:43] [ALPM] running 'systemd-catalog.hook'...
[2018-10-24 17:43] [ALPM] running 'systemd-daemon-reload.hook'...
[2018-10-24 17:43] [ALPM] running 'systemd-hwdb.hook'...
[2018-10-24 17:43] [ALPM] running 'systemd-sysctl.hook'...
[2018-10-24 17:43] [ALPM] running 'systemd-sysusers.hook'...
[2018-10-24 17:43] [ALPM] running 'systemd-tmpfiles.hook'...
[2018-10-24 17:43] [ALPM] running 'systemd-udev-reload.hook'...
[2018-10-24 17:43] [ALPM] running 'systemd-update.hook'...
[2018-10-24 17:43] [ALPM] running 'texinfo-install.hook'...
[2018-10-24 17:44] [ALPM] running 'update-ca-trust.hook'...
')
kitenski
 
Posts: 20
Joined: Sat Jul 07, 2012 12:44 pm

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby TheSaint » Sat Oct 27, 2018 12:33 am

I suspect that the kernel name has change, what says$this->bbcode_second_pass_code('', '$ ip a')
Then the journal report a double try to connect eth0. Perhaps it takes to review your netctl profile.
You might try to bring the connection up manually, so you might see what errors are coming up$this->bbcode_second_pass_code('', '$ sudo ip link set dev <kernel_name> up && sudo ip addr add <your_IP> dev <kernel_name>')
<kernel_name> can be found by the first command.
TheSaint
 
Posts: 346
Joined: Mon Jul 23, 2018 7:57 am

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby kitenski » Mon Oct 29, 2018 4:54 pm

Thanks, I don't seem to see a kernal name with that first command?

$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:25:31:00:54:65 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.12/24 brd 192.168.1.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fdb2:d6d3:79cb:1:225:31ff:fe00:5465/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 7116sec preferred_lft 7116sec
inet6 fe80::225:31ff:fe00:5465/64 scope link
valid_lft forever preferred_lft forever
')
kitenski
 
Posts: 20
Joined: Sat Jul 07, 2012 12:44 pm

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby TheSaint » Tue Oct 30, 2018 1:43 am

So the NIC (eth0) is there and UP, it seems that your netctl profile has some problem. Can we see it?
You may try to connect manually, just to understand what is going on.
But I suspect there is a conflict between systemd-networkd and netctl.
TheSaint
 
Posts: 346
Joined: Mon Jul 23, 2018 7:57 am

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby kitenski » Tue Oct 30, 2018 10:08 am

Thanks for your continued help, here is the netctl profile for eth0

$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install netctl]# cat eth0
Description='A basic static ethernet connection'
Interface=eth0
Connection=ethernet
IP=static
Address=('192.168.1.12/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway=('192.168.1.1')
DNS=('192.168.1.1')

## For IPv6 autoconfiguration
#IP6=stateless

## For IPv6 static address configuration
#IP6=static
#Address6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#Routes6=('abcd::1234')
#Gateway6='1234:0:123::abcd'')
kitenski
 
Posts: 20
Joined: Sat Jul 07, 2012 12:44 pm

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby summers » Wed Oct 31, 2018 8:59 am

Just and idle though. Are you mixing two network configurations , e.g. $this->bbcode_second_pass_code('', 'systemd-networkd') and $this->bbcode_second_pass_code('', 'netctl')? I seem to recall the two don't work well together at the same time, so that may give a race condition which would give your problem (e.g. changing between different boots).

If I get the time later I'll look at your logs in more detail ...
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby kitenski » Wed Oct 31, 2018 9:35 am

How would I check if I am using both? The system has been running for years so could likely have evolved as things changed!
kitenski
 
Posts: 20
Joined: Sat Jul 07, 2012 12:44 pm

Re: Pogoplug v2 (Pink/Gray) not always starting

Postby summers » Wed Oct 31, 2018 9:47 am

$this->bbcode_second_pass_code('', 'systemctl list-units')
Then see what network sets up are listed.

Once you know whats on the system you can get a bit more information with
$this->bbcode_second_pass_code('', 'systemctl status systemd-networkd.service')
and the same with netctl etc.

Config files are also in different places IIRC "/etc/systemd/network" vs "/etc/netctl/" so check what is in both ...
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 10 guests