Welcome! Log In Create A New Profile

Advanced

Pogoplug Pink E02 no network

Posted by Waynosan 
Pogoplug Pink E02 no network
January 17, 2016 10:32PM
Hi,
I have a Pink v02 Pogoplug that had Archlinix and SAMBA server running nicely. For some reason (update perhaps?) the setup stopped working a few months back and I've finally found some time to try to get this fixed. When plugged in the front LED does not turn on and only the green LED on the ethernet port lights up. The device does not show up as a connected device in the router status.

I connected the serial port with nothing connected to the USB ports and here is what I get:

U-Boot 2014.04.R3-1 (May 26 2014 - 19:45:55) Arch Linux ARM
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
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

no USB devices available

no USB devices available

no USB devices available

no USB devices available
PogoE02> printenv
baudrate=115200
bootcmd=usb start; setenv letter 9;for type in usb; do for disk in 0 1 2 3; do if ${type} part ${disk};then setexpr letter $letter + 1;run load;fi;done;done;
bootdelay=3
bootm=echo Booting from ${disk} ...; run setargs; bootm ${loadaddr};
bootz=echo Booting from ${disk} ...; run setargs; bootz ${loadaddr} - ${fdt_addr};
console=ttyS0
ethact=egiga0
ethaddr=00:25:31:02:21:5C
fdt_addr=0x800000
fdt_file=/boot/dtbs/kirkwood-pogo_e02.dtb
importbootenv=echo Importing environment (uEnv.txt)...; env import -t $loadaddr $filesize
letter=9
load=echo Attempting to boot from ${type} ${disk}:1...;if run loadbootenv; then run importbootenv;fi;echo Checking if uenvcmd is set ...;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;echo Running default loadzimage ...;if run loadzimage; then run loadfdt;run bootz;fi;echo Running default loaduimage ...;if run loaduimage; then run bootm;fi;
loadaddr=0x810000
loadbootenv=load ${type} ${disk}:1 ${loadaddr} /boot/uEnv.txt
loadfdt=load ${type} ${disk}:1 ${fdt_addr} ${fdt_file}
loaduimage=load ${type} ${disk}:1 ${loadaddr} ${uimage}
loadzimage=load ${type} ${disk}:1 ${loadaddr} ${zimage}
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs)
setargs=setenv bootargs console=${console},${baudrate} ${optargs} root=/dev/sd${letter}1 rw rootwait ${mtdparts}
uimage=/boot/uImage
zimage=/boot/zImage

Environment size: 1434/131068 bytes

Any suggestions on what I should try next? I assume I need to resolve this network connection issue before I can try reinstalling ALARM.

I have at my disposal another Pink pogoplug (that I run stock and do not want to risk). PCs with Windows 7 and Linux Mint. I'm a newbie regarding Archlinux and this low-level stuff.

Thank you!
Re: Pogoplug Pink E02 no network
January 17, 2016 11:43PM
Waynosan,

> try to get this fixed. When plugged in the front
> LED does not turn on and only the green LED on the
> ethernet port lights up. The device does not show
> up as a connected device in the router status.

The LED behavior indicated that your Arch rootfs must have been left in a limbo state somehow during update. To troubleshoot::

- With the USB rootfs plugged in, power up, let it boot. Capture the serial console log and post it here.

- Also mount the USB stick on another Linux box and fsck it, see if there is any error. And get these directories listing and post it here (if it is mounted as /media/sdb1):
ls -latr /media/sdb1/
ls -latr /media/sdb1/boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug Pink E02 no network
January 18, 2016 04:48PM
bodhi Wrote:

> - With the USB rootfs plugged in, power up, let
> it boot. Capture the serial console log and post
> it here.
>

Hello Bodhi,
So I checked the USB drive and it was corrupted. I was not able to re-format it since it's now "read only". Tried with gparted and in Windows with the same result. Unsure if this happened before or after the problems started.

I have a small (spinning) USB hard drive that I want to use so I downloaded the archlinux file from here:
http://archlinuxarm.org/os/ArchLinuxARM-kirkwood-latest.tar.gz
and extracted it. When I plug the drive into the Pogoplug and reboot the serial console shows this log:

U-Boot 2014.04.R3-1 (May 26 2014 - 19:45:55) Arch Linux ARM
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
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            34816000        0004553c-01     83
  3     34818048        4251648         0004553c-03     82
Attempting to boot from usb 0:1...
** File not found /boot/uEnv.txt **
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
EHCI timed out on TD - token=0x800d8d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80128d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0xa0008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x801f8c80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x801f8c80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x801f8c80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
EHCI timed out on TD - token=0x80008d80
 ** ext4fs_devread read error - block

no USB devices available

no USB devices available

no USB devices available
PogoE02>




> - Also mount the USB stick on another Linux box
> and fsck it, see if there is any error. And get
> these directories listing and post it here (if it
> is mounted as /media/sdb1):
>
> ls -latr /media/sdb1/
> ls -latr /media/sdb1/boot
>

Looks like it's looking for files that are no longer present in the tar...

Here's what's on there:
zbyszko-EX58-UD4P zbyszko # ls -latr /media/zbyszko/rootfs/
total 237084
drwxr-xr-x   4 root root      4096 Oct  5 15:06 srv
lrwxrwxrwx   1 root root         7 Oct  5 15:06 sbin -> usr/bin
drwxr-xr-x   2 root root      4096 Oct  5 15:06 opt
drwxr-xr-x   2 root root      4096 Oct  5 15:06 mnt
lrwxrwxrwx   1 root root         7 Oct  5 15:06 lib -> usr/lib
lrwxrwxrwx   1 root root         7 Oct  5 15:06 bin -> usr/bin
drwxrwxrwt   2 root root      4096 Jan  4 21:00 tmp
dr-xr-xr-x   2 root root      4096 Jan  4 21:00 sys
drwxr-xr-x   2 root root      4096 Jan  4 21:00 run
dr-xr-xr-x   2 root root      4096 Jan  4 21:00 proc
drwxr-xr-x   2 root root      4096 Jan  4 21:00 dev
drwxr-xr-x   8 root root      4096 Jan  4 21:00 usr
drwxr-xr-x  12 root root      4096 Jan  4 21:00 var
drwxr-x---   3 root root      4096 Jan  4 21:01 root
drwxr-xr-x   2 root root      4096 Jan  4 21:01 boot
drwxr-xr-x   3 root root      4096 Jan  4 21:01 home
drwxr-xr-x  36 root root      4096 Jan  4 21:01 etc
-rw-r--r--   1 root root 242447782 Jan  4 21:02 ArchLinuxARM-kirkwood-latest.tar.gz
drwx------   2 root root     16384 Jan 18 17:25 lost+found
drwxr-xr-x  17 root root      4096 Jan 18 17:28 .
drwxr-x---+  4 root root      4096 Jan 18 17:49 ..
zbyszko-EX58-UD4P zbyszko # ls -latr /media/zbyszko/rootfs/boot
total 7004
-rw-r--r--  1 root root 4518104 Dec 18 00:19 uImage
drwxr-xr-x  2 root root    4096 Jan  4 21:01 .
-rw-r--r--  1 root root 2624329 Jan  4 21:01 initramfs-linux.img
drwxr-xr-x 17 root root    4096 Jan 18 17:28 ..



I think I'd like to try loading Debian instad of Archlinux this time in hope that it will a little easier to use with the awesome help I see on this site. Mainly I want to set up a SAMBA server like I had before. Hoping that it won't take me as long as it did on ALARM. I understand that there's a nice GUI front-end for setting some of this stuff up on Debian.



Edited 1 time(s). Last edit at 01/18/2016 04:52PM by Waynosan.
Re: Pogoplug Pink E02 no network
January 18, 2016 05:22PM
Update:
I found another USB thumb drive that I had lying around. Did the same thing as above but this time got the following results... not sure why the USB thumb drive works but the USB spinning drive does not.

U-Boot 2014.04.R3-1 (May 26 2014 - 19:45:55) Arch Linux ARM
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
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            31248384        229807f6-01     83
Attempting to boot from usb 0:1...
** File not found /boot/uEnv.txt **
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
4518104 bytes read in 410 ms (10.5 MiB/s)
Booting from 0 ...
## Booting kernel from Legacy Image at 00810000 ...
   Image Name:   Linux-4.3.3-1-ARCH
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4518040 Bytes = 4.3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.3.3-1-ARCH (builduser@leming) (gcc version 5.3.0 (GCC) ) #1 PREEMPT Thu Dec 17 22:16:31 MST 2015
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Pogoplug E02
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rw rootwait mtdparts=orion_nand:1M(u-boot),-(rootfs)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 249648K/262144K available (6499K kernel code, 538K rwdata, 1852K rodata, 300K init, 725K bss, 12496K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0830080   (8353 kB)
[    0.000000]       .init : 0xc0831000 - 0xc087c000   ( 300 kB)
[    0.000000]       .data : 0xc087c000 - 0xc090283c   ( 539 kB)
[    0.000000]        .bss : 0xc090283c - 0xc09b7d78   ( 726 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:114
[    0.000014] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[   13.647711] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[   13.647898] Console: colour dummy device 80x30
[   13.647926] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   13.737794] pid_max: default: 32768 minimum: 301
[   13.737887] Security Framework initialized
[   13.737960] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   13.737978] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   13.738703] Initializing cgroup subsys io
[   13.738750] Initializing cgroup subsys memory
[   13.738815] Initializing cgroup subsys devices
[   13.738842] Initializing cgroup subsys freezer
[   13.738865] Initializing cgroup subsys net_cls
[   13.738885] Initializing cgroup subsys bfqio
[   13.738905] Initializing cgroup subsys perf_event
[   13.738926] Initializing cgroup subsys net_prio
[   13.739006] CPU: Testing write buffer coherency: ok
[   13.739452] Setting up static identity map for 0x81e0 - 0x8238
[   13.741302] devtmpfs: initialized
[   13.743680] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[   13.744109] pinctrl core: initialized pinctrl subsystem
[   13.744891] NET: Registered protocol family 16
[   13.745377] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   13.767800] cpuidle: using governor ladder
[   13.797799] cpuidle: using governor menu
[   13.797966] Kirkwood: MV88F6281-A0, TCLK=200000000.
[   13.797992] Feroceon L2: Enabling L2
[   13.798032] Feroceon L2: Cache support initialised.
[   13.839305] vgaarb: loaded
[   13.839636] SCSI subsystem initialized
[   13.840149] usbcore: registered new interface driver usbfs
[   13.840226] usbcore: registered new interface driver hub
[   13.840287] usbcore: registered new device driver usb
[   13.840459] pps_core: LinuxPPS API ver. 1 registered
[   13.840468] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[   13.840503] PTP clock support registered
[   13.841563] clocksource: Switched to clocksource orion_clocksource
[   13.880239] FS-Cache: Loaded
[   13.893401] NET: Registered protocol family 2
[   13.894195] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[   13.894233] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[   13.894264] TCP: Hash tables configured (established 2048 bind 2048)
[   13.894336] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   13.894360] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   13.894548] NET: Registered protocol family 1
[   13.894865] RPC: Registered named UNIX socket transport module.
[   13.894877] RPC: Registered udp transport module.
[   13.894883] RPC: Registered tcp transport module.
[   13.894890] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   13.896940] futex hash table entries: 256 (order: -1, 3072 bytes)
[   13.909594] VFS: Disk quotas dquot_6.6.0
[   13.909861] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   13.911987] FS-Cache: Netfs 'nfs' registered for caching
[   13.912896] NFS: Registering the id_resolver key type
[   13.912957] Key type id_resolver registered
[   13.912966] Key type id_legacy registered
[   13.913050] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[   13.914131] fuse init (API version 7.23)
[   13.916468] aufs 4.3-20151116
[   13.921929] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[   13.921954] io scheduler noop registered
[   13.921969] io scheduler deadline registered
[   13.922244] io scheduler cfq registered
[   13.922684] io scheduler bfq registered (default)
[   13.922693] BFQ I/O-scheduler: v7r8
[   13.922883] mv_xor mv_xor.0: Marvell shared XOR driver
[   13.962745] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[   13.962985] mv_xor mv_xor.1: Marvell shared XOR driver
[   14.002772] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[   14.008354] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   14.009453] console [ttyS0] disabled
[   14.029569] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[   14.585562] console [ttyS0] enabled
[   14.604157] brd: module loaded
[   14.614341] loop: module loaded
[   14.618358] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[   14.624863] nand: Samsung NAND 128MiB 3,3V 8-bit
[   14.629502] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   14.637134] Scanning device for bad blocks
[   14.718833] 2 cmdlinepart partitions found on MTD device orion_nand
[   14.725148] Creating 2 MTD partitions on "orion_nand":
[   14.730317] 0x000000000000-0x000000100000 : "u-boot"
[   14.735816] 0x000000100000-0x000008000000 : "rootfs"
[   14.748363] libphy: orion_mdio_bus: probed
[   14.752632] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   15.832488] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:02:21:5c
[   15.841438] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.848033] ehci-pci: EHCI PCI platform driver
[   15.852580] ehci-orion: EHCI orion driver
[   15.856681] orion-ehci orion-ehci.0: EHCI Host Controller
[   15.862157] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   15.869912] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   15.891593] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   15.898474] hub 1-0:1.0: USB hub found
[   15.902330] hub 1-0:1.0: 1 port detected
[   15.906881] usbcore: registered new interface driver uas
[   15.912410] usbcore: registered new interface driver usb-storage
[   15.918502] usbcore: registered new interface driver ums-alauda
[   15.924557] usbcore: registered new interface driver ums-cypress
[   15.930647] usbcore: registered new interface driver ums-datafab
[   15.936759] usbcore: registered new interface driver ums_eneub6250
[   15.943041] usbcore: registered new interface driver ums-freecom
[   15.949123] usbcore: registered new interface driver ums-isd200
[   15.955146] usbcore: registered new interface driver ums-jumpshot
[   15.961323] usbcore: registered new interface driver ums-karma
[   15.967256] usbcore: registered new interface driver ums-onetouch
[   15.973469] usbcore: registered new interface driver ums-realtek
[   15.979558] usbcore: registered new interface driver ums-sddr09
[   15.985580] usbcore: registered new interface driver ums-sddr55
[   15.991602] usbcore: registered new interface driver ums-usbat
[   15.997902] mousedev: PS/2 mouse device common for all mice
[   16.221592] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   16.374161] hub 1-1:1.0: USB hub found
[   16.378300] hub 1-1:1.0: 4 ports detected
[   16.661589] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[   16.774952] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[   16.781588] scsi host0: usb-storage 1-1.1:1.0
[   17.011585] rtc-mv rtc-mv: internal RTC not ticking
[   17.016635] i2c /dev entries driver
[   17.020761] sdhci: Secure Digital Host Controller Interface driver
[   17.026994] sdhci: Copyright(c) Pierre Ossman
[   17.031440] sdhci-pltfm: SDHCI platform and OF driver helper
[   17.037695] ledtrig-cpu: registered to indicate activity on CPUs
[   17.043917] usbcore: registered new interface driver r8712u
[   17.049759] gre: GRE over IPv4 demultiplexor driver
[   17.054731] NET: Registered protocol family 17
[   17.059325] Key type dns_resolver registered
[   17.064673] registered taskstats version 1
[   17.070628] Key type encrypted registered
[   17.075304] console [netcon0] enabled
[   17.078982] netconsole: network logging started
[   17.083691] hctosys: unable to open rtc device (rtc0)
[   17.090014] Waiting for root device /dev/sda1...
[   17.782527] scsi 0:0:0:0: Direct-Access     Kingston DT 101 II        1.00 PQ: 0 ANSI: 2
[   17.792132] sd 0:0:0:0: [sda] 31252024 512-byte logical blocks: (16.0 GB/14.9 GiB)
[   17.799836] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   17.805455] sd 0:0:0:0: [sda] Write Protect is off
[   17.810972] sd 0:0:0:0: [sda] Incomplete mode parameter data
[   17.816728] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   17.826767]  sda: sda1
[   17.831739] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   17.862840] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.884991] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   17.892780] VFS: Mounted root (ext3 filesystem) on device 8:1.
[   17.902240] devtmpfs: mounted
[   17.906179] Freeing unused kernel memory: 300K (c0831000 - c087c000)
[   18.358188] NET: Registered protocol family 10
[   18.375287] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.387943] random: systemd urandom read with 29 bits of entropy available
[   18.421861] systemd[1]: systemd 228 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[   18.440380] systemd[1]: Detected architecture arm.

Welcome to Arch Linux ARM!

[   18.463114] systemd[1]: Set hostname to <alarm>.
[   19.091707] systemd[1]: display-manager.service: Cannot add dependency job, ignoring: Unit display-manager.service failed to load: No such file or directory.
[   19.110104] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   19.132097] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[   19.161784] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   19.191965] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   19.222697] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[   19.251982] systemd[1]: Listening on LVM2 metadata daemon socket.
[  OK  ] Listening on LVM2 metadata daemon socket.
[   19.284237] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   19.312035] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   19.331827] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[   19.361957] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[   19.391931] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[   19.421770] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   19.460667] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   19.482283] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   19.512685] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[   19.535616] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   19.571951] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   19.592910] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   19.629285] systemd[1]: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
[   19.666917] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   19.706167] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   19.726386] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[   19.775665] systemd[1]: Mounting Temporary Directory...
         Mounting Temporary Directory...
[   19.796315] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create list of required st... nodes for the current kernel...
[   19.849320] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   19.891905] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[   20.060785] systemd[1]: Starting Setup Virtual Console...
         Starting Setup Virtual Console...
[   20.095786] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   20.123028] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[   20.164894] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[   20.191899] systemd[1]: Mounted FUSE Control File System.
[  OK  ] Mounted FUSE Control File System.
[   20.221837] systemd[1]: Mounted Temporary Directory.
[  OK  ] Mounted Temporary Directory.
[   20.243540] systemd[1]: Started Remount Root and Kernel File Systems.
[  OK  ] Started Remount Root and Kernel File Systems.
[   20.274320] systemd[1]: Started Apply Kernel Variables.
[  OK  ] Started Apply Kernel Variables.
[   20.304903] systemd[1]: Started Create list of required static device nodes for the current kernel.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[   20.363664] systemd[1]: Started Setup Virtual Console.
[  OK  ] Started Setup Virtual Console.
[   20.382724] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   20.696993] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
         Starting Rebuild Dynamic Linker Cache...
         Starting Rebuild Hardware Database...
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
         Starting Create System Users...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create System Users.
[   21.094448] systemd-journald[120]: Received request to flush runtime journal from PID 1
         Starting Create Static Device Nodes in /dev...
[   22.866059] random: nonblocking pool is initialized
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Rebuild Journal Catalog...
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Rebuild Journal Catalog.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started udev Kernel Device Manager.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Rebuild Dynamic Linker Cache.
[  OK  ] Started Rebuild Hardware Database.
         Starting Update is Completed...
         Starting udev Coldplug all Devices...
[  OK  ] Started Update is Completed.
[  OK  ] Started udev [   26.767629] MV-CESA:Could not register sha1 driver
Coldplug all Devices.
[   26.801672] MV-CESA:Could not register hmac-sha1 driver
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily verification of password and group files.
[  OK  ] Started Daily man-db cache update.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Reached target Timers.
[  OK  ] Reached target Basic System.
         Starting Login Service...
         Starting SSH Key Generation...
[  OK  ] Started Entropy Harvesting Daemon.
         Starting Permit User Sessions...
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Service...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Network Service.
[  OK  ] Started Login Service.
[  OK  ] Reached target Network.
         Starting Network Name Resolution...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[   31.312100] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  OK  ] Started Network Name Resolution.
[   33.915299] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   33.925239] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Arch Linux 4.3.3-1-ARCH (ttyS0)

alarm login:

Am able to SSH and login... yay!

UPDATE2: Tried 3 other HDs that I had... one finally worked so now I have ALARM installed on a spinning drive.

Should I bother installing a rescue system? If so, which one?



Edited 3 time(s). Last edit at 01/18/2016 06:59PM by Waynosan.
Re: Pogoplug Pink E02 no network
January 19, 2016 12:00AM
Waynosan,

> not sure why the USB
> thumb drive works but the USB spinning drive does
> not.

That HDD has timeout error. Usually this means the USB controller was initialized too slow for u-boot. My custom u-boot build has a usb_ready_retry variable that might help. But since you are running Arch, stay with Arch u-boot if you want things simple.

> Should I bother installing a rescue system? If
> so, which one?

Arch also has a rescue system that takes the whole NAND. But if you like a much smaller one for Pogo E02 then install Jeffs rescue system:
http://forum.doozan.com/read.php?4,3896

Note: no need to change arcNumber if you only use it as a rescue system. This rescue system works for Pogo E02 without further mods.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug Pink E02 no network
January 19, 2016 08:49AM
Bohdi,
I'd actually like to give Debian a whirl. I'm following the steps described here:
http://forum.doozan.com/read.php?3,23727

I started going through the steps to update the U-boot here:

http://forum.doozan.com/read.php?3,12381,12381#msg-12381

It's been slow going since it appears that most of the commands that are used like wget, U-boot tools, etc. did not come with the distro or are buried somewhere where I cannot find them. The path seems to be setup correctly in the environment but for some reason commands do not run unless I type in the absolute path. How do I fix that?

I've downloaded all the required files. One item I wanted to check regarding was the my cat /proc/mtd only show two mtd sections, U-boot and rootfs. Your text stated that that shouldn't be a problem so I'll continue on when I get home this evening. Next I need to get the u-boot and other files from dropbox onto the Pogoplug's hard-drive somehow...
Re: Pogoplug Pink E02 no network
January 20, 2016 01:11PM
Waynosan

> Next I need to get the u-boot and other
> files from dropbox onto the Pogoplug's hard-drive
> somehow...

Create USB Debian rootfs on another Linux box. Download all the needed files to that. And plug it in the Pogo while you're running Arch.

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



Edited 1 time(s). Last edit at 01/20/2016 01:12PM by bodhi.
Re: Pogoplug Pink E02 no network
February 13, 2016 08:22PM
Hi Bodhi,
I installed your uBoot per step A from here:



confirmed that it shows in the serial console when booting:
U-Boot 2015.10-tld-1 (Nov 06 2015 - 15:46:25 -0800)

I did not flash the default uboot.envs or do any of the other steps.

I created a Debian rootfs on another USB flash drive and plugged it into the PP E02 while it's running Archlinux... not quite sure what I need to do now. What I would like is to install Debian over the Archlinux installation so it's on the USB HD and I do not have to use the USB flash drive.

After that's working I want to plug this in to the PP:
IVIEW 4 Bays 3.5-Inch SATA to USB 3.0 & eSATA External Hard Drive Enclosure

which I have populated with 4 HD drives and share them on my network.
Re: Pogoplug Pink E02 no network
February 14, 2016 02:08PM
Hi Waynosan,

> I did not flash the default uboot.envs or do any
> of the other steps.

Is there a reason why didn't you flash the default u-boot envs and stop there? you should flash it so the new u-boot will boot Debian correctly.

But warning: after you flashed default u-boot envs image, booting back to Arch will not be possible without changing some envs.

> I created a Debian rootfs on another USB flash
> drive and plugged it into the PP E02 while it's
> running Archlinux... not quite sure what I need to
> do now. What I would like is to install Debian
> over the Archlinux installation so it's on
> the USB HD and I do not have to use the USB flash
> drive.

You can't install over the rootfs. It has to be copied/restored to an empty partition. So you should try to boot wih Debian USB rootfs first. And then after confirming that it is running, you can prepare the USB HDD.

- Shutdown the Pogo E02. Take the USB flash and the USB HDD to another Linux box
- Log in as root
- Wipe out Arch installation from the existing partition
- Copy the rootfs from the USB flash to the USB HDD.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug Pink E02 no network
February 14, 2016 03:03PM
bodhi Wrote:
-------------------------------------------------------

> Is there a reason why didn't you flash the default
> u-boot envs and stop there? you should flash it so
> the new u-boot will boot Debian correctly.

Bodhi, thank you for the reply. At the time it wasn't totally clear to me if I had to do this step or not, but now I have my answer. ;) Coincidentally I did try to boot the Debian rootfs (USB stick), and as you suggested, it failed to boot.

>
> But warning: after you flashed default u-boot envs
> image, booting back to Arch will not be possible
> without changing some envs.
>

Sounds like I should make a backup of the archlinux install that I've done to-date in case things blow up on me again (figuratively speaking). Are you referring to these envs in order to get Arch to boot:

fw_setenv arcNumber 3542
fw_setenv machid dd6

or something else?

I'd like to that so I can fall back on Arch if things go sour.

> > I created a Debian rootfs on another USB flash
> > drive and plugged it into the PP E02 while it's
> > running Archlinux... not quite sure what I need
> to
> > do now. What I would like is to install Debian
> > over the Archlinux installation so it's
> on
> > the USB HD and I do not have to use the USB
> flash
> > drive.
>
> You can't install over the rootfs. It has to be
> copied/restored to an empty partition. So you
> should try to boot wih Debian USB rootfs first.
> And then after confirming that it is running, you
> can prepare the USB HDD.

Understood. I've taken some effort in setting up Arch already so I'd like to hold off on wiping the rootfs on the USB HDD until I've tested that Debian will boot (as per your suggestion).

>
> - Shutdown the Pogo E02. Take the USB flash and
> the USB HDD to another Linux box
> - Log in as root
> - Wipe out Arch installation from the existing
> partition
> - Copy the rootfs from the USB flash to the USB
> HDD.

I'll go through the process of flashing the default t-Boot envs (step B) first. Will work on backing up what I have until you get a chance to answer my envs question above.

ps: Please IM me your paypal email... I must buy you a 6-pack for your eternal patience.
Re: Pogoplug Pink E02 no network
February 14, 2016 03:49PM
Waynosan,

> Sounds like I should make a backup of the
> archlinux install that I've done to-date in case
> things blow up on me again (figuratively
> speaking).

Yes, definitely make a backup of:

- Listing of u-boot envs
- Arch rootfs.

>
> I'd like to that so I can fall back on Arch if
> things go sour.
>

It is a trivial change in u-boot env to boot Arch rootfs from my u-boot image. So no worry about that. I wrote the caveat so that you're aware that another step is needed. The change involves pointing to a correct place in Arch rootfs so that the Pogo E02 DTB can be loaded. IIRC, that's all. I posted how to do this before in the forum. If you want to be able to boot both, then the envs setup needs a few more variables, but entirely doable.

Since you have serial console, as long as you're being very careful with the env image flashing, it's will be relatively safe.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug Pink E02 no network
February 14, 2016 10:00PM
Bodhi,
OK, I went through the steps of flashing the default envs.... everything looked good until step B f. There was no /boot/dts directory in my arch so I just cleared that variable

fw_setenv dtb_file

From there I went back to step A and I rebooted with the only the Debian rootfs USB flash drive plugged into the PP. I got this in the serial console:

U-Boot 2015.10-tld-1 (Nov 06 2015 - 15:46:25 -0800)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Using egiga0 device
host 192.168.1.7 is alive
Using egiga0 device
host 192.168.1.7 is alive
Using egiga0 device
host 192.168.1.7 is alive
Using egiga0 device
host 192.168.1.7 is alive
Using egiga0 device
host 192.168.1.7 is alive
Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000dd6).

Available machine support:

ID (hex)        NAME
ffffffff        Generic DT based system
ffffffff        Marvell Kirkwood (Flattened Device Tree)

Please check your kernel config and/or bootloader.

At this point I wasn't sure what happened so I plugged in the USB HDD with Arch and rebooted but that won't boot anymore either.

Here's the output from the serial console:
U-Boot 2015.10-tld-1 (Nov 06 2015 - 15:46:25 -0800)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Using egiga0 device
host 192.168.1.7 is alive
Using egiga0 device
host 192.168.1.7 is alive
Using egiga0 device
host 192.168.1.7 is alive
Using egiga0 device
host 192.168.1.7 is alive
Using egiga0 device
host 192.168.1.7 is alive
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.1-1-ARCH (builduser@leming) (gcc version 5.3.0 (GCC) ) #1 PREEMPT Tue Feb 2 07:05:54 MST 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Pogoplug E02
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),-(rootfs)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 249576K/262144K available (6548K kernel code, 545K rwdata, 1868K rodata, 300K init, 725K bss, 12568K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08404b8   (8418 kB)
[    0.000000]       .init : 0xc0841000 - 0xc088c000   ( 300 kB)
[    0.000000]       .data : 0xc088c000 - 0xc09147ec   ( 546 kB)
[    0.000000]        .bss : 0xc09147ec - 0xc09c9d18   ( 726 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:114
[    0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[   11.565277] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[   11.565463] Console: colour dummy device 80x30
[   11.565491] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   11.655361] pid_max: default: 32768 minimum: 301
[   11.655454] Security Framework initialized
[   11.655527] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   11.655547] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   11.656275] Initializing cgroup subsys io
[   11.656307] Initializing cgroup subsys memory
[   11.656355] Initializing cgroup subsys devices
[   11.656379] Initializing cgroup subsys freezer
[   11.656399] Initializing cgroup subsys net_cls
[   11.656416] Initializing cgroup subsys perf_event
[   11.656435] Initializing cgroup subsys net_prio
[   11.656515] CPU: Testing write buffer coherency: ok
[   11.656976] Setting up static identity map for 0x81e0 - 0x8238
[   11.658861] devtmpfs: initialized
[   11.661193] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[   11.661614] pinctrl core: initialized pinctrl subsystem
[   11.662360] NET: Registered protocol family 16
[   11.662837] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   11.685366] cpuidle: using governor ladder
[   11.715364] cpuidle: using governor menu
[   11.715523] Kirkwood: MV88F6281-A0, TCLK=200000000.
[   11.715550] Feroceon L2: Enabling L2
[   11.715589] Feroceon L2: Cache support initialised.
[   11.756823] vgaarb: loaded
[   11.757153] SCSI subsystem initialized
[   11.757637] usbcore: registered new interface driver usbfs
[   11.757712] usbcore: registered new interface driver hub
[   11.757771] usbcore: registered new device driver usb
[   11.757929] pps_core: LinuxPPS API ver. 1 registered
[   11.757939] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[   11.757971] PTP clock support registered
[   11.759027] clocksource: Switched to clocksource orion_clocksource
[   11.797474] FS-Cache: Loaded
[   11.810575] NET: Registered protocol family 2
[   11.811367] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[   11.811405] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[   11.811435] TCP: Hash tables configured (established 2048 bind 2048)
[   11.811510] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   11.811534] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   11.811734] NET: Registered protocol family 1
[   11.812065] RPC: Registered named UNIX socket transport module.
[   11.812077] RPC: Registered udp transport module.
[   11.812084] RPC: Registered tcp transport module.
[   11.812090] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   11.814125] futex hash table entries: 256 (order: -1, 3072 bytes)
[   11.826867] VFS: Disk quotas dquot_6.6.0
[   11.827125] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   11.829248] FS-Cache: Netfs 'nfs' registered for caching
[   11.830161] NFS: Registering the id_resolver key type
[   11.830216] Key type id_resolver registered
[   11.830225] Key type id_legacy registered
[   11.830320] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[   11.831631] fuse init (API version 7.23)
[   11.833868] aufs 4.4-20160118
[   11.839131] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[   11.839155] io scheduler noop registered
[   11.839169] io scheduler deadline registered
[   11.839438] io scheduler cfq registered
[   11.839703] io scheduler bfq registered (default)
[   11.839712] BFQ I/O-scheduler: v7r11
[   11.839911] mv_xor mv_xor.0: Marvell shared XOR driver
[   11.880314] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[   11.880554] mv_xor mv_xor.1: Marvell shared XOR driver
[   11.920303] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[   11.925867] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   11.926971] console [ttyS0] disabled
[   11.947084] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[   12.499176] console [ttyS0] enabled
[   12.518390] brd: module loaded
[   12.529187] loop: module loaded
[   12.533184] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[   12.539639] nand: Samsung NAND 128MiB 3,3V 8-bit
[   12.544278] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   12.551945] Scanning device for bad blocks
[   12.633618] 2 cmdlinepart partitions found on MTD device orion_nand
[   12.639933] Creating 2 MTD partitions on "orion_nand":
[   12.645102] 0x000000000000-0x000000100000 : "u-boot"
[   12.650580] 0x000000100000-0x000008000000 : "rootfs"
[   12.662990] libphy: orion_mdio_bus: probed
[   12.667201] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   13.750036] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:02:21:5c
[   13.758918] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   13.765510] ehci-pci: EHCI PCI platform driver
[   13.770062] ehci-orion: EHCI orion driver
[   13.774166] orion-ehci orion-ehci.0: EHCI Host Controller
[   13.779635] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   13.787382] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   13.809056] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   13.815953] hub 1-0:1.0: USB hub found
[   13.819816] hub 1-0:1.0: 1 port detected
[   13.824437] usbcore: registered new interface driver uas
[   13.829959] usbcore: registered new interface driver usb-storage
[   13.836047] usbcore: registered new interface driver ums-alauda
[   13.842097] usbcore: registered new interface driver ums-cypress
[   13.848185] usbcore: registered new interface driver ums-datafab
[   13.854295] usbcore: registered new interface driver ums_eneub6250
[   13.860569] usbcore: registered new interface driver ums-freecom
[   13.866661] usbcore: registered new interface driver ums-isd200
[   13.872676] usbcore: registered new interface driver ums-jumpshot
[   13.878843] usbcore: registered new interface driver ums-karma
[   13.884778] usbcore: registered new interface driver ums-onetouch
[   13.890990] usbcore: registered new interface driver ums-realtek
[   13.897070] usbcore: registered new interface driver ums-sddr09
[   13.903090] usbcore: registered new interface driver ums-sddr55
[   13.909106] usbcore: registered new interface driver ums-usbat
[   13.915407] mousedev: PS/2 mouse device common for all mice
[   14.139056] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   14.291635] hub 1-1:1.0: USB hub found
[   14.295768] hub 1-1:1.0: 4 ports detected
[   14.579051] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[   14.731941] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[   14.738556] scsi host0: usb-storage 1-1.1:1.0
[   14.929052] rtc-mv rtc-mv: internal RTC not ticking
[   14.934101] i2c /dev entries driver
[   14.938193] sdhci: Secure Digital Host Controller Interface driver
[   14.944430] sdhci: Copyright(c) Pierre Ossman
[   14.948869] sdhci-pltfm: SDHCI platform and OF driver helper
[   14.955063] ledtrig-cpu: registered to indicate activity on CPUs
[   14.961263] usbcore: registered new interface driver r8712u
[   14.967114] gre: GRE over IPv4 demultiplexor driver
[   14.972089] NET: Registered protocol family 17
[   14.976684] Key type dns_resolver registered
[   14.981985] registered taskstats version 1
[   14.987916] Key type encrypted registered
[   14.992554] console [netcon0] enabled
[   14.996235] netconsole: network logging started
[   15.000945] hctosys: unable to open rtc device (rtc0)
[   15.007093] Waiting 10 sec before mounting root device...
[   15.740114] scsi 0:0:0:0: Direct-Access     ASMT     2105             0    PQ: 0 ANSI: 6
[   15.749722] sd 0:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[   15.757518] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   15.763428] sd 0:0:0:0: [sda] Write Protect is off
[   15.769272] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   15.850422]  sda: sda1 sda2 sda3
[   15.857312] sd 0:0:0:0: [sda] Attached SCSI disk
^C[   25.019305] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6
[   25.027348] Please append a correct "root=" boot option; here are the available partitions:
[   25.035829] 0100            8192 ram0  (driver?)
[   25.040521] 0101            8192 ram1  (driver?)
[   25.045166] 0102            8192 ram2  (driver?)
[   25.049855] 0103            8192 ram3  (driver?)
[   25.054506] 0104            8192 ram4  (driver?)
[   25.059189] 0105            8192 ram5  (driver?)
[   25.063836] 0106            8192 ram6  (driver?)
[   25.068484] 0107            8192 ram7  (driver?)
[   25.073150] 0108            8192 ram8
 (driver?)
[   25.078004] 0109            8192 ram9  (driver?)
[   25.082672] 010a            8192 ram10  (driver?)
[   25.087406] 010b            8192 ram11  (driver?)
[   25.092159] 010c            8192 ram12  (driver?)
[   25.096893] 010d            8192 ram13  (driver?)
[   25.101647] 010e            8192 ram14  (driver?)
[   25.106380] 010f            8192 ram15  (driver?)
[   25.111139] 0800        78150744 sda  driver: sd
[   25.115780]   0801         6469632 sda1 0004f6e7-01
[   25.120709]   0802        69582848 sda2 0004f6e7-02
[   25.125617]   0803         2097152 sda3 0004f6e7-03
[   25.130545] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   25.138846] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.1-1-ARCH #1
[   25.145136] Hardware name: Pogoplug E02
[   25.149010] [<c0010508>] (unwind_backtrace) from [<c000da0c>] (show_stack+0x10/0x14)
[   25.156796] [<c000da0c>] (show_stack) from [<c00cb8ac>] (panic+0x88/0x20c)
[   25.163706] [<c00cb8ac>] (panic) from [<c08422d4>] (mount_block_root+0x1a4/0x260)
[   25.171227] [<c08422d4>] (mount_block_root) from [<c084257c>] (mount_root+0xf0/0x11c)
[   25.179091] [<c084257c>] (mount_root) from [<c0842704>] (prepare_namespace+0x15c/0x1bc)
[   25.187131] [<c0842704>] (prepare_namespace) from [<c0841ebc>] (kernel_init_freeable+0x20c/0x25c)
[   25.196048] [<c0841ebc>] (kernel_init_freeable) from [<c063a870>] (kernel_init+0x8/0xec)
[   25.204179] [<c063a870>] (kernel_init) from [<c000a4d0>] (ret_from_fork+0x14/0x24)
[   25.211784] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   84.949046] random: nonblocking pool is initialized

Here's what printenv shows right now:

PogoE02> printenv
arcNumber=3542
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=mw 0x800000 0 1; run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 0x1100000; fi; else if run load_dtb; then bootm 0x800000 - 0x1c00000; else bootm 0x800000; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
ethact=egiga0
ethaddr=00:25:31:02:21:5C
if_netconsole=ping $serverip
ipaddr=192.168.1.21
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; ext2load $bootdev $device 0x1c00000 $dtb_file
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device 0x1100000 /boot/uInitrd
load_uimage=echo loading uImage ...; ext2load $bootdev $device 0x800000 /boot/uImage
machid=dd6
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs)
nc_ready=0
partition=nand0,2
preboot=run preboot_nc
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
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 disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if ext2load $dev $disknum:1 0x800000 /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.1.7
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; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x810000
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv 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 $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 2795/131068 bytes
PogoE02>



Edited 1 time(s). Last edit at 02/14/2016 10:28PM by Waynosan.
Re: Pogoplug Pink E02 no network
February 14, 2016 10:43PM
Waynosan,

At this point, to boot Debian USB rootfs:

Power up, interrupt serial console and:

setenv dtb_file /'boot/dts/kirkwood-pogo_e02.dtb'
boot

And to boot Arch rootfs,

setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts $custom_params'
setenv dtb_file /'boot/dtbs/kirkwood-pogo_e02.dtb'
boot

See if you can do both. If either boot failed, then list the u-boot envs right after interrupt serial console:
printenv

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



Edited 1 time(s). Last edit at 02/14/2016 10:47PM by bodhi.
Re: Pogoplug Pink E02 no network
February 14, 2016 10:46PM
Oh I forgot this about Arch: bootargs also needs modification because there is no uInitrd file.

I've updated the above instruction.

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



Edited 1 time(s). Last edit at 02/14/2016 10:48PM by bodhi.
Re: Pogoplug Pink E02 no network
February 14, 2016 11:06PM
Bodhi,
You are the man! Both worked. It's midnight here so I'll have to leave trying to set up Debian until later. It's awesome that I can keep my Samba running in Arch until that point. Don't forget to PM me your paypal if you haven't already.

Do I still need to go through part D. Add uEnv.txt to /boot directory?

Have a good night
Re: Pogoplug Pink E02 no network
February 14, 2016 11:35PM
Waynosan,

Cool :)

> Do I still need to go through part D. Add uEnv.txt
> to /boot directory?

No need to. Only if you want to play with the envs for some purpose and don't want to mess up the boot envs.


BTW, I have a backup blog: bodhi's corner.

-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: