Welcome! Log In Create A New Profile

Advanced

[SOLVED] Pogo Plug v4 blinks green then red and reboots (Thank you Bodhi)

Posted by pratikworld 
Re: Pogo Plug v4 blinks green then red and reboots
August 08, 2015 05:36AM
pratikworld,

There are a few things wrong in both 3.14 and 3.18.5. That was because you stopped the installation toward the end. But it was almost completed, so you got to the point when the kernel has started :) which is not too bad. But let's pick one rootfs to work on to get it booting, shelve the other one.

With 3.18.5 rootfs on MMC mounted on the other Linux box.

1. Make sure you become root with "sudo su"

2. Recall the 3.18.5 rootfs creation step you did, you must have used the wrong machine DTB in step 4b.

Quote

4. Create uImage with embbeded DTB (If this is not first time installation, please see Note 2 below).

I'm using the GoFlex Net booting with USB drive as an example here. Please replace its name (kirkwood-goflexnet.dtb) with the box you are installing on (for example, kirkwood-pogo_e02.dtb). Look inside /media/sdb1/boot/dts/ for the correct DTB file name for your box.

cd /media/sdb1/boot
cp -a zImage-3.18.5-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.18.5-kirkwood-tld-1 -d zImage.fdt uImage
sync

Since you are running on the Pogo V4, you must change the bold line above, as instructed, to:

Quote

cat dts/kirkwood-pogoplug_v4.dtb >> zImage.fdt

So repeat step 4 with the correction
cd /media/sdb1/boot
cp -a zImage-3.18.5-kirkwood-tld-1  zImage.fdt
cat dts/kirkwood-pogoplug_v4.dtb  >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.18.5-kirkwood-tld-1 -d zImage.fdt uImage
sync
Note that I took out the command mv uImage uImage.orig because you already did that the last time.

And take it to the PogoV4 and boot.

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



Edited 2 time(s). Last edit at 08/08/2015 05:38AM by bodhi.
Re: Pogo Plug v4 blinks green then red and reboots
August 08, 2015 07:40AM
Ok. I think its booted now and shows green steady led. But no network still.
Posting the screen reads. Here's the complete log:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2015.08.08 19:14:08 =~=~=~=~=~=~=~=~=~=~=~=
    

U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Warning: failed to set MAC address

Hit any key to stop autoboot: 10  9  8  7  6  5  4  3  2  1  0 
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!

MMC rescan: current device # 0 initialized OK
2875692 bytes read in 1412 ms (1.9 MiB/s)
6535284 bytes read in 1665 ms (3.7 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.18.5-kirkwood-tld-1
   Created:      2015-08-08  12:22:16 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2875628 Bytes = 2.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.18.5-kirkwood-tld-1
   Created:      2015-02-19   1:49:36 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6535220 Bytes = 6.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
Using machid 0x831 from environment

Starting kernel ...

Uncompressing Linux... done, booting the 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 3.18.5-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Thu Feb 5 17:58:07 PST 2015
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Pogoplug v4
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p1 rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 114940K/131072K available (5640K kernel code, 365K rwdata, 1920K rodata, 268K init, 305K bss, 16132K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc076a240   (7561 kB)
[    0.000000]       .init : 0xc076b000 - 0xc07ae000   ( 268 kB)
[    0.000000]       .data : 0xc07ae000 - 0xc08096fc   ( 366 kB)
[    0.000000]        .bss : 0xc08096fc - 0xc0855d84   ( 306 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000024] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 25769803770ns
[    0.000618] Console: colour dummy device 80x30
[    0.000661] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[    0.090157] pid_max: default: 32768 minimum: 301
[    0.090368] Security Framework initialized
[    0.090523] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090553] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091673] Initializing cgroup subsys devices
[    0.091723] Initializing cgroup subsys freezer
[    0.091772] Initializing cgroup subsys net_cls
[    0.091805] Initializing cgroup subsys blkio
[    0.091963] CPU: Testing write buffer coherency: ok
[    0.092636] Setting up static identity map for 0x557418 - 0x557470
[    0.093092] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.096812] devtmpfs: initialized
[    0.100898] prandom: seed boundary self test passed
[    0.106897] prandom: 100 self tests passed
[    0.106926] pinctrl core: initialized pinctrl subsystem
[    0.107676] regulator-dummy: no parameters
[    0.113887] NET: Registered protocol family 16
[    0.114612] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.140179] cpuidle: using governor ladder
[    0.170174] cpuidle: using governor menu
[    0.170809] Feroceon L2: Enabling L2
[    0.170873] Feroceon L2: Cache support initialised.
[    0.171447] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.177920] No ATAGs?
[    0.212549] vgaarb: loaded
[    0.213096] usbcore: registered new interface driver usbfs
[    0.213224] usbcore: registered new interface driver hub
[    0.213347] usbcore: registered new device driver usb
[    0.214913] Switched to clocksource orion_clocksource
[    0.270229] NET: Registered protocol family 2
[    0.271344] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.271380] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.271410] TCP: Hash tables configured (established 1024 bind 1024)
[    0.271515] TCP: reno registered
[    0.271534] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.271566] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.271858] NET: Registered protocol family 1
[    0.272380] RPC: Registered named UNIX socket transport module.
[    0.272397] RPC: Registered udp transport module.
[    0.272408] RPC: Registered tcp transport module.
[    0.272418] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.272803] Unpacking initramfs...
[    1.087417] Freeing initrd memory: 6384K (c1100000 - c173c000)
[    1.087615] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.089588] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.089636] Initialise system trusted keyring
[    1.089780] audit: initializing netlink subsys (disabled)
[    1.089859] audit: type=2000 audit(1.080:1): initialized
[    1.091019] zpool: loaded
[    1.091043] zbud: loaded
[    1.091480] VFS: Disk quotas dquot_6.5.2
[    1.091567] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.092418] NFS: Registering the id_resolver key type
[    1.092498] Key type id_resolver registered
[    1.092511] Key type id_legacy registered
[    1.092548] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.092570] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.092883] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.093355] msgmni has been set to 236
[    1.093584] Key type big_key registered
[    1.097944] alg: No test for stdrng (krng)
[    1.098007] Key type asymmetric registered
[    1.098032] Asymmetric key parser 'x509' registered
[    1.098165] bounce: pool size: 64 pages
[    1.098302] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.098334] io scheduler noop registered
[    1.098356] io scheduler deadline registered
[    1.098436] io scheduler cfq registered (default)
[    1.099687] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 36
[    1.099710] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 37
[    1.099727] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 38
[    1.099744] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 39
[    1.099760] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 40
[    1.099777] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 41
[    1.099793] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 42
[    1.099810] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 43
[    1.099826] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 44
[    1.099843] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 45
[    1.099859] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 46
[    1.099876] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 47
[    1.099892] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 48
[    1.099909] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 49
[    1.100414] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    1.101358] irq: Cannot allocate irq_descs @ IRQ34, assuming pre-allocated
[    1.101938] irq: Cannot allocate irq_descs @ IRQ66, assuming pre-allocated
[    1.103140] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    1.103169] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.103189] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    1.103208] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.103673] PCI: bus0: Fast back to back transfers disabled
[    1.103696] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.104655] PCI: bus1: Fast back to back transfers disabled
[    1.104802] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    1.104833] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe000ffff 64bit]
[    1.104870] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0010000-0xe0010fff 64bit]
[    1.104906] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0011000-0xe0011fff 64bit]
[    1.105142] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.105167] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    1.105311] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    1.105349] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    1.105764] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.145020] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    1.185023] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    1.185296] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.225002] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    1.265003] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    1.265617] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.267625] console [ttyS0] disabled
[    1.267715] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 10416666) is a 16550A
[    2.061207] console [ttyS0] enabled
[    2.066865] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    2.073196] nand: Hynix H27U1G8F2BTR-BC
[    2.077063] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    2.082715] Scanning device for bad blocks
[    2.171175] 4 cmdlinepart partitions found on MTD device orion_nand
[    2.177447] Creating 4 MTD partitions on "orion_nand":
[    2.182570] 0x000000000000-0x000000100000 : "u-boot"
[    2.188106] 0x000000100000-0x000000500000 : "uImage"
[    2.193598] 0x000000500000-0x000002500000 : "rootfs"
[    2.199185] 0x000002500000-0x000008000000 : "data"
[    2.206009] libphy: Fixed MDIO Bus: probed
[    2.210521] libphy: orion_mdio_bus: probed
[    2.223199] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    3.303100] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:00:00:00:00:00
[    3.312136] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.318681] ehci-pci: EHCI PCI platform driver
[    3.323215] ehci-orion: EHCI orion driver
[    3.327479] orion-ehci f1050000.ehci: EHCI Host Controller
[    3.332981] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    3.340873] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    3.364965] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    3.371221] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.378022] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.385245] usb usb1: Product: EHCI Host Controller
[    3.390110] usb usb1: Manufacturer: Linux 3.18.5-kirkwood-tld-1 ehci_hcd
[    3.396812] usb usb1: SerialNumber: f1050000.ehci
[    3.402562] hub 1-0:1.0: USB hub found
[    3.406417] hub 1-0:1.0: 1 port detected
[    3.411620] mousedev: PS/2 mouse device common for all mice
[    4.424966] rtc-mv f1010300.rtc: internal RTC not ticking
[    4.430644] i2c /dev entries driver
[    4.435999] hidraw: raw HID events driver (C) Jiri Kosina
[    4.441891] drop_monitor: Initializing network drop monitor service
[    4.448520] TCP: cubic registered
[    4.451836] NET: Registered protocol family 17
[    4.456491] Key type dns_resolver registered
[    4.461924] Loading compiled-in X.509 certificates
[    4.466789] registered taskstats version 1
[    4.472473] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    4.482029] Freeing unused kernel memory: 268K (c076b000 - c07ae000)
Loading, please wait...
[    4.586147] systemd-udevd[57]: starting version 215
[    4.593737] random: systemd-udevd urandom read with 6 bits of entropy available
[    4.824095] SCSI subsystem initialized
[    4.841487] mvsdio f1090000.mvsdio: Got CD GPIO
[    4.921522] sata_mv f1080000.sata: slots 32 ports 1
[    4.932503] mmc0: host does not support reading read-only switch, assuming write-enable
[    4.949631] mmc0: new high speed SDHC card at address 59b4
[    4.980318] scsi host0: sata_mv
[    4.983996] ata1: SATA max UDMA/133 irq 32
[    5.098745] mmcblk0: mmc0:59b4 MS    29.5 GiB 
[    5.106426]  mmcblk0: p1
[    5.354980] ata1: SATA link down (SStatus 0 SControl F300)
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.
[   15.484318] EXT3-fs (mmcblk0p1): recovery required on readonly filesystem
[   15.491200] EXT3-fs (mmcblk0p1): write access will be enabled during recovery
[   15.652947] kjournald starting.  Commit interval 5 seconds
[   15.665521] EXT3-fs (mmcblk0p1): recovery complete
[   15.670296] EXT3-fs (mmcblk0p1): mounted filesystem with ordered data mode
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.

INIT: version 2.88 booting

[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   17.304157] systemd-udevd[255]: starting version 215
[?25l[?1c7[ ok 8[?25h[?0c.
[....] Synthesizing the initial hotplug events...[?25l[?1c7[   17.670169] input: gpio_keys as /devices/gpio_keys/input/input0
[ ok 8[?25h[?0cdone.
[....] Waiting for /dev to be fully populated...[   17.934156] orion_wdt: Initial timeout 25 sec
[   17.943315] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   17.988509] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[   18.043192] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[   18.087790] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   18.145077] usb usb2: Product: xHCI Host Controller
[   18.149946] usb usb2: Manufacturer: Linux 3.18.5-kirkwood-tld-1 xhci-hcd
[   18.256894] usb usb2: SerialNumber: 0000:01:00.0
[   18.303050] hub 2-0:1.0: USB hub found
[   18.325292] hub 2-0:1.0: 2 ports detected
[   18.348337] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   18.353576] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[   18.406958] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[   18.413738] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   18.474258] usb usb3: Product: xHCI Host Controller
[   18.498948] usb usb3: Manufacturer: Linux 3.18.5-kirkwood-tld-1 xhci-hcd
[   18.511605] usb usb3: SerialNumber: 0000:01:00.0
[   18.518219] hub 3-0:1.0: USB hub found
[   18.522021] hub 3-0:1.0: 2 ports detected
[?25l[?1c7[ ok 8[?25h[?0cdone.
[....] Activating swap...[?25l[?1c7[ ok 8[?25h[?0cdone.
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 14301/1937712 files, 261986/7745024 blocks
[?25l[?1c7[ ok 8[?25h[?0cdone.
[   19.683839] EXT3-fs (mmcblk0p1): using internal journal
[....] Activating lvm and md swap...[?25l[?1c7[ ok 8[?25h[?0cdone.
[....] Checking file systems...fsck from util-linux 2.25.2
[?25l[?1c7[ ok 8[?25h[?0cdone.
[....] Loading kernel modules...[?25l[?1c7[ ok 8[?25h[?0cdone.
[....] Cleaning up temporary files... /tmp[?25l[?1c7[ ok 8[?25h[?0c.
[....] Mounting local filesystems...[?25l[?1c7[ ok 8[?25h[?0cdone.
[....] Activating swapfile swap...[?25l[?1c7[ ok 8[?25h[?0cdone.
[....] Cleaning up temporary files...[?25l[?1c7[ ok 8[?25h[?0c.
[....] Setting kernel variables ...[?25l[?1c7[ ok 8[?25h[?0cdone.
[   23.271863] NET: Registered protocol family 10
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

RTNETLINK answers: Cannot assign requested address
Listening on LPF/eth0/00:00:00:00:00:00
Sending on   LPF/eth0/00:00:00:00:00:00
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
send_packet: Network is down
dhclient.c:2255: Failed to send 300 byte long packet over eth0 interface.
receive_packet failed on eth0: Network is down
DHCPREQUEST on eth0 to 255.255.255.255 port 67
send_packet: Network is down
dhclient.c:2255: Failed to send 300 byte long packet over eth0 interface.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
send_packet: Network is down
dhclient.c:1966: Failed to send 300 byte long packet over eth0 interface.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
send_packet: Network is down
dhclient.c:1966: Failed to send 300 byte long packet over eth0 interface.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
send_packet: Network is down
dhclient.c:1966: Failed to send 300 byte long packet over eth0 interface.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
send_packet: Network is down
dhclient.c:1966: Failed to send 300 byte long packet over eth0 interface.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
dhclient.c:1966: Failed to send 300 byte long packet over eth0 interface.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
send_packet: Network is down
dhclient.c:1966: Failed to send 300 byte long packet over eth0 interface.
No DHCPOFFERS received.
Trying recorded lease 192.168.0.13
connect: Network is unreachable
bound: renewal in 1424750849 seconds.
[?25l[?1c7[ ok 8[?25h[?0cdone.
[....] Starting rpcbind daemon...[?25l[?1c7[ ok 8[?25h[?0c.
[....] Starting NFS common utilities: statd idmapd[?25l[?1c7[ ok 8[?25h[?0c.
[....] Cleaning up temporary files...[?25l[?1c7[ ok 8[?25h[?0c.

INIT: Entering runlevel: 2

[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1201 (syslogd)
[?25l[?1c7[ ok 8[?25h[?0c.
[....] Starting system message bus: dbus[?25l[?1c7[ ok 8[?25h[?0c.
[....] Starting NFS common utilities: statd idmapd[?25l[?1c7[ ok 8[?25h[?0c.
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[?25l[?1c7[ ok 8[?25h[?0c.
[....] Not starting NFS kernel daemon: no exports. ...[?25l[?1c7[warn8[?25h[?0c (warning).
[  104.851776] random: nonblocking pool is initialized
[....] Starting NTP server: ntpd[?25l[?1c7[ ok 8[?25h[?0c.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1200 (klogd)
[?25l[?1c7[ ok 8[?25h[?0c.
[....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c.


Debian GNU/Linux 8 debian ttyS0

debian login:



Edited 1 time(s). Last edit at 08/08/2015 02:17PM by pratikworld.
Re: Pogo Plug v4 blinks green then red and reboots
August 08, 2015 03:00PM
pratikworld,

Congrats! you've done the installation. Everything seems to work fine.

So you can log in through serial console and troubleshoot this network error:
> [....] Configuring network interfaces...Internet
> Systems Consortium DHCP Client 4.3.1
> Copyright 2004-2014 Internet Systems Consortium.
> All rights reserved.
> For info, please visit
> https://www.isc.org/software/dhcp/
> 
> RTNETLINK answers: Cannot assign requested
> address
> Listening on LPF/eth0/00:00:00:00:00:00
> Sending on   LPF/eth0/00:00:00:00:00:00
> Sending on   Socket/fallback
> DHCPREQUEST on eth0 to 255.255.255.255 port 67
> send_packet: Network is down
> dhclient.c:2255: Failed to send 300 byte long
> packet over eth0 interface.
> receive_packet failed on eth0: Network is down
> DHCPREQUEST on eth0 to 255.255.255.255 port 67
> send_packet: Network is down
> dhclient.c:2255: Failed to send 300 byte long
> packet over eth0 interface.
> DHCPDISCOVER on eth0 to 255.255.255.255 port 67
> interval 5
> send_packet: Network is down

Check your network environment, ethernet cable plugged in? does the Ethernet LED port flashing green or orange? .... things like that.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogo Plug v4 blinks green then red and reboots
August 08, 2015 03:18PM
Hahaha. Thats great ot hear finally. Thanks a lot for the help, bodhi.

When ethernet is plugged in the Ethernet LED just stays on orange. Doesnt even flash.

Also is it ok to give this error right in the beginning about failing to set Mac Address?

    

U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC:   Kirkwood 88F6192_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  128 MiB
MMC:   kwsdio: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Warning: failed to set MAC address
Re: Pogo Plug v4 blinks green then red and reboots
August 08, 2015 03:27PM
pratikworld Wrote:
-------------------------------------------------------
> Hahaha. Thats great ot hear finally. Thanks a lot
> for the help, bodhi.
>
> When ethernet is plugged in the Ethernet LED just
> stays on orange. Doesnt even flash.
>
> Also is it ok to give this error right in the
> beginning about failing to set Mac Address?
>
>
>     
> 
> U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
> Pogoplug V4
> 
> SoC:   Kirkwood 88F6192_A1
> DRAM:  128 MiB
> WARNING: Caches not enabled
> NAND:  128 MiB
> MMC:   kwsdio: 0
> In:    serial
> Out:   serial
> Err:   serial
> Net:   egiga0
> Warning: failed to set MAC address
>

Ah :) that's your network error. Log in to Debian and set it. You can find the MAC address on the sticker (bottom of the Pogo case).

At Debian shell prompt:
fw_setenv ethaddr xx:xx:xx:xx
And then reboot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogo Plug v4 blinks green then red and reboots
August 08, 2015 03:43PM
bodhi Wrote:

> Ah :) that's your network error. Log in to Debian
> and set it. You can find the MAC address on the
> sticker (bottom of the Pogo case).
>
> At Debian shell prompt:
>
> fw_setenv ethaddr xx:xx:xx:xx
>
> And then reboot.

Login ID and password?
Re: Pogo Plug v4 blinks green then red and reboots
August 08, 2015 04:19PM
pratikworld,

Please read the installation instruction for 3.18.5 again.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogo Plug v4 blinks green then red and reboots
August 08, 2015 04:21PM
Its root root. I figured.

And BAM!! It shows up on my router as debian.

Thank you so much for all the support.

Whats my next step now?

I want to use this device for the following things:
1. PLex server
2. Bittorrent client
3. Network Drives - Mac OS extended Journaled and a NTFS drive
4. My USB printer as a network printer
5. Backups - TImeMachine (Important) and Windows (Not that imp)
6. Cloud drive - for remote access.

Please link me whom to follow for these things. Also in case if I want to get back to the original PogoPlug OS how to do so?

I have been reading Aaron Randall's blog here: http://aaronrandall.com/blog/installing-a-bittorrent-client-on-the-pogoplug/

Also the qnology blog.

Please guide me how to execute those.

Thanks :)))))
Re: Pogo Plug v4 blinks green then red and reboots
August 08, 2015 05:24PM
pratikworld,

It's time to search the forum, google,... lot of good information is out there.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Hi. I had the exact same problem happen to me while I was attempting the install of arch linux. Is there any way to add the shell script "fw_setenv ethaddr XX:X:XX:XX:XX:XX" on the usb debian OS so that it would run at the boot? I have tried to add the script and really am very basic in my knowledge of this. I run Ubuntu on my desktop and tried to add the script the the /etc/init.d folder in the file manager using an elevated nautilus.
Re: [SOLVED] Pogo Plug v4 blinks green then red and reboots (Thank you Bodhi)
August 18, 2015 03:40PM
Trip193,

I assume you've installed my latest u-boot image and also flashed the latest default envs image (post the installation log if you have one) ? If that's what you did, you don't need to worry about setting MAC address during installation. It is defaulted to a randomly generated MAC address. Once you've booted into Debian/Arch, you can set it to the real one there.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
I don't have the log. What I did was followed the instructions on the website "http://blog.qnology.com/2014/07/hacking-pogoplug-v4-series-4-and-mobile.html"; but when the time came to specify the mac address, I wasn't thinking and just copy pasted with no address specified. It mentioned something about there being no /dev/mtd0. I think I have the same problem as was in this thread. I am trying to find a serial cable to use, I have this (https://www.parallax.com/user/login?destination=node/120) lying around somewhere, trying to find,and want to try it but for now I have no serial connection. I followed your instructions and received the same results up to the point of executing the shell command "fw_setenv ethaddr XX:X:XX:XX:XX:XX" on the debian system. I wanted to try to run that script so when the pogoplug booted it would set the mac address straight and work.
Kill Pogoplug Service and Download uBoot Flashing Utilities

#stop my.pogoplug.com service
killall hbwd

#download firmware utilities
cd /tmp
wget http://download.qnology.com/pogoplug/v4/nanddump
wget http://download.qnology.com/pogoplug/v4/nandwrite
wget http://download.qnology.com/pogoplug/v4/flash_erase
wget http://download.qnology.com/pogoplug/v4/fw_printenv
wget http://download.qnology.com/pogoplug/v4/fw_setenv

#make execuable
chmod +x flash_erase fw_printenv fw_setenv nanddump nandwrite

#remount '/' as read/write
#by default the Pogoplug OS (internal flash) is read only
#skip if running from Debian/ALARM
mount -o remount,rw /

#setup fw_env.config
echo "/dev/mtd0 0xc0000 0x20000 0x20000">/etc/fw_env.config


Download and Flash new uBoot

#download uboot and md5
wget http://download.qnology.com/pogoplug/v4/uboot.2014.07-tld-1.pogo_v4.bodhi.tar
wget http://download.qnology.com/pogoplug/v4/uboot.2014.07-tld-1.pogo_v4.bodhi.tar.md5

#check md5sum
md5sum -c uboot.2014.07-tld-1.pogo_v4.bodhi.tar.md5

#extract uboot
tar -xf uboot.2014.07-tld-1.pogo_v4.bodhi.tar

#Erase and flash uboot on mtd0
#BE EXTRA CAREFUL WITH THE NEXT TWO COMMANDS. NO TYPOS! CUT AND PASTE.
/tmp/flash_erase /dev/mtd0 0 4
/tmp/nandwrite /dev/mtd0 /tmp/uboot.2014.07-tld-1.pogo_v4.mtd0.kwb


Download and Flash uBoot Environment Parameters

#download default uboot env settings and md5
wget http://download.qnology.com/pogoplug/v4/uboot.2014.07-tld-1.environment.img.bodhi.tar
wget http://download.qnology.com/pogoplug/v4/uboot.2014.07-tld-1.environment.img.bodhi.tar.md5

#check md5 sum
md5sum -c uboot.2014.07-tld-1.environment.img.bodhi.tar.md5

#extract uboot env settings
tar -xf uboot.2014.07-tld-1.environment.img.bodhi.tar

#Flash default uboot env setting
#BE EXTRA CAREFUL WITH THE NEXT TWO COMMANDS. NO TYPOS! CUT AND PASTE.
/tmp/flash_erase /dev/mtd0 0xc0000 1
/tmp/nandwrite -s 786432 /dev/mtd0 uboot.2014.07-tld-1.environment.img'

#SET MACADDRESS
/tmp/fw_setenv ethaddr "$(cat /sys/class/net/eth0/address)"
Everything was fine till I messed up this step and rebooted
Re: [SOLVED] Pogo Plug v4 blinks green then red and reboots (Thank you Bodhi)
August 18, 2015 06:58PM
trip193,

Quote

> #SET MACADDRESS
> /tmp/fw_setenv ethaddr "$(cat
> /sys/class/net/eth0/address)"
Everything
> was fine till I messed up this step and rebooted

Ok. Since the error must have wiped out your MAC address (which was set to a valid one right after you flashed the default envs). So what you said above is right on: adding a script to fix this.

Mount your current rootfs on another Linux box. Assuming it's mounted at /media/sdb1. And replace the XX:XX:XX:XX:XX:XX with your Pogo MAC address in the command below:
cp -a /media/sdb1/etc/network/interfaces  /media/sdb1/etc/network/interfaces.save
echo "hwaddress ether XX:XX:XX:XX:XX:XX" >> /media/sdb1/etc/network/interfaces
sync

And take this to the Pogo and reboot with it.

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



Edited 1 time(s). Last edit at 08/18/2015 06:59PM by bodhi.
That was it. It worked perfectly. Thank you for the help. I was able to get the ip address and ssh back in Thank you so Much!
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: