Welcome! Log In Create A New Profile

Advanced

Pogoplug E02 no Ethernet after uboot update

Posted by dougdeep 
Pogoplug E02 no Ethernet after uboot update
November 03, 2019 11:37PM
I recently used the serial port and tftp to update the uboot on a Pogoplug E02 to the 2017.07 U-Boot Kirkwood version. It seemed to go well but the result was no Ethernet port activity after rebooting. I get a brief flash of the port status and speed LEDs after a reset but they're otherwise dark. My router does not notice the Pogoplug and all pings from the Pogoplug fail.

I checked the printenv results and they match the pre-update values: ethact=egig0, ethaddr matches the MAC printed on the Pogoplug sticker, and ipaddr is within the address range of the router. Pluging in a USB stick with Debian boots all the way to the user login (using the serial port) but doesn't seem to make the Ethernet port do anything either.

The Ethernet port did work prior to the uboot update. Any ideas as to what I should be looking for?
Re: Pogoplug E02 no Ethernet after uboot update
November 04, 2019 12:43AM
dougdeep Wrote:
-------------------------------------------------------
> I recently used the serial port and tftp to update
> the uboot on a Pogoplug E02 to the 2017.07 U-Boot
> Kirkwood version. It seemed to go well but the
> result was no Ethernet port activity after
> rebooting. I get a brief flash of the port status
> and speed LEDs after a reset but they're otherwise
> dark. My router does not notice the Pogoplug and
> all pings from the Pogoplug fail.
>
> I checked the printenv results and they match the
> pre-update values: ethact=egig0, ethaddr matches
> the MAC printed on the Pogoplug sticker, and
> ipaddr is within the address range of the router.
> Pluging in a USB stick with Debian boots all the
> way to the user login (using the serial port) but
> doesn't seem to make the Ethernet port do anything
> either.
>
> The Ethernet port did work prior to the uboot
> update. Any ideas as to what I should be looking
> for?

Since you have serial console, do this: power up with serial console connected, let it boot all the way into Debian promp. And then post the entire serial console log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug E02 no Ethernet after uboot update
November 04, 2019 11:22PM
Something changed over the weekend but I'm not sure what it was. The Pogoplug's Ethernet port decided to light up when I started it today (same cat5 cable, same router) but it's still not working correctly. If I start it with the Debian USB stick, it gets stuck endlessly trying to get an IP address:
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:13:18 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            4014080         27869663-01     83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 692 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4963680 bytes read in 1322 ms (3.6 MiB/s)
loading uInitrd ...
9713936 bytes read in 1581 ms (5.9 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10106 bytes read in 3660 ms (2 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-1
   Created:      2019-08-25   2:22:31 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4963616 Bytes = 4.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-1
   Created:      2019-08-25   2:22:50 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9713872 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f1cc000, end 0fb0f8d0 ... OK
   Loading Device Tree to 0f1c6000, end 0f1cb779 ... OK
Using machid 0xdd6 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc
version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56
PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr
=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: CloudEngines Pogoplug E02
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 65
024
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=root
fs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072
bytes)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 by
tes)
[    0.000000][    T0] Memory: 234788K/262144K available (9216K kernel code, 868
K rwdata, 3400K rodata, 1024K init, 301K bss, 27356K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x3
8c/0x928 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay i
s 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycl
es: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000009][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps eve
ry 10737418237ns
[    0.000048][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000797][    T0] Console: colour dummy device 80x30
[    0.000849][    T0] Calibrating delay loop (skipped), value calculated using
timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000876][    T0] pid_max: default: 32768 minimum: 301
[    0.001252][    T0] LSM: Security Framework initializing
[    0.001438][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 byte
s)
[    0.001464][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
 bytes)
[    0.002331][    T0] *** VALIDATE proc ***
[    0.002597][    T0] *** VALIDATE cgroup1 ***
[    0.002624][    T0] *** VALIDATE cgroup2 ***
[    0.002725][    T0] CPU: Testing write buffer coherency: ok
[    0.004476][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.004768][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.005070][    T1] rcu: Hierarchical SRCU implementation.
[    0.008375][    T1] devtmpfs: initialized
[    0.013540][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffff
ffff, max_idle_ns: 19112604462750000 ns
[    0.013572][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.013820][    T1] xor: measuring software checksum speed
[    0.110112][    T1]    arm4regs  :  1078.400 MB/sec
[    0.210075][    T1]    8regs     :   650.400 MB/sec
[    0.310073][    T1]    32regs    :   945.600 MB/sec
[    0.310094][    T1] xor: using function: arm4regs (1078.400 MB/sec)
[    0.310114][    T1] prandom: seed boundary self test passed
[    0.314312][    T1] prandom: 100 self tests passed
[    0.314323][    T1] pinctrl core: initialized pinctrl subsystem
[    0.315777][    T1] NET: Registered protocol family 16
[    0.316339][    T1] DMA: preallocated 256 KiB pool for atomic coherent alloca
tions
[    0.317153][    T1] audit: initializing netlink subsys (disabled)
[    0.318453][   T14] audit: type=2000 audit(0.310:1): state=initialized audit_
enabled=0 res=1
[    0.318575][    T1] cpuidle: using governor ladder
[    0.318653][    T1] cpuidle: using governor menu
[    0.319193][    T1] Feroceon L2: Enabling L2
[    0.319244][    T1] Feroceon L2: Cache support initialised.
[    0.324714][    T1] No ATAGs?
[    2.560056][    C0] random: fast init done
[    6.282688][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    6.283050][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    6.460526][    T1] raid6: int32x8  gen()   127 MB/s
[    6.630426][    T1] raid6: int32x8  xor()    86 MB/s
[    6.800385][    T1] raid6: int32x4  gen()   129 MB/s
[    6.970319][    T1] raid6: int32x4  xor()    83 MB/s
[    7.140518][    T1] raid6: int32x2  gen()   132 MB/s
[    7.310361][    T1] raid6: int32x2  xor()    94 MB/s
[    7.480610][    T1] raid6: int32x1  gen()   100 MB/s
[    7.650330][    T1] raid6: int32x1  xor()    68 MB/s
[    7.650341][    T1] raid6: using algorithm int32x2 gen() 132 MB/s
[    7.650350][    T1] raid6: .... xor() 94 MB/s, rmw enabled
[    7.650358][    T1] raid6: using intx1 recovery algorithm
[    7.650625][    T1] vgaarb: loaded
[    7.651143][    T1] SCSI subsystem initialized
[    7.651650][    T1] usbcore: registered new interface driver usbfs
[    7.651728][    T1] usbcore: registered new interface driver hub
[    7.651814][    T1] usbcore: registered new device driver usb
[    7.651995][    T1] pps_core: LinuxPPS API ver. 1 registered
[    7.652007][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodol
fo Giometti <giometti@linux.it>
[    7.652035][    T1] PTP clock support registered
[    7.653364][    T1] clocksource: Switched to clocksource orion_clocksource
[    8.690599][    T1] VFS: Disk quotas dquot_6.6.0
[    8.690694][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[    8.700578][    T1] NET: Registered protocol family 2
[    8.701426][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:
0, 4096 bytes)
[    8.701462][    T1] TCP established hash table entries: 2048 (order: 1, 8192
bytes)
[    8.701498][    T1] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    8.701530][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    8.701633][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    8.701660][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    8.701888][    T1] NET: Registered protocol family 1
[    8.702551][    T1] RPC: Registered named UNIX socket transport module.
[    8.702566][    T1] RPC: Registered udp transport module.
[    8.702574][    T1] RPC: Registered tcp transport module.
[    8.702583][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    8.702598][    T1] PCI: CLS 0 bytes, default 32
[    8.702853][    T1] Trying to unpack rootfs image as initramfs...
[    9.553327][    T1] Freeing initrd memory: 9488K
[    9.553602][    T1] NetWinder Floating Point Emulator V0.97 (double precision
)
[    9.554842][    T1] Initialise system trusted keyrings
[    9.554895][    T1] Key type blacklist registered
[    9.555136][    T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0

[    9.555244][    T1] zbud: loaded
[    9.556381][    T1] NFS: Registering the id_resolver key type
[    9.556412][    T1] Key type id_resolver registered
[    9.556422][    T1] Key type id_legacy registered
[    9.556442][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering
...
[    9.556460][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.556752][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Ha
t, Inc.
[    9.556988][    T1] fuse: init (API version 7.31)
[    9.557393][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:

[    9.557581][    T1] orangefs_init: module version upstream loaded
[    9.557594][    T1] SGI XFS with ACLs, security attributes, realtime, scrub,
no debug enabled
[    9.575270][    T1] async_tx: api initialized (async)
[    9.575296][    T1] Key type asymmetric registered
[    9.575306][    T1] Asymmetric key parser 'x509' registered
[    9.575382][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 246)
[    9.576836][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinc
trl driver
[    9.578863][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    9.634179][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor
cpy intr )
[    9.636189][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    9.694190][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor
cpy intr )
[    9.696473][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    9.697736][    T1] printk: console [ttyS0] disabled
[    9.697812][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base
_baud = 12500000) is a 16550A
[   10.453115][    T1] printk: console [ttyS0] enabled
[   10.465790][    T1] loop: module loaded
[   10.470924][    T1] Could not find a valid ONFI parameter page, trying bit-wi
se majority to recover it
[   10.480443][    T1] ONFI parameter recovery failed, aborting
[   10.486162][    T1] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[   10.493239][    T1] nand: Hynix NAND 128MiB 3,3V 8-bit
[   10.498425][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048,
 OOB size: 64
[   10.506772][    T1] Scanning device for bad blocks
[   10.620301][    T1] 4 cmdlinepart partitions found on MTD device orion_nand
[   10.627314][    T1] Creating 4 MTD partitions on "orion_nand":
[   10.633176][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   10.640212][    T1] 0x000000100000-0x000000500000 : "uImage"
[   10.647179][    T1] 0x000000500000-0x000002500000 : "rootfs"
[   10.654266][    T1] 0x000002500000-0x000008000000 : "data"
[   10.662516][    T1] libphy: Fixed MDIO Bus: probed
[   10.668188][    T1] libphy: orion_mdio_bus: probed
[   10.687381][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version
 1.4
[   10.695480][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[   11.414046][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC
 address 00:25:31:04:56:d3
[   11.423653][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drive
r
[   11.430938][    T1] ehci-pci: EHCI PCI platform driver
[   11.436179][    T1] ehci-orion: EHCI orion driver
[   11.441096][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   11.447362][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigne
d bus number 1
[   11.455954][    T1] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[   11.483404][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   11.490418][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=
0002, bcdDevice= 5.02
[   11.499458][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seria
lNumber=1
[   11.507435][    T1] usb usb1: Product: EHCI Host Controller
[   11.513038][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_h
cd
[   11.520400][    T1] usb usb1: SerialNumber: f1050000.ehci
[   11.526445][    T1] hub 1-0:1.0: USB hub found
[   11.530959][    T1] hub 1-0:1.0: 1 port detected
[   11.536370][    T1] usbcore: registered new interface driver usb-storage
[   11.543531][    T1] mousedev: PS/2 mouse device common for all mice
[   11.903400][   T15] usb 1-1: new high-speed USB device number 2 using orion-e
hci
[   12.105078][   T15] usb 1-1: New USB device found, idVendor=05e3, idProduct=0
608, bcdDevice=77.64
[   12.114025][   T15] usb 1-1: New USB device strings: Mfr=0, Product=1, Serial
Number=0
[   12.121914][   T15] usb 1-1: Product: USB2.0 Hub
[   12.127360][   T15] hub 1-1:1.0: USB hub found
[   12.132203][   T15] hub 1-1:1.0: 4 ports detected
[   12.453392][   T15] usb 1-1.3: new high-speed USB device number 3 using orion
-ehci
[   12.563390][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[   12.569681][    T1] i2c /dev entries driver
[   12.574558][    T1] device-mapper: uevent: version 1.0.3
[   12.580192][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialis
ed: dm-devel@redhat.com
[   12.589819][    T1] device-mapper: multipath round-robin: version 1.2.0 loade
d
[   12.597189][    T1] device-mapper: multipath queue-length: version 0.2.0 load
ed
[   12.604588][    T1] device-mapper: multipath service-time: version 0.3.0 load
ed
[   12.612000][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   12.618848][    T1] device-mapper: raid: Loading target version 1.14.0
[   12.626522][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[   12.632993][    T1] drop_monitor: Initializing network drop monitor service
[   12.640425][    T1] NET: Registered protocol family 17
[   12.645860][    T1] Key type dns_resolver registered
[   12.651699][    T1] registered taskstats version 1
[   12.656582][    T1] Loading compiled-in X.509 certificates
[   12.662170][    T1] zswap: loaded using pool lzo/zbud
[   12.691615][   T15] usb 1-1.3: New USB device found, idVendor=0011, idProduct
=7788, bcdDevice= 1.03
[   12.704270][   T15] usb 1-1.3: New USB device strings: Mfr=1, Product=2, Seri
alNumber=3
[   12.712359][   T15] usb 1-1.3: Product: Mass Storage
[   12.730647][   T15] usb 1-1.3: Manufacturer: Generic
[   12.743510][   T15] usb 1-1.3: SerialNumber: LHBB0011121014471823
[   12.754187][   T15] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[   12.773592][   T15] scsi host0: usb-storage 1-1.3:1.0
[   12.809123][    T1] Key type big_key registered
[   12.856230][    T1] Key type encrypted registered
[   12.862895][    T1] hctosys: unable to open rtc device (rtc0)
[   12.872105][    T1] Freeing unused kernel memory: 1024K
[   12.883988][    T1] Checked W+X mappings: passed, no W+X pages found
[   12.890378][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[   13.785745][  T167] usbcore: registered new interface driver uas
[   13.847826][    T7] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk
 8.07 PQ: 0 ANSI: 2
[   13.866759][    T7] sd 0:0:0:0: [sda] 4016128 512-byte logical blocks: (2.06
GB/1.92 GiB)
[   13.883888][    T7] sd 0:0:0:0: [sda] Write Protect is off
[   13.895875][    T7] sd 0:0:0:0: [sda] No Caching mode page found
[   13.901954][    T7] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.959533][    T7]  sda: sda1
[   13.968269][    T7] sd 0:0:0:0: [sda] Attached SCSI removable disk
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.

Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 15038/125440 files, 149543/501760 blocks
done.
[   24.806386][  T187] EXT4-fs (sda1): mounting ext3 file system using the ext4
subsystem
[   24.856728][  T187] EXT4-fs (sda1): mounted filesystem with ordered data mode
. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
mount: only root can use "--no-mtab" option (effective UID is 1000)
[....] Starting hotplug events dispatcher: systemd-udevd[ ok .
[....] Synthesizing the initial hotplug events (subsystems)...[ ok done.
[....] Synthesizing the initial hotplug events (devices)...[ ok done.
[   28.232256][  T377] systemd-udevd[377]: Using default interface naming scheme
 'v240'.
[....] Waiting for /dev to be fully populated...[   28.429540][  T377] systemd-u
devd[377]: link_config: autonegotiation is unset or enabled, the speed and duple
x are not writable.
[   28.549874][  T369] watchdog: f1020300.watchdog-timer: driver supplied timeou
t (4294967295) out of range
[   28.655457][  T369] watchdog: f1020300.watchdog-timer: falling back to defaul
t timeout (21)
[   28.752161][  T369] orion_wdt: Initial timeout 21 sec
[   28.948555][    C0] random: crng init done
[   28.964255][  T368] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   29.009533][  T370] marvell-cesa f1030000.crypto: CESA device successfully re
gistered
[   29.019497][  T367] systemd-udevd[367]: link_config: autonegotiation is unset
 or enabled, the speed and duplex are not writable.
[ ok done.
[....] Setting hostname to 'debian'...[ ok done.
mount: only root can use "--no-mtab" option (effective UID is 1000)
[....] Activating swap:[ ok .
mount: only root can use "--no-mtab" option (effective UID is 1000)
mount: only root can use "--options" option (effective UID is 1000)
mount: only root can use "--options" option (effective UID is 1000)
mount: only root can use "--options" option (effective UID is 1000)
mount: only root can use "--options" option (effective UID is 1000)
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs
 if that location is writable.[ ok .
rm: cannot remove '/tmp/.clean': Read-only file system
[....] Cleaning up temporary files...rm: cannot remove '/tmp/.clean': Read-only
file system
[....] bootclean: Could not delete '/tmp/.clean'. ...[FAIL failed!
[ ok .
[....] Will now mount local filesystems:mount: only root can use "--all" option
(effective UID is 1000)
[FAIL failed!
[....] Will now activate swapfile swap:[ ok done.
[....] Files under mount point '/run/lock' will be hidden. ...[warn (warning).
mount: only root can use "--no-mtab" option (effective UID is 1000)
[....] Files under mount point '/dev/shm' will be hidden. ...[warn (warning).
mount: only root can use "--no-mtab" option (effective UID is 1000)
[....] Checking minimum space in /tmp...[ ok done.
[....] Files under mount point '/tmp' will be hidden. ...[warn (warning).
mount: only root can use "--no-mtab" option (effective UID is 1000)
touch: cannot touch '/tmp/.tmpfs': Read-only file system
[....] Cleaning up temporary files...rm: cannot remove '/tmp/.clean': Read-only
file system
[....] bootclean: Could not delete '/tmp/.clean'. ...[FAIL failed!
[ ok .
[....] Starting Setting kernel variables: sysctl[ ok .
[....] Initializing random number generator...[FAILfailed.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client
4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

can't create /var/lib/dhcp/dhclient.eth0.leases: Read-only file system
Listening on LPF/eth0/00:25:31:04:56:d3
Sending on   LPF/eth0/00:25:31:04:56:d3
Sending on   Socket/fallback
DHCPREQUEST for 192.168.0.15 on eth0 to 255.255.255.255 port 67
[   37.311922][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb
/s, full duplex, flow control disabled
DHCPREQUEST for 192.168.0.15 on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.200.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER of 192.168.200.170 from 192.168.200.1
DHCPREQUEST for 192.168.200.170 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.200.170 from 192.168.200.1
DHCPDECLINE of 192.168.200.170 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER of 192.168.200.171 from 192.168.200.1
DHCPREQUEST for 192.168.200.171 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.200.171 from 192.168.200.1
DHCPDECLINE of 192.168.200.171 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER of 192.168.200.172 from 192.168.200.1
DHCPREQUEST for 192.168.200.172 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.200.172 from 192.168.200.1
DHCPDECLINE of 192.168.200.172 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER of 192.168.200.173 from 192.168.200.1
DHCPREQUEST for 192.168.200.173 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.200.173 from 192.168.200.1
DHCPDECLINE of 192.168.200.173 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPOFFER of 192.168.200.174 from 192.168.200.1
DHCPREQUEST for 192.168.200.174 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.200.174 from 192.168.200.1
DHCPDECLINE of 192.168.200.174 on eth0 to 255.255.255.255 port 67
		.
		.
		.
	this goes on and on and on
		.
		.
		.

When the DHCPREQUEST hits the router's limit of .254 it starts over at .002 and runs through all the possible addresses endlessly.

If I remove the USB stick and just restart with uboot, I get:
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:13:18 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0

PogoE02> printenv
arcNumber=3542
baudrate=115200
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; res
et
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then boo
tm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_a
ddr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr -
$load_dtb_addr; else bootm$load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi

bootdelay=10
bootdev=usb
console=console=ttyS0,115200
device=0:1
devices=usb
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=00:25:31:04:56:D3
gatewayip=192.168.200.1
if_netconsole=ping $serverip
ipaddr=192.168.200.125
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $d
tb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /b
oot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /bo
ot/uImage
load_uimage_addr=0x800000
machid=dd6
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
netmask=255.255.255.0
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";
 setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices
; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for di
sknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1;
if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo
 Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev
 $dev; fi; fi; done; fi; done
serverip=192.168.200.163
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10
 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; se
tenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  se
tenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;

uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;
 do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknu
m:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_re
ad;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 2959/131068 bytes
PogoE02>

From the uboot prompt, I can ping to the router or to other computers from the Pogoplug but it's a one-way street. Other computers cannot ping the Pogoplug. SSH and netconsole just return "host not found". The router (Zyxel) seems to see it fine matching the MAC address with the IP address in its logs. When Debian was trying every IP address there was, the router was dutifully following along with whatever Debian was requesting.

Could this Pogoplug just be plain broken? In its earlier incarnation under Cloud Engines, it was always flakey and usually failed to boot correctly half the time (orange blinky led).
Re: Pogoplug E02 no Ethernet after uboot update
November 05, 2019 03:44AM
dougdeep,

This should not happen:

mount: only root can use "--no-mtab" option (effective UID is 1000)
....
can't create /var/lib/dhcp/dhclient.eth0.leases: Read-only file system

Your rootfs was not mounted properly for some reason. When it is read-only like that, then there is file system errors.

1. Mount this USB rootfs on another Linux box and check for file system error (assuming the drive is assigned /dev/sdb1).

e2fsck /dev/sdb1
And then enter "yes" to all questions to fix any error. And remember to sync before unmount.

sync


2. Plug it back in to the Pogo and power up. If the DHCP decline errors below still occur
DHCPREQUEST for 192.168.0.15 on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.200.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER of 192.168.200.170 from 192.168.200.1
DHCPREQUEST for 192.168.200.170 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.200.170 from 192.168.200.1
DHCPDECLINE of 192.168.200.170 on eth0 to 255.255.255.255 port 67

Then use static IP to see if it is OK to bring up ethernet. Mount it back to other Linux system and modify the rootfs /etc/network/interfaces as followed:

cat ./etc/network/interfaces
auto lo eth0
iface lo inet loopback
#iface eth0 inet dhcp
iface eth0 inet static
        address 192.168.200.125
        netmask 255.255.255.0
        gateway 192.168.200.1

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug E02 no Ethernet after uboot update
November 05, 2019 11:19PM
I tried the "e2fsck" and "sync" with no errors but the USB stick Debian would still show a "read only" file system. I was going to try your suggestion about a static IP and put the stick back in my Linux machine. I happened to have Gnome Files open and noticed that the stick had padlock symbols on every folder and sub-folder, so that explains the 'read only' file system.

I reformatted the USB stick and put a freshly downloaded Debian on it. The Pogoplug now booted and got the first IP address it wanted. My router shows the Pogoplug with its "debian" hostname and I could ping back and forth between Pogoplug and desktop. Due to the late hour, I left it there but this is a huge improvement.

Thank you very much for your time.
Re: Pogoplug E02 no Ethernet after uboot update
November 06, 2019 03:46AM
dougdeep,

> I reformatted the USB stick and put a freshly
> downloaded Debian on it. The Pogoplug now booted
> and got the first IP address it wanted. My router
> shows the Pogoplug with its "debian" hostname and
> I could ping back and forth between Pogoplug and
> desktop. Due to the late hour, I left it there
> but this is a huge improvement.
>

Glad it was solved that beautifully!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: