Welcome! Log In Create A New Profile

Advanced

Hello, help to fix my device... [Akitio MyCloud Mini]

Posted by Kang Jinsu 
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 12, 2020 05:35AM
Results from reformatting with GPT :

here serial console logs.


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # setenv bootcmd 'run dt_bootcmd_usb'
OX820 # setenv dt_bootcmd_usb 'usb start; run dt_usb_bootcmd; usb stop; reset'
OX820 # setenv dt_usb_bootcmd 'run usb_set_bootargs; run dt_usb_boot'
OX820 # setenv usb_set_bootargs 'setenv bootargs root=LABEL=rootfs console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_usb_boot 'run dt_usb_load_uimage; run dt_usb_load_initrd; run dt_usb_load_dtb; run dt_bootm'
OX820 # setenv dt_usb_load_uimage 'ext2load usb 0:1 $uimage_addr /boot/uImage'
OX820 # setenv dt_usb_load_initrd 'ext2load usb 0:1 $uinitrd_addr /boot/uInitrd'
OX820 # setenv dt_usb_load_dtb 'ext2load usb 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv uimage_addr 0x60500000
OX820 # setenv dtb_addr 0x62c00000
OX820 # boot
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
4621824 bytes read in 358 ms (12.3 MiB/s)
4594376 bytes read in 335 ms (13.1 MiB/s)
7816 bytes read in 172 ms (43.9 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   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 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   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 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

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: Akitio MyCloud mini
[    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 @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=LABEL=rootfs console=ttyS0,115200 earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246152K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15992K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 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.008337] Console: colour dummy device 80x30
[    0.012894] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072586] pid_max: default: 32768 minimum: 301
[    0.077422] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084124] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092049] Initializing cgroup subsys net_cls
[    0.096624] CPU: Testing write buffer coherency: ok
[    0.102010] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239938] Brought up 2 CPUs
[    0.242984] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250122] devtmpfs: initialized
[    0.259018] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.268963] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275445] prandom: seed boundary self test passed
[    0.284769] prandom: 100 self tests passed
[    0.288939] pinctrl core: initialized pinctrl subsystem
[    0.295040] NET: Registered protocol family 16
[    0.300129] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329822] cpuidle: using governor ladder
[    0.359815] cpuidle: using governor menu
[    0.369141] gpio-oxnas 44000000.gpio: at address d0848000
[    0.375027] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381148] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.400611] vgaarb: loaded
[    0.403852] SCSI subsystem initialized
[    0.408501] usbcore: registered new interface driver usbfs
[    0.414223] usbcore: registered new interface driver hub
[    0.419740] usbcore: registered new device driver usb
[    0.425085] pps_core: LinuxPPS API ver. 1 registered
[    0.430146] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439365] PTP clock support registered
[    0.445521] clocksource: Switched to clocksource rps_clocksource_timer
[    0.470545] NET: Registered protocol family 2
[    0.475827] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.482938] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.489474] TCP: Hash tables configured (established 2048 bind 2048)
[    0.496007] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.501954] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.508528] NET: Registered protocol family 1
[    0.513507] RPC: Registered named UNIX socket transport module.
[    0.519490] RPC: Registered udp transport module.
[    0.524295] RPC: Registered tcp transport module.
[    0.529064] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.535943] Unpacking initramfs...
[    1.013504] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.020961] Initialise system trusted keyring
[    1.038745] zbud: loaded
[    1.046722] NFS: Registering the id_resolver key type
[    1.051996] Key type id_resolver registered
[    1.056245] Key type id_legacy registered
[    1.060410] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.067174] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.074554] fuse init (API version 7.23)
[    1.080645] Key type big_key registered
[    1.084858] alg: No test fo▒ cipher_null (cipher_null-generc)
[    1.091852] alg: hash: Test▒4 failed for sha256-gener▒c
[    1.097144] 00000000:▒
[    1.099576] 00000010:▒
[    1.102443] alg: hash: Test▒4 failed for sha224-generi4
[    1.107737] 00000000:▒14 3b e0 cd 7e c5 49 5e 42 b0 de 30 cb bd 14 20
[    1.114319] 00000010:▒20 b4 c5 58 3c ba 7d 04 f8 90 7f 8c
[    1.120130] alg: No test fo aes (aes-gener▒c)
[    1.124884] alg: cipher: Test 1 failed on encryption for arc4-generc
[    1.131463] 00000000:▒75 b7 87 80 99 94 c5 96
[    1.136158] alg: skcipher: Test 3 failed (invalid result) o▒ encryption for▒ecb(arc4)-gener▒c
[    1.144837] 00000000:▒de 18 89 41 a3 00 5d 3a
[    1.150133] alg: comp: Compression test 1 failed fo deflate-generi▒: output len = ▒5
[    1.159024] alg: comp: Decompression test 1 failed for lzo-generi
[    1.165386] 00000000:54 68 69 73 20 64 6f 63 75 6d 65 6e 74 20 64 65
[    1.171973] 00000010:73 63 72 69 62 65 73 20 61 20 63 6f 6d 70 72 65
[    1.178470] 00000020:73 73 69 6f 6e 20 6d 65 74 68 6f 64 20 62 61 73
[    1.185057] 00000030:65 64 20 6f 6e 20 74 68 65 20 4c 5a 4f 20 63 6f
[    1.191623] 00000040:6d 70 72 65 73 73 69 6f 6e 20 61 6c 67 6f 72 69
[    1.198120] 00000050:74 68 6d 2e 20 20 54 68 69 73 20 64 6f 63 75 6d
[    1.204677] 00000060:65 6e 74 20 64 69 66 69 6e 65 73 20 74 68 65 20
[    1.211200] 00000070:61 70 70 6c 69 63 61 74 69 6f 6e 20 6f 66 20 74
[    1.217694] 00000080:
[    1.220139] 00000090:▒
[    1.313730] DRBG: could not allocate digest TFM handle: hmac(sha256
[    1.320197] alg: drbg: Failed to reset rn
[    1.324367] alg: drbg: Tests0 failed for drbg_pr_hmac_sha25
[    1.355888] DRBG: could not allocate digest TFM handle: hmac(sha256
[    1.362352] alg: drbg: Failed to reset rn
[    1.366517] alg: drbg: Test0 failed for drbg_nopr_hmac_sha256
[    1.375201] alg: hash: Chunking tes_ 1 failed for ghash-gener▒c
[    1.381253] 00000000:eb 0e 81 5c b8 e1 32 df d0 70 db 36 bb 40 21 76
[    1.387824] Key type asymmetric registered
[    1.392158] Asymmetric key parser 'x509' registered
[    1.397222] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.404769] io scheduler noop registered
[    1.408768] io scheduler deadline registered
[    1.413242] io scheduler cfq registered (default)
[    1.418695] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.426682] console [ttyS0] disabled
[    1.430497] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.439124] console [ttyS0] enabled
[    1.439124] console [ttyS0] enabled
[    1.446225] bootconsole [earlycon0] disabled
[    1.446225] bootconsole [earlycon0] disabled
[    1.466373] loop: module loaded
[    1.472286] scsi host0: sata_oxnas
[    1.476426] scsi host1: sata_oxnas
[    1.480291] ata1: SATA max UDMA/133 irq 7
[    1.484290] ata2: SATA max UDMA/133 irq 7
[    1.488378] sata_oxnas: resetting SATA core
[    1.489584] nand: Could not find valid ONFI parameter page; aborting
[    1.489625] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.489630] nand: Hynix NAND 256MiB 3,3V 8-bit
[    1.489640] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.489658] Scanning device for bad blocks
[    1.654991] 2 ofpart partitions found on MTD device 41000000.nand
[    1.661086] Creating 2 MTD partitions on "41000000.nand":
[    1.666467] 0x000000000000-0x0000026c0000 : "boot"
[    1.673154] 0x0000026c0000-0x000010000000 : "ubi"
[    1.680514] oxnas-gmac 40400000.ethernet: no reset control found
[    1.686502] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.691563]  Ring mode enabled
[    1.694604]  DMA HW capability register supported
[    1.699105]  Enhanced/Alternate descriptors
[    1.703459]  Enabled extended descriptors
[    1.707448]  RX Checksum Offload Engine supported (type 2)
[    1.712926]  TX Checksum insertion supported
[    1.717171]  Wake-Up On Lan supported
[    1.720844]  Enable RX Mitigation via HW Watchdog Timer
[    1.750200] libphy: stmmac: probed
[    1.753597] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    1.760076] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    1.766812] PPP generic driver version 2.4.2
[    1.771781] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.778296] ehci-pci: EHCI PCI platform driver
[    1.783339] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    1.788843] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    1.796738] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    1.819804] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    1.826117] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.832921] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.840135] usb usb1: Product: EHCI Host Controller
[    1.844992] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    1.851422] usb usb1: SerialNumber: 40200100.ehci
[    1.857098] hub 1-0:1.0: USB hub found
[    1.860994] hub 1-0:1.0: 2 ports detected
[    1.866099] usbcore: registered new interface driver cdc_acm
[    1.871841] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.880030] usbcore: registered new interface driver cdc_wdm
[    1.885839] usbcore: registered new interface driver usb-storage
[    1.892055] usbcore: registered new interface driver usbserial
[    1.897943] usbcore: registered new interface driver usbserial_generic
[    1.904545] usbserial: USB Serial support registered for generic
[    1.910978] mousedev: PS/2 mouse device common for all mice
[    1.916702] i2c /dev entries driver
[    1.921377] hidraw: raw HID events driver (C) Jiri Kosina
[    1.926986] usbcore: registered new interface driver usbhid
[    1.932636] usbhid: USB HID core driver
[    1.938472] NET: Registered protocol family 10
[    1.944389] sit: IPv6 over IPv4 tunneling driver
[    1.950103] NET: Registered protocol family 17
[    1.954713] Key type dns_resolver registered
[    1.960668] registered taskstats version 1
[    1.964787] Loading compiled-in X.509 certificates
[    1.975726] zswap: default compressor lzo not available
[    1.981020] zswap: pool creation failed
[    1.994913] UBIFS error (pid 1): cannot initialize compressor lzo, error -2
[    2.016883] encrypted_key: could not allocate crypto hmac(sha256)
[    2.039966] ▒ata1: SATA link up 1.5 Gbps (SStatus 11▒ SControl 310)
[    2.047165] ▒ata1.00▒ ATA-8:HGST HTS545050A7E680, GR2OA230, max UDMA/13
[    2.054069] ▒ata1.007 976773168 sectors, multi 16: LBA48 NCQ (dept
[    2.061299] ▒ata1.00▒ configured for UDMA/13▒
[    2.066437] scsi 0:0:0:0: Direct-Access     ATA      HGST HTS545050A7 A230 PQ: 0 ANSI: 5
[    2.076449] sata_oxnas: resetting SATA core
[    2.076477] s▒ 0:0:0:▒: [sda]
[    2.076487] s▒ 0:0:0:▒: [sda]
[    2.077009] s▒ 0:0:0:▒: [sda]▒Write Protect i
[    2.077248] s▒ 0:0:0:▒: [sda]▒Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.129940] sata_oxnas: resetting SATA coe
[    2.179801] usb 1-2: new high-speed USB device number 2 using oxnas-ehci
[    2.330885] usb 1-2: New USB device found, idVendor=0781, idProduct=5567
[    2.337566] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.344755] usb 1-2: Product: Cruzer Blade
[    2.348833] usb 1-2: Manufacturer: SanDisk
[    2.352965] usb 1-2: SerialNumber: 4C530000130118211511
[    2.359344] usb-storage 1-2:1.0: USB Mass Storage device detected
[    2.366072] scsi host2: usb-storage 1-2:1.0
[    2.809802] ata2: SATA link down (SStatus 0 SControl 300)
[    2.899983] ata1: exception Emask 010 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.907018] ▒ata1: hard resetting link
[    3.371361] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[    3.381212] sd 2:0:0:0: [sdb] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB)
[    3.390666] sd 2:0:0:0: [sdb] Write Protect is off
[    3.396328] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.427704]  sdb: sdb1
[    3.433950] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[    3.819973] ▒ata1: SATA link up 1.5 Gbps (SStatus 11▒ SControl 310)
[    3.828134] ata1.00Q configured forUDMA/13
[    3.832486] ▒ata1: EH compleDe
[    4.146644] ▒sda: detected capacity change from 0 to4500107862016
[    4.153738] s▒ 0:0:0:: [sda]iAttached SCSI disk
[    4.158784] Freeing unused kernel memory: 224K (c0828000 - c0860000)
[    4.167718] Kernel panic - not syncing: Attempted to kill init! exitcode=
[    4.174487] ▒CPU: 1 PID: 1 Comm: ini▒ Not tainted 4.4.54-oxnas-tld-1▒#2
[    4.181150] ▒Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[    4.187842] [c0010c6>] (unwind_backtrace) from [<c000cf8c>]▒(show_stack+0x10/0x14)
[    4.195560] [c000cf8>] (show_stack) from [<c02cf840>] (dump_stack+0x84/0xa0)
[    4.202754] [c02cf84>] (dump_stack) from [<c0091c78>] (pani▒+0x8c/0x1ec)
[    4.209602] [c0091c7>] (panPc) from [<c001a5f0>] (do_exit+0x9b)
[    4.215669] [c001a5f>] (do_exit) from [<c001b600>] ▒do_group_exi)
[    4.221913] [c001b60>] (do_group_ex▒t) from [<c002452c>] (get_signal+0x200/0x5ec)
[    4.229539] [c002452>] (get_signal) from [<c000c72c>] (do_signal+0x▒4/0x3b0)
[    4.236730] [c000c72>] (do_signal) from [<c000cbcc>] (do_work_pending+0x94)
[    4.243837] [c000cbc>] (do_work_pending) from [<c000a4ac>] ▒slow_work_pending+0x)
[    4.251463] CPU0: stopping
[    4.254169] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.54-oxnas-tld-1 #2
[    4.261089] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[    4.267601] [<c0010c6c>] (unwind_backtrace) from [<c000cf8c>] (show_stack+0x10/0x14)
[    4.275315] [<c000cf8c>] (show_stack) from [<c02cf840>] (dump_stack+0x84/0xa0)
[    4.282513] [<c02cf840>] (dump_stack) from [<c000fb84>] (handle_IPI+0x190/0x1c4)
[    4.289879] [<c000fb84>] (handle_IPI) from [<c0009468>] (gic_handle_irq+0x74/0x7c)
[    4.297418] [<c0009468>] (gic_handle_irq) from [<c000da20>] (__irq_svc+0x40/0x74)
[    4.304860] Exception stack(0xc0861f50 to 0xc0861f98)
[    4.309890] 1f40:                                     00000001 00000000 00000000 00000000
[    4.318031] 1f60: 00000000 c061c62c 00000000 c0861fa8 c085b2c4 c08686ac c0860000 00000000
[    4.326167] 1f80: 0000000c c0861fa0 c000af3c c000af40 60000013 ffffffff
[    4.332756] [<c000da20>] (__irq_svc) from [<c000af40>] (arch_cpu_idle+0x28/0x30)
[    4.340124] [<c000af40>] (arch_cpu_idle) from [<c004d348>] (cpu_startup_entry+0x14c/0x260)
[    4.348357] [<c004d348>] (cpu_startup_entry) from [<c0828bf8>] (start_kernel+0x338/0x3ac)
[    4.356500] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=


Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 12, 2020 05:51AM
Kang Jinsu,

I don't think it is a bad stick. Perhaps this kernel version is not good for the Akitio yet.

Your log is hard to read, with all the escape characters mingled in the text. But errors showed some coherency errors.
[   40.23987▒] Unable to handle kernelqNULL pointer dereferencb at virtual addres4 0000000

[    0.511093] [<c0009468>] (gic_handle_irq) from [<c000da20>] (__irq_svc+0x40/0x74)


Let's wait a few days when I can create a new buster rootfs and then you can try with kernel 4.14.x on the new rootfs (Or I can upload the kernel files for you to try).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 12, 2020 06:03AM
Kang Jinsu,

Also, could you find out what is the difference between the Akitio My Cloud Mini (your box), and the Akitio My Cloud Duo.

The Akitio My Cloud Duo was successfully booted with kernel 4.4.x in the past.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 12, 2020 06:33AM
Well, I'm not sure.
I know if there are pictures of decomposed this device, but I can't find it.
I can't even find the exact specifications of MyCloud Duo on the Internet.
Just a little information comes out of this device.
Two hard disks can be installed, the processor speed is dual-core 750MHz, RAM is 128MB, one USB port, and many LEDs ...
It doesn't say what the chipset for this device is.

For reference, MyCloud Mini has dual-core 850MHz processor, 256M RAM, and 2 USB ports.
The processor was NAS7821... was it?

Thanks for your advice.



Edited 2 time(s). Last edit at 05/12/2020 06:40AM by Kang Jinsu.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 12, 2020 02:49PM
Akitio Mycloud mini review with complete specs and internal pics.

I have one of these. It ran bodhi Debian well but I ended up having to sata boot it with "magic dust" as I bricked it when updating uboot and there is no copy of the factory uboot or roots available to recover.

TBH, nice looking piece of kit that looks great next to the Kace M300.



Edited 2 time(s). Last edit at 05/12/2020 02:54PM by LeggoMyEggo.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 12, 2020 04:43PM
@LeggoMyEggo,

Could you post the seriall boot log, also the u-boot envs?


@Kang Jinsu,

Quote

For reference, MyCloud Mini has dual-core 850MHz processor, 256M RAM, and 2 USB ports.
The processor was NAS7821... was it?

Yes. It is OK. It is the same as other Oxnas boxes.

Let's go back to booting with the rootfs on HDD. I'll review the HDD booting log to see if I can find out more.

=====

All,

By the way, the SoC is actually rated as 750Mhz. We overclocked it to 850Mhz using the SPL. Sometime overclocking can give you weird problem with hardware and it is not stable. But we have been running with 850Mhz for a long time, there should be no problem. However, if the box does not have good venting, the heat could be problematic (I recall someone post here looking for 750 Mhz SPL to make it run cooler).

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



Edited 2 time(s). Last edit at 05/12/2020 04:49PM by bodhi.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 12, 2020 06:45PM
Bodhi,

Gotta dig it out once I am in a stationary place to connect serial console. Might be couple days unfortunately.

Something else to think about, this has 256MB of NAND as well as RAM. Oxnas Pogoplug of course has 128MB NAND / 128MB RAM. Don't know if that could impact something.



Edited 1 time(s). Last edit at 05/12/2020 06:51PM by LeggoMyEggo.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 13, 2020 02:43AM
Here serial console logs.


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  0 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
2212156 bytes read in 360 ms (5.9 MiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-2.6.31.14_OX820_1.2_shv
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2212092 Bytes = 2.1 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux....................................................................................................................................... done, booting the kernel.
[    0.000000] Linux version 2.6.31.14_OX820_1.2_shv (root@plug2) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Fri Oct 4 11:38:10 CEST 2013
[    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=/dev/sda2 rootfstype=ext3 console=ttyS0,115200 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: 125368KB available (3816K code, 304K data, 132K 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.230000] Security Framework initialized
[    0.230000] Mount-cache hash table entries: 512
[    0.240000] CPU: Testing write buffer coherency: ok
[    0.240000] Calibrating local timer... 424.49MHz.
[    0.30000] CrU1: Boo▒ed secondary prcessor
▒6>[    .410000▒ Calibrating delay loop▒.. <▒>3▒9.14 BogoMIPS (pj=1695▒44)
[    0.620000] Brought up 2 CPUs
[    0.630000] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.640000] NET: Registered protocol family 16
[    0.640000] Number of DMA channels = 4, version = 4
[    0.650000] Reserving a DMA channel for DirectRAID
[    0.650000] Allocating 389 SRAM generic DMA descriptors

Quote
Running something yesterday :
I tried to use SPI FLASH instead of NAND.
SPI FLASH has a device that can be input.
Only oxnas boot loader ***** and / $ appear.
But U-BOOT doesn't work.
What is SPI FLASH for on this device?

Bad news :
NAND is not aware if i made a mistake yesterday.
I don't know if the circuit is broken, but there is no response even if I enter NAND info.
NAND booting will not work anymore... (Where is it wrong ...)

OX820 # nand info

Device 0:

HDD recognition works well.

Quote
Perhaps...
Pogoplug V3 may come in ...



+
Quote
Good news :
NAND repaired.
Recognized.

OX820 # nand info

Device 0: nand0, sector size 128 KiB
Page size 2048 b
OOB size 64 b
Erase size 131072 b


I think the NAND circuit pin is connected incorrectly.

Quote
Bad news(Maybe this is the opportunity given to the MyClound mini?) :
Pogoplug V3 order was rejected.
Discontinuance notice from the seller.

* Sorry I kept editing.



Edited 5 time(s). Last edit at 05/13/2020 10:58PM by Kang Jinsu.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 13, 2020 02:58AM
Kang Jinsu,

> I tried to use SPI FLASH instead of NAND.
> SPI FLASH has a device that can be input.
> Only oxnas boot loader ***** and / $ appear.
> But U-BOOT doesn't work.
> What is SPI FLASH for on this device?

Not SPI flash. This device only has NAND flash.

> Bad news :
> NAND is not aware if i made a mistake yesterday.
> I don't know if the circuit is broken, but there
> is no response even if I enter NAND info.
> NAND booting will not work anymore... (Where is it
> wrong ...)

Really does not matter when you try to flash to SPI, since there is no SPI in this device.

> HDD recognition works well.

So I think we should wait for Leoggo to post the boot log. I'd like to see his Akitio box booting log before we continue to work on the HDD booting.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 14, 2020 12:20AM
Kang Jinsu,

I would like you to go back to this point.

https://forum.doozan.com/read.php?2,102079,102329#msg-102329

Basically boot with the 4.4.54 rootfs in the HDD and

setenv bootcmd 'run dt_bootcmd_ide'
setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
setenv uinitrd_addr 0x61e00000
boot

Try cold boot (from power up), and then see if the log is different. I recalled seeing the log was different, and then you've removed it, why ?

And please do not edit your old post, because I would have no way of knowing there is new information (I don't reread old posts unless I see you reference to that). Just make a new post each time with edited info.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 14, 2020 01:50AM
Umm, i am sorry.

Here serial console logs.


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  8192 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 715 ms (6.2 MiB/s)
4594376 bytes read in 689 ms (6.4 MiB/s)
7067 bytes read in 36 ms (191.4 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   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 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   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 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5b9a ... OK

Led:    GREEN

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 @cffda000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246156K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15988K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 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.008330] Console: colour dummy device 80x30
[    0.012881] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072583] pid_max: default: 32768 minimum: 301
[    0.077416] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084121] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092047] Initializing cgroup subsys net_cls
[    0.096619] CPU: Testing write buffer coherency: ok
[    0.102003] 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.250119] devtmpfs: initialized
[    0.258465] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.268416] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.274903] prandom: seed boundary self test passed
[    0.284229] prandom: 100 self tests passed
[    0.288401] pinctrl core: initialized pinctrl subsystem
[    0.294522] NET: Registered protocol family 16
[    0.299553] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329825] cpuidle: using governor ladder
[    0.359818] cpuidle: using governor menu
[    0.368878] gpio-oxnas 44000000.gpio: at address d0848000
[    0.374778] gpio-oxnas 44100000.gpio: at address d084a000
[    0.380843] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver


Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 14, 2020 03:55AM
Looke like the wrong DTB was used:

Quote

[ 0.000000] Machine model: Pogoplug V3 Pro


Try

setenv bootcmd 'run dt_bootcmd_ide'
setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
setenv uinitrd_addr 0x61e00000
setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 14, 2020 05:15AM
I think I forgot to reformat the hard disk before and didn't set it up ...

Oh, by the way, it seems to boot suddenly.


Here serial console logs.


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  8192 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # printenv
dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr
autoload=no
baudrate=115200
bootargs=console=ttyS0,115200n8
bootcmd=run dt_bootcmd_ide
bootdelay=3
console=console=ttyS0,115200n8
dt_bootcmd_ide=ide start; run dt_ide_bootcmd; ide stop; reset
dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset
dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr
dt_ide_boot=run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm
dt_ide_bootcmd=run ide_set_bootargs; run dt_sata_boot
dt_ide_load_dtb=ext2load ide 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb
dt_ide_load_initrd=ext2load ide 0:1 $uinitrd_addr /boot/uInitrd
dt_ide_load_uimage=ext2load ide 0:1 $uimage_addr /boot/uImage
dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb
dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd
dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage
dt_sata_boot=ext2load ide 0:1 $uimage_addr /boot/uImage_2.6.31.14_OX820_1.2_shv.Pro; bootm $uimage_addr
dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm
dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot
dtb_addr=0x62c00000
ethact=mii0
ethaddr=00:25:31:01:C6:76
ide_set_bootargs=setenv bootargs root=/dev/sda2 rootfstype=ext3 console=ttyS0,115200 mem=128M
if_netconsole=ping $serverip
ipaddr=192.168.0.100
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=run if_netconsole start_netconsole
sata_bootcmd=run usb_set_bootargs; run sata_boot
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version
stderr=serial
stdin=serial
stdout=serial
uimage_addr=0x60500000
uinitrd_addr=0x60e00000
usb_device=0:1
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10

Environment size: 1898/16380 bytes
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 715 ms (6.2 MiB/s)
4594376 bytes read in 677 ms (6.5 MiB/s)
7816 bytes read in 36 ms (211.9 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   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 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   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 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

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: Akitio MyCloud mini
[    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 @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246152K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15992K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 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.008337] Console: colour dummy device 80x30
[    0.012894] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072588] pid_max: default: 32768 minimum: 301
[    0.077429] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084134] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092055] Initializing cgroup subsys net_cls
[    0.096632] CPU: Testing write buffer coherency: ok
[    0.102013] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239941] Brought up 2 CPUs
[    0.242992] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250137] devtmpfs: initialized
[    0.259315] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269263] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275742] prandom: seed boundary self test passed
[    0.285061] prandom: 100 self tests passed
[    0.289236] pinctrl core: initialized pinctrl subsystem
[    0.295372] NET: Registered protocol family 16
[    0.300464] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329822] cpuidle: using governor ladder
[    0.359818] cpuidle: using governor menu
[    0.369098] gpio-oxnas 44000000.gpio: at address d0848000
[    0.374973] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381081] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.400399] vgaarb: loaded
[    0.403632] SCSI subsystem initialized
[    0.408273] usbcore: registered new interface driver usbfs
[    0.413995] usbcore: registered new interface driver hub
[    0.419512] usbcore: registered new device driver usb
[    0.424867] pps_core: LinuxPPS API ver. 1 registered
[    0.429931] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439150] PTP clock support registered
[    0.445314] clocksource: Switched to clocksource rps_clocksource_timer
[    0.470251] NET: Registered protocol family 2
[    0.475537] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.482636] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.489172] TCP: Hash tables configured (established 2048 bind 2048)
[    0.495708] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.501657] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.508236] NET: Registered protocol family 1
[    0.513223] RPC: Registered named UNIX socket transport module.
[    0.519203] RPC: Registered udp transport module.
[    0.524008] RPC: Registered tcp transport module.
[    0.528775] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.535659] Unpacking initramfs...
[    1.013885] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.021404] Initialise system trusted keyring
[    1.038786] zbud: loaded
[    1.046702] NFS: Registering the id_resolver key type
[    1.051978] Key type id_resolver registered
[    1.056225] Key type id_legacy registered
[    1.060385] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.067148] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.074526] fuse init (API version 7.23)
[    1.080645] Key type big_key registered
[    1.170163] Key type asymmetric registered
[    1.174348] Asymmetric key parser 'x509' registered
[    1.179402] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.186908] io scheduler noop registered
[    1.190942] io scheduler deadline registered
[    1.195333] io scheduler cfq registered (default)
[    1.200855] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.208752] console [ttyS0] disabled
[    1.212554] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.221219] console [ttyS0] enabled
[    1.221219] console [ttyS0] enabled
[    1.228236] bootconsole [earlycon0] disabled
[    1.228236] bootconsole [earlycon0] disabled
[    1.248317] loop: module loaded
[    1.254336] scsi host0: sata_oxnas
[    1.258498] scsi host1: sata_oxnas
[    1.262374] ata1: SATA max UDMA/133 irq 7
[    1.266368] ata2: SATA max UDMA/133 irq 7
[    1.270510] sata_oxnas: resetting SATA core
[    1.271395] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xde
[    1.271403] nand: Hynix NAND 8GiB 3,3V 8-bit
[    1.271413] nand: 8192 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.271452] Scanning device for bad blocks
[    1.809943] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.816962] ata1.00: ATA-8: HGST HTS545050A7E680, GR2OA230, max UDMA/133
[    1.823669] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    1.831313] ata1.00: configured for UDMA/133
[    1.836305] scsi 0:0:0:0: Direct-Access     ATA      HGST HTS545050A7 A230 PQ: 0 ANSI: 5
[    1.851640] sata_oxnas: resetting SATA core
[    1.860195] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    1.867650] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.879580] sd 0:0:0:0: [sda] Write Protect is off
[    1.884664] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.893852] sata_oxnas: resetting SATA core
[    2.569958] ata2: SATA link down (SStatus 0 SControl 300)
[    2.649955] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.656819] ata1: hard resetting link
[    3.569943] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.577930] ata1.00: configured for UDMA/133
[    3.582379] ata1: EH complete
[    3.932771]  sda: sda1
[    3.937093] sd 0:0:0:0: [sda] Attached SCSI disk
[    6.575247] 2 ofpart partitions found on MTD device 41000000.nand
[    6.581340] Creating 2 MTD partitions on "41000000.nand":
[    6.586721] 0x000000000000-0x0000026c0000 : "boot"
[    6.593428] 0x0000026c0000-0x000010000000 : "ubi"
[    6.611238] oxnas-gmac 40400000.ethernet: no reset control found
[    6.617226] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    6.622297]  Ring mode enabled
[    6.625336]  DMA HW capability register supported
[    6.629864]  Enhanced/Alternate descriptors
[    6.634196]  Enabled extended descriptors
[    6.638179]  RX Checksum Offload Engine supported (type 2)
[    6.643658]  TX Checksum insertion supported
[    6.647902]  Wake-Up On Lan supported
[    6.651563]  Enable RX Mitigation via HW Watchdog Timer
[    6.671915] libphy: stmmac: probed
[    6.675307] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    6.681784] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    6.688501] PPP generic driver version 2.4.2
[    6.693416] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.700014] ehci-pci: EHCI PCI platform driver
[    6.704954] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    6.710556] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    6.718348] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    6.739824] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    6.746137] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    6.752957] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.760279] usb usb1: Product: EHCI Host Controller
[    6.765137] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    6.771591] usb usb1: SerialNumber: 40200100.ehci
[    6.777320] hub 1-0:1.0: USB hub found
[    6.781176] hub 1-0:1.0: 2 ports detected
[    6.786298] usbcore: registered new interface driver cdc_acm
[    6.791994] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    6.800110] usbcore: registered new interface driver cdc_wdm
[    6.805908] usbcore: registered new interface driver usb-storage
[    6.812124] usbcore: registered new interface driver usbserial
[    6.818007] usbcore: registered new interface driver usbserial_generic
[    6.824609] usbserial: USB Serial support registered for generic
[    6.831047] mousedev: PS/2 mouse device common for all mice
[    6.836774] i2c /dev entries driver
[    6.841392] hidraw: raw HID events driver (C) Jiri Kosina
[    6.847006] usbcore: registered new interface driver usbhid
[    6.852610] usbhid: USB HID core driver
[    6.858470] NET: Registered protocol family 10
[    6.864348] sit: IPv6 over IPv4 tunneling driver
[    6.870003] NET: Registered protocol family 17
[    6.874608] Key type dns_resolver registered
[    6.880504] registered taskstats version 1
[    6.884623] Loading compiled-in X.509 certificates
[    6.889510] zswap: loaded using pool lzo/zbud
[    6.908277] Key type encrypted registered
[    6.932646] Freeing unused kernel memory: 224K (c0828000 - c0860000)
Loading, please wait...
[    7.099901] usb 1-1: new high-speed USB device number 2 using oxnas-ehci
starting version 232
[    7.115770] random: systemd-udevd: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.127129] random: systemd-udevd: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.128271] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.130677] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.130851] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.131929] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.138280] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.139338] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.140631] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.142008] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.301680] usb 1-1: New USB device found, idVendor=0781, idProduct=5567
[    7.308367] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.336837] usb 1-1: Product: Cruzer Blade
[    7.341020] usb 1-1: Manufacturer: SanDisk
[    7.345103] usb 1-1: SerialNumber: 4C530000130118211511
[    7.352222] usb-storage 1-1:1.0: USB Mass Storage device detected
[    7.380216] scsi host2: usb-storage 1-1:1.0
[    7.490659] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)
[    7.831257] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[    8.381360] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[    8.396674] sd 2:0:0:0: [sdb] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB)
[    8.407511] sd 2:0:0:0: [sdb] Write Protect is off
[    8.415454] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    8.476185]  sdb: sdb1
[    8.484208] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[   13.508518] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   13.528046] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[....] Synthesizing the initial hotplug events...[   17.252195] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[   17.348520] random: nonblocking pool is initialized
done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   19.053056] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
rootfs: clean, 14008/262144 files, 148982/1048576 blocks
done.
[   19.464558] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPREQUEST of 192.168.0.16 on eth0 to 255.255.255.255 port 67
[   28.529963] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx

DHCPREQUEST of 192.168.0.16 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.68.9 from 192.168.68.1
DHCPACK of 192.168.68.9 from 192.168.68.1
bound to 192.168.68.9 -- renewal in 3132 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1268 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting system message bus: dbus.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1266 (klogd)
. ok
[ ok ] Starting NTP server: ntpd.

Debian GNU/Linux 9 debian ttyS0

debian login:

I can also log in.

* Edit : Re-translate...
I'm sad I didn't fully learn English ... T_T



Edited 1 time(s). Last edit at 05/14/2020 05:21AM by Kang Jinsu.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 14, 2020 06:57AM
Awesome:) congratulation!

So now keep booting this way into Debian.

I will be back to get more info from you and suggest what to do next to reinstall uboot to NAND.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 14, 2020 07:35AM
Thank to your advices.

+ I think it seems to have done a USB boot.
After removing the USB, the letters come out with an error.


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  8192 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 684 ms (6.4 MiB/s)
4594376 bytes read in 678 ms (6.5 MiB/s)
7816 bytes read in 36 ms (211.9 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   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 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   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 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

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: Akitio MyCloud mini
[    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 @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246152K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15992K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 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.008335] Console: colour dummy device 80x30
[    0.012894] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072588] pid_max: default: 32768 minimum: 301
[    0.077429] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084134] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092055] Initializing cgroup subsys net_cls
[    0.096629] CPU: Testing write buffer coherency: ok
[    0.102010] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239936] Brought up 2 CPUs
[    0.242979] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250124] devtmpfs: initialized
[    0.259072] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269022] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275509] prandom: seed boundary self test passed
[    0.284835] prandom: 100 self tests passed
[    0.289006] pinctrl core: initialized pinctrl subsystem
[    0.295106] NET: Registered protocol family 16
[    0.300195] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329820] cpuidle: using governor ladder
[    0.359815] cpuidle: using governor menu
[    0.369128] gpio-oxnas 44000000.gpio: at address d0848000
[    0.375022] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381125] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.400903] vgaarb: loaded
[    0.404142] SCSI subsystem initialized
[    0.408793] usbcore: registered new interface driver usbfs
[    0.414512] usbcore: registered new interface driver hub
[    0.420075] usbcore: registered new device driver usb
[    0.425382] pps_core: LinuxPPS API ver. 1 registered
[    0.430443] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439662] PTP clock support registered
[    0.445821] clocksource: Switched to clocksource rps_clocksource_timer
[    0.471109] NET: Registered protocol family 2
[    0.476382] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.483491] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.490073] TCP: Hash tables configured (established 2048 bind 2048)
[    0.496568] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.502530] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.509109] NET: Registered protocol family 1
[    0.514096] RPC: Registered named UNIX socket transport module.
[    0.520125] RPC: Registered udp transport module.
[    0.524889] RPC: Registered tcp transport module.
[    0.529651] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536535] Unpacking initramfs...
[    1.013849] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.021283] Initialise system trusted keyring
[    1.038694] zbud: loaded
[    1.046753] NFS: Registering the id_resolver key type
[    1.052042] Key type id_resolver registered
[    1.056289] Key type id_legacy registered
[    1.060449] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.067212] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.074590] fuse init (API version 7.23)
[    1.080640] Key type big_key registered
[    1.084843] alg: No test fo cipher_null (cipher_null-generc)
[    1.091875] alg: hash: Test▒4 failed for sha256-generic
[    1.097167] 00000000:1d 66 63 3f 43 5c ea 16 c9 5c 85 79 44 4a 53 0d
[    1.103744] 00000010:▒47 e4 d6 b1 c7 94 d6 fc 09 14 39 46 29 cd cc 71
[    1.110676] alg: hash: Test4 failed for sha224-generc
[    1.115968] 00000000:14 3b e0 cd 7e c5 49 5e 42 b0 de 30 cb bd 14 20
[    1.122616] 00000010:20 b4 c5 58 3c ba 7d 04 f8 90 7f 8c
[    1.128399] alg: No test fo aes (aes-gener▒cp
[    1.133232] alg: cipher: Test 1 failed on encryption for arc4-generc
[    1.139729] 00000000:▒
[    1.142520] alg: skcipher: Test 1 failed (invalid result) oe encryption forecb(arc4)-gener3c
[    1.151206] 00000000:▒75 b7 87 80 99 00 c5 96
[    1.156346] alg: comp: Compression test 1 failed fo deflate-generic: output len = 75
[    1.165322] alg: comp: Decompression test 1 failed for lzo-generic
[    1.171686] 00000000:▒54 68 69 73 20 64 6f 63 75 6d 65 6e 74 20 64 65
[    1.178181] 00000010: 73 63 72 69 62 65 73 20 61 20 63 6f 6d 70 72 65
[    1.184765] 00000020: 73 73 69 6f 6e 20 6d 65 74 68 6f 64 20 62 61 73
[    1.191352] 00000030:▒65 64 20 6f 6e 20 74 68 65 20 4c 5a 4f 20 63 6f
[    1.197844] 00000040:▒6d 70 72 65 73 73 69 6f 6e 20 61 6c 67 6f 72 69
[    1.204408] 00000050:▒74 68 6d 2e 20 20 54 68 69 73 20 64 6f 63 75 6d
[    1.210961] 00000060:▒ 5 6e 74 20 64 00 66 69 6e 65 73 20 74 68 65 20
[    1.217456] 00000070:▒ 1 70 70 6c 69 63 61 74 69 6f 6e 20 6f 66 20 74
[    1.223966] 00000080:▒ 8 65 20 4c 5a 4f 20 61 6c 67 6f 72 69 74 68 6d
[    1.230471] 00000090:▒ 0 75 73 65 64 20 69 6e 20 55 42 49 46 53 2e
[    1.303429] DRBG: could not allocate digest TFM handle: hmac(sha256
[    1.309923] alg: drbg: Failed to reset rn
[    1.314096] alg: drbg: Test▒0 failed for drbg_pr_hmac_sha25▒
[    1.339266] DRBG: could not allocate digest TFM handle: hmac(sha256)
[    1.345922] alg: drbg: Failed to reset rng
[    1.350213] alg: drbg: Test 0 failed for drbg_nopr_hmac_sha256
[    1.358883] alg: hash: Chunking tes1 1 failed for ghash-generic
[    1.364956] 00000000:▒c9 95 fb c7 c2 7a 48 44 aa eb a1 ad c1 db 6e aa
[    1.371681] Key type asymmetric registered
[    1.375864] Asymmetric key parser 'x509' registered
[    1.380999] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.388459] io scheduler noop registered
[    1.392509] io scheduler deadline registered
[    1.396902] io scheduler cfq registered (default)
[    1.402350] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.410298] console [ttyS0] disabled
[    1.414023] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.422712] console [ttyS0] enabled
[    1.422712] console [ttyS0] enabled
[    1.429729] bootconsole [earlycon0] disabled
[    1.429729] bootconsole [earlycon0] disabled
[    1.449699] loop: module loaded
[    1.455741] scsi host0: sata_oxnas
[    1.460042] scsi host1: sata_oxnas
[    1.463854] ata1: SATA max UDMA/133 irq 7
[    1.467850] ata2: SATA max UDMA/133 irq 7
[    1.471984] sata_oxnas: resetting SATA core
[    1.472872] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xde
[    1.472880] nand: Hynix NAND 8GiB 3,3V 8-bit
[    1.472888] nand: 8192 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.472929] Scanning device for bad blocks
[    2.009940] ▒ata1: SATA link up 1.5 Gbps (SStatus 11 SControl 310)
[    2.017131] ▒ata1.00▒ ATA-8:▒HGST HTS545050A7E680, GR2OA230, max UDMA/133
[    2.024010] Eata1.00 976773168 sectors, multi 16: LBA48 NCQ (dept
[    2.031388] Eata1.00▒ configured for1UDMA/13t
[    2.036523] scsi 0:0:0:0: Direct-Access     ATA      HGST HTS545050A7 A230 PQ: 0 ANSI: 5
[    2.051704] sata_oxnas: resetting SATA coe
[    2.060195] s▒ 0:0:0:▒: [sda]9767731r8 512-byte logical blocks: (50 GB/466)
[    2.067302] s▒ 0:0:0:▒: [sda]r4096-byte physical blocks
[    2.079308] s▒ 0:0:0:: [sda]▒Write Protect im off
[    2.084387] s▒ 0:0:0:▒: [sda]BWrite cache: enabled, read cache: enablrd, doesn't support DPO or FUA
[    2.093565] sata_oxnas: resetting SATA co9e
[    2.769945] ▒ata2: SATA link down (SStatus 0 SContro 30)
[    2.849950] ata1: exception Emask 010 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.856985] ata1: hard resetting link
[    3.769935] ▒ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.778094] ▒ata1.00Q configured forUDMA/13
[    3.782717] Eata1: EH completa
[    4.091453] s▒ 0:0:0:0: [sda]▒Attached SCSI dik
[    6.787246] 2 ofpart partitions found on MTD device 41000000.nand
[    6.793354] Creating 2 MTD partitions on "41000000.nand":
[    6.798737] 0x000000000000-0x0000026c0000 : "boot"
[    6.805506] 0x0000026c0000-0x000010000000 : "ubi"
[    6.831262] oxnas-gmac 40400000.ethernet: no reset control found
[    6.837255] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    6.842327]  Ring mode enabled
[    6.845363]  DMA HW capability register supported
[    6.849891]  Enhanced/Alternate descriptors
[    6.854220]  Enabled extended descriptors
[    6.858206]  RX Checksum Offload Engine supported (type 2)
[    6.863677]  TX Checksum insertion supported
[    6.867919]  Wake-Up On Lan supported
[    6.871577]  Enable RX Mitigation via HW Watchdog Timer
[    6.892103] libphy: stmmac: probed
[    6.895498] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    6.901980] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    6.908666] PPP generic driver version 2.4.2
[    6.913579] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.920161] ehci-pci: EHCI PCI platform driver
[    6.925102] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    6.930708] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    6.938501] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    6.959810] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    6.966144] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    6.972958] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.980177] usb usb1: Product: EHCI Host Controller
[    6.985031] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    6.991462] usb usb1: SerialNumber: 40200100.ehci
[    6.997140] hub 1-0:1.0: USB hub found
[    7.000993] hub 1-0:1.0: 2 ports detected
[    7.006085] usbcore: registered new interface driver cdc_acm
[    7.011786] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    7.019893] usbcore: registered new interface driver cdc_wdm
[    7.025692] usbcore: registered new interface driver usb-storage
[    7.031979] usbcore: registered new interface driver usbserial
[    7.037867] usbcore: registered new interface driver usbserial_generic
[    7.044485] usbserial: USB Serial support registered for generic
[    7.050949] mousedev: PS/2 mouse device common for all mice
[    7.056668] i2c /dev entries driver
[    7.061291] hidraw: raw HID events driver (C) Jiri Kosina
[    7.066910] usbcore: registered new interface driver usbhid
[    7.072517] usbhid: USB HID core driver
[    7.078351] NET: Registered protocol family 10
[    7.100725] sit: IPv6 over IPv4 tunneling driver
[    7.106273] NET: Registered protocol family 17
[    7.110973] Key type dns_resolver registered
[    7.116569] registered taskstats version 1
[    7.120739] Loading compiled-in X.509 certificates
[    7.131537] zswap: default compressor lzo not available
[    7.136742] zswap: pool creation failed
[    7.147228] UBIFS error (pid 1): cannot initialize compressor lzo, error -2
[    7.176627] encrypted_key: could not allocate crypto hmac(sha256)
[    7.202670] Freeingunused kernel memory: 2▒4K (c0828000 - c0860000)
L
  sn
    [    7.384494] random:0systemd-udevd: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.395630] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.395704] random:▒systemd-udevd: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.416893] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.426432] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.436684] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.452477] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.462776] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.473192] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
[    7.483740] random: udevadm: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
Bes d.
      B/e d.
            B m B/o d.
                      /
                         B/r /h  lo
                                   d.
                                     Bfs s ricdgG
                                                 c riiv4
                                                        B/l d.
                                                              Su
                                                                B/l d.
                                                                      sp
                                                                        Su
                                                                          B/l d.
                                                                               B/l d.
     s
/
   B/l d.
         Su
           B/l d.
                 Su
                   B/l d.
                         B/l d.
                               /
                                  B/l d.
                                        sn
                                          s re_,2
                                                 /
                                                    B/l d.
                                                          B/l d.
                                                                B/l d.
                                                                      /
                                                                         B/l d.
                                                                               c risB
     B/l d.
           B/l d.
                 /
                    B/l d.
                          sn
                            s ricdgG
                                    B/l d.
                                          c ricdgG
                                                  B/l d.
                                                        s ricdgG
                                                                B/l d.
                                                                      c ricdgG
                                                                              B/l d.
    B/l d.
          B/l d.
                /  d
                    B/l d.
                          sp
                            Su
                              Su
                                B/l d.
                                      s re_,2
                                             B/l d.
                                                   s rnnae
/  d
    B/l d.
          Su
            c ricdv4
                    B/l d.
                          Ie:2 i asm
                                    B/l d.
                                          Su
                                            B/l d.
                                                  /
                                                     B/l d.
                                                           B/l d.
                                                                 s:d
                                                                    s ricdgG
                                                                            B/l d.
  sp
    B/l d.
          c riiv4
                 B/l d.
                       Su
                         B/l d.
                               sp
                                 B/l d.
                                       d.
                                         G yo
                                             a)oenM(e
                                                     c rfl ./xt
                                                               sh frI
                                                                     G yo
                                                                         a)oenM(e
 Aata
     sh fl .
            G yo
                a)oenM(e
                        c rfl ./xt
                                  Su
                                    G yo
                                        a)oenM(e
                                                c ricdgGL  s
                                                            sh -infeB
                                                                     G yo
                                                                         a)oenM(e
 Aata
     Su
       G yo
           a)oenM(e
                   Aata
                       Ie:2 i asm
                                 G yo
                                     a)oenM(e
                                             Aata
                                                 s rdsG
                                                       G yo
                                                           a)oenM(e
                                                                   ct dsG
                                                                         ata
                                                                            sd u:n
  G yo
      a)oenM(e
              Su
                ata
                   sh fl .
                          G yo
                              a)oenM(e
                                      c rfrI
                                            ata
                                               Ie:2 i asm
                                                         G yo
                                                             a)oenM(e
                                                                     Aata
                                                                         sd u:n
                                                                               G yo
   a)oenM(e
           c rilfs ./xt
                       Su
                         G yo
                             a)oenM(e
                                     Su
                                       ata
                                          Su
                                            G yo
                                                a)oenM(e
                                                        ct dsG
                                                              ata
                                                                 Su
                                                                   G yo
                                                                       a)oenM(e
                                                                               c ricdgGL  s
           sh -infeB
                    G yo
                        a)oenM(e
                                c rfl .
                                       ata
                                          Ie:2 i asm
                                                    G yo
                                                        a)oenM(e
                                                                Aata
                                                                    sh frI
                                                                          G yo
                                                                              a)oenM(e
      ct -in,2ve
                 Ie:2 i asm
                           G yo
                               a)oenM(e
                                       Aata
                                           Su
                                             G yo
                                                 a)oenM(e
                                                         Aata
                                                             Su
                                                               G yo
                                                                   a)oenM(e
                                                                           ct -indn
   ata
      Su
        G yo
            a)oenM(e
                    c rfrI
                          ata
                             Su
                               G yo
                                   a)oenM(e
                                           Aata
                                               s rdsG
                                                     G yo
                                                         a)oenM(e
                                                                 ct -in,2ve
                                                                            Su
                                                                              G yo
  a)oenM(e
          ct lfs ./xt
                     s
                         ed
                           G yo
                               a)oenM(e
                                       Aata
                                           s rd_n_
                                                  G yo
                                                      a)oenM(e
                                                              c rfrI
                                                                    ata
                                                                       Su
                                                                         G yo
                                                                             a)oenM(e
     c ricdgGL  s
                 Ie:2 i asm
                           G yo
                               a)oenM(e
                                       Su
                                         Aata
                                             s rd_n_
                                                    G yo
                                                        a)oenM(e
                                                                Aata
                                                                    s ricdnt_
                                                                             G yo
 a)oenM(e
         Aata
             Su
               G yo
                   a)oenM(e
                           Aata
                               s rnbG yo
                                        a)oenM(e
                                                Su
                                                  ata
                                                     Su
                                                       G yo
                                                           a)oenM(e
                                                                   c ricdv4sio
                                                                              sd -in,2
      G yo
          a)oenM(e
                  Ie:2 i asmL  s
                                s

G yo
    a)oenM(e
            Aata
                s rnbG yo
                         a)oenM(e
                                 Aata
                                     s rilfs
                                             G yo
                                                 a)oenM(e
                                                         c rfl ./xt
                                                                   s ricdnt_
                                                                            G yo
                                                                               a)oenM(e
       c ricdgGL  s
                   sh -dd_d_
                            G yo
                                a)oenM(e
                                        Su
                                          ata
                                             Su
                                               G yo
                                                   a)oenM(e
                                                           ct -indn
                                                                   ata
                                                                      s ricdv4
                                                                              G yo
  a)oenM(e
          Aata
              Su
                G yo
                    a)oenM(e
                            Aata
                                Su
                                  G yo
                                      a)oenM(e
                                              Aata
                                                  Su
                                                    G yo
                                                        a)oenM(e
                                                                c ricdgGL  s
                                                                            Su
                                                                              G yo
  a)oenM(e
          Aata
              Su
                G yo
                    a)oenM(e
                            Aata
                                s
                                   s
G yo
    a)oenM(e
            Su
              ata

.2-
   rt
*` z*
     Ad
       G yo
           a)oenM(e
                   c ricdv4sio
                              s rilfs .
                                       G yo
                                           a)oenM(e
                                                   ct -in,2ve
                                                              Ie:2 i asm
                                                                        G yo
                                                                            a)oenM(e
    ct lfs ./xt
               sh -infeB
                        G yo
                            a)oenM(e
                                    Aata
                                        Su
                                          G yo
                                              a)oenM(e
                                                      Aata
                                                          Su
                                                            G yo
                                                                a)oenM(e
                                                                        c ricdgGL  s
    s ricdv4
            G yo
                a)oenM(e
                        Aata
                            Su
                              G yo
                                  a)oenM(e
                                          c rfrI
                                                ata
                                                   s ricdgG
                                                           G yo
                                                               a)oenM(e
                                                                       Su
                                                                         ata
                                                                            s rdsG
  G yo
      a)oenM(e
              c rilfs ./xt
                          Su
                            G yo
                                a)oenM(e
                                        Aata
                                            Su
                                              G yo
                                                  a)oenM(e
                                                          Su
                                                            ata
                                                               s rilfs .
                                                                        G yo
                                                                            a)oenM(e
    c ricdv4sio
               Su
                 G yo
                     a)oenM(e
                             Aata
                                 Ie:2 i asm
                                           G yo
                                               a)oenM(e
                                                       Aata
                                                           s
                                                              s
                                                                G yo
                                                                    a)oenM(e
                                                                            Aata
                                                                               s etsu
     G yo
         a)oenM(e
                 Aata
                     Su
                       G yo
                           a)oenM(e
                                   Aata
                                       sh -in,2
                                               G yo
                                                   a)oenM(e
                                                           Aata
                                                               Su
                                                                 [   34.740771] Kernel panic - not syncing: Attempted to kill init! exitcode=9x000000▒b
[   34.748492] CPU: 1 PID: 1 Comm: ini Not tainted 4.4.54-oxnas-tld-1▒#▒
[   34.754982] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[   34.761497] [c0010c6▒>] (unwind_backtrace) from [<c000cf8c>]z(show_stack+0x10/0x14)
[   34.769213] [c000cf8▒>] (show_stack) from [<c02cf840>] (dump_stack+0x84/0xa0)
[   34.776409] [c02cf84▒>] (dump_stack) from [<c0091c78>] (pani▒+0x8c/0x1ec)
[   34.783257] [c0091c7▒>] (pan▒c) from [<c001a5f0>] (do_exit+0x9b)
[   34.789324] [c001a5f▒>] (do_exit) from [<c001b600>] do_group_exi)
[   34.795568] [c001b60▒>] (do_group_exit) from [<c002452c>] (get_signal+0x200/0x5e`)
[   34.803192] [c002452▒>] (get_signal) from [<c000c72c>] (do_signal+0xb4/0x3b0)
[   34.810380] [c000c72▒>] (do_signal) from [<c000cbcc>] (do_work_pending+0x94)
[   34.817487] [c000cbc▒>] (do_work_pending) from [<c000a4ac>] ▒slow_work_pending+0x)
[   34.825111] CPU0: stopping
[   34.827816] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.54-oxnas-tld-1 #2
[   34.834736] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[   34.841244] [<c0010c6c>] (unwind_backtrace) from [<c000cf8c>] (show_stack+0x10/0x14)
[   34.848960] [<c000cf8c>] (show_stack) from [<c02cf840>] (dump_stack+0x84/0xa0)
[   34.856158] [<c02cf840>] (dump_stack) from [<c000fb84>] (handle_IPI+0x190/0x1c4)
[   34.863523] [<c000fb84>] (handle_IPI) from [<c0009468>] (gic_handle_irq+0x74/0x7c)
[   34.871060] [<c0009468>] (gic_handle_irq) from [<c000da20>] (__irq_svc+0x40/0x74)
[   34.878504] Exception stack(0xc0861f50 to 0xc0861f98)
[   34.883527] 1f40:                                     00000001 00000000 00000000 00000000
[   34.891665] 1f60: 00000000 c061c62c 00000000 c0861fa8 c085b2c4 c08686ac c0860000 00000000
[   34.899801] 1f80: 0000000c c0861fa0 c000af3c c000af40 60000013 ffffffff
[   34.906391] [<c000da20>] (__irq_svc) from [<c000af40>] (arch_cpu_idle+0x28/0x30)
[   34.913758] [<c000af40>] (arch_cpu_idle) from [<c004d348>] (cpu_startup_entry+0x14c/0x260)
[   34.921991] [<c004d348>] (cpu_startup_entry) from [<c0828bf8>] (start_kernel+0x338/0x3ac)
[   34.930135] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=9x000000▒▒
[   34.930135]

+ Umm...

It was luck. - Error2.txt
Loop errors. - Error3.txt


+ Solved.

When rebooting, it was difficult to put the above command, so I saved it and it crashed.
The original u-boot.env is copied again, so it boots.

If the device resets for a while, I'll have to type the above command.



Edited 1 time(s). Last edit at 05/14/2020 08:09AM by Kang Jinsu.
Attachments:
open | download - Error2.txt (17.3 KB)
open | download - Error3.txt (12.3 KB)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 14, 2020 04:35PM
Kang Jinsu,

The successful boot above has both HDD and USB plugged in,
https://forum.doozan.com/read.php?2,102079,102624#msg-102624

So keep both drives plugged in like that and try booting again. When it boot into Debian, leave it running, log in as root.

And then reboot, enter envs, let it boot. If the error occurs again and it hang then shutdown power.

And then power up, enter the envs, let it boot.

Post back here the the entire log of all of the above.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 15, 2020 12:48AM
Here serial console logs.


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  8192 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 715 ms (6.2 MiB/s)
4594376 bytes read in 674 ms (6.5 MiB/s)
** File not found /boot/dts/ox820-akitio.dtb **
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   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 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
resetting ...

U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  8192 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # [6~
Unknown command '[6~' - try 'help'
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 715 ms (6.2 MiB/s)
4594376 bytes read in 687 ms (6.4 MiB/s)
7816 bytes read in 36 ms (211.9 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   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 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   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 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

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: Akitio MyCloud mini
[    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 @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246152K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15992K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 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.008335] Console: colour dummy device 80x30
[    0.012894] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072583] pid_max: default: 32768 minimum: 301
[    0.077424] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084129] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092049] Initializing cgroup subsys net_cls
[    0.096624] CPU: Testing write buffer coherency: ok
[    0.102003] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239936] Brought up 2 CPUs
[    0.242979] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250114] devtmpfs: initialized
[    0.259056] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269007] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275499] prandom: seed boundary self test passed
[    0.284820] prandom: 100 self tests passed
[    0.288990] pinctrl core: initialized pinctrl subsystem
[    0.295086] NET: Registered protocol family 16
[    0.300172] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329820] cpuidle: using governor ladder
[    0.359813] cpuidle: using governor menu
[    0.369108] gpio-oxnas 44000000.gpio: at address d0848000
[    0.374986] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381102] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.400808] vgaarb: loaded
[    0.404044] SCSI subsystem initialized
[    0.408683] usbcore: registered new interface driver usbfs
[    0.414402] usbcore: registered new interface driver hub
[    0.419957] usbcore: registered new device driver usb
[    0.425264] pps_core: LinuxPPS API ver. 1 registered
[    0.430328] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439554] PTP clock support registered
[    0.445672] clocksource: Switched to clocksource rps_clocksource_timer
[    0.470986] NET: Registered protocol family 2
[    0.476275] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.483384] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.489971] TCP: Hash tables configured (established 2048 bind 2048)
[    0.496468] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.502428] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.509012] NET: Registered protocol family 1
[    0.514004] RPC: Registered named UNIX socket transport module.
[    0.520028] RPC: Registered udp transport module.
[    0.524792] RPC: Registered tcp transport module.
[    0.529553] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536437] Unpacking initramfs...
[    1.012779] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.020293] Initialise system trusted keyring
[    1.037982] zbud: loaded
[    1.045900] NFS: Registering the id_resolver key type
[    1.051174] Key type id_resolver registered
[    1.055421] Key type id_legacy registered
[    1.059530] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.066344] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.073738] fuse init (API version 7.23)
[    1.079823] Key type big_key registered
[    1.165498] Key type asymmetric registered
[    1.169681] Asymmetric key parser 'x509' registered
[    1.174812] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.182312] io scheduler noop registered
[    1.186306] io scheduler deadline registered
[    1.190750] io scheduler cfq registered (default)
[    1.196160] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.204147] console [ttyS0] disabled
[    1.207869] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.216570] console [ttyS0] enabled
[    1.216570] console [ttyS0] enabled
[    1.223616] bootconsole [earlycon0] disabled
[    1.223616] bootconsole [earlycon0] disabled
[    1.243983] loop: module loaded
[    1.249914] scsi host0: sata_oxnas
[    1.254059] scsi host1: sata_oxnas
[    1.257858] ata1: SATA max UDMA/133 irq 7
[    1.261905] ata2: SATA max UDMA/133 irq 7
[    1.266004] sata_oxnas: resetting SATA core
[    1.266892] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xde
[    1.266900] nand: Hynix NAND 8GiB 3,3V 8-bit
[    1.266908] nand: 8192 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.266951] Scanning device for bad blocks
[    1.809940] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.816962] ata1.00: ATA-8: HGST HTS545050A7E680, GR2OA230, max UDMA/133
[    1.823672] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    1.831316] ata1.00: configured for UDMA/133
[    1.836313] scsi 0:0:0:0: Direct-Access     ATA      HGST HTS545050A7 A230 PQ: 0 ANSI: 5
[    1.851584] sata_oxnas: resetting SATA core
[    1.860193] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    1.867650] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.879531] sd 0:0:0:0: [sda] Write Protect is off
[    1.884613] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.893798] sata_oxnas: resetting SATA core
[    2.569943] ata2: SATA link down (SStatus 0 SControl 300)
[    2.649950] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.656808] ata1: hard resetting link
[    3.569935] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.577917] ata1.00: configured for UDMA/133
[    3.582297] ata1: EH complete
[    3.932697]  sda: sda1
[    3.936993] sd 0:0:0:0: [sda] Attached SCSI disk
[    6.603527] 2 ofpart partitions found on MTD device 41000000.nand
[    6.609594] Creating 2 MTD partitions on "41000000.nand":
[    6.614999] 0x000000000000-0x0000026c0000 : "boot"
[    6.621693] 0x0000026c0000-0x000010000000 : "ubi"
[    6.629004] oxnas-gmac 40400000.ethernet: no reset control found
[    6.635046] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    6.640097]  Ring mode enabled
[    6.643133]  DMA HW capability register supported
[    6.647633]  Enhanced/Alternate descriptors
[    6.651983]  Enabled extended descriptors
[    6.655971]  RX Checksum Offload Engine supported (type 2)
[    6.661445]  TX Checksum insertion supported
[    6.665689]  Wake-Up On Lan supported
[    6.669329]  Enable RX Mitigation via HW Watchdog Timer
[    6.689564] libphy: stmmac: probed
[    6.693025] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    6.699440] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    6.706199] PPP generic driver version 2.4.2
[    6.711114] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.717626] ehci-pci: EHCI PCI platform driver
[    6.722629] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    6.728130] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    6.736012] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    6.759907] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    6.766238] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    6.773058] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.780280] usb usb1: Product: EHCI Host Controller
[    6.785136] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    6.791580] usb usb1: SerialNumber: 40200100.ehci
[    6.797296] hub 1-0:1.0: USB hub found
[    6.801159] hub 1-0:1.0: 2 ports detected
[    6.806302] usbcore: registered new interface driver cdc_acm
[    6.811998] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    6.820106] usbcore: registered new interface driver cdc_wdm
[    6.825914] usbcore: registered new interface driver usb-storage
[    6.832135] usbcore: registered new interface driver usbserial
[    6.838016] usbcore: registered new interface driver usbserial_generic
[    6.844620] usbserial: USB Serial support registered for generic
[    6.851059] mousedev: PS/2 mouse device common for all mice
[    6.856783] i2c /dev entries driver
[    6.861427] hidraw: raw HID events driver (C) Jiri Kosina
[    6.867051] usbcore: registered new interface driver usbhid
[    6.872652] usbhid: USB HID core driver
[    6.878512] NET: Registered protocol family 10
[    6.884352] sit: IPv6 over IPv4 tunneling driver
[    6.889966] NET: Registered protocol family 17
[    6.894556] Key type dns_resolver registered
[    6.900395] registered taskstats version 1
[    6.904514] Loading compiled-in X.509 certificates
[    6.909396] zswap: loaded using pool lzo/zbud
[    6.928368] Key type encrypted registered
[    6.935559] Freeing unused kernel memory: 224K (c0828000 - c0860000)
Loading, please wait...
starting version 232
[    7.118028] random: systemd-udevd: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.119861] usb 1-2: new high-speed USB device number 2 using oxnas-ehci
[    7.130416] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.132776] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.132963] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.134013] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.140549] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.141632] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.142786] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.144166] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.145182] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.271055] usb 1-2: New USB device found, idVendor=0781, idProduct=5567
[    7.277739] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.300111] usb 1-2: Product: Cruzer Blade
[    7.304199] usb 1-2: Manufacturer: SanDisk
[    7.308275] usb 1-2: SerialNumber: 4C530000130118211511
[    7.314972] usb-storage 1-2:1.0: USB Mass Storage device detected
[    7.340126] scsi host2: usb-storage 1-2:1.0
[    7.365864] usbcore: registered new interface driver uas
[    7.540526] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[    8.341401] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[    8.356840] sd 2:0:0:0: [sdb] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB)
[    8.366888] sd 2:0:0:0: [sdb] Write Protect is off
[    8.375833] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    8.438474]  sdb: sdb1
[    8.447068] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[   13.564008] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   13.581442] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[....] Synthesizing the initial hotplug events...[   17.035742] random: nonblocking pool is initialized
[   17.385525] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   19.086415] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
rootfs: clean, 14011/262144 files, 148995/1048576 blocks
done.
[   19.508958] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
[   29.559959] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.68.9 from 192.168.68.1
DHCPACK of 192.168.68.9 from 192.168.68.1
bound to 192.168.68.9 -- renewal in 3132 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1262 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1261 (klogd)
. ok
[ ok ] Starting NTP server: ntpd.

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:
Last login: Thu May 14 08:49:52 PDT 2020 on ttyS0
Linux debian 4.4.54-oxnas-tld-1 #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~#

Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 15, 2020 01:04AM
Kang Jinsu,

Everything looks good!

Now reboot

shutdown -r now

Please post entire serial console from the above reboot command.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 15, 2020 01:51AM
Here serial console logs.

* When I didn't enter the command :


root@debian:~# shutdown -r now

Broadcast message from root@debian (ttyS0) (Thu May 14 23:49:12 2020):

INIT: Sending[info] Using makefile-style concurrent boot in runlevel 6.
[....] Stopping busybox' klogd implementation: klogd1261 (klogd)
Stopped klogd (pid 1261).
. ok
[ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Stopping busybox' syslogd implementation: syslogd1262 (syslogd)
. ok
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 1 seconds...done.
[ ok ] Stopping RPC port mapper daemon: rpcbind.
[ ok ] Stopping NFS common utilities: idmapd statd.
[....] Deconfiguring network interfaces...Removed stale PID file
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.68.1 port 67
done.
[ ok ] Unmounting temporary filesystems...done.
[ ok ] Deactivating swap...done.
[ 8523.622609] EXT4-fs (sda1): re-mounted. Opts: (null)
[info] Will now restart.
[ 8525.843281] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 8525.848942] reboot: Restarting system

U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  8192 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
2212156 bytes read in 349 ms (6 MiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-2.6.31.14_OX820_1.2_shv
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2212092 Bytes = 2.1 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux....................................................................................................................................... done, booting the kernel.
[    0.000000] Linux version 2.6.31.14_OX820_1.2_shv (root@plug2) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Fri Oct 4 11:38:10 CEST 2013
[    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=/dev/sda2 rootfstype=ext3 console=ttyS0,115200 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: 125368KB available (3816K code, 304K data, 132K 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.230000] Security Framework initialized
[    0.230000] Mount-cache hash table entries: 512
[    0.240000] CPU: Testing write buffer coherency: ok
[    0.240000] Calibrating local timer... 425.50MHz.
[    0.310000] CPU1: Booted secondary processor
[    0.410000] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.620000] Brought up 2 CPUs
[    0.630000] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.640000] NET: Registered protocol family 16
[    0.640000] Number of DMA channels = 4, version = 4
[    0.650000] Reserving a DMA channel for DirectRAID
[    0.650000] Allocating 389 SRAM generic DMA descriptors

Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 15, 2020 02:36AM
Kang Jinsu,

> * When I didn't enter the command :

No. You need to repeat exactly the same setenv commands after reboot as before.

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



Edited 1 time(s). Last edit at 05/15/2020 02:37AM by bodhi.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 15, 2020 04:19AM
Uh, i understand. sorry.

Here serial console logs.

Umm, error again...


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  8192 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 714 ms (6.2 MiB/s)
4594376 bytes read in 673 ms (6.5 MiB/s)
7816 bytes read in 35 ms (217.8 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   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 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   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 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

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: Akitio MyCloud mini
[    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 @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246152K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15992K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 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.008335] Console: colour dummy device 80x30
[    0.012892] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072586] pid_max: default: 32768 minimum: 301
[    0.077427] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084131] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092055] Initializing cgroup subsys net_cls
[    0.096627] CPU: Testing write buffer coherency: ok
[    0.102008] Setting up static identity map for 0x60008220 - 0x60008258
[   20.23987▒] Unable to handle kerneldNULL pointer dereferencb at virtual addres 0000000
[   0.23991▒] Brought up 2 CPUs
[   0.23992▒] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[   80.24058▒] devtmpfs: initialized
[   0.25031▒] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[   60.25035▒] futex hash table entries: 512 (order: 2, 16384 bytes)
[   0.25062▒] prandom: seed boundary self test passed
[   0.25497▒] prandom: 100 self tests passed
[   0.25498▒] pinctrl core: initialized pinctrl subsystem
[   0.25580▒] NET: Registered protocol family 16
[   80.25633▒] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   0.30257] pgd = c000400
[   ▒0.305340] [00000000] *pgd?00000000
[   0.30916] Internal error:Oops: 5 [#p] PREEMPT SMP ARM
[   0.314522] Modules linked in:
[   ▒0.31765▒] ▒CP: 1 PID 0 Commp swapper/1 Not tainted 4.4.54-oxnas-tld▒1 #2
[   0.32482▒] ▒Hardware name: PLXnECH NAS782X SoC (Flattened Device Tree)
[   0.33157▒] ▒task: cf046d00 ti: cf06a000 task.t0: cf06aS00
[   ▒0.33721▒] PC is at _raw_spin_lo▒k+0x14/0x54
[   ▒0.34162▒] LR is at _raw_spin_lo▒k+0x10/0x5h
[   0.346045] pc :[<c061a 24>]    lr : [<c061ab20>]    p: 800003
[    ▒.346045V sp cf06bfa  ip : c086c9a0  fp 0 cf06a0<0
[   0.357637] r10:cf06a000  r9 : c08686ac  r8  0000001
[   0.362915] r7 :40000013  r6 : c08a7bda  r5  00000000  r4 :0000000▒
[   0.369489] r3 :00000002  r2 : 00000002  r1  c07803:0  r0 :0000000▒
[   00.376066] Flag: Nz▒v  IRQseofI  FIQs Bn  ModeMSVC_32  ISA ARM  Segmen  kernel
[   0.383508] Control: 00c5787d  Table:6000400a  DAC: 0000005D
[   0.38930] Process▒swapper▒1 (pid:0, stack limit = 00cf06a19)
[   0.39536] eStack: (0xcf06bfa8 to 00cf06c04▒)
[   0.39995] bf▒0:
[   0.40359] bf▒0: 00c0387cf06bfe
[   0.40724] bf▒0: c085e20c000f80
[   0.410900] [▒c061ab2▒>](_raw_spin_lock) from c0063554>] (rcucread_unlock_special40xd)
[   20.419220] [▒c006355▒>](rcu_read_unlock_special) from 0<c005d80>] (__rcu_read_unlo0k+0x▒0/0x50)
[   0.428226] [0c005d82▒>](__rcu_read_unlck) from [<c0074710>] (tick_nohz_idle_enter)
[   00.436111] [0c007471▒>]G(tick_nohz_idle_enteP) from ▒<c004d2▒0> (cpu_startup_ent4y+0x▒4/0x2▒0)
[   0.444940] [0c004d23▒>](cpu_startup_enry) from [<60009508>] (0x60009508)
[   0.45195▒] ▒Code: e1a04▒00 e3a00001 ebe87a08df5d4f00O (e1943f9)
[   ▒0.45829] ---[ end trace 7ea5e7446df21812 ]---
[   0.46297▒] Kernel panic - not syncingj Attempted to kill the idle tas!
[    0.469736] CPU0: stopping
[    0.472524] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D         4.4.54-oxnas-tld-1 #2
[    0.480742] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[    0.487339] [<c0010c6c>] (unwind_backtrace) from [<c000cf8c>] (show_stack+0x10/0x14)
[    0.495137] [<c000cf8c>] (show_stack) from [<c02cf840>] (dump_stack+0x84/0xa0)
[    0.502420] [<c02cf840>] (dump_stack) from [<c000fb84>] (handle_IPI+0x190/0x1c4)
[    0.509867] [<c000fb84>] (handle_IPI) from [<c0009468>] (gic_handle_irq+0x74/0x7c)
[    0.517488] [<c0009468>] (gic_handle_irq) from [<c000da20>] (__irq_svc+0x40/0x74)
[    0.525015] Exception stack(0xc0861f50 to 0xc0861f98)
[    0.530124] 1f40:                                     00000001 00000000 00000000 00000000
[    0.538347] 1f60: 00000000 c061c62c 00000000 c0861fa8 c085b2c4 c08686ac c0860000 00000000
[    0.546572] 1f80: 00000018 c0861fa0 c000af3c c000af40 60000013 ffffffff
[    0.553241] [<c000da20>] (__irq_svc) from [<c000af40>] (arch_cpu_idle+0x28/0x30)
[    0.560693] [<c000af40>] (arch_cpu_idle) from [<c004d348>] (cpu_startup_entry+0x14c/0x260)
[    0.569011] [<c004d348>] (cpu_startup_entry) from [<c0828bf8>] (start_kernel+0x338/0x3ac)
[    0.577236] [<c0828bf8>] (start_kernel) from [<60008074>] (0x60008074)
[   0.58382▒] ---[ end Kernel panic - not syncin▒: Attempted to kill the idle takk!

Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 15, 2020 04:34AM
Here second logs :

so long... logs.txt
Attachments:
open | download - logs.txt (114.4 KB)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 15, 2020 03:52PM
Kang Jinsu,

So the last few boots were successfuly booted into Debianl!

Keep the box running, don't reboot yet.

I will write some new envs for you to try, and hopefully will allow you to flash the new u-boot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 15, 2020 04:37PM
I guess it is always a good idea to get a reliable power supply first. As I mentioned, these boxes are about 10 years old, the power supply might not last so long, especially those high current ones. A bad power supply can cause very strange problems and these strange problems are not easy to reproduce. :P
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 15, 2020 06:07PM
daviddyer Wrote:
-------------------------------------------------------
> I guess it is always a good idea to get a reliable
> power supply first. As I mentioned, these boxes
> are about 10 years old, the power supply might not
> last so long, especially those high current ones.
> A bad power supply can cause very strange problems
> and these strange problems are not easy to
> reproduce. :P


That thought did come to my mind:)

This gic_irq error is a known behavior, though. Even booting with USB is unstable because of that error.

For the Oxnas boxes, I could create this error in older kernel easily, too.

So I thought flashing new uboot first would be easy to do. And that will allow booting with USB alone.

There is also another way to test. I will get to that.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 15, 2020 10:26PM
Uh, Sudden power failure yesterday, the device turned off.

Here serial console logs.

Success booting.


U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  8192 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 726 ms (6.1 MiB/s)
4594376 bytes read in 674 ms (6.5 MiB/s)
7816 bytes read in 36 ms (211.9 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   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 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   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 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

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: Akitio MyCloud mini
[    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 @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246152K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15992K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 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.008335] Console: colour dummy device 80x30
[    0.012892] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072588] pid_max: default: 32768 minimum: 301
[    0.077427] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084134] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092052] Initializing cgroup subsys net_cls
[    0.096629] CPU: Testing write buffer coherency: ok
[    0.102013] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239933] Brought up 2 CPUs
[    0.242979] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250122] devtmpfs: initialized
[    0.259066] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269015] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275502] prandom: seed boundary self test passed
[    0.284823] prandom: 100 self tests passed
[    0.288995] pinctrl core: initialized pinctrl subsystem
[    0.295119] NET: Registered protocol family 16
[    0.300211] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329822] cpuidle: using governor ladder
[    0.359818] cpuidle: using governor menu
[    0.369259] gpio-oxnas 44000000.gpio: at address d0848000
[    0.375144] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381268] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.401313] vgaarb: loaded
[    0.404546] SCSI subsystem initialized
[    0.409187] usbcore: registered new interface driver usbfs
[    0.414904] usbcore: registered new interface driver hub
[    0.420462] usbcore: registered new device driver usb
[    0.425768] pps_core: LinuxPPS API ver. 1 registered
[    0.430830] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.440071] PTP clock support registered
[    0.446223] clocksource: Switched to clocksource rps_clocksource_timer
[    0.471160] NET: Registered protocol family 2
[    0.476439] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.483553] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.490122] TCP: Hash tables configured (established 2048 bind 2048)
[    0.496616] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.502571] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.509148] NET: Registered protocol family 1
[    0.514135] RPC: Registered named UNIX socket transport module.
[    0.520161] RPC: Registered udp transport module.
[    0.524928] RPC: Registered tcp transport module.
[    0.529689] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536565] Unpacking initramfs...
[    1.013826] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.021232] Initialise system trusted keyring
[    1.038988] zbud: loaded
[    1.047150] NFS: Registering the id_resolver key type
[    1.052439] Key type id_resolver registered
[    1.056688] Key type id_legacy registered
[    1.060853] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.067617] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.074987] fuse init (API version 7.23)
[    1.081054] Key type big_key registered
[    1.161850] Key type asymmetric registered
[    1.166036] Asymmetric key parser 'x509' registered
[    1.171164] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.178618] io scheduler noop registered
[    1.182673] io scheduler deadline registered
[    1.187061] io scheduler cfq registered (default)
[    1.192535] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.200529] console [ttyS0] disabled
[    1.204254] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.212966] console [ttyS0] enabled
[    1.212966] console [ttyS0] enabled
[    1.220024] bootconsole [earlycon0] disabled
[    1.220024] bootconsole [earlycon0] disabled
[    1.240099] loop: module loaded
[    1.245911] scsi host0: sata_oxnas
[    1.250155] scsi host1: sata_oxnas
[    1.254010] ata1: SATA max UDMA/133 irq 7
[    1.258007] ata2: SATA max UDMA/133 irq 7
[    1.262141] sata_oxnas: resetting SATA core
[    1.263029] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xde
[    1.263034] nand: Hynix NAND 8GiB 3,3V 8-bit
[    1.263045] nand: 8192 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.263083] Scanning device for bad blocks
[    1.799938] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.806960] ata1.00: ATA-8: HGST HTS545050A7E680, GR2OA230, max UDMA/133
[    1.813670] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    1.821306] ata1.00: configured for UDMA/133
[    1.826309] scsi 0:0:0:0: Direct-Access     ATA      HGST HTS545050A7 A230 PQ: 0 ANSI: 5
[    1.841674] sata_oxnas: resetting SATA core
[    1.850186] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    1.857643] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.869603] sd 0:0:0:0: [sda] Write Protect is off
[    1.874688] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.883878] sata_oxnas: resetting SATA core
[    2.559953] ata2: SATA link down (SStatus 0 SControl 300)
[    2.639951] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.646809] ata1: hard resetting link
[    3.559938] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.567918] ata1.00: configured for UDMA/133
[    3.572369] ata1: EH complete
[    3.932288]  sda: sda1
[    3.936599] sd 0:0:0:0: [sda] Attached SCSI disk
[    6.569976] 2 ofpart partitions found on MTD device 41000000.nand
[    6.576046] Creating 2 MTD partitions on "41000000.nand":
[    6.581447] 0x000000000000-0x0000026c0000 : "boot"
[    6.588185] 0x0000026c0000-0x000010000000 : "ubi"
[    6.611256] oxnas-gmac 40400000.ethernet: no reset control found
[    6.617244] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    6.622315]  Ring mode enabled
[    6.625351]  DMA HW capability register supported
[    6.629880]  Enhanced/Alternate descriptors
[    6.634211]  Enabled extended descriptors
[    6.638195]  RX Checksum Offload Engine supported (type 2)
[    6.643671]  TX Checksum insertion supported
[    6.647912]  Wake-Up On Lan supported
[    6.651576]  Enable RX Mitigation via HW Watchdog Timer
[    6.672138] libphy: stmmac: probed
[    6.675537] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    6.682017] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    6.688775] PPP generic driver version 2.4.2
[    6.693675] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.700254] ehci-pci: EHCI PCI platform driver
[    6.705205] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    6.710809] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    6.718602] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    6.739814] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    6.746145] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    6.752962] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.760284] usb usb1: Product: EHCI Host Controller
[    6.765145] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    6.771601] usb usb1: SerialNumber: 40200100.ehci
[    6.777310] hub 1-0:1.0: USB hub found
[    6.781163] hub 1-0:1.0: 2 ports detected
[    6.786306] usbcore: registered new interface driver cdc_acm
[    6.792005] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    6.800110] usbcore: registered new interface driver cdc_wdm
[    6.805913] usbcore: registered new interface driver usb-storage
[    6.812134] usbcore: registered new interface driver usbserial
[    6.818017] usbcore: registered new interface driver usbserial_generic
[    6.824619] usbserial: USB Serial support registered for generic
[    6.831068] mousedev: PS/2 mouse device common for all mice
[    6.836794] i2c /dev entries driver
[    6.841408] hidraw: raw HID events driver (C) Jiri Kosina
[    6.847029] usbcore: registered new interface driver usbhid
[    6.852636] usbhid: USB HID core driver
[    6.858580] NET: Registered protocol family 10
[    6.864468] sit: IPv6 over IPv4 tunneling driver
[    6.870097] NET: Registered protocol family 17
[    6.874703] Key type dns_resolver registered
[    6.880601] registered taskstats version 1
[    6.884720] Loading compiled-in X.509 certificates
[    6.889605] zswap: loaded using pool lzo/zbud
[    6.908464] Key type encrypted registered
[    6.932538] Freeing unused kernel memory: 224K (c0828000 - c0860000)
Loading, please wait...
[    7.099901] usb 1-2: new high-speed USB device number 2 using oxnas-ehci
starting version 232
[    7.115793] random: systemd-udevd: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.127219] random: systemd-udevd: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.127933] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.130293] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.130460] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.131517] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.137912] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.138954] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.140154] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.141506] random: udevadm: uninitialized urandom read (16 bytes read, 10 bits of entropy available)
[    7.301693] usb 1-2: New USB device found, idVendor=0781, idProduct=5567
[    7.308380] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.337057] usb 1-2: Product: Cruzer Blade
[    7.341370] usb 1-2: Manufacturer: SanDisk
[    7.345461] usb 1-2: SerialNumber: 4C530000130118211511
[    7.370455] usb-storage 1-2:1.0: USB Mass Storage device detected
[    7.410700] scsi host2: usb-storage 1-2:1.0
[    7.460464] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)
[    7.772078] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[    8.411371] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[    8.427507] sd 2:0:0:0: [sdb] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB)
[    8.436733] sd 2:0:0:0: [sdb] Write Protect is off
[    8.442611] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    8.498071]  sdb: sdb1
[    8.506490] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[   13.217507] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   13.506923] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   13.513815] EXT4-fs (sda1): write access will be enabled during recovery
[   13.636669] EXT4-fs (sda1): recovery complete
[   13.652625] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[....] Synthesizing the initial hotplug events...[   17.290311] random: nonblocking pool is initialized
[   17.303472] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   19.008168] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
rootfs: clean, 14013/262144 files, 149003/1048576 blocks
done.
[   19.408581] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.29.2
rootfs: clean, 11968/940240 files, 276089/3753723 blocks
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
[   29.629980] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   35.049766] ------------[ cut here ]------------
[   35.054392] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:306 dev_watchdog+0x238/0x25c()
[   35.062812] NETDEV WATCHDOG: eth0 (oxnas-gmac): transmit queue 0 timed out
[   35.069649] Modules linked in: gpio_keys_polled input_polldev gpio_keys uas i2c_gpio i2c_algo_bit dwmac_generic
[   35.079738] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.54-oxnas-tld-1 #2
[   35.086661] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[   35.093178] [<c0010c6c>] (unwind_backtrace) from [<c000cf8c>] (show_stack+0x10/0x14)
[   35.100894] [<c000cf8c>] (show_stack) from [<c02cf840>] (dump_stack+0x84/0xa0)
[   35.108096] [<c02cf840>] (dump_stack) from [<c0018934>] (warn_slowpath_common+0x78/0xb4)
[   35.116154] [<c0018934>] (warn_slowpath_common) from [<c00189a0>] (warn_slowpath_fmt+0x30/0x40)
[   35.124823] [<c00189a0>] (warn_slowpath_fmt) from [<c04cee80>] (dev_watchdog+0x238/0x25c)
[   35.132971] [<c04cee80>] (dev_watchdog) from [<c0064c4c>] (call_timer_fn+0x24/0x9c)
[   35.140597] [<c0064c4c>] (call_timer_fn) from [<c0064e18>] (run_timer_softirq+0x154/0x224)
[   35.148828] [<c0064e18>] (run_timer_softirq) from [<c001bf24>] (__do_softirq+0xfc/0x248)
[   35.156881] [<c001bf24>] (__do_softirq) from [<c001c348>] (irq_exit+0xc4/0x110)
[   35.164162] [<c001c348>] (irq_exit) from [<c0056aa4>] (__handle_domain_irq+0x90/0x10c)
[   35.172047] [<c0056aa4>] (__handle_domain_irq) from [<c000942c>] (gic_handle_irq+0x38/0x7c)
[   35.180364] [<c000942c>] (gic_handle_irq) from [<c000da20>] (__irq_svc+0x40/0x74)
[   35.187806] Exception stack(0xc0861f50 to 0xc0861f98)
[   35.192834] 1f40:                                     00000001 00000000 00000000 00000000
[   35.200977] 1f60: 00000000 c061c62c 00000000 c0861fa8 c085b2c4 c08686ac c0860000 00000000
[   35.209113] 1f80: 00000000 c0861fa0 c000af3c c000af40 60000013 ffffffff
[   35.215703] [<c000da20>] (__irq_svc) from [<c000af40>] (arch_cpu_idle+0x28/0x30)
[   35.223070] [<c000af40>] (arch_cpu_idle) from [<c004d348>] (cpu_startup_entry+0x14c/0x260)
[   35.231303] [<c004d348>] (cpu_startup_entry) from [<c0828bf8>] (start_kernel+0x338/0x3ac)
[   35.239472] ---[ end trace ae6cbc325d978afe ]---


[   ▒
U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  8192 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 725 ms (6.1 MiB/s)
4594376 bytes read in 684 ms (6.4 MiB/s)
7816 bytes read in 36 ms (211.9 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   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 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   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 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

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: Akitio MyCloud mini
[    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 @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246152K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15992K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 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.008335] Console: colour dummy device 80x30
[    0.012892] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072586] pid_max: default: 32768 minimum: 301
[    0.077427] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084131] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092052] Initializing cgroup subsys net_cls
[    0.096629] CPU: Testing write buffer coherency: ok
[    0.102013] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239936] Brought up 2 CPUs
[    0.242982] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250122] devtmpfs: initialized
[    0.259302] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269253] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275737] prandom: seed boundary self test passed
[    0.285061] prandom: 100 self tests passed
[    0.289233] pinctrl core: initialized pinctrl subsystem
[    0.295352] NET: Registered protocol family 16
[    0.300441] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329822] cpuidle: using governor ladder
[    0.359818] cpuidle: using governor menu
[    0.369075] gpio-oxnas 44000000.gpio: at address d0848000
[    0.374958] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381091] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.400650] vgaarb: loaded
[    0.403888] SCSI subsystem initialized
[    0.408550] usbcore: registered new interface driver usbfs
[    0.414269] usbcore: registered new interface driver hub
[    0.419829] usbcore: registered new device driver usb
[    0.425139] pps_core: LinuxPPS API ver. 1 registered
[    0.430200] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439416] PTP clock support registered
[    0.445606] clocksource: Switched to clocksource rps_clocksource_timer
[    0.470622] NET: Registered protocol family 2
[    0.475909] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.483020] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.489553] TCP: Hash tables configured (established 2048 bind 2048)
[    0.496079] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.502028] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.508605] NET: Registered protocol family 1
[    0.513592] RPC: Registered named UNIX socket transport module.
[    0.519572] RPC: Registered udp transport module.
[    0.524380] RPC: Registered tcp transport module.
[    0.529144] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536040] Unpacking initramfs...
[    1.013836] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.021317] Initialise system trusted keyring
[    1.039475] zbud: loaded
[    1.047436] NFS: Registering the id_resolver key type
[    1.052723] Key type id_resolver registered
[    1.056970] Key type id_legacy registered
[    1.061130] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.067893] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.075256] fuse init (API version 7.23)
[    1.081303] Key type big_key registered
[    1.172331] Key type asymmetric registered
[    1.176504] Asymmetric key parser 'x509' registered
[    1.181685] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.189145] io scheduler noop registered
[    1.193205] io scheduler deadline registered
[    1.197598] io scheduler cfq registered (default)
[    1.203182] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.211153] console [ttyS0] disabled
[    1.214876] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.223582] console [ttyS0] enabled
[    1.223582] console [ttyS0] enabled
[    1.230650] bootconsole [earlycon0] disabled
[    1.230650] bootconsole [earlycon0] disabled
[    1.400857] loop: module loaded
[    1.419806] scsi host0: sata_oxnas
[    1.439808] scsi host1: sata_oxnas
[    1.443632] ata1: SATA max UDMA/133 irq 7
[    1.447628] ata2: SATA max UDMA/133 irq 7
[    1.451758] sata_oxnas: resetting SATA core
[    1.460779] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xde
[    1.467110] nand: Hynix NAND 8GiB 3,3V 8-bit
[    1.477862] nand: 8192 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.485552] Scanning device for bad blocks
[    1.979799] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.990144] ata1.00: ATA-8: HGST HTS545050A7E680, GR2OA230, max UDMA/133
[    1.996825] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    2.004482] ata1.00: configured for UDMA/133
[    2.009459] scsi 0:0:0:0: Direct-Access     ATA      HGST HTS545050A7 A230 PQ: 0 ANSI: 5
[    2.021690] sata_oxnas: resetting SATA core
[    2.021890] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    2.021903] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    2.022343] sd 0:0:0:0: [sda] Write Protect is off
[    2.022551] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.079877] sata_oxnas: resetting SATA core
[    2.759792] ata2: SATA link down (SStatus 0 SControl 300)
[    2.839987] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.846850] ata1: hard resetting link
[    3.759976] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.767976] ata1.00: configured for UDMA/133
[    3.772326] ata1: EH complete
[    4.120885]  sda: sda1
[    4.125181] sd 0:0:0:0: [sda] Attached SCSI disk
[    6.828088] 2 ofpart partitions found on MTD device 41000000.nand
[    6.834186] Creating 2 MTD partitions on "41000000.nand":
[    6.839569] 0x000000000000-0x0000026c0000 : "boot"
[    6.860753] 0x0000026c0000-0x000010000000 : "ubi"
[    6.881287] oxnas-gmac 40400000.ethernet: no reset control found
[    6.887278] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    6.892352]  Ring mode enabled
[    6.895390]  DMA HW capability register supported
[    6.899919]  Enhanced/Alternate descriptors
[    6.904253]  Enabled extended descriptors
[    6.908239]  RX Checksum Offload Engine supported (type 2)
[    6.913715]  TX Checksum insertion supported
[    6.917962]  Wake-Up On Lan supported
[    6.921623]  Enable RX Mitigation via HW Watchdog Timer
[    6.941977] libphy: stmmac: probed
[    6.945377] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    6.951854] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    6.958551] PPP generic driver version 2.4.2
[    6.963473] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.970065] ehci-pci: EHCI PCI platform driver
[    6.975019] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    6.980587] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    6.988382] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    7.009817] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    7.016151] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    7.022976] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.030284] usb usb1: Product: EHCI Host Controller
[    7.035148] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    7.041602] usb usb1: SerialNumber: 40200100.ehci
[    7.047349] hub 1-0:1.0: USB hub found
[    7.051205] hub 1-0:1.0: 2 ports detected
[    7.056330] usbcore: registered new interface driver cdc_acm
[    7.062026] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    7.070136] usbcore: registered new interface driver cdc_wdm
[    7.075942] usbcore: registered new interface driver usb-storage
[    7.082168] usbcore: registered new interface driver usbserial
[    7.088053] usbcore: registered new interface driver usbserial_generic
[    7.094661] usbserial: USB Serial support registered for generic
[    7.101084] mousedev: PS/2 mouse device common for all mice
[    7.106813] i2c /dev entries driver
[    7.111413] hidraw: raw HID events driver (C) Jiri Kosina
[    7.117032] usbcore: registered new interface driver usbhid
[    7.122639] usbhid: USB HID core driver
[    7.128547] NET: Registered protocol family 10
[    7.150604] sit: IPv6 over IPv4 tunneling driver
[    7.156126] NET: Registered protocol family 17
[    7.160816] Key type dns_resolver registered
[    7.166405] registered taskstats version 1
[    7.170577] Loading compiled-in X.509 certificates
[    7.175472] zswap: loaded using pool lzo/zbud
[    7.194603] Key type encrypted registered
[    7.201725] Freeing unused kernel memory: 224K (c0828000 - c0860000)
Loading, please wait...
[    7.369899] usb 1-2: new high-speed USB device number 2 using oxnas-ehci
starting version 232
[    7.385495] random: systemd-udevd: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.396922] random: systemd-udevd: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.397977] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.400376] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.400547] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.401607] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.408005] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.409064] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.410265] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.411683] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.571701] usb 1-2: New USB device found, idVendor=0781, idProduct=5567
[    7.578388] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.609948] usb 1-2: Product: Cruzer Blade
[    7.616089] usb 1-2: Manufacturer: SanDisk
[    7.620492] usb 1-2: SerialNumber: 4C530000130118211511
[    7.627223] usb-storage 1-2:1.0: USB Mass Storage device detected
[    7.650792] scsi host2: usb-storage 1-2:1.0
[    7.740572] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)
[    8.055889] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[    8.651394] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[    8.666846] sd 2:0:0:0: [sdb] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB)
[    8.677440] sd 2:0:0:0: [sdb] Write Protect is off
[    8.688386] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    8.751610]  sdb: sdb1
[    8.759032] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[   13.841070] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   13.848896] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   13.855795] EXT4-fs (sda1): write access will be enabled during recovery
[   13.949555] EXT4-fs (sda1): recovery complete
[   13.963379] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[....] Synthesizing the initial hotplug events...[   17.687180] random: nonblocking pool is initialized
[   17.743682] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   19.474703] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
rootfs: clean, 14013/262144 files, 149003/1048576 blocks
done.
[   19.886033] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
[   28.900121] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.68.9 from 192.168.68.1
bound to 192.168.68.9 -- renewal in 3467 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1262 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting system message bus: dbus.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1261 (klogd)
. ok
[ ok ] Starting NTP server: ntpd.

Debian GNU/Linux 9 debian ttyS0

debian login:

Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 15, 2020 11:00PM
Kang Jinsu,

> Success booting.

Great. So it seems to be consistent.

I would like you to try flashing u-boot in Debian. First, we will make sure the mtd partitions are OK in Debian before we can flash it.


Reboot (or Power up if the box is power off).

Interrupt serial console and set the same envs as before
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'

This time do one adjustment to ide_set_bootargs:

setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 $mtdparts  earlyprintk=serial'
And then boot

boot

Log into Debian, and

cat /proc/mtd
fw_printenv

And post the entire serial console log here.

(If everything looks OK then you can flash u-boot. But let's see the log).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 15, 2020 11:15PM
Here serial console logs.

* For reference, all NANDs have been erased.
Attempting to remove NAND by installing SPI FLASH last time,
Also, the peripheral circuit was slightly damaged by mistake.
So, NAND's condition is a bit poor.
(The error 'mtd erase failed and mtd lock *****' continued, but is now repaired.)
I have repaired the NAND, but I am not sure if it will work.


Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:
Last login: Fri May 15 02:28:50 PDT 2020 on ttyS0
Linux debian 4.4.54-oxnas-tld-1 #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# reboot

Broadcast message from root@debian (ttyS0) (Fri May 15 21:06:00 2020):

The system is going down for reboot NOW!
INIT: Sending p[info] Using makefile-style concurrent boot in runlevel 6.
[....] Stopping busybox' klogd implementation: klogd1261 (klogd)
Stopped klogd (pid 1261).
. ok
[ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Stopping busybox' syslogd implementation: syslogd1262 (syslogd)
. ok
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 1 seconds...done.
[ ok ] Stopping RPC port mapper daemon: rpcbind.
[ ok ] Stopping NFS common utilities: idmapd statd.
[....] Deconfiguring network interfaces...Removed stale PID file
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.68.1 port 67
done.
[ ok ] Unmounting temporary filesystems...done.
[ ok ] Deactivating swap...done.
[ 2685.563678] EXT4-fs (sda1): re-mounted. Opts: (null)
[info] Will now restart.
[ 2687.782151] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 2687.787865] reboot: Restarting system

U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  256 MiB
IDE:   Bus 0: OK
  Device 0: Model: HGST HTS545050A7E680 Firm: GR2OA230 Ser#: RB250AM5GJYGKP
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
NAND:  8192 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
OX820 # setenv bootcmd 'run dt_bootcmd_ide'
OX820 # setenv dt_bootcmd_ide 'ide start; run dt_ide_bootcmd; ide stop; reset'
OX820 # setenv dt_ide_bootcmd 'run ide_set_bootargs; run dt_ide_boot'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial'
OX820 # setenv dt_ide_boot 'run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm'
OX820 # setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
OX820 # setenv uinitrd_addr 0x61e00000
OX820 # setenv dt_ide_load_dtb 'ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb'
OX820 # setenv ide_set_bootargs 'setenv bootargs root=/dev/sda1 console=ttyS0,115200 $mtdparts  earlyprintk=serial'
OX820 # boot
ide - IDE sub-system

Usage:
ide reset - reset IDE controller
ide info  - show available IDE devices
ide device [dev] - show or set current device
ide part [dev] - print partition table of one or all IDE devices
ide read  addr blk# cnt
ide write addr blk# cnt - read/write `cnt' blocks starting at block `blk#'
    to/from memory address `addr'
4621824 bytes read in 725 ms (6.1 MiB/s)
4594376 bytes read in 687 ms (6.4 MiB/s)
7816 bytes read in 36 ms (211.9 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   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 61e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   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 6f9c6000, end 6fe27a88 ... OK
   Loading Device Tree to 6f9c1000, end 6f9c5e87 ... OK

Led:    GREEN

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: Akitio MyCloud mini
[    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 @cffd9000 s17696 r8192 d23264 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246148K/262144K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 15996K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 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.008335] Console: colour dummy device 80x30
[    0.012887] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.072583] pid_max: default: 32768 minimum: 301
[    0.077424] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084129] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092047] Initializing cgroup subsys net_cls
[    0.096619] CPU: Testing write buffer coherency: ok
[    0.101998] Setting up static identity map for 0x60008220 - 0x60008258
[    0.239938] Brought up 2 CPUs
[    0.242984] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.250132] devtmpfs: initialized
[    0.259312] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269263] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.275747] prandom: seed boundary self test passed
[    0.285071] prandom: 100 self tests passed
[    0.289244] pinctrl core: initialized pinctrl subsystem
[    0.295365] NET: Registered protocol family 16
[    0.300474] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.329825] cpuidle: using governor ladder
[    0.359818] cpuidle: using governor menu
[    0.369333] gpio-oxnas 44000000.gpio: at address d0848000
[    0.375219] gpio-oxnas 44100000.gpio: at address d084a000
[    0.381345] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.401139] vgaarb: loaded
[    0.404380] SCSI subsystem initialized
[    0.409041] usbcore: registered new interface driver usbfs
[    0.414766] usbcore: registered new interface driver hub
[    0.420316] usbcore: registered new device driver usb
[    0.425625] pps_core: LinuxPPS API ver. 1 registered
[    0.430689] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.439936] PTP clock support registered
[    0.446067] clocksource: Switched to clocksource rps_clocksource_timer
[    0.471152] NET: Registered protocol family 2
[    0.476431] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.483540] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.490104] TCP: Hash tables configured (established 2048 bind 2048)
[    0.496599] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.502548] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.509127] NET: Registered protocol family 1
[    0.514119] RPC: Registered named UNIX socket transport module.
[    0.520145] RPC: Registered udp transport module.
[    0.524912] RPC: Registered tcp transport module.
[    0.529676] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536570] Unpacking initramfs...
[    1.014062] Freeing initrd memory: 4488K (cf9c6000 - cfe28000)
[    1.021573] Initialise system trusted keyring
[    1.039365] zbud: loaded
[    1.047214] NFS: Registering the id_resolver key type
[    1.052513] Key type id_resolver registered
[    1.056765] Key type id_legacy registered
[    1.060930] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.067694] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.075072] fuse init (API version 7.23)
[    1.081136] Key type big_key registered
[    1.162012] Key type asymmetric registered
[    1.166190] Asymmetric key parser 'x509' registered
[    1.171320] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.178777] io scheduler noop registered
[    1.182827] io scheduler deadline registered
[    1.187217] io scheduler cfq registered (default)
[    1.192693] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.200711] console [ttyS0] disabled
[    1.204439] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.213148] console [ttyS0] enabled
[    1.213148] console [ttyS0] enabled
[    1.220208] bootconsole [earlycon0] disabled
[    1.220208] bootconsole [earlycon0] disabled
[    1.240422] loop: module loaded
[    1.246231] scsi host0: sata_oxnas
[    1.250472] scsi host1: sata_oxnas
[    1.254284] ata1: SATA max UDMA/133 irq 7
[    1.258280] ata2: SATA max UDMA/133 irq 7
[    1.262412] sata_oxnas: resetting SATA core
[    1.263293] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xde
[    1.263298] nand: Hynix NAND 8GiB 3,3V 8-bit
[    1.263308] nand: 8192 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.263347] Scanning device for bad blocks
[    1.799943] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.806960] ata1.00: ATA-8: HGST HTS545050A7E680, GR2OA230, max UDMA/133
[    1.813667] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    1.821304] ata1.00: configured for UDMA/133
[    1.826286] scsi 0:0:0:0: Direct-Access     ATA      HGST HTS545050A7 A230 PQ: 0 ANSI: 5
[    1.841615] sata_oxnas: resetting SATA core
[    1.850191] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    1.857651] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.869552] sd 0:0:0:0: [sda] Write Protect is off
[    1.874634] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.883814] sata_oxnas: resetting SATA core
[    2.559956] ata2: SATA link down (SStatus 0 SControl 300)
[    2.639951] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
[    2.646812] ata1: hard resetting link
[    3.559938] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.567915] ata1.00: configured for UDMA/133
[    3.572362] ata1: EH complete
[    3.928965]  sda: sda1
[    3.933340] sd 0:0:0:0: [sda] Attached SCSI disk
[    6.565527] 2 cmdlinepart partitions found on MTD device 41000000.nand
[    6.572055] Creating 2 MTD partitions on "41000000.nand":
[    6.577433] 0x000000000000-0x000000e00000 : "boot"
[    6.600788] 0x000000e00000-0x000200000000 : "data"
[    6.621634] oxnas-gmac 40400000.ethernet: no reset control found
[    6.627622] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    6.632693]  Ring mode enabled
[    6.635729]  DMA HW capability register supported
[    6.640256]  Enhanced/Alternate descriptors
[    6.644584]  Enabled extended descriptors
[    6.648568]  RX Checksum Offload Engine supported (type 2)
[    6.654041]  TX Checksum insertion supported
[    6.658288]  Wake-Up On Lan supported
[    6.661946]  Enable RX Mitigation via HW Watchdog Timer
[    6.682216] libphy: stmmac: probed
[    6.685614] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    6.692096] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    6.698813] PPP generic driver version 2.4.2
[    6.703759] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.710336] ehci-pci: EHCI PCI platform driver
[    6.715281] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    6.720901] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    6.728696] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    6.749816] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    6.756154] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    6.763087] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.770332] usb usb1: Product: EHCI Host Controller
[    6.775188] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    6.781626] usb usb1: SerialNumber: 40200100.ehci
[    6.787353] hub 1-0:1.0: USB hub found
[    6.791229] hub 1-0:1.0: 2 ports detected
[    6.796372] usbcore: registered new interface driver cdc_acm
[    6.802063] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    6.810181] usbcore: registered new interface driver cdc_wdm
[    6.815982] usbcore: registered new interface driver usb-storage
[    6.822190] usbcore: registered new interface driver usbserial
[    6.828078] usbcore: registered new interface driver usbserial_generic
[    6.834693] usbserial: USB Serial support registered for generic
[    6.841121] mousedev: PS/2 mouse device common for all mice
[    6.846848] i2c /dev entries driver
[    6.851479] hidraw: raw HID events driver (C) Jiri Kosina
[    6.857095] usbcore: registered new interface driver usbhid
[    6.862699] usbhid: USB HID core driver
[    6.868523] NET: Registered protocol family 10
[    6.874414] sit: IPv6 over IPv4 tunneling driver
[    6.880023] NET: Registered protocol family 17
[    6.884631] Key type dns_resolver registered
[    6.890549] registered taskstats version 1
[    6.894671] Loading compiled-in X.509 certificates
[    6.899558] zswap: loaded using pool lzo/zbud
[    6.918458] Key type encrypted registered
[    6.942686] Freeing unused kernel memory: 224K (c0828000 - c0860000)
Loading, please wait...
[    7.109903] usb 1-2: new high-speed USB device number 2 using oxnas-ehci
starting version 232
[    7.127521] random: systemd-udevd: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.137909] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.138583] random: systemd-udevd: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.158993] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.168389] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.178608] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.194199] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.204421] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.214732] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.225269] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    7.261381] usb 1-2: New USB device found, idVendor=0781, idProduct=5567
[    7.268067] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.275310] usb 1-2: Product: Cruzer Blade
[    7.279395] usb 1-2: Manufacturer: SanDisk
[    7.283596] usb 1-2: SerialNumber: 4C530000130118211511
[    7.296368] usb-storage 1-2:1.0: USB Mass Storage device detected
[    7.308838] scsi host2: usb-storage 1-2:1.0
[    7.330831] usbcore: registered new interface driver uas
[    7.565107] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[    8.311838] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[    8.322403] sd 2:0:0:0: [sdb] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB)
[    8.331668] sd 2:0:0:0: [sdb] Write Protect is off
[    8.337835] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    8.375193]  sdb: sdb1
[    8.382691] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[   13.107681] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   13.170969] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[ ok ] Synthesizing the initial hotplug events...[   16.941596] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
done.
[   17.000885] random: nonblocking pool is initialized
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   18.615854] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
rootfs: clean, 14013/262144 files, 149005/1048576 blocks
done.
[   19.027368] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:c6:76
Sending on   LPF/eth0/00:25:31:01:c6:76
Sending on   Socket/fallback
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
[   29.020124] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.68.9 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.68.9 from 192.168.68.1
bound to 192.168.68.9 -- renewal in 3263 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1260 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1263 (klogd)
. ok
[ ok ] Starting NTP server: ntpd.

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:
Last login: Fri May 15 21:05:49 PDT 2020 on ttyS0
Linux debian 4.4.54-oxnas-tld-1 #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00e00000 00020000 "boot"
mtd1: 1ff200000 00020000 "data"
root@debian:~# fw_printenv
Warning: Bad CRC, using default environment
bootargs=
bootcmd=
bootdelay=2
baudrate=115200
arch=sandbox
cpu=sandbox
board=sandbox
board_name=sandbox
stdin=serial,cros-ec-keyb,usbkbd
stdout=serial,vidconsole
stderr=serial,vidconsole
ethaddr=00:00:11:22:33:44
eth1addr=00:00:11:22:33:45
eth3addr=00:00:11:22:33:46
eth5addr=00:00:11:22:33:47
ipaddr=1.2.3.4
host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi
boot_net_pci_enum=pci enum
boot_net_usb_start=usb start
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
boot_prefixes=/ /boot/
boot_scripts=boot.scr.uimg boot.scr
boot_script_dhcp=boot.scr.uimg
boot_targets=host1 host0
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
bootcmd_host1=setenv devnum 1; run host_boot
bootcmd_host0=setenv devnum 0; run host_boot
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
bootm_size=0x10000000
kernel_addr_r=0x1000000
fdt_addr_r=0xc00000
ramdisk_addr_r=0x2000000
scriptaddr=0x1000
pxefile_addr_r=0x2000
root@debian:~#

* And, is it possible to modify the partition size of NAND?
I try Pogo v4. It was possible.



Edited 1 time(s). Last edit at 05/15/2020 11:18PM by Kang Jinsu.
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 16, 2020 02:00AM
Kang Jinsu,

Looks quite good! NAND chip is fine.

[    6.565527] 2 cmdlinepart partitions found on MTD device 41000000.nand
[    6.572055] Creating 2 MTD partitions on "41000000.nand":
[    6.577433] 0x000000000000-0x000000e00000 : "boot"
[    6.600788] 0x000000e00000-0x000200000000 : "data"

and,

root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00e00000 00020000 "boot"
mtd1: 1ff200000 00020000 "data"

All checked out so far.

Warning: Bad CRC, using default environment

The CRC error is expected, since you have replaced NAND.


Quote

* And, is it possible to modify the partition size of NAND?
I try Pogo v4. It was possible.

Don't do that. The new u-boot is expecting the current layout.

=====


OK. You can flash new u-boot. Follow the instruction here:

https://forum.doozan.com/read.php?3,16017

Do it while in Debian. And then post the log of what you did here. I'll doublecheck to see anything is out of ordinary before you reboot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Hello, help to fix my device... [Akitio MyCloud Mini]
May 16, 2020 02:27AM
Here serial console logs.



root@debian:~# ls
.  ..  .bash_history  .bashrc  .config  .nano  .profile  .ssh
root@debian:~# ls /
.   bin   dev  home  lost+found  mnt  proc  run   srv  tmp  var
..  boot  etc  lib   media       opt  root  sbin  sys  usr
root@debian:~# ls /tmp
.  ..
root@debian:~# cd /tmp
root@debian:/tmp# wget ftp://admin:**********@192.168.68.1/HDD1/My-Station/Network%20Trashes%20Folder/uboot.2015.10-tld-2.ox820.bodhi.tar
--2020-05-16 00:19:46--  ftp://admin:*password*@192.168.68.1/HDD1/My-Station/Network%20Trashes%20Folder/uboot.2015.10-tld-2.ox820.bodhi.tar
           => 'uboot.2015.10-tld-2.ox820.bodhi.tar'
Connecting to 192.168.68.1:21... connected.
Logging in as admin ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /HDD1/My-Station/Network Trashes Folder ... done.
==> SIZE uboot.2015.10-tld-2.ox820.bodhi.tar ... 798720
==> PASV ... done.    ==> RETR uboot.2015.10-tld-2.ox820.bodhi.tar ... done.
Length: 798720 (780K) (unauthoritative)

uboot.2015.10-tld-2 100%[===================>] 780.00K  2.06MB/s    in 0.4s

2020-05-16 00:19:46 (2.06 MB/s) - 'uboot.2015.10-tld-2.ox820.bodhi.tar' saved [798720]

root@debian:/tmp# tar -xvf uboot.2015.10-tld-2.ox820.bodhi.tar
uboot.2015.10-tld-2.ox820.mtd0.img
uboot.spl.2013.10.ox820.850mhz.mtd0.img
uboot.2015.10-tld-2.ox820.environment
uboot.2015.10-tld-2.ox820.environment.img
root@debian:/tmp# cat /etc/fw_env.config
# MTD device name       Device offset   Env. size       Flash sector size      Number of sectors
# pogoplug pro
  /dev/mtd0               0x00100000      0x20000         0x20000
root@debian:/tmp# blparam
-bash: blparam: command not found
root@debian:/tmp# fw_printenv
Warning: Bad CRC, using default environment
bootargs=
bootcmd=
bootdelay=2
baudrate=115200
arch=sandbox
cpu=sandbox
board=sandbox
board_name=sandbox
stdin=serial,cros-ec-keyb,usbkbd
stdout=serial,vidconsole
stderr=serial,vidconsole
ethaddr=00:00:11:22:33:44
eth1addr=00:00:11:22:33:45
eth3addr=00:00:11:22:33:46
eth5addr=00:00:11:22:33:47
ipaddr=1.2.3.4
host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi
boot_net_pci_enum=pci enum
boot_net_usb_start=usb start
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
boot_prefixes=/ /boot/
boot_scripts=boot.scr.uimg boot.scr
boot_script_dhcp=boot.scr.uimg
boot_targets=host1 host0
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
bootcmd_host1=setenv devnum 1; run host_boot
bootcmd_host0=setenv devnum 0; run host_boot
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
bootm_size=0x10000000
kernel_addr_r=0x1000000
fdt_addr_r=0xc00000
ramdisk_addr_r=0x2000000
scriptaddr=0x1000
pxefile_addr_r=0x2000
root@debian:/tmp# dmesg | grep -i 'bad'
[    1.263347] Scanning device for bad blocks
root@debian:/tmp# flash_erase /dev/mtd0 0x0 6
Erasing 128 Kibyte @ 7f563f5c00000064 --  6 % complete
root@debian:/tmp# nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img
Writing data to block 0 at offset 0x0
root@debian:/tmp# nandwrite -s 262144 /dev/mtd0 uboot.2015.10-tld-2.ox820.mtd0.img
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
Writing data to block 4 at offset 0x80000
Writing data to block 5 at offset 0xa0000
root@debian:/tmp# flash_erase /dev/mtd0 0x100000 1
Erasing 128 Kibyte @ 7f629f5c00000064 --  9 % complete
root@debian:/tmp# nandwrite -s 1048576 /dev/mtd0 uboot.2015.10-tld-2.ox820.environment.img
Writing data to block 8 at offset 0x100000
root@debian:/tmp# fw_printenv
[11826.540848] __nand_correct_data: uncorrectable ECC error
[11826.546214] __nand_correct_data: uncorrectable ECC error
[11826.551508] __nand_correct_data: uncorrectable ECC error
[11826.556830] __nand_correct_data: uncorrectable ECC error
[11826.562375] __nand_correct_data: uncorrectable ECC error
[11826.567726] __nand_correct_data: uncorrectable ECC error
[11826.573194] __nand_correct_data: uncorrectable ECC error
[11826.578752] __nand_correct_data: uncorrectable ECC error
[11826.584099] __nand_correct_data: uncorrectable ECC error
[11826.589570] __nand_correct_data: uncorrectable ECC error
Warning: Bad CRC, using default environment
bootargs=
bootcmd=
bootdelay=2
baudrate=115200
arch=sandbox
cpu=sandbox
board=sandbox
board_name=sandbox
stdin=serial,cros-ec-keyb,usbkbd
stdout=serial,vidconsole
stderr=serial,vidconsole
ethaddr=00:00:11:22:33:44
eth1addr=00:00:11:22:33:45
eth3addr=00:00:11:22:33:46
eth5addr=00:00:11:22:33:47
ipaddr=1.2.3.4
host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi
boot_net_pci_enum=pci enum
boot_net_usb_start=usb start
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
boot_prefixes=/ /boot/
boot_scripts=boot.scr.uimg boot.scr
boot_script_dhcp=boot.scr.uimg
boot_targets=host1 host0
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
bootcmd_host1=setenv devnum 1; run host_boot
bootcmd_host0=setenv devnum 0; run host_boot
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
bootm_size=0x10000000
kernel_addr_r=0x1000000
fdt_addr_r=0xc00000
ramdisk_addr_r=0x2000000
scriptaddr=0x1000
pxefile_addr_r=0x2000
root@debian:/tmp#



Edited 1 time(s). Last edit at 05/16/2020 02:27AM by Kang Jinsu.
Author:

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: