Welcome! Log In Create A New Profile

Advanced

Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3

Posted by celove2 
Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 18, 2019 07:34AM
I can not start. Help me please.

Log:
U-Boot 2015.10-tld-2 (Oct 21 2017 - 22:00:02 -0700)
OXNAS OX820

DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   dwmac.40400000
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... 1 Storage Device(s) found

Reset IDE: SATA PHY not ready for device 0
ide_preinit failed

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

Part    Start Sector    Num Sectors    UUID        Type
  1    2048          2013184       000a26dd-01    83
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 189 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4621824 bytes read in 465 ms (9.5 MiB/s)
loading uInitrd ...
4594376 bytes read in 437 ms (10 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
7067 bytes read in 194 ms (35.2 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Created:      2017-08-01   4:45:36 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Created:      2017-08-01   7:51:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 679c5000, end 67e26a88 ... OK
   Loading Device Tree to 679c0000, end 679c4b9a ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.



Edited 1 time(s). Last edit at 04/18/2019 07:47AM by bodhi.
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 18, 2019 07:49AM
celove2 ,

Interrupt serial console at countdown
Hit any key to stop autoboot:  0


And execute:
printenv
boot
And post the log here.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 18, 2019 08:03AM
Hit any key to stop autoboot:  0 
OX820> printenv
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; 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
disks=0 1 2 3
dtb_file=/boot/dts/ox820-pogoplug-pro.dtb
ethact=dwmac.40400000
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
ipaddr=192.168.0.222
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device 0x62c00000 $dtb_file
load_initrd=echo loading uInitrd ...; load $bootdev $device 0x60e00000 /boot/uInitrd
load_uimage=echo loading uImage ...; load $bootdev $device 0x60500000 /boot/uImage
mainlineLinux=yes
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
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 0x60500000 /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.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x60510000  $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 0x60500000 /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_custom_params=zswap.enabled=1
usb_ready_retry=15

Environment size: 2720/131068 bytes



OX820> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Reset IDE: SATA PHY not ready for device 0
ide_preinit failed

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

Part	Start Sector	Num Sectors	UUID		Type
  1	63        	156280257 	2e086695-01	83
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 190 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4621824 bytes read in 333 ms (13.2 MiB/s)
loading uInitrd ...
4594376 bytes read in 299 ms (14.7 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
7067 bytes read in 205 ms (33.2 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Created:      2017-08-01   4:45:36 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Created:      2017-08-01   7:51:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 679c4000, end 67e25a88 ... OK
   Loading Device Tree to 679bf000, end 679c3b9a ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 18, 2019 01:41PM
Probably your rootfs was not prepared properly. So we need to see more during kernel booting.

Interrupt serial console at countdown. And

setenv custom_params 'earlyprintk=serial'
boot

And post the log here.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 04/18/2019 01:42PM by bodhi.
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 18, 2019 03:40PM
Ok. Thanks.

Hit any key to stop autoboot:  0 
OX820> setenv custom_params 'earlyprintk=serial'
OX820> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Reset IDE: SATA PHY not ready for device 0
ide_preinit failed

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

Part	Start Sector	Num Sectors	UUID		Type
  1	63        	156280257 	2e086695-01	83
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 190 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4621824 bytes read in 333 ms (13.2 MiB/s)
loading uInitrd ...
4594376 bytes read in 306 ms (14.3 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
7067 bytes read in 206 ms (33.2 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Created:      2017-08-01   4:45:36 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Created:      2017-08-01   7:51:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 679c4000, end 67e25a88 ... OK
   Loading Device Tree to 679bf000, end 679c3b9a ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Pogoplug V3 Pro
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 12 pages/cpu @c7eda000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial
[    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: 116204K/131072K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 14868K 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 : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0827e14   (8320 kB)
[    0.000000]       .init : 0xc0828000 - 0xc0860000   ( 224 kB)
[    0.000000]       .data : 0xc0860000 - 0xc08a8378   ( 289 kB)
[    0.000000]        .bss : 0xc08a8378 - 0xc08e6350   ( 248 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000010] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008327] Console: colour dummy device 80x30
[    0.012879] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072583] pid_max: default: 32768 minimum: 301
[    0.077411] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084113] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092026] Initializing cgroup subsys net_cls
[    0.096601] CPU: Testing write buffer coherency: ok
[    0.101982] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239938] Brought up 2 CPUs
[    0.242979] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250129] devtmpfs: initialized
[    0.258923] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.268874] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275363] prandom: seed boundary self test passed
[    0.284689] prandom: 100 self tests passed
[    0.288860] pinctrl core: initialized pinctrl subsystem
[    0.294963] NET: Registered protocol family 16
[    0.300096] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329820] cpuidle: using governor ladder
[    0.359815] cpuidle: using governor menu
[    0.368995] gpio-oxnas 44000000.gpio: at address c8848000
[    0.374899] gpio-oxnas 44100000.gpio: at address c884a000
[    0.380968] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver


Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 18, 2019 07:34PM
On this box, when the kernel stops booting that early, there are 2 possible reasons.

1. What type of USB drive: brand, model? USB 2.0 or 3.0?

2. Did you become root before running the tar command to extract the Debian rootfs archive? Was it formatted as a single Ext3 partition?

Mount this USB rootfs on another Linux box. Assuming it is mounted at /media/sdb1.
mount
cd /media/sdb1
ls -lt
ls -lart /media/sdb1/boot

And please post the log of the above here.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 2 time(s). Last edit at 04/18/2019 07:45PM by bodhi.
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 19, 2019 12:38AM
I have 2 drives, 1 is a simple flash drive, for 1GB. USB 2.0
And the second drive is a box with a hard disk USB 3.0

The same error are on both flash drives


I took a disk image here https://github.com/Juul/pogoplug-pro-debian/releases


On Gparted formated and create ext3, label rootfs and extract:
sudo tar xvjf /path/to/Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2

Sorry for bad English.

$ cat etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
LABEL=rootfs    /               ext3    noatime,errors=remount-ro 0 1
tmpfs          /tmp            tmpfs   defaults          0       0



$ ls -lt
итого 88
drwxr-xr-x  3 root root  4096 aug  2  2017 boot
drwx------  5 root root  4096 aug  2  2017 root
drwxr-xr-x  2 root root  4096 aug  1  2017 bin
drwxr-xr-x  2 root root  4096 aug  1  2017 sbin
drwxr-xr-x 13 root root  4096 aug  1  2017 lib
drwxr-xr-x  2 root root  4096 aug  1  2017 mnt
drwxr-xr-x  2 root root  4096 feb  8  2013 run
drwxr-xr-x  5 root root  4096 feb 24  2012 dev
drwxr-xr-x  2 root root  4096 feb 24  2012 media
drwxr-xr-x  2 root root  4096 feb 24  2012 opt
drwxr-xr-x  2 root root  4096 feb 24  2012 srv
drwxr-xr-x 10 root root  4096 feb 24  2012 usr
drwx------  2 root root 16384 feb 24  2012 lost+found
drwxr-xr-x  2 root root  4096 jan 22  2012 home
drwxr-xr-x  2 root root  4096 jan 22  2012 proc
drwxr-xr-x  2 root root  4096 jan  1  2011 sys
drwxr-xr-x 61 root root  4096 jan  1  1970 etc
drwxrwxrwt  2 root root  4096 jan  1  1970 tmp
drwxr-xr-x 11 root root  4096 jan  1  1970 var


$ ls -lart /media/celovec/rootfs/boot 
итого 31612
drwxr-xr-x  2 root root    4096 dec 11  2016 dts
-rw-r--r--  1 root root  111194 mar 19  2017 config-4.4.54-oxnas-tld-1
-rwxr-xr-x  1 root root 4621760 mar 19  2017 zImage-4.4.54-oxnas-tld-1
-rw-------  1 root root 4621760 mar 19  2017 vmlinuz-4.4.54-oxnas-tld-1
-rw-------  1 root root 1712926 mar 19  2017 System.map-4.4.54-oxnas-tld-1
-rw-r--r--  1 root root 7378702 mar 19  2017 linux-headers-4.4.54-oxnas-tld-1_1.0_armel.deb
-rw-r--r--  1 root root 4621824 aug  1  2017 uImage
drwxr-xr-x 21 root root    4096 aug  1  2017 ..
-rw-r--r--  1 root root 4594312 aug  1  2017 initrd.img-4.4.54-oxnas-tld-1
-rw-r--r--  1 root root 4594376 aug  1  2017 uInitrd
drwxr-xr-x  3 root root    4096 aug  2  2017 .
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 19, 2019 01:02AM
Quote

I took a disk image here https://github.com/Juul/pogoplug-pro-debian/releases

That's never recommended. What Marc Juul did was wrong. He should point to my release thread in this forum to direct peope here to download the rootfs using my Dropbox link. That's the only way you can be sure that the rootfs was not tampered with. Or at the minimum, he should tell people to go here and get the sha256 hash so they can check the integrity of the rootfs.


Here is the release thread:
https://forum.doozan.com/read.php?2,16044

Scroll down to this section:

Quote

Updated 02 Aug 2017:

Rootfs Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2 was uploaded.

Basic Debian stretch Oxnas rootfs for Popo Pro/Classic V3 plug:

- tarball size: 180M
- install size: 477M
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, dialog, bz2, iperf, ethtool, sysvinit-core, sysvinit, sysvinit-utils, mtd-utils.
- see LED controls in /etc/rc.local, and /etc/rc0.d/K08halt
- see some useful aliases in /root/.profile
- root password: root

Download at Dropbox:

Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2

md5sum
48f68566cb9dbb1a95ca5457bee8f13d

sha256sum
00d9cea83acc4696afed1ad267e86d64d99557c26a17770116dd5443e322cf83

So download the rootfs using the link in the section above.


Also running the tar command this way is wrong.
sudo tar xvjf /path/to/Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2


Note the installation instruction said

Quote

INSTALLATION:

Installation can be done on any Linux box, with a fresh USB drive (HDD would work fine too). It is assuming the USB drive is mounted at /media/sdb1.

Note: all steps below must be done while logging in as root user (not sudo). If you are not the root user then don't continue, because the rootfs will not work.


You need to become root first, sudo will not work. So before extracting the archive
su -

And then

cd /media/sdb1 
tar -xjf Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 19, 2019 01:52AM
I can not find you dropbox link. you can give it to me?
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 19, 2019 02:37AM
Quote

Here is the release thread:
https://forum.doozan.com/read.php?2,16044

Scroll down to this section:

Quote

Updated 02 Aug 2017:

Rootfs Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2 was uploaded.

Basic Debian stretch Oxnas rootfs for Popo Pro/Classic V3 plug:

- tarball size: 180M
- install size: 477M
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, dialog, bz2, iperf, ethtool, sysvinit-core, sysvinit, sysvinit-utils, mtd-utils.
- see LED controls in /etc/rc.local, and /etc/rc0.d/K08halt
- see some useful aliases in /root/.profile
- root password: root

Download at Dropbox:

Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2

md5sum
48f68566cb9dbb1a95ca5457bee8f13d

sha256sum
00d9cea83acc4696afed1ad267e86d64d99557c26a17770116dd5443e322cf83

So download the rootfs using the link in the section above.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 19, 2019 06:19AM
Ok. Please look. I download you Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2

And:
celovec@Aspire-one:/$ sudo su
[sudo] password for celovec: 
root@Aspire-one:/# mkfs.ext3 -L rootfs /dev/sdb1
mke2fs 1.42 (29-Nov-2011)
Filesystem label=rootfs
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
4890624 inodes, 19537408 blocks
976870 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
597 block groups
32768 blocks per group, 32768 fragments per group
8192 inod'ов в группе
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624, 11239424

Allocating group tables: done                            
Сохранение таблицы inod'ов: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done   

root@Aspire-one:/# mount /dev/sdb1 /mnt/
root@Aspire-one:/# cd mnt/
root@Aspire-one:/mnt# ls
lost+found
root@Aspire-one:/mnt# tar xjf /home/celovec/Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2 
root@Aspire-one:/mnt# cd /
root@Aspire-one:/# umount /mnt/



Console
U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
  Boot device: NAND
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set


U-Boot 2015.10-tld-2 (Oct 21 2017 - 22:00:02 -0700)
OXNAS OX820

DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   dwmac.40400000
Hit any key to stop autoboot:  0 
OX820> setenv custom_params 'earlyprintk=serial'
OX820> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Reset IDE: SATA PHY not ready for device 0
ide_preinit failed

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	156299264 	2e086695-01	83
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 201 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4621824 bytes read in 334 ms (13.2 MiB/s)
loading uInitrd ...
4594376 bytes read in 307 ms (14.3 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
7067 bytes read in 210 ms (32.2 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Created:      2017-08-01   4:45:36 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Created:      2017-08-01   7:51:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 679c4000, end 67e25a88 ... OK
   Loading Device Tree to 679bf000, end 679c3b9a ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Pogoplug V3 Pro
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 12 pages/cpu @c7eda000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial
[    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: 116204K/131072K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 14868K 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 : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0827e14   (8320 kB)
[    0.000000]       .init : 0xc0828000 - 0xc0860000   ( 224 kB)
[    0.000000]       .data : 0xc0860000 - 0xc08a8378   ( 289 kB)
[    0.000000]        .bss : 0xc08a8378 - 0xc08e6350   ( 248 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000010] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008325] Console: colour dummy device 80x30
[    0.012876] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072586] pid_max: default: 32768 minimum: 301
[    0.077419] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084121] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092029] Initializing cgroup subsys net_cls
[    0.096601] CPU: Testing write buffer coherency: ok
[    0.101985] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239941] Brought up 2 CPUs
[    0.242990] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250140] devtmpfs: initialized
[    0.258572] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.268526] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275018] prandom: seed boundary self test passed
[    0.284341] prandom: 100 self tests passed
[    0.288512] pinctrl core: initialized pinctrl subsystem
[    0.294630] NET: Registered protocol family 16
[    0.299704] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329825] cpuidle: using governor ladder
[    0.359818] cpuidle: using governor menu
[    0.368983] gpio-oxnas 44000000.gpio: at address c8848000
[    0.374896] gpio-oxnas 44100000.gpio: at address c884a000
[    0.380961] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver



Edited 2 time(s). Last edit at 04/19/2019 01:48PM by celove2.
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 19, 2019 11:01PM
celove2,

I think it is your USB drive. Try using a different flash drive, preferably Sandisk brand. And plug in that drive only, to the port next to the Ethernet port in the back.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 24, 2019 08:06AM
Tested on 3 Flash. NOT WORK :(
Maybe problem in RAM memory?
How can test memory in u-boot?
Thanks.



Edited 1 time(s). Last edit at 04/24/2019 08:07AM by celove2.
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 25, 2019 01:13AM
celove2,

> Tested on 3 Flash. NOT WORK :(

Bummer!

> Maybe problem in RAM memory?

Not likely.

Let's try this. Let's load only uImage and the DTB, we don't care yet if the rootfs can be mounted (uInitrd does that). We'd want to see if the kernel can start and finish booting first (i.e. will go pass that point where it hang).



Power up, interrupt serial console and

setenv custom_params 'earlyprintk=serial'
setenv bootcmd_exec 'run load_uimage; run load_dtb; bootm 0x60500000 - 0x62c00000'
boot

And please post the log here.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 04/25/2019 01:14AM by bodhi.
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 25, 2019 02:37AM
Ok. Please look:

U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
  Boot device: NAND
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set


U-Boot 2015.10-tld-2 (Oct 21 2017 - 22:00:02 -0700)
OXNAS OX820

DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   dwmac.40400000
Hit any key to stop autoboot:  0 
OX820> setenv custom_params 'earlyprintk=serial'
OX820> setenv bootcmd_exec 'run load_uimage; run load_dtb; bootm 0x60500000 - 0x62c00000'
OX820> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Reset IDE: SATA PHY not ready for device 0
ide_preinit failed

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	156299264 	ad7e1d55-01	83 Boot
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 189 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4621824 bytes read in 367 ms (12 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
7067 bytes read in 202 ms (33.2 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Created:      2017-08-01   4:45:36 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Device Tree to 67e21000, end 67e25b9a ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Pogoplug V3 Pro
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 12 pages/cpu @c7eda000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial
[    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: 120696K/131072K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 10376K 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 : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0827e14   (8320 kB)
[    0.000000]       .init : 0xc0828000 - 0xc0860000   ( 224 kB)
[    0.000000]       .data : 0xc0860000 - 0xc08a8378   ( 289 kB)
[    0.000000]        .bss : 0xc08a8378 - 0xc08e6350   ( 248 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000007] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008325] Console: colour dummy device 80x30
[    0.012881] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072581] pid_max: default: 32768 minimum: 301
[    0.077409] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084113] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092029] Initializing cgroup subsys net_cls
[    0.096604] CPU: Testing write buffer coherency: ok
[    0.101990] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239936] Brought up 2 CPUs
[    0.242984] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250132] devtmpfs: initialized
[    0.258836] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.268784] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275274] prandom: seed boundary self test passed
[    0.284600] prandom: 100 self tests passed
[    0.288770] pinctrl core: initialized pinctrl subsystem
[    0.294886] NET: Registered protocol family 16
[    0.300014] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329822] cpuidle: using governor ladder
[    0.359815] cpuidle: using governor menu
[    0.368947] gpio-oxnas 44000000.gpio: at address c8848000
[    0.374855] gpio-oxnas 44100000.gpio: at address c884a000
[    0.380915] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 25, 2019 03:34AM
celove2,

I have a feeling that this problem seems quite familiar. I have probably seen it long ago, but now I could not find it in my notes for the Pogo Pro.


Do you have the Pogo Pro V3 with Wifi card? exactly which model number (look at the box or the sticker at the bottom of the case).

If you have the Pogo V3 Pro with Wifi card, try to open the case and unplug the card temporarily for now. And boot with out that Wifi card. It could cause the hang up if it is faulty.

And go back to booting with just these 2 commands:

setenv custom_params 'earlyprintk=serial'
boot

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 04/25/2019 03:35AM by bodhi.
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 25, 2019 03:50AM
POGO-P25 No WiFi module.
Attachments:
open | download - IMG_20190409_175240-min.jpg (888 KB)
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 25, 2019 04:00AM
Ah!

Then you need to use a different DTB, this is wrong:
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 04/25/2019 04:04AM by bodhi.
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 25, 2019 04:03AM
Try again

setenv custom_params 'earlyprintk=serial'
setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
boot

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 25, 2019 04:16AM
WORK!!!! THANKS!!!!
How i can save this boot configuration?
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 25, 2019 04:20AM
celove2,

> WORK!!!! THANKS!!!!
> How i can save this boot configuration?

Cool :)

Repeat the 2 commands and save it before booting
setenv custom_params 'earlyprintk=serial'
setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'
saveenv

boot

Next time it will be OK to let it boot automatically.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 25, 2019 04:28AM
Thank you very much. You and I did it!
Cool!
Re: Problem starting Linux Kernel 4.4.176 Oxnas (OX820) Pogo V3
April 25, 2019 04:51AM
celove2 Wrote:
-------------------------------------------------------
> Thank you very much. You and I did it!
> Cool!

Enjoy Debian on your Pogo box :)

-bodhi
===========================
Forum Wiki
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: