Welcome! Log In Create A New Profile

Advanced

Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."

Posted by feas 
Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 03:06AM
I decided to upgrade to the new kernel and followed the 4a way since I have the current uboot installed. All seemed to go fine with no error messages so I did the 3 sync's and the shutdown. The device never fully powered off and it hangs at starting kernel. Here are the outputs.

PogoE02> reset
resetting ...


U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -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
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	52664320  	0030cd40-01	83 Boot
  2	52666368  	8388608   	0030cd40-02	82
loading envs from usb 0 ...
87 bytes read in 366 ms (0 Bytes/s)
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
importing envs ...
running scan_disk ...
Scan device mmc
Unknown command 'mmc' - try 'help'
device mmc 0:1
** Bad device mmc 0 **
device mmc 1:1
** Bad device mmc 1 **
device mmc 2:1
** Bad device mmc 2 **
device mmc 3:1
** Bad device mmc 3 **
Scan device usb
device usb 0:1
1 bytes read in 242 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3232368 bytes read in 385 ms (8 MiB/s)
loading uInitrd ...
7313359 bytes read in 494 ms (14.1 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10466 bytes read in 1102 ms (8.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.8.3-kirkwood-tld-1
   Created:      2016-10-26   4:21:06 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3232304 Bytes = 3.1 MiB
   Load Address: 00008000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.8.3-kirkwood-tld-1
   Created:      2016-10-26   4:23:50 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7313295 Bytes = 7 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 0f41b000, end 0fb1478f ... OK
   Loading Device Tree to 0f415000, end 0f41a8e1 ... OK

Starting kernel ...

PogoE02> printenv
arcNumber=3542
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $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
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=00:25:31:04:7B:64
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.86.109
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 $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
nc_ready=0
partition=nand0,2
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 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
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.86.110
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_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";  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_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum: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_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 3081/131068 bytes
PogoE02>

I took the usb to my laptop and ran fsck on it and it is clean. Not sure how else to proceed. I would appreciate it if you could help me again.
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 04:01AM
feas,

Even though you said you've used method 4a, let's check the kernel files on /boot. Assuming you mount it at /media/sdb1 on your laptop.

Pls post the output of:
ls -lart /media/sdb1/boot

1. See if the uImage is indeed the one generated by mkimage, or if by accident it was one with embedded DTB?
2. Does this USB drive have more than one partition?

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 04:24AM
root@debian-laptop:/home/feas# ls -lart /media/feas/rootfs/boot
total 154660
-rwxr-xr-x  1 root root  3154832 Jan 25  2016 zImage-4.4.0-kirkwood-tld-1
-rw-r--r--  1 root root  7511582 Jan 26  2016 linux-headers-4.4.0-kirkwood-tld-1_1.0_armel.deb
-rw-r--r--  1 root root  3154896 Feb 19  2016 uImage.orig
-rwxr-xr-x  1 root root  3165278 Jul 27 05:29 zImage.fdt
-rw-r--r--  1 root root  3165342 Jul 27 10:32 uImage-broke
drwxr-xr-x 21 root root     4096 Jul 27 13:58 ..
-rw-------  1 root root  3154832 Jul 27 15:52 vmlinuz-4.4.0-kirkwood-tld-1
-rw-r--r--  1 root root   140949 Jul 27 15:54 config-4.4.0-kirkwood-tld-1
drwxr-xr-x  3 root root     4096 Jul 27 15:55 7-27-16-back
-rw-------  1 root root  2240040 Jul 27 15:55 System.map-4.4.0-kirkwood-tld-1
-rw-r--r--  1 root root 29019298 Jul 27 15:56 linux-4.6.0-kirkwood-tld-1-bodhi.tar.bz2
-rw-r--r--  1 root root  1208320 Jul 27 15:57 linux-dtb-4.6.0-kirkwood-tld-1.tar
-rw-r--r--  1 root root   532480 Jul 29 18:17 uboot.2016.05-tld-1.pogo_e02.bodhi.tar
-rw-r--r--  1 root root   524288 Jul 29 18:17 uboot.2016.05-tld-1.pogo_e02.mtd0.kwb
-rw-r--r--  1 root root       87 Jul 29 18:27 uEnv.txt
-rw-r--r--  1 root root  7153962 Sep  4 23:51 initrd.img-4.4.0-kirkwood-tld-1
-rw-r--r--  1 root root   146396 Oct 21 01:38 config-4.8.3-kirkwood-tld-1
-rwxr-xr-x  1 root root  3232304 Oct 21 02:34 zImage-4.8.3-kirkwood-tld-1
-rw-------  1 root root  3232304 Oct 21 05:30 vmlinuz-4.8.3-kirkwood-tld-1
-rw-------  1 root root  2361548 Oct 21 05:30 System.map-4.8.3-kirkwood-tld-1
-rw-r--r--  1 root root 17941540 Oct 21 05:36 linux-image-4.8.3-kirkwood-tld-1_1.0_armel.deb
-rw-r--r--  1 root root  8006718 Oct 21 05:51 linux-headers-4.8.3-kirkwood-tld-1_1.0_armel.deb
drwxr-xr-x  2 root root     4096 Oct 23 04:51 dts
-rw-r--r--  1 root root  1249280 Oct 23 04:52 linux-dtb-4.8.3-kirkwood-tld-1.tar
-rw-r--r--  1 root root   144044 Oct 24 04:06 linux-4.8.3-kirkwood-tld-1.patch
-rw-r--r--  1 root root 29428516 Oct 26 00:04 linux-4.8.3-kirkwood-tld-1-bodhi.tar.bz2
-rw-r--r--  1 root root  3154896 Oct 26 00:06 uImage-10-26-16
-rw-r--r--  1 root root  7179935 Oct 26 00:06 uInitrd-10-26-16
-rw-r--r--  1 root root  7313295 Oct 26 00:16 initrd.img-4.8.3-kirkwood-tld-1
drwxr-xr-x  4 root root     4096 Oct 26 00:16 .
-rw-r--r--  1 root root  3232368 Oct 26 00:21 uImage
-rw-r--r--  1 root root  7313359 Oct 26 00:23 uInitrd

The file size is a match and it is different from the previous one.

lsblk

sdb                               8:16   1  29.1G  0 disk  
├─sdb1                            8:17   1  25.1G  0 part  /media/feas/rootfs
└─sdb2                            8:18   1     4G  0 part

/boot/dts

-rw-r--r-- 1 root root 10466 Oct 23 04:32 kirkwood-pogo_e02.dtb
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 05:31AM
feas,

Your kernel files looks fine, as comparing with ones on my Pogo E02! I have a feeling that it might be something to do with bootargs. But they look OK, too.

However, this indicates there is something in the uEnv.txt:
loading envs from usb 0 ...
87 bytes read in 366 ms (0 Bytes/s)

See what's in this file, could be that it has redefined some envs that caused this freeze?
cat /media/sdb1/boot/uEnv.txt

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 06:17AM
root@debian-laptop:/media/feas/rootfs/boot# cat /media/feas/rootfs/boot/uEnv.txt
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
devices=usb
devices=mmc usb ide
disks=0 1 2 3
root@debian-laptop:/media/feas/rootfs/boot#

The second "devices"?
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 03:57PM
feas,

That's not the cause.

- Remove this uEnvt.txt file
- Power up, interrupt serial console
- And then
setenv bootcmd 'run bootcmd_uenv; run scan_disk; run set_bootargs; printenv; printenv bootargs; run bootcmd_exec'
boot

Please post the entire serial console log.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 05:40PM
here it is

U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -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
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	52664320  	0030cd40-01	83 Boot
  2	52666368  	8388608   	0030cd40-02	82
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 242 ms (0 Bytes/s)
Found bootable drive on usb 0
arcNumber=3542
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; printenv; printenv bootargs; run bootcmd_exec boot
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $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
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=00:25:31:04:7B:64
fileaddr=800000
filesize=1
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.86.109
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 $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
nc_ready=0
partition=nand0,2
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 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
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.86.110
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_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";  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_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum: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_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 3146/131068 bytes
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
loading uImage ...
3232368 bytes read in 389 ms (7.9 MiB/s)
loading uInitrd ...
7313359 bytes read in 504 ms (13.8 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10466 bytes read in 1102 ms (8.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.8.3-kirkwood-tld-1
   Created:      2016-10-26   4:21:06 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3232304 Bytes = 3.1 MiB
   Load Address: 00008000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.8.3-kirkwood-tld-1
   Created:      2016-10-26   4:23:50 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7313295 Bytes = 7 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 0f41b000, end 0fb1478f ... OK
   Loading Device Tree to 0f415000, end 0f41a8e1 ... OK

Starting kernel ...
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 06:45PM
Looks like everything is in good order. Let's try this

- Power up, interrupt serial console
- And then

setenv custom_params 'earlyprintk=serial'
setenv bootcmd 'run bootcmd_uenv; run scan_disk; run set_bootargs; printenv; printenv bootargs; run bootcmd_exec'
boot

Please post the entire serial console log.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 10/26/2016 08:29PM by bodhi.
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 07:26PM
I removed an "=" that gave an error let me know if I it was wrong. It gave an error the first way but accepted it when i removed it.

PogoE02> setenv custom_params=earlyprintk=serial
## Error: illegal character '='in variable name "custom_params=earlyprintk=serial"
PogoE02> setenv custom_params earlyprintk=serial
PogoE02> setenv bootcmd 'run bootcmd_uenv; run scan_disk; run set_bootargs; printenv; printenv bootargs; run bootcmd_exec' boot
PogoE02> saveenv
Saving Environment to NAND...
Erasing NAND...
Erasing at 0xc0000 -- 100% complete.
Writing to NAND... OK
PogoE02> reset
resetting ...


U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -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
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	52664320  	0030cd40-01	83 Boot
  2	52666368  	8388608   	0030cd40-02	82
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 242 ms (0 Bytes/s)
Found bootable drive on usb 0
arcNumber=3542
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) earlyprintk=serial
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; printenv; printenv bootargs; run bootcmd_exec boot
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $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
custom_params=earlyprintk=serial
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=00:25:31:04:7B:64
fileaddr=800000
filesize=1
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.86.109
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 $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
nc_ready=0
partition=nand0,2
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 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
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.86.110
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_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";  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_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum: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_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 3200/131068 bytes
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) earlyprintk=serial
loading uImage ...
3232368 bytes read in 389 ms (7.9 MiB/s)
loading uInitrd ...
7313359 bytes read in 504 ms (13.8 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10466 bytes read in 1102 ms (8.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.8.3-kirkwood-tld-1
   Created:      2016-10-26   4:21:06 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3232304 Bytes = 3.1 MiB
   Load Address: 00008000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.8.3-kirkwood-tld-1
   Created:      2016-10-26   4:23:50 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7313295 Bytes = 7 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 0f41b000, end 0fb1478f ... OK
   Loading Device Tree to 0f415000, end 0f41a8e1 ... OK

Starting kernel ...
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 08:36PM
Hi feas,

That's correct, my typo for custom_params up there. However, earlyprink did not help to print out anything.

Here is what I think. Your kernel files, especially uImage, are not good for whatever reason, because if it did not even start at all. So my suggestion is: boot back to kernel 4.8.0. And then while in 4.8.0, remove kernel 4.8.3 with "dpkg --purge", and reinstall kernel 4.8.3.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 2 time(s). Last edit at 10/26/2016 08:38PM by bodhi.
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 08:46PM
I am not sure how to boot back to my previous 4.4.0 kernel from here. I am I to load the old images with tftp as I believe I had to do in the past?
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 09:32PM
Your kernel 4.4 is till installed. I noticed you have saved uImage and uInitrd in /boot. Are the uImage/uInitrd-10-26-16 from kernel 4.4?

If they are, then copy them to uImage and uInitrd. Sync and reboot.

Btw, when you save these files, use the "cp -a" command to copy so they have the original timestamp. It easier to recognize if they are grouped together with other kernel files when you list by date.

cp -a uImage uImage-4.4

Also, if they are not 4.4, then you can use the mkimage commands for 4.4 to regenerate them.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 10/26/2016 09:34PM by bodhi.
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 26, 2016 10:17PM
They are indeed 4.4. I see what you are saying about copying with attributes intact. Guess it's just the way my defective noggin works so I know what was what before i mess with stuff.

I did as you said and it works as would be expected. Sorry for the hassle not sure what went wrong the first time.

if interested here is output now.

U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -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
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	52664320  	0030cd40-01	83 Boot
  2	52666368  	8388608   	0030cd40-02	82
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 242 ms (0 Bytes/s)
Found bootable drive on usb 0
arcNumber=3542
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) earlyprintk=serial
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; printenv; printenv bootargs; run bootcmd_exec boot
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $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
custom_params=earlyprintk=serial
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=00:25:31:04:7B:64
fileaddr=800000
filesize=1
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.86.109
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 $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
nc_ready=0
partition=nand0,2
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 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
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.86.110
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_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";  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_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum: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_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 3200/131068 bytes
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) earlyprintk=serial
loading uImage ...
3232368 bytes read in 385 ms (8 MiB/s)
loading uInitrd ...
7313457 bytes read in 494 ms (14.1 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10466 bytes read in 1102 ms (8.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.8.3-kirkwood-tld-1
   Created:      1970-01-01   0:15:16 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3232304 Bytes = 3.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.8.3-kirkwood-tld-1
   Created:      1970-01-01   0:16:09 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7313393 Bytes = 7 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 0f41b000, end 0fb147f1 ... OK
   Loading Device Tree to 0f415000, end 0f41a8e1 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.8.3-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Thu Oct 20 23:33:18 PDT 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt:Machine model: CloudEngines Pogoplug E02
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) earlyprintk=serial
[    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: 243364K/262144K available (6149K kernel code, 614K rwdata, 1664K rodata, 308K init, 318K bss, 18780K 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 - 0xc0609718   (6150 kB)
[    0.000000]       .init : 0xc07dd000 - 0xc082a000   ( 308 kB)
[    0.000000]       .data : 0xc082a000 - 0xc08c391c   ( 615 kB)
[    0.000000]        .bss : 0xc08c391c - 0xc0913170   ( 319 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000010] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008484] Console: colour dummy device 80x30
[    0.013060] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100932] pid_max: default: 32768 minimum: 301
[    0.105857] Security Framework initialized
[    0.110260] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.116999] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.125324] CPU: Testing write buffer coherency: ok
[    0.130791] Setting up static identity map for 0x8200 - 0x8258
[    0.136985] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.146400] devtmpfs: initialized
[    0.155238] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.165562] prandom: seed boundary self test passed
[    0.174347] prandom: 100 self tests passed
[    0.178589] pinctrl core: initialized pinctrl subsystem
[    0.185191] NET: Registered protocol family 16
[    0.190253] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.228054] cpuidle: using governor ladder
[    0.258053] cpuidle: using governor menu
[    0.262497] Feroceon L2: Enabling L2
[    0.266211] Feroceon L2: Cache support initialised.
[    0.271623] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.286993] No ATAGs?
[    0.319595] vgaarb: loaded
[    0.323005] usbcore: registered new interface driver usbfs
[    0.328730] usbcore: registered new interface driver hub
[    0.334227] usbcore: registered new device driver usb
[    0.340538] clocksource: Switched to clocksource orion_clocksource
[    0.393469] VFS: Disk quotas dquot_6.6.0
[    0.397585] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.416803] NET: Registered protocol family 2
[    0.422190] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.429299] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.435917] TCP: Hash tables configured (established 2048 bind 2048)
[    0.442470] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.448425] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.455008] NET: Registered protocol family 1
[    0.459929] RPC: Registered named UNIX socket transport module.
[    0.466038] RPC: Registered udp transport module.
[    0.470869] RPC: Registered tcp transport module.
[    0.475679] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.482508] Unpacking initramfs...
[    1.145007] Freeing initrd memory: 7144K (cf41b000 - cfb15000)
[    1.151187] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.158880] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.165170] audit: initializing netlink subsys (disabled)
[    1.170748] audit: type=2000 audit(1.160:1): initialized
[    1.176490] Initialise system trusted keyrings
[    1.181279] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    1.187919] zbud: loaded
[    1.191548] NFS: Registering the id_resolver key type
[    1.196726] Key type id_resolver registered
[    1.201092] Key type id_legacy registered
[    1.205214] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.212075] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.218809] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.226279] orangefs_init: called with debug mask: :none: :0:
[    1.232525] orangefs: module version upstream loaded
[    1.237858] Key type big_key registered
[    2.560546] random: fast init done
[    5.357774] Key type asymmetric registered
[    5.362223] Asymmetric key parser 'x509' registered
[    5.367308] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    5.374955] io scheduler noop registered
[    5.378979] io scheduler deadline registered
[    5.383440] io scheduler cfq registered (default)
[    5.389541] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    5.397973] irq: Cannot allocate irq_descs @ IRQ32, assuming pre-allocated
[    5.405714] irq: Cannot allocate irq_descs @ IRQ64, assuming pre-allocated
[    5.413223] mv_xor f1060800.xor: Marvell shared XOR driver
[    5.481286] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.488937] mv_xor f1060900.xor: Marvell shared XOR driver
[    5.551270] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.559194] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.567148] console [ttyS0] disabled
[    5.570947] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    5.580076] console [ttyS0] enabled
[    5.580076] console [ttyS0] enabled
[    5.587213] bootconsole [earlycon0] disabled
[    5.587213] bootconsole [earlycon0] disabled
[    5.597474] nand: Could not find valid ONFI parameter page; aborting
[    5.603942] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    5.610322] nand: Hynix NAND 128MiB 3,3V 8-bit
[    5.614808] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    5.622436] Scanning device for bad blocks
[    5.735470] 4 cmdlinepart partitions found on MTD device orion_nand
[    5.741787] Creating 4 MTD partitions on "orion_nand":
[    5.746952] 0x000000000000-0x000000100000 : "u-boot"
[    5.753385] 0x000000100000-0x000000500000 : "uImage"
[    5.759772] 0x000000500000-0x000002500000 : "rootfs"
[    5.766376] 0x000002500000-0x000008000000 : "data"
[    5.774605] libphy: Fixed MDIO Bus: probed
[    5.778854] libphy: mdio_driver_register: mv88e6085
[    5.784198] libphy: orion_mdio_bus: probed
[    5.793611] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.901275] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:04:7b:64
[    6.910148] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.916761] ehci-pci: EHCI PCI platform driver
[    6.921312] ehci-orion: EHCI orion driver
[    6.925520] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.931095] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    6.938993] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    6.970575] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    6.976871] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    6.983717] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.990989] usb usb1: Product: EHCI Host Controller
[    6.995888] usb usb1: Manufacturer: Linux 4.8.3-kirkwood-tld-1 ehci_hcd
[    7.002551] usb usb1: SerialNumber: f1050000.ehci
[    7.008093] hub 1-0:1.0: USB hub found
[    7.011965] hub 1-0:1.0: 1 port detected
[    7.016926] mousedev: PS/2 mouse device common for all mice
[    7.370572] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.562124] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    7.568875] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.576082] usb 1-1: Product: USB2.0 Hub
[    7.580965] hub 1-1:1.0: USB hub found
[    7.585123] hub 1-1:1.0: 4 ports detected
[    7.910563] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    8.061499] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5575
[    8.068418] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.075800] usb 1-1.3: Product: Cruzer Glide
[    8.080089] usb 1-1.3: Manufacturer: SanDisk
[    8.084399] usb 1-1.3: SerialNumber: 4C531001480325118324
[    8.090580] rtc-mv f1010300.rtc: internal RTC not ticking
[    8.096175] i2c /dev entries driver
[    8.101421] hidraw: raw HID events driver (C) Jiri Kosina
[    8.107297] drop_monitor: Initializing network drop monitor service
[    8.113863] NET: Registered protocol family 17
[    8.118543] Key type dns_resolver registered
[    8.123727] registered taskstats version 1
[    8.127848] Loading compiled-in X.509 certificates
[    8.132749] zswap: loaded using pool lzo/zbud
[    8.156689] Key type encrypted registered
[    8.161372] hctosys: unable to open rtc device (rtc0)
[    8.168722] Freeing unused kernel memory: 308K (c07dd000 - c082a000)
[    8.175281] This architecture does not have kernel memory protection.
Loading, please wait...
[    8.261584] systemd-udevd[92]: starting version 215
[    8.428513] SCSI subsystem initialized
[    8.477068] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    8.526662] scsi host0: usb-storage 1-1.3:1.0
[    8.538787] usbcore: registered new interface driver usb-storage
[    8.567142] usbcore: registered new interface driver uas
[    9.611602] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Glide     1.27 PQ: 0 ANSI: 6
[    9.628943] sd 0:0:0:0: [sda] 61056064 512-byte logical blocks: (31.3 GB/29.1 GiB)
[    9.638543] sd 0:0:0:0: [sda] Write Protect is off
[    9.644158] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    9.661536]  sda: sda1 sda2
[    9.668535] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    9.678313] sd 0:0:0:0: Attached scsi generic sg0 type 0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
B[   18.681628] PM: Starting manual resume from disk
egin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 
rootfs: clean, 51531/1646592 files, 681412/6583040 blocks
done.
[   18.907074] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   18.964566] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   19.389104] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[   19.402987] systemd[1]: Detected architecture 'arm'.

Welcome to Debian GNU/Linux 8 (jessie)!

[   19.554263] systemd[1]: Inserted module 'autofs4'
[   19.614867] NET: Registered protocol family 10
[   19.620528] systemd[1]: Inserted module 'ipv6'
[   19.627723] systemd[1]: Set hostname to <deb-pogo>.
[   20.290356] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[   20.308898] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[   20.317160] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   20.325009] systemd[1]: Expecting device dev-ttyS0.device...
         Expecting device dev-ttyS0.device...
[   20.360755] systemd[1]: Starting Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Paths.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Set up automount Arbitrary Executable File Formats F...utomount Point.
         Expecting device dev-sda2.device...
[  OK  ] Created slice Root Slice.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice System Slice.
         Mounting POSIX Message Queue File System...
         Starting Load Kernel Modules...
         Mounting Debug File System...
         Starting Create list of required static device nodes...rrent kernel...
         Starting udev Coldplug all Devices...
[  OK  ] Created slice system-postgresql.slice.
[  OK  ] Created slice system-openvpn.slice.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Reached target Slices.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required static device nodes ...current kernel.
[   21.220927] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started udev Coldplug all Devices.
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[   21.871876] systemd-udevd[187]: starting version 215
         Mounting /tmp...
[  OK  ] Started udev Kernel Device Manager.
         Starting Copy rules generated while the root was ro...
[  OK  ] Mounted /tmp.
[  OK  ] Started Copy rules generated while the root was ro.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting netfilter persistent configuration...
[  OK  ] Reached target Remote File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting LSB: Raise network interfaces....
[  OK  ] Started Create Volatile Files and Directories.
[   22.446017] systemd-journald[174]: Received request to flush runtime journal from PID 1
         Starting Update UTMP about System Boot/Shutdown...
[   22.623593] ip_tables: (C) 2000-2006 Netfilter Core Team
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[   22.777986] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[  OK  ] Found device /dev/ttyS0.
[   23.054431] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  OK  ] Started netfilter persistent configuration.
[   23.122563] orion_wdt: Initial timeout 21 sec
[   23.229470] marvell-cesa f1030000.crypto: CESA device successfully registered
[  OK  ] Found device Cruzer_Glide 2.
         Activating swap /dev/sda2...
[   23.595911] Adding 4194300k swap on /dev/sda2.  Priority:-1 extents:1 across:4194300k FS
[  OK  ] Activated swap /dev/sda2.
[  OK  ] Reached target Swap.
[   23.970610] random: crng init done
[   25.151247] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  OK  ] Started LSB: Raise network interfaces..
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: RPC portmapper replacement...
[  OK  ] Started LSB: RPC portmapper replacement.
[  OK  ] Reached target RPC Port Mapper.
         Starting LSB: NFS support files common to client and server...
[  OK  ] Started LSB: NFS support files common to client and server.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Timers.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting PostgreSQL Cluster 9.4-main...
         Starting OpenVPN connection to server...
         Starting OpenVPN service...
         Starting A high performance web server and a reverse proxy server...
         Starting The PHP FastCGI Process Manager...
         Starting Regular background program processing daemon...
[  OK  ] Started Regular background program processing daemon.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started OpenBSD Secure Shell server.
         Starting /etc/rc.local Compatibility...
         Starting Permit User Sessions...
         Starting Login Service...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
[  118.724685] tun: Universal TUN/TAP device driver, 1.6
[  118.738240] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting LSB: Start and stop the mysql database server daemon...
         Starting LSB: Start NTP daemon...
         Starting LSB: Kernel NFS server support...
         Starting LSB: Starts syslogd...
         Starting LSB: powerful, efficient, and scalable Mail...nsport Agent...
[  OK  ] Started OpenVPN connection to server.
[  OK  ] Started OpenVPN service.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Starts syslogd.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started LSB: Kernel NFS server support.
[  OK  ] Started Login Service.
         Starting LSB: Starts klogd...
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
         Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started A high performance web server and a reverse proxy server.
[  OK  ] Started LSB: Starts klogd.

Debian GNU/Linux 8 deb-pogo ttyS0

deb-pogo login:
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
October 27, 2016 01:12AM
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
November 27, 2016 01:12AM
Hi bodhi, I got the similar problem, unlike feas's story, I cannot boot with any kernels after upgrading to the latest uboot. Can you help me take a look? Thanks in advance!

Long story in short: I was running Jeff's build for years till I decided to upgrade my pogoplug_e02 to the latest version. So, I took the following steps: upgraded to 4.4.0 by following "Updated 20 Feb 2016" --worked; upgraded to latest uboot by following "Last Updated 19 June 2016" --everything looks fine, no errors reported; upgraded to 4.8.3 by following "Updated 24 Oct 2016" -- failed to reboot...

After that, no matter which version of Kernel I tried, no success to boot any more...Here are some outputs from the netconsole:

1. boot without usb and interrupt:
U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -0700)
Pogo E02
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
Hit any key to stop autoboot:  9 
 0 
PogoE02> printenv
printenv
arcNumber=3542
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $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
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=00:25:31:04:70:5C
if_netconsole=ping $serverip
ipaddr=192.168.1.75
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 $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/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)
nc_ready=1
ncip=192.168.1.6
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 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.1.6
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=nc
stdin=nc
stdout=nc
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";  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 $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_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 3035/131068 bytes

2. boot with 4.4.0:
U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -0700)
Pogo E02
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
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
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	7819264   	00082259-01	83
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 242 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3154896 bytes read in 412 ms (7.3 MiB/s)
loading uInitrd ...
7179935 bytes read in 550 ms (12.4 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10446 bytes read in 1103 ms (8.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   5:55:25 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3154832 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000


Starting kernel ...


Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
November 27, 2016 01:45AM
xddy,

> Starting kernel ...

netconsole only outputs this much. So what happen after this is not known unless you've aleady done this set up to see the kernel booting progress: Use netconsole to troubleshoot Debian kernel booting

Try these
1. Check the USB drive for errors using another LInux box and fix it. If the drive is assigned the drive letter sdb1:
e2fsck /dev/sdb1

2. Whether errors were found and fixed or not, mount the drive and
ls -lart /media/sdb1/boot
sync
And take it to the Pogo to try booting again. And please post the output from the above here anyway.

The idea is to 1. check for errors, 2. see if the uImage has has an embedded DTB in there that you've insertedby mistake.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
November 27, 2016 02:43AM
Thank you for the quick response!
Actually, I did not do the steps in "http://forum.doozan.com/read.php?2,9522";, can I do it now on my ubuntu?

By following you instruction:

the e2fsck did not report any error,

the the ls outputs are:
drwxr-xr-x 21 root root    4096 Feb 16  2015 ..
-rw-r--r--  1 root root  140949 Jan 25  2016 config-4.4.0-kirkwood-tld-1
-rwxr-xr-x  1 root root 3154832 Jan 25  2016 zImage-4.4.0-kirkwood-tld-1
-rw-------  1 root root 3154832 Jan 25  2016 vmlinuz-4.4.0-kirkwood-tld-1
-rw-------  1 root root 2240040 Jan 25  2016 System.map-4.4.0-kirkwood-tld-1
-rw-r--r--  1 root root 7511582 Jan 25  2016 linux-headers-4.4.0-kirkwood-tld-1_1.0_armel.deb
drwxr-xr-x  2 root root    4096 Jan 26  2016 dts
-rw-r--r--  1 root root 3154896 Feb 18  2016 uImage
-rw-r--r--  1 root root 7179871 Feb 18  2016 initrd.img-4.4.0-kirkwood-tld-1
-rw-r--r--  1 root root 7179935 Feb 18  2016 uInitrd
drwxr-xr-x  3 root root    4096 Feb 18  2016 .

the booting output is:

U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:23:43 -0700)
Pogo E02
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
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
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	7819264   	00082259-01	83
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 242 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3154896 bytes read in 415 ms (7.2 MiB/s)
loading uInitrd ...
7179935 bytes read in 560 ms (12.2 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10446 bytes read in 1102 ms (8.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   5:55:25 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3154832 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000


Starting kernel ...

It looks the same as the previous one.
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
November 27, 2016 03:52AM
xddy,

As I mentioned, netconsole output stops here. So it might have booted. Did you try:

1. Ping the box. If it is online, it will responds:
ping debian.local

or

2. Find the box IP address in the network router.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
November 27, 2016 11:51AM
Hi bodhi, no it doesn't. The box stuck somewhere and cannot get ip, front led stays green, however the ethernet blinks orange. Thanks.

BTW, is my understanding correct? It looks like my Uboot works fine, so for kernel 4.4.0 with latest uboot, basically I should do the following:

On my ubuntu desktop---
1. Format a new USB drive with a single Ext3 partition, and label it rootfs.
2. As root user (sudo su), tar -xjf Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2, Adjust fstab. ext2 -> ext3, sync
3. Plug the USB drive to the Pogoplug, then boot



Edited 1 time(s). Last edit at 11/27/2016 11:58AM by xddy.
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
November 27, 2016 03:29PM
xddy ,

Regarding the Debian netconsole setup: http://forum.doozan.com/read.php?2,9522. Not really, you can't simply regenerate the initrd on Ubuntu at terminal (different architecture), you would have to qemu/chroot to generate it correctly.

> The box stuck somewhere
> and cannot get ip, front led stays green,

This means the kernel has started successfully but could not mount the rootfs for whatever reason. netconsole will not output any thing during this time so we are blind :)

> BTW, is my understanding correct? It looks like my
> Uboot works fine, so for kernel 4.4.0 with latest
> uboot, basically I should do the following:
>
>
> On my ubuntu desktop---
> 1. Format a new USB drive with a single Ext3
> partition, and label it rootfs.
> 2. As root user (sudo su), tar -xjf
> Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2,
> Adjust fstab. ext2 -> ext3, sync
> 3. Plug the USB drive to the Pogoplug, then boot
>

The steps look right. Usually I would always run whoami to verify that I am root before starting extracting the tarball.

Everything has checked out, and you still can't boot. If you like, post the entire terminal log while you are creating rootfs, so perhaps I can see something missing?

But verify the extreme case first: what type of USB flash drive is this? can you use a different one such as a Sandisk brand? some flash drives are really bad for booting (I had run into some generic or bad brands that it failed to boot consistently).

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
November 27, 2016 05:29PM
Hi bodhi, it's booted now after I switched to an oooooooold usb drive (I was using a sandisk cruzer blade on my pogoplug), phew~~~

I did have the idea to try another drive but would take it as the last way coz I've been using the sandisk cruzer blade on both E02 and dockstar for years with no issues.

Anyway, it's working now. Thank you sooooooo much for your help!!!!
Re: Pogoplug E02 kernel 4.8.3 stuck at "Starting kernel ..."
November 27, 2016 08:00PM
xddy Wrote:
-------------------------------------------------------
> Hi bodhi, it's booted now after I switched to an
> oooooooold usb drive (I was using a sandisk cruzer
> blade on my pogoplug), phew~~~
>
> I did have the idea to try another drive but would
> take it as the last way coz I've been using the
> sandisk cruzer blade on both E02 and dockstar for
> years with no issues.
>
> Anyway, it's working now. Thank you sooooooo much
> for your help!!!!

Cool!

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
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: