Welcome! Log In Create A New Profile

Advanced

Pogo B03 Hangs on boot - VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6

Posted by BobM 
Re-Posted As requested

I have followed your excellent guides to reconfigure my PogoPlug B03 OXNAS [I thought I had bought an EO2 but when it arrived I realised it was a V2 case with a V3 board). I have loaded the latest U-Boot successfully ( U-Boot 2015.10-tld-2 (Oct 21 2017 - 22:00:02 -0700) OXNAS OX820 and have been able to boot openWRT via tftp as well as following the rescue instructions to allow my plug to boot from the original linux partition. In the main, I am using a serial console plugged in to this device but I can access the booted platforms with putty across the network too.

I have tried installing what I believe is the latest Debian from your instructions here

## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.14.180-oxnas-tld-1
   Created:      1970-01-01   0:16:36 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4609276 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK

During the boot process, I saw this message sequence

[    3.780710] hctosys: unable to open rtc device (rtc0)
[    3.786608] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    3.794099] Please append a correct "root=" boot option; here are the available partitions:
[    3.802534] 1f00           14336 mtdblock0
[    3.802544]  (driver?)
[    3.809144] 1f01          116736 mtdblock1
[    3.809152]  (driver?)
[    3.815741] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    3.823997] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.180-oxnas-tld-1 #1
[    3.831111] Hardware name: Generic DT based system

The last two lines on the serial console before it hangs completely are:

[    4.008005] [<c014a270>] (cpu_startup_entry) from [<60101868>] (0x60101868)
[    4.014958] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)



The USB stick is EXT3 formatted 8GB capacity/partition. I blanked the stick and formatted it on a system which uses Zorin. On my last attempt to create the Boot drive, I extracted the files and linked (ox820-pogoplug-classic.dtb) using the the new kernel on the Pogoplug B03 via the serial console command prompt.

Anyone got any thoughts on where I should be looking?

Thanks - Bob
Thanks @rayknight

I used the command as requested
# e2label /dev/sdc1
to check the label and it confirmed the EXT partition had been formatted with the correct label (I used gparted to delete all the partition info and create one partition the full size with label rootfs. I also used the e2label command to relabel the partition just in case but got the same problem.

I booted the Pogo B03 from the NAND OS and remounted the stick to check the fstab which was also OK
# /etc/fstab: static file system information.
#
#ystem> <mount point>   <type>  <options>       <dump>  <pass>
LABEL=rootfs    /               ext3    noatime,errors=remount-ro 0 1
tmpfs          /tmp            tmpfs   defaults          0       0
~

As requested, here is the complete serial dump of the whole boot sequence:

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
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            30029824        703b9013-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 221 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4609340 bytes read in 365 ms (12 MiB/s)
loading uInitrd ...
6464907 bytes read in 368 ms (16.8 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
9032 bytes read in 226 ms (38.1 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.14.180-oxnas-tld-1
   Created:      1970-01-01   0:16:36 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4609276 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.14.180-oxnas-tld-1
   Created:      2020-05-15   3:58:49 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6464843 Bytes = 6.2 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 677fc000, end 67e2654b ... OK
   Loading Device Tree to 677f6000, end 677fb347 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.180-oxnas-tld-1 (root@tldDebian) (gcc version                                                                              8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr                                                                             =00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                                                                             n cache
[    0.000000] OF: fdt: Machine model: Pogoplug V3 Classic
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from start_kernel+0x84/0x3f8 with                                                                              crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29548 r8192 d23700 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: earlyprintk
[    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: 119028K/131072K available (7168K kernel code, 199K rwdata                                                                             , 1524K rodata, 1024K init, 245K bss, 12044K 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 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b31f68   ( 200 kB)
[    0.000000]        .bss : 0xc0b383b8 - 0xc0b757c0   ( 246 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ c8804000, 32 irqs, paren                                                                             t IRQ: 16
[    0.000015] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21                                                                             474835200ns
[    0.008166] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycl                                                                             es: 0xffffff, max_idle_ns: 19112603332 ns
[    0.018895] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.025052] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler                                                                              0 period 62500
[    0.033576] GIC: PPI13 is secure or misconfigured
[    0.038379] GIC: PPI13 is secure or misconfigured
[    0.043297] Console: colour dummy device 80x30
[    0.047813] console [tty0] enabled
[    0.051343] bootconsole [earlycon0] disabled
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.180-oxnas-tld-1 (root@tldDebian) (gcc version                                                                              8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr                                                                             =00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                                                                             n cache
[    0.000000] OF: fdt: Machine model: Pogoplug V3 Classic
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from start_kernel+0x84/0x3f8 with                                                                              crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29548 r8192 d23700 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: earlyprintk
[    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: 119028K/131072K available (7168K kernel code, 199K rwdata                                                                             , 1524K rodata, 1024K init, 245K bss, 12044K 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 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b31f68   ( 200 kB)
[    0.000000]        .bss : 0xc0b383b8 - 0xc0b757c0   ( 246 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ c8804000, 32 irqs, paren                                                                             t IRQ: 16
[    0.000015] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21                                                                             474835200ns
[    0.008166] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycl                                                                             es: 0xffffff, max_idle_ns: 19112603332 ns
[    0.018895] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.025052] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler                                                                              0 period 62500
[    0.033576] GIC: PPI13 is secure or misconfigured
[    0.038379] GIC: PPI13 is secure or misconfigured
[    0.043297] Console: colour dummy device 80x30
[    0.047813] console [tty0] enabled
[    0.051343] bootconsole [earlycon0] disabled
[    0.055710] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.098483] pid_max: default: 32768 minimum: 301
[    0.098759] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.098803] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.099799] CPU: Testing write buffer coherency: ok
[    0.138534] Setting up static identity map for 0x60100000 - 0x60100038
[    0.158433] Hierarchical SRCU implementation.
[    0.198438] smp: Bringing up secondary CPUs ...
[    0.268544] GIC: PPI13 is secure or misconfigured
[    0.328716] smp: Brought up 1 node, 2 CPUs
[    0.328780] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.329413] devtmpfs: initialized
[    0.334343] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                             x_idle_ns: 19112604462750000 ns
[    0.334400] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.334771] prandom: seed boundary self test passed
[    0.339077] prandom: 100 self tests passed
[    0.339110] pinctrl core: initialized pinctrl subsystem
[    0.339822] NET: Registered protocol family 16
[    0.341383] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.343582] cpuidle: using governor ladder
[    0.343672] cpuidle: using governor menu
[    0.361546] vgaarb: loaded
[    0.362101] SCSI subsystem initialized
[    0.362826] usbcore: registered new interface driver usbfs
[    0.362941] usbcore: registered new interface driver hub
[    0.363125] usbcore: registered new device driver usb
[    0.363325] pps_core: LinuxPPS API ver. 1 registered
[    0.363371] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                                             tti <giometti@linux.it>
[    0.363435] PTP clock support registered
[    0.364451] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.380295] NET: Registered protocol family 2
[    0.381227] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.381304] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.381360] TCP: Hash tables configured (established 1024 bind 1024)
[    0.381544] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.381621] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.381921] NET: Registered protocol family 1
[    0.382702] RPC: Registered named UNIX socket transport module.
[    0.382758] RPC: Registered udp transport module.
[    0.382786] RPC: Registered tcp transport module.
[    0.382814] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.384307] Initialise system trusted keyrings
[    0.384401] Key type blacklist registered
[    0.384819] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.391557] zbud: loaded
[    0.396352] NFS: Registering the id_resolver key type
[    0.396426] Key type id_resolver registered
[    0.396454] Key type id_legacy registered
[    0.396497] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.396531] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.397391] fuse init (API version 7.26)
[    0.398333] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.398638] orangefs_init: module version upstream loaded
[    2.346296] Key type asymmetric registered
[    2.346360] Asymmetric key parser 'x509' registered
[    2.346475] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                                             49)
[    2.346521] io scheduler noop registered
[    2.346547] io scheduler deadline registered
[    2.346621] io scheduler cfq registered (default)
[    2.348244] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    2.349739] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud =                                                                              390625) is a 16550A
[    2.918144] console [ttyS0] enabled
[    2.932277] loop: module loaded
[    2.937336] scsi host0: sata_oxnas
[    2.941061] ata1: SATA max UDMA/133 irq 57
[    2.945328] sata_oxnas: resetting SATA core
[    3.014794] nand: Could not find valid ONFI parameter page; aborting
[    3.021158] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    3.027550] nand: Hynix NAND 128MiB 3,3V 8-bit
[    3.032000] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz                                                                             e: 64
[    3.039603] Scanning device for bad blocks
[    3.060523] Bad eraseblock 208 at 0x000001a00000
[    3.131105] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    3.138196] Creating 2 MTD partitions on "41000000.nand-controller":
[    3.144599] 0x000000000000-0x000000e00000 : "boot"
[    3.150955] 0x000000e00000-0x000008000000 : "data"
[    3.158906] libphy: Fixed MDIO Bus: probed
[    3.163440] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    3.169420] oxnas-dwmac 40400000.ethernet: no reset control found
[    3.244554] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    3.249623] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    3.255329] oxnas-dwmac 40400000.ethernet: DMA HW capability register support                                                                             ed
[    3.262632] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    3.269437] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    3.276078] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine support                                                                             ed
[    3.283381] oxnas-dwmac 40400000.ethernet: COE Type 2
[    3.286379] ata1: SATA link down (SStatus 0 SControl 310)
[    3.288453] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    3.300712] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    3.307010] oxnas-dwmac 40400000.ethernet (unnamed net_device) (uninitialized                                                                             ): device MAC address 9e:f8:53:95:1f:70
[    3.317550] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchd                                                                             og Timer
[    3.334878] libphy: stmmac: probed
[    3.338301] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_                                                                             addr=stmmac-0:00, irq=POLL)
[    3.347814] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_                                                                             addr=stmmac-0:03, irq=POLL)
[    3.358261] PPP generic driver version 2.4.2
[    3.362813] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.369390] ehci-pci: EHCI PCI platform driver
[    3.574515] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    3.580052] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus nu                                                                             mber 1
[    3.587978] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    3.614517] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    3.620838] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.627683] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                                             1
[    3.634938] usb usb1: Product: EHCI Host Controller
[    3.639810] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd
[    3.646448] usb usb1: SerialNumber: 40200100.ehci
[    3.651980] hub 1-0:1.0: USB hub found
[    3.655907] hub 1-0:1.0: 2 ports detected
[    3.660945] usbcore: registered new interface driver cdc_wdm
[    3.666810] usbcore: registered new interface driver usb-storage
[    3.672954] usbcore: registered new interface driver usbserial
[    3.678919] usbcore: registered new interface driver usbserial_generic
[    3.685537] usbserial: USB Serial support registered for generic
[    3.691860] mousedev: PS/2 mouse device common for all mice
[    3.697638] i2c /dev entries driver
[    3.702348] hidraw: raw HID events driver (C) Jiri Kosina
[    3.708003] usbcore: registered new interface driver usbhid
[    3.713574] usbhid: USB HID core driver
[    3.718727] NET: Registered protocol family 10
[    3.724689] Segment Routing with IPv6
[    3.728450] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.736097] NET: Registered protocol family 17
[    3.740669] Key type dns_resolver registered
[    3.746104] registered taskstats version 1
[    3.750218] Loading compiled-in X.509 certificates
[    3.755161] zswap: loaded using pool lzo/zbud
[    3.767449] Key type big_key registered
[    3.773836] Key type encrypted registered
[    3.779834] hctosys: unable to open rtc device (rtc0)
[    3.785735] VFS: Cannot open root device "(null)" or unknown-block(0,0): erro                                                                             r -6
[    3.793221] Please append a correct "root=" boot option; here are the availab                                                                             le partitions:
[    3.801658] 1f00           14336 mtdblock0
[    3.801666]  (driver?)
[    3.808268] 1f01          116736 mtdblock1
[    3.808276]  (driver?)
[    3.814863] Kernel panic - not syncing: VFS: Unable to mount root fs on unkno                                                                             wn-block(0,0)
[    3.823121] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.180-oxnas-tld-1 #1
[    3.830238] Hardware name: Generic DT based system
[    3.835046] [<c01095b0>] (unwind_backtrace) from [<c01053bc>] (show_stack+0x1                                                                             0/0x14)
[    3.842792] [<c01053bc>] (show_stack) from [<c07384cc>] (dump_stack+0xb4/0xd0                                                                             )
[    3.850022] [<c07384cc>] (dump_stack) from [<c0111b88>] (panic+0xec/0x268)
[    3.856901] [<c0111b88>] (panic) from [<c0a012bc>] (mount_block_root+0x1e0/0x                                                                             2a8)
[    3.864381] [<c0a012bc>] (mount_block_root) from [<c0a0146c>] (mount_root+0xe                                                                             8/0x128)
[    3.872207] [<c0a0146c>] (mount_root) from [<c0a015dc>] (prepare_namespace+0x                                                                             130/0x194)
[    3.880204] [<c0a015dc>] (prepare_namespace) from [<c0a00e5c>] (kernel_init_f                                                                             reeable+0x17c/0x1c4)
[    3.889062] [<c0a00e5c>] (kernel_init_freeable) from [<c074b198>] (kernel_ini                                                                             t+0x8/0x110)
[    3.897231] [<c074b198>] (kernel_init) from [<c01029b8>] (ret_from_fork+0x14/                                                                             0x3c)
[    3.904798] CPU1: stopping
[    3.907522] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.180-oxnas-tld-1 #1
[    3.914639] Hardware name: Generic DT based system
[    3.919439] [<c01095b0>] (unwind_backtrace) from [<c01053bc>] (show_stack+0x1                                                                             0/0x14)
[    3.927178] [<c01053bc>] (show_stack) from [<c07384cc>] (dump_stack+0xb4/0xd0                                                                             )
[    3.934400] [<c07384cc>] (dump_stack) from [<c01082a8>] (handle_IPI+0x190/0x1                                                                             dc)
[    3.941788] [<c01082a8>] (handle_IPI) from [<c01014c8>] (gic_handle_irq+0x7c/                                                                             0x8c)
[    3.949352] [<c01014c8>] (gic_handle_irq) from [<c0106278>] (__irq_svc+0x58/0                                                                             x8c)
[    3.956820] Exception stack(0xc7865f70 to 0xc7865fb8)
[    3.961861] 5f60:                                     00000001 00000000 00000                                                                             000 00000000
[    3.970024] 5f80: 00000000 ffffe000 c0b03ae4 c0b03a88 00000000 00000000 c0a39                                                                             e68 c08f607c
[    3.978188] 5fa0: 00000000 c7865fc0 c0103278 c010327c 60000013 ffffffff
[    3.984793] [<c0106278>] (__irq_svc) from [<c010327c>] (arch_cpu_idle+0x28/0x                                                                             30)
[    3.992189] [<c010327c>] (arch_cpu_idle) from [<c0149f5c>] (do_idle+0x180/0x1                                                                             d4)
[    3.999577] [<c0149f5c>] (do_idle) from [<c014a270>] (cpu_startup_entry+0x18/                                                                             0x1c)
[    4.007139] [<c014a270>] (cpu_startup_entry) from [<60101868>] (0x60101868)
[    4.014097] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs                                                                              on unknown-block(0,0)

Any pointers gratefully received - Bob



Edited 1 time(s). Last edit at 10/26/2020 06:08PM by BobM.
Please restart and stop the autoboot process by hitting a key. Then at the uboot prompt run 'printenv' and post the output.

Ray
Re: Pogo B03 Hangs on boot - VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
October 26, 2020 10:53PM
BobM,

There was a mis-step: you should not do Step 4. Step 4 is only when you boot with stock u-boot.

Quote

4. Create uImage with embedded DTB for booting with stock u-boot. Skip this step if you have installed the latest released uboot for OXNAS, or are installing this u-boot at the same time.

- If you have the Pogo V3 Classic (without Wifi), then the DTB name below should be ox820-pogoplug-classic.dtb (see below for the list of OX820 DTBs).

cd /media/sdb1/boot
cp -a uImage uImage.orig
cp -a zImage-4.14.180-oxnas-tld-1 zImage.fdt
cat dts/ox820-pogoplug-pro.dtb >> zImage.fdt
mkimage -A arm -O linux -C none -T kernel -a 0x60008000 -e 0x60008000 -n 'Linux-4.14.180-oxnas-tld-1' -d zImage.fdt uImage
sync


So you need to reverse Step 4. Mount the rootfs on another Linux and assuming it is mounted at /media/sdb1,

cd /media/sdb1/boot
cp -a uImage.orig  uImage
sync
And umount bring it back to the Pogo and boot.

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



Edited 1 time(s). Last edit at 10/26/2020 11:17PM by bodhi.
Doh - schoolboy error - the first few times, I was skipping that step when I was having other problems then got into some sort of autopilot groundhog loop doing it.

The latest config of my Sandisk USB stick is GPT partition table with an EXT4 single partition called rootfs. I copied back the correct uImage as requested by bodhi and this produces a hang at a different point. The new serial dump is below:


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

Part    Start LBA       End LBA         Name
        Attributes
        Type GUID
        Partition GUID
  1     0x00000800      0x01ca37ff      ""
        attrs:  0x0000000000000000
        type:   0fc63daf-8483-4772-8e79-3d69d8477de4
        guid:   b97e15d0-6cbf-4574-a394-ed25a18c0f64
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 221 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4600448 bytes read in 417 ms (10.5 MiB/s)
loading uInitrd ...
6464907 bytes read in 443 ms (13.9 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
9032 bytes read in 227 ms (38.1 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.14.180-oxnas-tld-1
   Created:      2020-05-15   3:58:34 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4600384 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.14.180-oxnas-tld-1
   Created:      2020-05-15   3:58:49 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6464843 Bytes = 6.2 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 677fc000, end 67e2654b ... OK
   Loading Device Tree to 677f6000, end 677fb347 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.180-oxnas-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020
[    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] OF: fdt: Machine model: Pogoplug V3 Pro
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from start_kernel+0x84/0x3f8 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29548 r8192 d23700 u61440
[    0.000000] Built 1 zonelists, 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)
[    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: 112712K/131072K available (7168K kernel code, 199K rwdata, 1524K rodata, 1024K init, 245K bss, 18360K 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 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b31f68   ( 200 kB)
[    0.000000]        .bss : 0xc0b383b8 - 0xc0b757c0   ( 246 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ c8804000, 32 irqs, parent IRQ: 16
[    0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000048] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000064] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000089] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000238] GIC: PPI13 is secure or misconfigured
[    0.000289] GIC: PPI13 is secure or misconfigured
[    0.000458] Console: colour dummy device 80x30
[    0.000501] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050383] pid_max: default: 32768 minimum: 301
[    0.050641] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050667] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051555] CPU: Testing write buffer coherency: ok
[    0.090447] Setting up static identity map for 0x60100000 - 0x60100038
[    0.110346] Hierarchical SRCU implementation.
[    0.150346] smp: Bringing up secondary CPUs ...
[    0.220451] GIC: PPI13 is secure or misconfigured
[    0.280629] smp: Brought up 1 node, 2 CPUs
[    0.280660] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.281387] devtmpfs: initialized
[    0.286635] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.286673] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.287006] prandom: seed boundary self test passed
[    0.291297] prandom: 100 self tests passed
[    0.291315] pinctrl core: initialized pinctrl subsystem
[    0.292016] NET: Registered protocol family 16
[    0.293629] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.296010] cpuidle: using governor ladder
[    0.296081] cpuidle: using governor menu
[    0.314419] vgaarb: loaded
[    0.314920] SCSI subsystem initialized
[    0.315645] usbcore: registered new interface driver usbfs
[    0.315737] usbcore: registered new interface driver hub
[    0.315880] usbcore: registered new device driver usb
[    0.316078] pps_core: LinuxPPS API ver. 1 registered
[    0.316096] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.316131] PTP clock support registered
[    0.317150] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.332940] NET: Registered protocol family 2
[    0.333806] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.333849] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.333888] TCP: Hash tables configured (established 1024 bind 1024)
[    0.334049] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.334100] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.334361] NET: Registered protocol family 1
[    0.335119] RPC: Registered named UNIX socket transport module.
[    0.335142] RPC: Registered udp transport module.
[    0.335155] RPC: Registered tcp transport module.
[    0.335168] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.335554] Unpacking initramfs...
[    1.045194] Freeing initrd memory: 6316K
[    1.046407] Initialise system trusted keyrings
[    1.046479] Key type blacklist registered
[    1.046766] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.054236] zbud: loaded
[    1.058831] NFS: Registering the id_resolver key type
[    1.058877] Key type id_resolver registered
[    1.058890] Key type id_legacy registered
[    1.058918] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.058931] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.059750] fuse init (API version 7.26)
[    1.060605] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.060871] orangefs_init: module version upstream loaded
[    3.054113] Key type asymmetric registered
[    3.054138] Asymmetric key parser 'x509' registered
[    3.054241] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    3.054259] io scheduler noop registered
[    3.054272] io scheduler deadline registered
[    3.054330] io scheduler cfq registered (default)
[    3.056519] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    3.058119] console [ttyS0] disabled
[    3.058255] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    3.632555] console [ttyS0] enabled
[    3.646681] loop: module loaded
[    3.651696] scsi host0: sata_oxnas
[    3.655426] ata1: SATA max UDMA/133 irq 57
[    3.659663] sata_oxnas: resetting SATA core
[    3.727505] nand: Could not find valid ONFI parameter page; aborting
[    3.733844] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    3.740221] nand: Hynix NAND 128MiB 3,3V 8-bit
[    3.744647] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.752227] Scanning device for bad blocks
[    3.773071] Bad eraseblock 208 at 0x000001a00000
[    3.843130] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    3.850183] Creating 2 MTD partitions on "41000000.nand-controller":
[    3.856514] 0x000000000000-0x000000e00000 : "boot"
[    3.862950] 0x000000e00000-0x000008000000 : "data"
[    3.870835] libphy: Fixed MDIO Bus: probed
[    3.875310] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    3.881192] oxnas-dwmac 40400000.ethernet: no reset control found
[    3.957258] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    3.962298] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    3.967987] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    3.975260] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    3.982044] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    3.988656] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    3.995932] oxnas-dwmac 40400000.ethernet: COE Type 2
[    3.999042] ata1: SATA link down (SStatus 0 SControl 310)
[    4.000985] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    4.013253] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    4.019532] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.070661] libphy: stmmac: probed
[    4.074065] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    4.083560] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    4.094059] PPP generic driver version 2.4.2
[    4.098641] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.105144] ehci-pci: EHCI PCI platform driver
[    4.317217] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    4.322723] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    4.330608] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    4.357222] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    4.363553] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.370370] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.377600] usb usb1: Product: EHCI Host Controller
[    4.382458] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd
[    4.389073] usb usb1: SerialNumber: 40200100.ehci
[    4.394595] hub 1-0:1.0: USB hub found
[    4.398497] hub 1-0:1.0: 2 ports detected
[    4.403502] usbcore: registered new interface driver cdc_wdm
[    4.409338] usbcore: registered new interface driver usb-storage
[    4.415470] usbcore: registered new interface driver usbserial
[    4.421422] usbcore: registered new interface driver usbserial_generic
[    4.428019] usbserial: USB Serial support registered for generic
[    4.434296] mousedev: PS/2 mouse device common for all mice
[    4.440038] i2c /dev entries driver
[    4.444815] hidraw: raw HID events driver (C) Jiri Kosina
[    4.450457] usbcore: registered new interface driver usbhid
[    4.456007] usbhid: USB HID core driver
[    4.461158] NET: Registered protocol family 10
[    4.467025] Segment Routing with IPv6
[    4.470868] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.478533] NET: Registered protocol family 17
[    4.483084] Key type dns_resolver registered
[    4.488599] registered taskstats version 1
[    4.492682] Loading compiled-in X.509 certificates
[    4.497607] zswap: loaded using pool lzo/zbud
[    4.578703] Key type big_key registered
[    4.620072] Key type encrypted registered
[    4.767183] usb 1-1: new high-speed USB device number 2 using oxnas-ehci

The USB stick is currently in the slot nearest the Ethernet cable. I also noticed that there is a NAND error line 3.773071 but I thought the system would just mark that as a bad block.

As requested by Ray, This is the Uboot environment
OX820> printenv
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; run bootcmd_stock; reset
=192.168.100.211 load_uimage; if run load_initrd; then if run load_dtb; then booload_dtb=echo loading DTB $dtb_file ...; load $bootdev $device 0x62c00000 $dtb_fset_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 0x60500000  $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: 3387/131068 bytes

Cheers
Re: Pogo B03 Hangs on boot - VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
October 27, 2020 04:49PM
BobM,

Quote

[ 4.767183] usb 1-1: new high-speed USB device number 2 using oxnas-ehci

Unfortunately, this is the case that I have seen in the past with a USB 3.0 flash drive, even with Sandisk USB 3.0 (The older oxnas-ehci driver was still being improved as each version). I'm guessing yours is a flash USB 3.0 drive? What capacity is this ? (if it is 32GB Ultra Fit then don't use it for rootfs).

Assuming it is not 32GB Ultra Fit.

The quickest way to solve is to use a USB 2.0 flash drive for rootfs. Or connect a USB 3.0 hub, attach this rootfs to the hub. These are to test my theory of the problem.

After you got it booting OK, then update the kernel to linux-4.14.198-oxnas-tld-1. And then try to transition back to USB 3.0 at some point. Currently I'm booting my Pogo Pro with Sandisk Ultra Fit USB 3.0 16GB. The only difference is my drive has MBR partition (just a data point, GPT/MBR should not be an issue).

-bodhi
===========================
Forum Wiki
bodhi's corner
USB Sticks seem to be the bain of my life with this project! I had lots of problems with USB sticks on my PogoV4 which all seemed to melt away once I got the SDCARD to boot. That's now happily working as a Samba Server with a USB 64GB Ultra Fit for the data.

The stick I am using in the B03 is a SanDisk Ultra USB 3.0 16GB. I just put it back to GPT/EXT3 so I could recopy the uboot environment which seemed to have become very random/corrupt when I copied it out for Ray.

I will dig out another stick as I don't have a hub and let you know how I get on.

Thanks - Bob
I don't have a USB hub to hand but I have now tried a SanDisk Cruzer Orbit 16Gb with an EXT3 partition and this stops in the same place. Although I have been formatting all my sticks on a Zorin based machine, I expand the tar file on the Pogo using the original Pogo OS to boot. This allows me to mount any EXT3 partition on my USB 2.0 or USB 3.0 sticks and expand the Debian tar. I also have two other sticks, one Samsung and one unbranded that when mounted, and I start the tar, I get messages like

[   91.730000] EXT3-fs error (device sda1): ext3_new_block: Allocating block in system zone - blocks from 393666, length 1
[   91.740000] EXT3-fs error (device sda1): ext3_new_block: Allocating block in system zone - blocks from 393667, length 1

All very frustrating. - Bob
Re: Pogo B03 Hangs on boot - VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
October 28, 2020 08:56PM
Bob,

> I don't have a USB hub to hand but I have now
> tried a SanDisk Cruzer Orbit 16Gb with an EXT3
> partition and this stops in the same place.

Please post the boot log with SanDisk Cruzer Orbit rootfs. This problem with mounting rootfs could be because of a few different reasons..

-bodhi
===========================
Forum Wiki
bodhi's corner
Hi Bodhi,

Appreciate your time. The first log is me booting into the onboard OS in NAND, inserting the memory stick, running e2fsck then mounting the drive. The second is after performing a warm reboot (warm or cold seems to make no difference). The hispeed USB device is recognised in both instances but something about the Debian environment on the USB stick seems to be unhappy but I don't know how to drill down further I'm afraid. I did have a quick look at the instructions for how to bring the Kernel up to the latest version - I had to have a few beers to steady myself. is it possible to make the new kernal booted from the NAND Pogo O/S?

BTW - Just tried a USB2 unpowered hub this evening and the system stops in the same place.

Logs below as requested

1. Boot from NAND O/S, Insert Sandisk Cruzer (port nearest ethernet), check and mount


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
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

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

no USB devices available

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: SATA PHY not ready for device 0
ide_preinit failed
device ide 0:1
** Bad device size - ide 0 **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
loading uImage ...
** Bad device usb 0 **
loading uInitrd ...
** Bad device usb 0 **
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
** Bad device usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!

Loading from nand0, offset 0x200000
   Image Name:   Linux-2.6.31.6_SMP_820
   Created:      2011-02-08  20:09:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2258192 Bytes = 2.2 MiB
   Load Address: 60008000
   Entry Point:  60008000
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-2.6.31.6_SMP_820
   Created:      2011-02-08  20:09:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2258192 Bytes = 2.2 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux................................................................................................................................... done, booting the kernel.
[    0.000000] Linux version 2.6.31.6_SMP_820 (bdietrich@brad-ux) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #96 SMP Tue Feb 8 12:08:54 PST 2011
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: Oxsemi NAS
[    0.000000] 1 memory region
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M
[    0.000000] PID hash table entries: 512 (order: 9, 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: 128MB = 128MB total
[    0.000000] Memory: 125496KB available (3712K code, 275K data, 120K init, 0K highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:96
[    0.000000] OX820_RPS_init_irq: interrupts 64 to 96
[    0.010000] Console: colour dummy device 80x30
[    0.010000] console [ttyS0] enabled
[    0.020000] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.240000] Security Framework initialized
[    0.240000] Mount-cache hash table entries: 512
[    0.250000] CPU: Testing write buffer coherency: ok
[    0.250000] Calibrating local timer... 424.49MHz.
[    0.320000] CPU1: Booted secondary processor
[    0.420000] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.630000] Brought up 2 CPUs
[    0.640000] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.650000] NET: Registered protocol family 16
[    0.650000] Number of DMA channels = 4, version = 4
[    0.660000] Reserving a DMA channel for DirectRAID
[    0.660000] Allocating 389 SRAM generic DMA descriptors
[    0.680000] bio: create slab <bio-0> at 0
[    0.680000] SCSI subsystem initialized
[    0.720000] NET: Registered protocol family 2
[    0.720000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.730000] Switched to NOHz mode on CPU #0
[    0.730000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.730000] Switched to NOHz mode on CPU #1
[    0.740000] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.750000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.750000] TCP reno registered
[    0.760000] NET: Registered protocol family 1
[    0.760000] Create fragment cache
[    0.770000] fuse init (API version 7.12)
[    0.770000] msgmni has been set to 245
[    0.780000] alg: No test for stdrng (krng)
[    0.780000] io scheduler noop registered
[    0.790000] io scheduler anticipatory registered
[    0.790000] io scheduler deadline registered
[    0.800000] io scheduler cfq registered (default)
[    0.820000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.820000] serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A
[    0.840000] brd: module loaded
[    0.850000] loop: module loaded
[    0.850000] ox820sata: OX820 sata core.
[    0.850000] scsi0 : oxnassata
[    0.860000] scsi1 : oxnassata
[    0.860000] ata1: SATA max UDMA/133 irq 50
[    0.870000] ata2: SATA max UDMA/133 irq 50
[    0.870000] ox820sata: reseting SATA core
[    1.230000] ata1: SATA link down (SStatus 0 SControl 300)
[    1.230000] ox820sata: reseting SATA core
[    1.590000] ata2: SATA link down (SStatus 0 SControl 300)
[    1.590000] tun: Universal TUN/TAP device driver, 1.6
[    1.600000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.600000] NAND: Page read time 40ms
[    1.610000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[    1.610000] Scanning device for bad blocks
[    1.630000] Bad eraseblock 208 at 0x000001a00000
[    1.690000] Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit":
[    1.700000] 0x000000000000-0x000000e00000 : "boot"
[    1.700000] 0x000000e00000-0x000008000000 : "rootfs"
[    1.710000] UBI: attaching mtd2 to ubi0
[    1.710000] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    1.720000] UBI: logical eraseblock size:    129024 bytes
[    1.720000] UBI: smallest flash I/O unit:    2048
[    1.730000] UBI: sub-page size:              512
[    1.730000] UBI: VID header offset:          512 (aligned 512)
[    1.740000] UBI: data offset:                2048
[    2.090000] UBI: attached mtd2 to ubi0
[    2.090000] UBI: MTD device name:            "rootfs"
[    2.100000] UBI: MTD device size:            114 MiB
[    2.100000] UBI: number of good PEBs:        911
[    2.110000] UBI: number of bad PEBs:         1
[    2.110000] UBI: max. allowed volumes:       128
[    2.110000] UBI: wear-leveling threshold:    4096
[    2.120000] UBI: number of internal volumes: 1
[    2.120000] UBI: number of user volumes:     1
[    2.130000] UBI: available PEBs:             0
[    2.130000] UBI: total number of reserved PEBs: 911
[    2.140000] UBI: number of PEBs reserved for bad PEB handling: 9
[    2.140000] UBI: max/mean erase counter: 4/1
[    2.150000] UBI: image sequence number: 0
[    2.150000] UBI: background thread "ubi_bgt0d" started, PID 275
[    2.160000] mice: PS/2 mouse device common for all mice
[    2.160000] TCP cubic registered
[    2.170000] NET: Registered protocol family 10
[    2.170000] NET: Registered protocol family 17
[    2.180000] RPC: Registered udp transport module.
[    2.180000] RPC: Registered tcp transport module.
[    2.290000] UBIFS: recovery needed
[    2.440000] UBIFS: recovery completed
[    2.440000] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    2.450000] UBIFS: file system size:   114444288 bytes (111762 KiB, 109 MiB, 887 LEBs)
[    2.460000] UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
[    2.460000] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    2.470000] UBIFS: default compressor: zlib
[    2.470000] UBIFS: reserved for root:  0 bytes (0 KiB)
[    2.480000] VFS: Mounted root (ubifs filesystem) on device 0:10.
[    2.490000] Freeing init memory: 120K
[    2.900000] Probing for Synopsis GMAC, unit 0
[    2.910000] eth0: Tuning GMAC 0 RGMII timings
[    2.910000] eth0: PHY is Realtek RTL8211D, type 0x001cc914
[    2.920000] eth0: GMAC ver = 53, vendor ver = 18 at 0xed400000, IRQ 40
[    2.920000] eth0: Found PHY at address 3, type 0x001cc914 -> 10/100/1000
[    2.930000] eth0: Ethernet addr: 00:30:e0:00:00:00
[    2.940000] eth0: PHY is Realtek RTL8211D, type 0x001cc914
[    2.950000] Offload is not active on eth0
[    2.950000] Alloc'ing ARM descs 10240 bytes
[    2.960000] eth0: Resetting GMAC
[    2.960000] eth0: GMAC reset complete
[    2.970000] eth0: Setting Rx flow control thresholds for LAN port
[    3.520000] eth0: PHY is Realtek RTL8211D, type 0x001cc914
[    4.020000] eth0: link down
[    5.980000] ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.16.1) started
[    6.020000] eth0: link up, 100Mbps, full-duplex, using pause, lpa 0x45E1
[    6.020000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
HWADDR 00 0x30 0xe0 0x00 0x00 0x00
PIP0 0
PIP1 0
cat: can't open '/etc/resolv.conf': No such file or directory
route: SIOCDELRT: No such process
grep: /etc/resolv.conf: No such file or directory
Sending discover...
Sending select for 192.168.100.213...
Lease of 192.168.100.213 obtained, lease time 86400
HWADDR 00 0x30 0xe0 0x00 0x00 0x00
PIP0 0
PIP1 0
route: SIOCDELRT: No such process
[    7.540000] usbcore: registered new interface driver usbfs
[    7.560000] usbcore: registered new interface driver hub
[    7.560000] usbcore: registered new device driver usb
[    7.610000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.620000] oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller
[    7.620000] oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1
[    7.660000] oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000
[    7.680000] oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00
[    7.690000] usb usb1: configuration #1 chosen from 1 choice
[    7.700000] hub 1-0:1.0: USB hub found
[    7.700000] hub 1-0:1.0: 2 ports detected
[    7.780000] Initializing USB Mass Storage driver...
[    7.780000] usbcore: registered new interface driver usb-storage
[    7.790000] USB Mass Storage support registered.
/ # [    8.020000] usb 1-1: new high speed USB device using oxnas-ehci and address 2
[    8.170000] usb 1-1: configuration #1 chosen from 1 choice
[    8.180000] hub 1-1:1.0: USB hub found
[    8.190000] hub 1-1:1.0: 4 ports detected

/ #
/ # cd tools
/tools # ls
busybox           flash_erase       fw_setenv
current_envs.txt  fw_env.config     nanddump
e2fsck            fw_printenv       nandwrite
/tools # /tools/e2fsck /dev/sda1
e2fsck 1.41.12 (17-May-2010)
/tools/e2fsck: No such device or address while trying to open /dev/sda1
Possibly non-existent or swap device?
/tools #
/tools # [   61.920000] usb 1-1.1: new high speed USB device using oxnas-ehci and address 3
[   62.030000] usb 1-1.1: configuration #1 chosen from 1 choice
[   62.040000] scsi2 : SCSI emulation for USB Mass Storage devices
[   67.060000] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Orbit     1.27 PQ: 0 ANSI: 6
[   67.080000] sd 2:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[   67.090000] sd 2:0:0:0: [sda] Write Protect is off
[   67.090000] sd 2:0:0:0: [sda] Assuming drive cache: write through
[   67.100000] sd 2:0:0:0: [sda] Assuming drive cache: write through
[   67.110000]  sda: sda1
[   67.150000] sd 2:0:0:0: [sda] Assuming drive cache: write through
[   67.150000] sd 2:0:0:0: [sda] Attached SCSI removable disk

/tools # /tools/e2fsck /dev/sda1
e2fsck 1.41.12 (17-May-2010)
rootfs: clean, 13947/977280 files, 330578/3907840 blocks
/tools # mount /dev/sda1 /mnt/USB
[  117.430000] kjournald starting.  Commit interval 5 seconds
[  117.430000] EXT3 FS on sda1, internal journal
[  117.440000] EXT3-fs: mounted filesystem with writeback data mode.
/tools # ls /mnt/USB
Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2
PogoTools
bin
boot
dev
etc
home
lib
lost+found
media
mnt
opt
proc
root
run
sbin
srv
sys
tmp
usr
var
/tools #

2. After warm boot with Cruzer still in port nearest Ethernet. The freeze happens after recognising the high speed USB


/tools # reboot
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system reboot
[  420.860000] Restarting system.

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

Part    Start LBA       End LBA         Name
        Attributes
        Type GUID
        Partition GUID
  1     0x00000800      0x01dd0fff      ""
        attrs:  0x0000000000000000
        type:   0fc63daf-8483-4772-8e79-3d69d8477de4
        guid:   a9c87c68-1f4e-4e64-8e26-26294c961579
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 220 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4600448 bytes read in 421 ms (10.4 MiB/s)
loading uInitrd ...
6464907 bytes read in 447 ms (13.8 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
9032 bytes read in 227 ms (38.1 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.14.180-oxnas-tld-1
   Created:      2020-05-15   3:58:34 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4600384 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.14.180-oxnas-tld-1
   Created:      2020-05-15   3:58:49 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6464843 Bytes = 6.2 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 677fc000, end 67e2654b ... OK
   Loading Device Tree to 677f6000, end 677fb347 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.180-oxnas-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020
[    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] OF: fdt: Machine model: Pogoplug V3 Pro
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from start_kernel+0x84/0x3f8 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29548 r8192 d23700 u61440
[    0.000000] Built 1 zonelists, 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)
[    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: 112712K/131072K available (7168K kernel code, 199K rwdata, 1524K rodata, 1024K init, 245K bss, 18360K 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 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b31f68   ( 200 kB)
[    0.000000]        .bss : 0xc0b383b8 - 0xc0b757c0   ( 246 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ c8804000, 32 irqs, parent IRQ: 16
[    0.000015] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000046] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000061] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000087] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000232] GIC: PPI13 is secure or misconfigured
[    0.000286] GIC: PPI13 is secure or misconfigured
[    0.000455] Console: colour dummy device 80x30
[    0.000499] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050378] pid_max: default: 32768 minimum: 301
[    0.050644] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050672] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051560] CPU: Testing write buffer coherency: ok
[    0.090442] Setting up static identity map for 0x60100000 - 0x60100038
[    0.110343] Hierarchical SRCU implementation.
[    0.150343] smp: Bringing up secondary CPUs ...
[    0.220451] GIC: PPI13 is secure or misconfigured
[    0.280624] smp: Brought up 1 node, 2 CPUs
[    0.280657] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.281379] devtmpfs: initialized
[    0.286722] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.286758] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.287088] prandom: seed boundary self test passed
[    0.291376] prandom: 100 self tests passed
[    0.291397] pinctrl core: initialized pinctrl subsystem
[    0.292093] NET: Registered protocol family 16
[    0.293711] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.296117] cpuidle: using governor ladder
[    0.296194] cpuidle: using governor menu
[    0.314496] vgaarb: loaded
[    0.314997] SCSI subsystem initialized
[    0.315714] usbcore: registered new interface driver usbfs
[    0.315806] usbcore: registered new interface driver hub
[    0.315950] usbcore: registered new device driver usb
[    0.316149] pps_core: LinuxPPS API ver. 1 registered
[    0.316165] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.316198] PTP clock support registered
[    0.317240] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.332861] NET: Registered protocol family 2
[    0.333731] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.333775] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.333811] TCP: Hash tables configured (established 1024 bind 1024)
[    0.333972] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.334018] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.334277] NET: Registered protocol family 1
[    0.335040] RPC: Registered named UNIX socket transport module.
[    0.335065] RPC: Registered udp transport module.
[    0.335078] RPC: Registered tcp transport module.
[    0.335091] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.335472] Unpacking initramfs...
[    1.044346] Freeing initrd memory: 6316K
[    1.045524] Initialise system trusted keyrings
[    1.045593] Key type blacklist registered
[    1.045923] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.052874] zbud: loaded
[    1.057482] NFS: Registering the id_resolver key type
[    1.057528] Key type id_resolver registered
[    1.057541] Key type id_legacy registered
[    1.057566] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.057582] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.058457] fuse init (API version 7.26)
[    1.059351] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.059655] orangefs_init: module version upstream loaded
[    3.044098] Key type asymmetric registered
[    3.044124] Asymmetric key parser 'x509' registered
[    3.044226] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    3.044247] io scheduler noop registered
[    3.044259] io scheduler deadline registered
[    3.044321] io scheduler cfq registered (default)
[    3.046464] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    3.048053] console [ttyS0] disabled
[    3.048192] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    3.622366] console [ttyS0] enabled
[    3.636482] loop: module loaded
[    3.641584] scsi host0: sata_oxnas
[    3.645301] ata1: SATA max UDMA/133 irq 57
[    3.649541] sata_oxnas: resetting SATA core
[    3.717585] nand: Could not find valid ONFI parameter page; aborting
[    3.723924] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    3.730296] nand: Hynix NAND 128MiB 3,3V 8-bit
[    3.734727] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.742310] Scanning device for bad blocks
[    3.763171] Bad eraseblock 208 at 0x000001a00000
[    3.833290] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    3.840343] Creating 2 MTD partitions on "41000000.nand-controller":
[    3.846673] 0x000000000000-0x000000e00000 : "boot"
[    3.853081] 0x000000e00000-0x000008000000 : "data"
[    3.860912] libphy: Fixed MDIO Bus: probed
[    3.865384] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    3.871262] oxnas-dwmac 40400000.ethernet: no reset control found
[    3.947343] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    3.952378] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    3.958067] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    3.965342] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    3.972129] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    3.978746] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    3.986022] oxnas-dwmac 40400000.ethernet: COE Type 2
[    3.989086] ata1: SATA link down (SStatus 0 SControl 310)
[    3.991080] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    4.003294] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    4.009561] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.061132] libphy: stmmac: probed
[    4.064532] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    4.074019] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    4.084433] PPP generic driver version 2.4.2
[    4.089067] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.095567] ehci-pci: EHCI PCI platform driver
[    4.307304] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    4.312814] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    4.320683] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    4.347304] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    4.353625] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.360448] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.367672] usb usb1: Product: EHCI Host Controller
[    4.372528] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd
[    4.379143] usb usb1: SerialNumber: 40200100.ehci
[    4.384640] hub 1-0:1.0: USB hub found
[    4.388546] hub 1-0:1.0: 2 ports detected
[    4.393548] usbcore: registered new interface driver cdc_wdm
[    4.399383] usbcore: registered new interface driver usb-storage
[    4.405496] usbcore: registered new interface driver usbserial
[    4.411456] usbcore: registered new interface driver usbserial_generic
[    4.418058] usbserial: USB Serial support registered for generic
[    4.424337] mousedev: PS/2 mouse device common for all mice
[    4.430087] i2c /dev entries driver
[    4.434798] hidraw: raw HID events driver (C) Jiri Kosina
[    4.440458] usbcore: registered new interface driver usbhid
[    4.446010] usbhid: USB HID core driver
[    4.451274] NET: Registered protocol family 10
[    4.457144] Segment Routing with IPv6
[    4.460966] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.468672] NET: Registered protocol family 17
[    4.473244] Key type dns_resolver registered
[    4.478722] registered taskstats version 1
[    4.482803] Loading compiled-in X.509 certificates
[    4.487726] zswap: loaded using pool lzo/zbud
[    4.568888] Key type big_key registered
[    4.610063] Key type encrypted registered
[    4.757268] usb 1-1: new high-speed USB device number 2 using oxnas-ehci



Edited 1 time(s). Last edit at 10/29/2020 05:46PM by BobM.
Re: Pogo B03 Hangs on boot - VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
October 29, 2020 05:20PM
Bob,

Quote

2. After warm boot with Cruzer still in port nearest Ethernet. The freeze happens after recognising the high speed USB

I should have caught this earlier! your box is B03, meaning it is the Pogo V3 Classic, without the PCI port for Wif.

So the DTB must be the Classic version.


With USB rootfs attached, Power up, interrupt serial console and

setenv dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'

and boot

boot

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



Edited 1 time(s). Last edit at 10/29/2020 05:22PM by bodhi.
Woohoo - That's cracked it :)

Not sure where I missed that step but thank you very much for spotting it. I have just logged in as root and am now in the process of securing the OS before I remove the serial port and pop the lid back on.

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