Welcome! Log In Create A New Profile

Advanced

Help! Akitio mycloudmini using stock kernel but missing system setting files

Posted by Popo 
Help! Akitio mycloudmini using stock kernel but missing system setting files
November 20, 2023 08:22AM
Hi,

I have akitio mycloudmini used oem factory firmware,
at yesterday , I want to try to modify root's passord.
So, I backup and save the zip file.
open it, modify 'shadow ' file to my admin password for root.
after did that, I use 'Restore' to upload zip file to server then click 'restart' to reboot.

at the long long time, i can't 'Ping' machine IP, so that I force reboot machine by push button.

after power on , I use serial console and Putty to watch the log,
I found that , passwd/shadow/fstab/...blablaba....every each setting file was gone.

please see the log attachment.


I saw UBI File System can mount and 'Login:' show ....
I though whole the file system can work after I fix all of the setting files.
But, How can I mount MTDBLOCK ? (Boot from HDD and mount ubifs recovery all of the files, maybe ok ? But, How to ?)




I always know my U-Boot is Ver.1.1.2,
less function to 'saveenv'/'boot' .......so that I can't force into single mode to rescue my setting-files.

have any idea ?

OR

I am sure 'bootm' can execute!
try pass through TFTP to download uImage ?

tftp 0x60003000 uImage <===??????what image????
tftp 0x60500000 ??????.dtb <=== need it?
setenv bootargs ${bootargs} single init=/bin/sh
bootm 0x60003000 - 0x60500000

have any suggestion ?


Stage-1 Bootloader 一  8月 30 10:55:36 CST 2010
Attempting to set PLLA to 700MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000E0000
  plla_ctrl2 : 0x001B01A0
  plla_ctrl3 : 0x00000016
PLLA Set

Setup memory, testing
Reading NAND, Image 0
  Hdr len: 0x0001A0D8
  Hdr CRC: 0x330E1A94
 OK


U-Boot 1.1.2 (Dec 24 2010 - 12:42:28)

U-Boot code: 60D00000 -> 60D1A0D8  BSS: -> 60D1E790
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0
$
$ printenv
bootcmd=run extinguishled boot_nand
bootdelay=2
baudrate=115200
ethaddr=00:30:e0:00:00:01
ipaddr=172.31.0.128
serverip=172.31.0.100
autoload=n
netmask=255.255.0.0
bootfile="uImage"
load_nand=nboot 60500000 0 440000
load_nand2=nboot 60500000 0 A40000
lightled=ledfail 1
extinguishled=ledfail 0
boot=bootm 60500000
boot_nand=run load_nand boot || run load_nand2 boot || run lightled
stdin=serial
stdout=serial
stderr=serial
bootargs=root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes

Environment size: 576/8188 bytes

setenv bootargs ${bootargs} single init=/bin/sh && reset

$ printenv
Unknown command 'printenv' - try 'help'
$ printenv
bootcmd=run extinguishled boot_nand
bootdelay=2
baudrate=115200
ethaddr=00:30:e0:00:00:01
ipaddr=172.31.0.128
serverip=172.31.0.100
autoload=n
netmask=255.255.0.0
bootfile="uImage"
load_nand=nboot 60500000 0 440000
load_nand2=nboot 60500000 0 A40000
lightled=ledfail 1
extinguishled=ledfail 0
boot=bootm 60500000
boot_nand=run load_nand boot || run load_nand2 boot || run lightled
stdin=serial
stdout=serial
stderr=serial
bootargs=root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes single init=/bin/sh

Environment size: 596/8188 bytes
$ boot
Unknown command 'boot' - try 'help'
$ boot
Unknown command 'boot' - try 'help'
$ help
?       - alias for 'help'
base    - print or set address offset
bdinfo  - print Board Info structure
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
cmp     - memory compare
cp      - memory copy
crc32   - checksum calculation
echo    - echo args to console
exit    - exit script
fg - flash gpio <port 0 , 1 > <gpio pin [17:0] >  <times>
go      - start application at address 'addr'
help    - print online help
iminfo  - print header information for application image
ledfail - Extinguish (0) or light (1) failure LED
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nm      - memory modify (constant address)
nwboot          - NAND Write boot information
otp    - OTP sub-system
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
setenv  - set environment variables
sg - set gpio <port 0 , 1 > <gpio pin [17:0] >  < (1) high (0) low>
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
version - print monitor version
$ version

U-Boot 1.1.2 (Dec 24 2010 - 12:42:28)
$ reset
Resetting...

printenv and try to setenv watch


Stage-1 Bootloader 一  8月 30 10:55:36 CST 2010
Attempting to set PLLA to 700MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000E0000
  plla_ctrl2 : 0x001B01A0
  plla_ctrl3 : 0x00000016
PLLA Set

Setup memory, testing
Reading NAND, Image 0
  Hdr len: 0x0001A0D8
  Hdr CRC: 0x330E1A94
 OK


U-Boot 1.1.2 (Dec 24 2010 - 12:42:28)

U-Boot code: 60D00000 -> 60D1A0D8  BSS: -> 60D1E790
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0
$ printenv  bootargs
bootargs=root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
$ setenv bootargs "XXXXX single init=/bin/sh"
$ print
bootcmd=run extinguishled boot_nand
bootdelay=2
baudrate=115200
ethaddr=00:30:e0:00:00:01
ipaddr=172.31.0.128
serverip=172.31.0.100
autoload=n
netmask=255.255.0.0
bootfile="uImage"
load_nand=nboot 60500000 0 440000
load_nand2=nboot 60500000 0 A40000
lightled=ledfail 1
extinguishled=ledfail 0
boot=bootm 60500000
boot_nand=run load_nand boot || run load_nand2 boot || run lightled
stdin=serial
stdout=serial
stderr=serial
bootargs=XXXXX single init=/bin/sh

Environment size: 457/8188 bytes
$

mycloudmini can boot success from u-boot but miss password/shadow files


Stage-1 Bootloader 一  8月 30 10:55:36 CST 2010
Attempting to set PLLA to 700MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000E0000
  plla_ctrl2 : 0x001B01A0
  plla_ctrl3 : 0x00000016
PLLA Set

Setup memory, testing
Reading NAND, Image 0
  Hdr len: 0x0001A0D8
  Hdr CRC: 0x330E1A94
 OK


U-Boot 1.1.2 (Dec 24 2010 - 12:42:28)

U-Boot code: 60D00000 -> 60D1A0D8  BSS: -> 60D1E790
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0
Extinguish LED

Loading from device 0: 256MiB 3,3V 8-bit (offset 0x440000)
   Image Name:   Linux-2.6.31.6-fast-20110114
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3056816 Bytes =  2.9 MB
   Load Address: 60008000
   Entry Point:  60008000
## Booting image at 60500000 ...
   Image Name:   Linux-2.6.31.6-fast-20110114
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3056816 Bytes =  2.9 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux..................................................................................................................................................................................... done, booting the kernel.
Linux version 2.6.31.6-fast-20110114 (thom@11z) (gcc version 4.5.1 (GCC) ) #1 SMP Fri Jan 14 13:58:20 CST 2011
CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Oxsemi NAS
1 memory region
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writealloc
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 253696KB available (5260K code, 310K data, 136K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:96
OX820_RPS_init_irq: interrupts 64 to 96
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 279.34 BogoMIPS (lpj=1396736)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Calibrating local timer... 349.98MHz.
CPU1: Booted secondary processor
Calibrating delay loop... 279.34 BogoMIPS (lpj=1396736)
Brought up 2 CPUs
SMP: Total of 2 processors activated (558.69 BogoMIPS).
NET: Registered protocol family 16
Number of DMA channels = 4, version = 4
Reserving a DMA channel for DirectRAID
Allocating 218 SRAM generic DMA descriptors
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
Switched to NOHz mode on CPU #0
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
Switched to NOHz mode on CPU #1
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
Create fragment cache
fuse init (API version 7.12)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 496
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A
brd: module loaded
loop: module loaded
ox820sata: OX820 sata core.
scsi0 : oxnassata
scsi1 : oxnassata
ata1: SATA max UDMA/133 irq 50
ata2: SATA max UDMA/133 irq 50
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
NAND device: Manufacturer ID: 0xad, Chip ID: 0xda (Hynix NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x0000026c0000 : "Boot partition"
0x0000026c0000-0x000010000000 : "Data Partition"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI warning: ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB handling, reserved 11, need 17
UBI: attached mtd2 to ubi0
UBI: MTD device name:            "Data Partition"
UBI: MTD device size:            217 MiB
UBI: number of good PEBs:        1738
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 1738
UBI: number of PEBs reserved for bad PEB handling: 11
UBI: max/mean erase counter: 800/105
UBI: image sequence number: 1359814330
UBI: background thread "ubi_bgt0d" started, PID 398
Probing for Synopsis GMAC, unit 0
eth0: use mtd hwaddr
eth0: Tuning GMAC 0 RGMII timings
eth0: PHY is Realtek RTL8211D, type 0x001cc914
eth0: GMAC ver = 53, vendor ver = 18 at 0xe1400000, IRQ 40
eth0: Found PHY at address 3, type 0x001cc914 -> 10/100/1000
eth0: Ethernet addr: 00:01:d2:12:00:fa
probe() eth0: Leon x2 clock
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Start USB clocks
oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller
oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1
oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000
oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
IRQ 53 uses trigger mode 0; requested 3
input: gpio-keys as /devices/platform/gpio-keys/input/input0
irq 54: nobody cared (try booting with the "irqpoll" option)
[<c002fab0>] (unwind_backtrace+0x0/0xe0) from [<c0076430>] (__report_bad_irq+0x78/0xa8)
[<c0076430>] (__report_bad_irq+0x78/0xa8) from [<c00765e4>] (note_interrupt+0x184/0x1f0)
[<c00765e4>] (note_interrupt+0x184/0x1f0) from [<c0076b44>] (handle_level_irq+0x108/0x130)
[<c0076b44>] (handle_level_irq+0x108/0x130) from [<c002a054>] (asm_do_IRQ+0x54/0xa8)
[<c002a054>] (asm_do_IRQ+0x54/0xa8) from [<c002abd8>] (__irq_svc+0x38/0xc0)
Exception stack(0xcf813b48 to 0xcf813b90)
3b40:                   cf813b90 ffff8bf5 00000000 00000000 00000102 c0593ac0
3b60: cf812000 cf812000 c0023530 c056e040 c05a1d60 00000000 00000002 cf813b90
3b80: c0050b8c c00506e8 20000113 ffffffff
[<c002abd8>] (__irq_svc+0x38/0xc0) from [<c00506e8>] (__do_softirq+0x50/0x140)
[<c00506e8>] (__do_softirq+0x50/0x140) from [<c0050b8c>] (irq_exit+0x84/0xa0)
[<c0050b8c>] (irq_exit+0x84/0xa0) from [<c002a058>] (asm_do_IRQ+0x58/0xa8)
[<c002a058>] (asm_do_IRQ+0x58/0xa8) from [<c002abd8>] (__irq_svc+0x38/0xc0)
Exception stack(0xcf813be8 to 0xcf813c30)
3be0:                   c059437c 60000013 e510001c 00000000 00000000 e510001c
3c00: c0573454 00000000 00000029 60000013 00000000 cf813d94 e500001c cf813c30
3c20: c0034b58 c03eec80 20000013 ffffffff
[<c002abd8>] (__irq_svc+0x38/0xc0) from [<c03eec80>] (_spin_unlock_irqrestore+0x18/0x1c)
[<c03eec80>] (_spin_unlock_irqrestore+0x18/0x1c) from [<c0034b58>] (ox820_gpio_direction_output+0x60/0xa8)
[<c0034b58>] (ox820_gpio_direction_output+0x60/0xa8) from [<c0257c64>] (gpio_direction_output+0xcc/0xf0)
[<c0257c64>] (gpio_direction_output+0xcc/0xf0) from [<c02e7ce8>] (i2c_start+0x18/0x44)
[<c02e7ce8>] (i2c_start+0x18/0x44) from [<c02e83b4>] (bit_xfer+0x24/0x4b0)
[<c02e83b4>] (bit_xfer+0x24/0x4b0) from [<c02e5ff8>] (i2c_transfer+0xb0/0xf0)
[<c02e5ff8>] (i2c_transfer+0xb0/0xf0) from [<c02e62c8>] (i2c_smbus_xfer+0x290/0x54c)
[<c02e62c8>] (i2c_smbus_xfer+0x290/0x54c) from [<c02e6624>] (i2c_smbus_read_i2c_block_data+0x4c/0x74)
[<c02e6624>] (i2c_smbus_read_i2c_block_data+0x4c/0x74) from [<c03eb914>] (ds1307_probe+0x350/0x608)
[<c03eb914>] (ds1307_probe+0x350/0x608) from [<c02e5e10>] (i2c_device_probe+0x6c/0x84)
[<c02e5e10>] (i2c_device_probe+0x6c/0x84) from [<c027adac>] (driver_probe_device+0x78/0x164)
[<c027adac>] (driver_probe_device+0x78/0x164) from [<c0279e1c>] (bus_for_each_drv+0x60/0x8c)
[<c0279e1c>] (bus_for_each_drv+0x60/0x8c) from [<c027ac60>] (device_attach+0x70/0x88)
[<c027ac60>] (device_attach+0x70/0x88) from [<c027a650>] (bus_probe_device+0x24/0x44)
[<c027a650>] (bus_probe_device+0x24/0x44) from [<c0278a50>] (device_add+0x3d0/0x4b4)
[<c0278a50>] (device_add+0x3d0/0x4b4) from [<c02e6fb0>] (i2c_new_device+0xbc/0x124)
[<c02e6fb0>] (i2c_new_device+0xbc/0x124) from [<c02e7a10>] (i2c_register_adapter+0x124/0x1a8)
[<c02e7a10>] (i2c_register_adapter+0x124/0x1a8) from [<c02e7b44>] (i2c_add_numbered_adapter+0xb0/0xc8)
[<c02e7b44>] (i2c_add_numbered_adapter+0xb0/0xc8) from [<c03ebd50>] (i2c_gpio_probe+0x184/0x244)
[<c03ebd50>] (i2c_gpio_probe+0x184/0x244) from [<c027bb20>] (platform_drv_probe+0x18/0x1c)
[<c027bb20>] (platform_drv_probe+0x18/0x1c) from [<c027adac>] (driver_probe_device+0x78/0x164)
[<c027adac>] (driver_probe_device+0x78/0x164) from [<c027af24>] (__driver_attach+0x8c/0x90)
[<c027af24>] (__driver_attach+0x8c/0x90) from [<c027a0e4>] (bus_for_each_dev+0x54/0x80)
[<c027a0e4>] (bus_for_each_dev+0x54/0x80) from [<c027a78c>] (bus_add_driver+0x98/0x230)
[<c027a78c>] (bus_add_driver+0x98/0x230) from [<c027b14c>] (driver_register+0x78/0x13c)
[<c027b14c>] (driver_register+0x78/0x13c) from [<c001ca50>] (i2c_gpio_init+0xc/0x30)
[<c001ca50>] (i2c_gpio_init+0xc/0x30) from [<c002a5b8>] (do_one_initcall+0x30/0x1a0)
[<c002a5b8>] (do_one_initcall+0x30/0x1a0) from [<c0008bf8>] (kernel_init+0x16c/0x1f8)
[<c0008bf8>] (kernel_init+0x16c/0x1f8) from [<c002bad8>] (kernel_thread_exit+0x0/0x8)
handlers:
[<c02e3210>] (gpio_keys_isr+0x0/0x8c)
Disabling IRQ #54
rtc-ds1307 0-0068: rtc core: registered m41t00 as rtc0
i2c-gpio i2c-gpio.0: using pins 41 (SDA) and 42 (SCL)
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
Registered led device: hddaerr
Registered led device: hddberr
Registered led device: system
Registered led device: firmware
Registered led device: usbcopy
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-ds1307 0-0068: setting system clock to 2023-11-19 20:42:42 UTC (1700426562)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   220502016 bytes (215334 KiB, 210 MiB, 1709 LEBs)
UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:10.
Freeing init memory: 136K
                Welcome to Fedora
                Press 'I' to enter interactive startup.
Starting udev: /bin/chown: invalid user: `root:disk'
/bin/chown: invalid user: `root:disk'
/bin/chown: invalid user: `root:disk'
/bin/chown: invalid user: `root:disk'
/bin/chown: invalid user: `root:disk'
/bin/chown: invalid user: `root:disk'
/bin/chown: invalid user: `root:disk'
/bin/chown: invalid user: `root:disk'
/bin/chown: invalid user: `root:lp'
/bin/chown: invalid user: `root:lp'
/bin/chown: invalid user: `root:lp'
/bin/chown: invalid user: `root:lp'
[  OK  ]
Setting hostname localhost:  [  OK  ]
Checking filesystems
WARNING: couldn't open /etc/fstab: No such file or directory
Checking all file systems.
[  OK  ]
warning: can't open /etc/fstab: No such file or directory
mount: can't find / in /etc/fstab or /etc/mtab
Mounting local filesystems:  warning: can't open /etc/fstab: No such file or directory
[  OK  ]
chown: invalid user: `root:root'
                                Enabling /etc/fstab swaps:  swapon: /etc/fstab: open failed: No such file or directory
                                                                                                                      [FAILED]

** (process:699): WARNING **: Couldn't create log file /var/log/ConsoleKit/history (No such file or directory)
init: ck-log-system-start main process (699) terminated with status 1
Entering non-interactive startup
Scan raid infomation:
mdadm: No arrays found in config file or automatically
Restoring /var/log to tmpfs:
  mount tmpfs on /var/log...
  extract backup logs to /var/log...
10 blocks
error: bad top line in state file /var/lib/logrotate.status
error: could not read state file, will not attempt to write into it
error: bad top line in state file /var/lib/logrotate.status
error: could not read state file, will not attempt to write into it

Starting portreserve: [  OK  ]
Starting system logger: [  OK  ]
Starting system message bus: Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

Unknown username "avahi" in message bus configuration file
Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

Unknown username "root" in message bus configuration file
Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

Unknown group "avahi" in message bus configuration file
Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

Unknown username "root" in message bus configuration file
Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

Unknown username "root" in message bus configuration file
Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

Unknown username "root" in message bus configuration file
Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

Unknown username "root" in message bus configuration file
Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

Unknown username "root" in message bus configuration file
Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

Unknown username "root" in message bus configuration file
Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

Failed to start message bus: Could not get UID and GID for username "dbus"
[FAILED]
/etc/rc3.d/S24avahi-daemon: line 40: /etc/sysconfig/network: No such file or directory
Starting cups: [  OK  ]
Retrigger failed udev events[  OK  ]
Starting xinetd: [  OK  ]
/etc/rc3.d/S57ntpdate: line 18: /etc/sysconfig/network: No such file or directory
NTP server not specified in /etc/ntp/step-tickers or /etc/ntp.conf
/etc/rc3.d/S58ntpd: line 29: /etc/sysconfig/network: No such file or directory
Starting ntpd: [  OK  ]
/etc/rc3.d/S60nas: line 28: /etc/sysconfig/network: No such file or directory
Starting NAS (nas):  fastcgi buttons diskmon
Starting lighttpd: 2023-11-19 20:42:56: (server.c.756) can't find username lighttpd
[FAILED]
[FAILED] atd: [FAILED]
swapon: /etc/fstab: open failed: No such file or directory
Starting NAS LED (nasled): sqlite3: cannot locate your home directory!
product was "akitio"
 nas-service/etc/rc3.d/S99nasled: line 83: /etc/nas/spindown: No such file or directory

Starting smartd: [  OK  ]

Fedora release 12 (Constantine)
Kernel 2.6.31.6-fast-20110114 on an armv6l (/dev/ttyS0)

localhost login:

Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 20, 2023 11:01AM
unfortunately ...

I try tftpboot in u-boot shell,

I got these log and waiting long long time had no response.

have any suggestion or idea ?

I just want to force into single mode to rescue my system .....sigh!!

U-Boot 1.1.2 (Dec 24 2010 - 12:42:28)

U-Boot code: 60D00000 -> 60D1A0D8  BSS: -> 60D1E790
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0
$ ping 172.31.0.100
Wait GMAC to reset
Wait for PHY reset
Ethernet Phy not recognised!
Wait for link to come up..Link up
Wait for auto-negotiation to complete.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Stage-1 Bootloader 一  8月 30 10:55:36 CST 2010
Attempting to set PLLA to 700MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000E0000
  plla_ctrl2 : 0x001B01A0
  plla_ctrl3 : 0x00000016
PLLA Set

Setup memory, testing
Reading NAND, Image 0
  Hdr len: 0x0001A0D8
  Hdr CRC: 0x330E1A94
 OK


U-Boot 1.1.2 (Dec 24 2010 - 12:42:28)

U-Boot code: 60D00000 -> 60D1A0D8  BSS: -> 60D1E790
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0
$ ping 172.31.0.100
Wait GMAC to reset
Wait for PHY reset
Ethernet Phy not recognised!
Wait for link to come up...........Link up
Wait for auto-negotiation to complete........................................................................................................................................................................................................................................................................Stage-1 Bootloader 一  8月 30 10:55:36 CST 2010
Attempting to set PLLA to 700MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000E0000
  plla_ctrl2 : 0x001B01A0
  plla_ctrl3 : 0x00000016
PLLA Set

Setup memory, testing
Reading NAND, Image 0
  Hdr len: 0x0001A0D8
  Hdr CRC: 0x330E1A94
 OK


U-Boot 1.1.2 (Dec 24 2010 - 12:42:28)

U-Boot code: 60D00000 -> 60D1A0D8  BSS: -> 60D1E790
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0
$ tftpboot
Wait GMAC to reset
Wait for PHY reset
Ethernet Phy not recognised!
Wait for link to come up.Link up
Wait for auto-negotiation to complete........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Stage-1 Bootloader 一  8月 30 10:55:36 CST 2010
Attempting to set PLLA to 700MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000E0000
  plla_ctrl2 : 0x001B01A0
  plla_ctrl3 : 0x00000016
PLLA Set

Setup memory, testing
Reading NAND, Image 0
  Hdr len: 0x0001A0D8
  Hdr CRC: 0x330E1A94
 OK


U-Boot 1.1.2 (Dec 24 2010 - 12:42:28)

U-Boot code: 60D00000 -> 60D1A0D8  BSS: -> 60D1E790
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0
$ iminfo

## Checking Image at 60000000 ...
   Bad Magic Number
$ help iminfo
iminfo addr [addr ...]
    - print header information for application image starting at
      address 'addr' in memory; this includes verification of the
      image conte' - try 'help'ber, header and payload checksums)
$
$ helpn command '
?       - alias for 'help'
base    - print or set address offset
bdinfo  - print Board Info structure
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
cmp     - memory compare
cp      - memory copy
crc32   - checksum calculation
echo    - echo args to console
exit    - exit script
fg - flash gpio <port 0 , 1 > <gpio pin [17:0] >  <times>
go      - start application at address 'addr'
help    - print online help
iminfo  - print header information for application image
ledfail - Extinguish (0) or light (1) failure LED
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nm      - memory modify (constant address)
nwboot          - NAND Write boot information
otp    - OTP sub-system
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
setenv  - set environment variables
sg - set gpio <port 0 , 1 > <gpio pin [17:0] >  < (1) high (0) low>
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
version - print monitor version
$ baSE
Unknown command 'baSE' - try 'help'
$ base
Base Address: 0x00000000
$ bdinfo
arch_number = 0x00000480
env_t       = 0x00000000
boot_params = 0x60000100
DRAM bank   = 0x00000000
-> start    = 0x60000000
-> size     = 0x10000000
ethaddr     = 00:30:E0:00:00:01
ip_addr     = 172.31.0.128
baudrate    = 115200 bps
$ ping 172.31.0.128
Wait GMAC to reset
Wait for PHY reset
Ethernet Phy not recognised!
Wait for link to come up.............Link up
Wait for auto-negotiation to complete...........................................................................................................................................................................................................................................................................................................................................................................

Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 20, 2023 12:50PM
Finally...

I forced into single mode on my system used "run boot_cmd"

after I use easy linux command be like "cat > XXXX << EOF" to fix all of the file .

I used "sync;sync;sync;" to flash to ubifs"

aftr I typed "exit" but ... error .... kernel panic ....

I try to force power button and boot again , "can’t into u-boot SHELL"

I can't press any key to stop count down ....why ?

I fall apart !!!!!!!!!!!!!!!!

Now , I try to cool down machine then myself ... and ready to retry boot again ,

hope I want to see "Login:" appear .......


OMG.....Maybe I forgot add "rw" in bootargs when I try to into single mode ?



Edited 1 time(s). Last edit at 11/20/2023 12:51PM by Popo.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 20, 2023 01:01PM
OK, After I cool down machine and Myself.
I reboot again ! amazing .....
It works !! But, I can't login from web, becase there is a file called "htdigest" ,I don't know where to put ....
so , my akitio web page still can't login .
I still can't user serial console to type any word....so , I can't try login root in Putty.
I forgot to open telnet startup ...so I can't telnet to mycloudmini server to login ...

U-Boot 1.1.2 (Dec 24 2010 - 12:42:28)

U-Boot code: 60D00000 -> 60D1A0D8  BSS: -> 60D1E790
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0
Extinguish LED

Loading from device 0: 256MiB 3,3V 8-bit (offset 0x440000)
   Image Name:   Linux-2.6.31.6-fast-20110114
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3056816 Bytes =  2.9 MB
   Load Address: 60008000
   Entry Point:  60008000
## Booting image at 60500000 ...
   Image Name:   Linux-2.6.31.6-fast-20110114
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3056816 Bytes =  2.9 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux..................................................................................................................................................................................... done, booting the kernel.
Linux version 2.6.31.6-fast-20110114 (thom@11z) (gcc version 4.5.1 (GCC) ) #1 SMP Fri Jan 14 13:58:20 CST 2011
CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Oxsemi NAS
1 memory region
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writealloc
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 253696KB available (5260K code, 310K data, 136K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:96
OX820_RPS_init_irq: interrupts 64 to 96
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 279.34 BogoMIPS (lpj=1396736)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Calibrating local timer... 349.98MHz.
CPU1: Booted secondary processor
Calibrating delay loop... 279.34 BogoMIPS (lpj=1396736)
Brought up 2 CPUs
SMP: Total of 2 processors activated (558.69 BogoMIPS).
NET: Registered protocol family 16
Number of DMA channels = 4, version = 4
Reserving a DMA channel for DirectRAID
Allocating 218 SRAM generic DMA descriptors
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
Switched to NOHz mode on CPU #0
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
Switched to NOHz mode on CPU #1
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
Create fragment cache
fuse init (API version 7.12)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 496
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A
brd: module loaded
loop: module loaded
ox820sata: OX820 sata core.
scsi0 : oxnassata
scsi1 : oxnassata
ata1: SATA max UDMA/133 irq 50
ata2: SATA max UDMA/133 irq 50
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
NAND device: Manufacturer ID: 0xad, Chip ID: 0xda (Hynix NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x0000026c0000 : "Boot partition"
0x0000026c0000-0x000010000000 : "Data Partition"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI warning: ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB handling, reserved 11, need 17
UBI: attached mtd2 to ubi0
UBI: MTD device name:            "Data Partition"
UBI: MTD device size:            217 MiB
UBI: number of good PEBs:        1738
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 1738
UBI: number of PEBs reserved for bad PEB handling: 11
UBI: max/mean erase counter: 800/105
UBI: image sequence number: 1359814330
UBI: background thread "ubi_bgt0d" started, PID 398
Probing for Synopsis GMAC, unit 0
eth0: use mtd hwaddr
eth0: Tuning GMAC 0 RGMII timings
eth0: PHY is Realtek RTL8211D, type 0x001cc914
eth0: GMAC ver = 53, vendor ver = 18 at 0xe1400000, IRQ 40
eth0: Found PHY at address 3, type 0x001cc914 -> 10/100/1000
eth0: Ethernet addr: 00:01:d2:12:00:fa
probe() eth0: Leon x2 clock
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Start USB clocks
oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller
oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1
oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000
oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
IRQ 53 uses trigger mode 0; requested 3
input: gpio-keys as /devices/platform/gpio-keys/input/input0
irq 54: nobody cared (try booting with the "irqpoll" option)
[<c002fab0>] (unwind_backtrace+0x0/0xe0) from [<c0076430>] (__report_bad_irq+0x78/0xa8)
[<c0076430>] (__report_bad_irq+0x78/0xa8) from [<c00765e4>] (note_interrupt+0x184/0x1f0)
[<c00765e4>] (note_interrupt+0x184/0x1f0) from [<c0076b44>] (handle_level_irq+0x108/0x130)
[<c0076b44>] (handle_level_irq+0x108/0x130) from [<c002a054>] (asm_do_IRQ+0x54/0xa8)
[<c002a054>] (asm_do_IRQ+0x54/0xa8) from [<c002abd8>] (__irq_svc+0x38/0xc0)
Exception stack(0xcf813b48 to 0xcf813b90)
3b40:                   cf813b90 00000005 00000000 00000000 00000102 c0593ac0
3b60: cf812000 00000000 c0023530 c056e040 c05a1d60 00000000 00354dc9 cf813b90
3b80: c0050b8c c00506e8 20000113 ffffffff
[<c002abd8>] (__irq_svc+0x38/0xc0) from [<c00506e8>] (__do_softirq+0x50/0x140)
[<c00506e8>] (__do_softirq+0x50/0x140) from [<c0050b8c>] (irq_exit+0x84/0xa0)
[<c0050b8c>] (irq_exit+0x84/0xa0) from [<c002a258>] (do_local_timer+0x54/0x70)
[<c002a258>] (do_local_timer+0x54/0x70) from [<c002abd8>] (__irq_svc+0x38/0xc0)
Exception stack(0xcf813be8 to 0xcf813c30)
3be0:                   c059437c 60000013 e510001c 00000000 00000000 e510001c
3c00: c0573454 00000000 00000029 60000013 00000000 cf813d94 e500001c cf813c30
3c20: c0034b58 c03eec80 20000013 ffffffff
[<c002abd8>] (__irq_svc+0x38/0xc0) from [<c03eec80>] (_spin_unlock_irqrestore+0x18/0x1c)
[<c03eec80>] (_spin_unlock_irqrestore+0x18/0x1c) from [<c0034b58>] (ox820_gpio_direction_output+0x60/0xa8)
[<c0034b58>] (ox820_gpio_direction_output+0x60/0xa8) from [<c0257c64>] (gpio_direction_output+0xcc/0xf0)
[<c0257c64>] (gpio_direction_output+0xcc/0xf0) from [<c02e7ce8>] (i2c_start+0x18/0x44)
[<c02e7ce8>] (i2c_start+0x18/0x44) from [<c02e83b4>] (bit_xfer+0x24/0x4b0)
[<c02e83b4>] (bit_xfer+0x24/0x4b0) from [<c02e5ff8>] (i2c_transfer+0xb0/0xf0)
[<c02e5ff8>] (i2c_transfer+0xb0/0xf0) from [<c02e62c8>] (i2c_smbus_xfer+0x290/0x54c)
[<c02e62c8>] (i2c_smbus_xfer+0x290/0x54c) from [<c02e6624>] (i2c_smbus_read_i2c_block_data+0x4c/0x74)
[<c02e6624>] (i2c_smbus_read_i2c_block_data+0x4c/0x74) from [<c03eb914>] (ds1307_probe+0x350/0x608)
[<c03eb914>] (ds1307_probe+0x350/0x608) from [<c02e5e10>] (i2c_device_probe+0x6c/0x84)
[<c02e5e10>] (i2c_device_probe+0x6c/0x84) from [<c027adac>] (driver_probe_device+0x78/0x164)
[<c027adac>] (driver_probe_device+0x78/0x164) from [<c0279e1c>] (bus_for_each_drv+0x60/0x8c)
[<c0279e1c>] (bus_for_each_drv+0x60/0x8c) from [<c027ac60>] (device_attach+0x70/0x88)
[<c027ac60>] (device_attach+0x70/0x88) from [<c027a650>] (bus_probe_device+0x24/0x44)
[<c027a650>] (bus_probe_device+0x24/0x44) from [<c0278a50>] (device_add+0x3d0/0x4b4)
[<c0278a50>] (device_add+0x3d0/0x4b4) from [<c02e6fb0>] (i2c_new_device+0xbc/0x124)
[<c02e6fb0>] (i2c_new_device+0xbc/0x124) from [<c02e7a10>] (i2c_register_adapter+0x124/0x1a8)
[<c02e7a10>] (i2c_register_adapter+0x124/0x1a8) from [<c02e7b44>] (i2c_add_numbered_adapter+0xb0/0xc8)
[<c02e7b44>] (i2c_add_numbered_adapter+0xb0/0xc8) from [<c03ebd50>] (i2c_gpio_probe+0x184/0x244)
[<c03ebd50>] (i2c_gpio_probe+0x184/0x244) from [<c027bb20>] (platform_drv_probe+0x18/0x1c)
[<c027bb20>] (platform_drv_probe+0x18/0x1c) from [<c027adac>] (driver_probe_device+0x78/0x164)
[<c027adac>] (driver_probe_device+0x78/0x164) from [<c027af24>] (__driver_attach+0x8c/0x90)
[<c027af24>] (__driver_attach+0x8c/0x90) from [<c027a0e4>] (bus_for_each_dev+0x54/0x80)
[<c027a0e4>] (bus_for_each_dev+0x54/0x80) from [<c027a78c>] (bus_add_driver+0x98/0x230)
[<c027a78c>] (bus_add_driver+0x98/0x230) from [<c027b14c>] (driver_register+0x78/0x13c)
[<c027b14c>] (driver_register+0x78/0x13c) from [<c001ca50>] (i2c_gpio_init+0xc/0x30)
[<c001ca50>] (i2c_gpio_init+0xc/0x30) from [<c002a5b8>] (do_one_initcall+0x30/0x1a0)
[<c002a5b8>] (do_one_initcall+0x30/0x1a0) from [<c0008bf8>] (kernel_init+0x16c/0x1f8)
[<c0008bf8>] (kernel_init+0x16c/0x1f8) from [<c002bad8>] (kernel_thread_exit+0x0/0x8)
handlers:
[<c02e3210>] (gpio_keys_isr+0x0/0x8c)
Disabling IRQ #54
rtc-ds1307 0-0068: rtc core: registered m41t00 as rtc0
i2c-gpio i2c-gpio.0: using pins 41 (SDA) and 42 (SCL)
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
Registered led device: hddaerr
Registered led device: hddberr
Registered led device: system
Registered led device: firmware
Registered led device: usbcopy
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-ds1307 0-0068: setting system clock to 2023-11-20 18:53:07 UTC (1700506387)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   220502016 bytes (215334 KiB, 210 MiB, 1709 LEBs)
UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:10.
Freeing init memory: 136K
                Welcome to Fedora
                Press 'I' to enter interactive startup.
Starting udev: [  OK  ]
Setting hostname iSharing:  [  OK  ]
Checking filesystems
WARNING: couldn't open /etc/fstab: No such file or directory
Checking all file systems.
[  OK  ]
warning: can't open /etc/fstab: No such file or directory
mount: can't find / in /etc/fstab or /etc/mtab
Mounting local filesystems:  warning: can't open /etc/fstab: No such file or directory
[  OK  ]
Enabling /etc/fstab swaps:  swapon: /etc/fstab: open failed: No such file or directory
                                                                                      [FAILED]

** (process:716): WARNING **: Couldn't create log file /var/log/ConsoleKit/history (No such file or directory)
init: ck-log-system-start main process (716) terminated with status 1
Entering non-interactive startup
Scan raid infomation:
mdadm: No arrays found in config file or automatically
Restoring /var/log to tmpfs:
  mount tmpfs on /var/log...
  extract backup logs to /var/log...
10 blocks
error: bad top line in state file /var/lib/logrotate.status
error: could not read state file, will not attempt to write into it
error: bad top line in state file /var/lib/logrotate.status
error: could not read state file, will not attempt to write into it

Bringing up loopback interface:  [  OK  ]
Bringing up interface eth0:  [  OK  ]
Starting portreserve: [  OK  ]
Starting system logger: [  OK  ]
Starting rpcbind: [  OK  ]
Starting NFS statd: [  OK  ]
Starting RPC idmapd: FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc
Error: RPC MTAB does not exist.
Starting system message bus: [  OK  ]
Starting Avahi daemon... [  OK  ]
Starting cups: [  OK  ]
awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such file or directory)
awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such file or directory)
awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such file or directory)
awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such file or directory)
Mounting other filesystems:  warning: can't open /etc/fstab: No such file or directory
[  OK  ]
Retrigger failed udev events[  OK  ]
Starting NFS services:  [  OK  ]
Starting NFS daemon: [  OK  ]
Starting NFS mountd: [  OK  ]
Starting RPC idmapd: FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc
Error: RPC MTAB does not exist.
Starting xinetd: [  OK  ]
ntpdate: Synchronizing with time server: [  OK  ]
Syncing hardware clock to system time [  OK  ]
Starting ntpd: [  OK  ]
Starting NAS (nas):  fastcgi buttons diskmon
Starting lighttpd: [  OK  ]
[  OK  ] atd: [  OK  ]
swapon: /etc/fstab: open failed: No such file or directory
Starting NAS LED (nasled): product was "akitio"
 nas-service/etc/rc3.d/S99nasled: line 83: /etc/nas/spindown: No such file or directory

Starting smartd: [  OK  ]

Fedora release 12 (Constantine)
Kernel 2.6.31.6-fast-20110114 on an armv6l (/dev/ttyS0)

iSharing login:

Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 20, 2023 01:33PM
Popo,

Next time you can unbrick this box by booting with the HDD, using the instruciton in the Wiki thread


Quote

How to set up U-Boot for booting in multiple drives configuration
Backup and Restore NAND mtds
UART Booting HowTo for Selected Kirkwood Devices
How to boot new Debian rootfs using stock u-boot tftp - Pogo E02
How to boot new Debian rootfs on USB using stock u-boot - NSA325
How to boot Debian rootfs on a GPT HDD with stock u-boot (kernel files stored in HDD raw sector), 2nd HowTo post
How to boot Pogo V3 from SATA (to unbrick), 2nd How to Post

The Pogoplug V3 and the Akitio mimi have the same SoC and can run the same kernel.

=========

And to run Debian on these boxes, see:

https://forum.doozan.com/read.php?2,16044

Quote

Linux Kernel 5.4.xx Oxnas package and rootfs for Pogoplug Pro V3 (with PCI) and Classic V3 (no PCI). Also the Medion Life P89626, Akitio Mycloud mini, and the possibly other OXNAS boxes such as Silverstone DC01, Iconbit I-STOR IS608 (under development).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 20, 2023 02:23PM
Thanks, Bodhi ,

It's very funny for playing system. I will try it !

Now, Everything fine.
I can login into web and startup telnet after I try to force single mode again.
I put 'htdigest' file into nas profile directory, everything is find.
But I still can't login as root.
I found that, 'the last firmware'(20170630) may check the root password,
if diffrent , force to change to 'random password' and save to 'shadow-' and 'shadow' file.
that's what I found.
So! if somebody want to admin its mycloundmini, must be linux single mode to maintain ...sigh!
I hate this company ....
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 20, 2023 02:54PM
I found a way to change root password .....
after boot, the lastest kernel force to change shadow file.
I can use any 'service' as root to execute shell script to 'make it auto' to moify shadow file to what I want.
So that, I can use telnet to login as root.

One more thing ..

I must flash openWRT u-boot to make HDD boot ?
my u-boot can't tftpboot ....(PHY cause.........?)
How can I to flash ?

When the company stop service support for this product....
Then cut all of way to production users....

COMPAY,ENTERPRISE...............!!!!



Edited 1 time(s). Last edit at 11/20/2023 02:57PM by Popo.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 21, 2023 09:07AM
Sign , Bodhi :

After I Backup all of files from NAS to my NFS Server.

Power Off and Remove HDD.
I alway got this error every each time after I power on .

I really want to boot from HDD.
I know, I must use stock kernel to flash new u-boot then Unlock all features further and possibilities.
I know , if I can use tftp boot from U-boot, seems like the other way to play.

have any other way to flash U-Boot?
Or...
fix tftp boot way for my u-boot?
any idea or suggestion very welcome.

Thanks.

Maybe the last time for this machine .....Sigh!



U-Boot 1.1.2 (Dec 24 2010 - 12:42:28)

U-Boot code: 60D00000 -> 60D1A0D8  BSS: -> 60D1E790
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0
Extinguish LED

Loading from device 0: 256MiB 3,3V 8-bit (offset 0x440000)
   Image Name:   Linux-2.6.31.6-fast-20110114
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3056816 Bytes =  2.9 MB
   Load Address: 60008000
   Entry Point:  60008000
## Booting image at 60500000 ...
   Image Name:   Linux-2.6.31.6-fast-20110114
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3056816 Bytes =  2.9 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux..................................................................................................................................................................................... done, booting the kernel.
Linux version 2.6.31.6-fast-20110114 (thom@11z) (gcc version 4.5.1 (GCC) ) #1 SMP Fri Jan 14 13:58:20 CST 2011
CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Oxsemi NAS
1 memory region
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writealloc
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 253696KB available (5260K code, 310K data, 136K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:96
OX820_RPS_init_irq: interrupts 64 to 96
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 279.34 BogoMIPS (lpj=1396736)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Calibrating local timer... 349.98MHz.
CPU1: Booted secondary processor
Calibrating delay loop... 279.34 BogoMIPS (lpj=1396736)
Brought up 2 CPUs
SMP: Total of 2 processors activated (558.69 BogoMIPS).
NET: Registered protocol family 16
Number of DMA channels = 4, version = 4
Reserving a DMA channel for DirectRAID
Allocating 218 SRAM generic DMA descriptors
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
Switched to NOHz mode on CPU #0
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
Switched to NOHz mode on CPU #1
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
Create fragment cache
fuse init (API version 7.12)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 496
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A
brd: module loaded
loop: module loaded
ox820sata: OX820 sata core.
scsi0 : oxnassata
scsi1 : oxnassata
ata1: SATA max UDMA/133 irq 50
ata2: SATA max UDMA/133 irq 50
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
NAND device: Manufacturer ID: 0xad, Chip ID: 0xda (Hynix NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x0000026c0000 : "Boot partition"
0x0000026c0000-0x000010000000 : "Data Partition"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI error: validate_vid_hdr: bad VID header
UBI error: ubi_io_read_vid_hdr: validation failed for PEB 5
UBI error: ubi_init: cannot attach mtd2
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
Probing for Synopsis GMAC, unit 0
eth0: use mtd hwaddr
eth0: Tuning GMAC 0 RGMII timings
eth0: PHY is Realtek RTL8211D, type 0x001cc914
eth0: GMAC ver = 53, vendor ver = 18 at 0xe1400000, IRQ 40
eth0: Found PHY at address 3, type 0x001cc914 -> 10/100/1000
eth0: Ethernet addr: 00:01:d2:12:00:fa
probe() eth0: Leon x2 clock
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Start USB clocks
oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller
oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1
oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000
oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
IRQ 53 uses trigger mode 0; requested 3
input: gpio-keys as /devices/platform/gpio-keys/input/input0
irq 54: nobody cared (try booting with the "irqpoll" option)
[<c002fab0>] (unwind_backtrace+0x0/0xe0) from [<c0076430>] (__report_bad_irq+0x78/0xa8)
[<c0076430>] (__report_bad_irq+0x78/0xa8) from [<c00765e4>] (note_interrupt+0x184/0x1f0)
[<c00765e4>] (note_interrupt+0x184/0x1f0) from [<c0076b44>] (handle_level_irq+0x108/0x130)
[<c0076b44>] (handle_level_irq+0x108/0x130) from [<c002a054>] (asm_do_IRQ+0x54/0xa8)
[<c002a054>] (asm_do_IRQ+0x54/0xa8) from [<c002abd8>] (__irq_svc+0x38/0xc0)
Exception stack(0xcf813b48 to 0xcf813b90)
3b40:                   cf813b90 ffff8ba4 00000000 00000000 00000102 c0593ac0
3b60: cf812000 cf812000 c0023530 c056e040 c05a1d60 00000000 00000002 cf813b90
3b80: c0050b8c c00506e8 20000113 ffffffff
[<c002abd8>] (__irq_svc+0x38/0xc0) from [<c00506e8>] (__do_softirq+0x50/0x140)
[<c00506e8>] (__do_softirq+0x50/0x140) from [<c0050b8c>] (irq_exit+0x84/0xa0)
[<c0050b8c>] (irq_exit+0x84/0xa0) from [<c002a058>] (asm_do_IRQ+0x58/0xa8)
[<c002a058>] (asm_do_IRQ+0x58/0xa8) from [<c002abd8>] (__irq_svc+0x38/0xc0)
Exception stack(0xcf813be8 to 0xcf813c30)
3be0:                   c059437c 60000013 e510001c 00000000 00000000 e510001c
3c00: c0573454 00000000 00000029 60000013 00000000 cf813d94 e500001c cf813c30
3c20: c0034b58 c03eec80 20000013 ffffffff
[<c002abd8>] (__irq_svc+0x38/0xc0) from [<c03eec80>] (_spin_unlock_irqrestore+0x18/0x1c)
[<c03eec80>] (_spin_unlock_irqrestore+0x18/0x1c) from [<c0034b58>] (ox820_gpio_direction_output+0x60/0xa8)
[<c0034b58>] (ox820_gpio_direction_output+0x60/0xa8) from [<c0257c64>] (gpio_direction_output+0xcc/0xf0)
[<c0257c64>] (gpio_direction_output+0xcc/0xf0) from [<c02e7ce8>] (i2c_start+0x18/0x44)
[<c02e7ce8>] (i2c_start+0x18/0x44) from [<c02e83b4>] (bit_xfer+0x24/0x4b0)
[<c02e83b4>] (bit_xfer+0x24/0x4b0) from [<c02e5ff8>] (i2c_transfer+0xb0/0xf0)
[<c02e5ff8>] (i2c_transfer+0xb0/0xf0) from [<c02e62c8>] (i2c_smbus_xfer+0x290/0x54c)
[<c02e62c8>] (i2c_smbus_xfer+0x290/0x54c) from [<c02e6624>] (i2c_smbus_read_i2c_block_data+0x4c/0x74)
[<c02e6624>] (i2c_smbus_read_i2c_block_data+0x4c/0x74) from [<c03eb914>] (ds1307_probe+0x350/0x608)
[<c03eb914>] (ds1307_probe+0x350/0x608) from [<c02e5e10>] (i2c_device_probe+0x6c/0x84)
[<c02e5e10>] (i2c_device_probe+0x6c/0x84) from [<c027adac>] (driver_probe_device+0x78/0x164)
[<c027adac>] (driver_probe_device+0x78/0x164) from [<c0279e1c>] (bus_for_each_drv+0x60/0x8c)
[<c0279e1c>] (bus_for_each_drv+0x60/0x8c) from [<c027ac60>] (device_attach+0x70/0x88)
[<c027ac60>] (device_attach+0x70/0x88) from [<c027a650>] (bus_probe_device+0x24/0x44)
[<c027a650>] (bus_probe_device+0x24/0x44) from [<c0278a50>] (device_add+0x3d0/0x4b4)
[<c0278a50>] (device_add+0x3d0/0x4b4) from [<c02e6fb0>] (i2c_new_device+0xbc/0x124)
[<c02e6fb0>] (i2c_new_device+0xbc/0x124) from [<c02e7a10>] (i2c_register_adapter+0x124/0x1a8)
[<c02e7a10>] (i2c_register_adapter+0x124/0x1a8) from [<c02e7b44>] (i2c_add_numbered_adapter+0xb0/0xc8)
[<c02e7b44>] (i2c_add_numbered_adapter+0xb0/0xc8) from [<c03ebd50>] (i2c_gpio_probe+0x184/0x244)
[<c03ebd50>] (i2c_gpio_probe+0x184/0x244) from [<c027bb20>] (platform_drv_probe+0x18/0x1c)
[<c027bb20>] (platform_drv_probe+0x18/0x1c) from [<c027adac>] (driver_probe_device+0x78/0x164)
[<c027adac>] (driver_probe_device+0x78/0x164) from [<c027af24>] (__driver_attach+0x8c/0x90)
[<c027af24>] (__driver_attach+0x8c/0x90) from [<c027a0e4>] (bus_for_each_dev+0x54/0x80)
[<c027a0e4>] (bus_for_each_dev+0x54/0x80) from [<c027a78c>] (bus_add_driver+0x98/0x230)
[<c027a78c>] (bus_add_driver+0x98/0x230) from [<c027b14c>] (driver_register+0x78/0x13c)
[<c027b14c>] (driver_register+0x78/0x13c) from [<c001ca50>] (i2c_gpio_init+0xc/0x30)
[<c001ca50>] (i2c_gpio_init+0xc/0x30) from [<c002a5b8>] (do_one_initcall+0x30/0x1a0)
[<c002a5b8>] (do_one_initcall+0x30/0x1a0) from [<c0008bf8>] (kernel_init+0x16c/0x1f8)
[<c0008bf8>] (kernel_init+0x16c/0x1f8) from [<c002bad8>] (kernel_thread_exit+0x0/0x8)
handlers:
[<c02e3210>] (gpio_keys_isr+0x0/0x8c)
Disabling IRQ #54
rtc-ds1307 0-0068: rtc core: registered m41t00 as rtc0
i2c-gpio i2c-gpio.0: using pins 41 (SDA) and 42 (SCL)
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
Registered led device: hddaerr
Registered led device: hddberr
Registered led device: system
Registered led device: firmware
Registered led device: usbcopy
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-ds1307 0-0068: setting system clock to 2023-11-21 14:51:03 UTC (1700578263)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
UBIFS error (pid 1): ubifs_get_sb: cannot open "ubi0:rootfs", error -19
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00          262144 mtdblock0 (driver?)
1f01           39680 mtdblock1 (driver?)
1f02          222464 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c002fab0>] (unwind_backtrace+0x0/0xe0) from [<c03ec2dc>] (panic+0x44/0x100)
[<c03ec2dc>] (panic+0x44/0x100) from [<c0008f64>] (mount_block_root+0x1d8/0x29c)
[<c0008f64>] (mount_block_root+0x1d8/0x29c) from [<c000921c>] (prepare_namespace+0x90/0x1c0)
[<c000921c>] (prepare_namespace+0x90/0x1c0) from [<c0008c3c>] (kernel_init+0x1b0/0x1f8)
[<c0008c3c>] (kernel_init+0x1b0/0x1f8) from [<c002bad8>] (kernel_thread_exit+0x0/0x8)
CPU1: stopping
[<c002fab0>] (unwind_backtrace+0x0/0xe0) from [<c002a35c>] (do_IPI+0xe8/0x150)
[<c002a35c>] (do_IPI+0xe8/0x150) from [<c002abd8>] (__irq_svc+0x38/0xc0)
Exception stack(0xcf83df98 to 0xcf83dfe0)
df80:                                                       2afbfe1e 00000000
dfa0: cf83dfe0 00000000 cf83c000 c0593d24 c057280c c0594234 00000000 410fb025
dfc0: 60021d84 00000000 ffff8be0 cf83dfe0 c002bb30 c002bb34 60000013 ffffffff
[<c002abd8>] (__irq_svc+0x38/0xc0) from [<c002bb34>] (default_idle+0x24/0x28)
[<c002bb34>] (default_idle+0x24/0x28) from [<c002bd14>] (cpu_idle+0x64/0x98)
[<c002bd14>] (cpu_idle+0x64/0x98) from [<60008084>] (0x60008084)

Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 21, 2023 09:38AM
Has anyone ever try to use JTAG to flash U-boot on this machine?

I want to try use JTAG to flash the U-boot firmware from Bodhi.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 21, 2023 01:56PM
Popo,

> have any other way to flash U-Boot?

Yes.

> I want to try use JTAG to flash the U-boot
> firmware from Bodhi.

Don't do that until after you have tried booting soley from HDD (u-boot and kernel are on HDD). I mentioned this above:

https://forum.doozan.com/read.php?4,136213,136218#msg-136218

The Pogoplug V3 and the Akitio mimi have the same SoC and can run the same kernel. But IIRC, people reported they have problem running Akitio box wiht the Pogo V3 u-boot from NAND.

If you can run from HDD, then just upgrade the kernel on the HDD rootfs. And then try u-boot on NAND (it won't hurt if it does not work).

=====

Also , this OXNAS SoC has been removed from mainline Linux in kernel 6.x. So I think the best we can do is running Debian kernel 5.4.x until Dec 2025, or OpenWrt kernel 5.15.x until Dec 2026. After that, no more security or bug fix update from mainline.

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



Edited 2 time(s). Last edit at 11/21/2023 04:50PM by bodhi.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 22, 2023 01:08PM
Maybe it's because I can't successfully execute the ping/tftpboot command in the U-boot function on my machine. It always prompts that the PHY is not recognized, and then it is waiting for the connection to the TFTP Server without prompting. timeout. So I think the manufacturer seems to have taken advantage of a certain firmware update to rewrite the U-boot program, causing the tftp boot function to be unavailable.

IIRC, many years ago, I saw someone successfully using tftp to download the uImage compiled by ArchLinuxArm into the memory using the manufacturer's original U-boot, and tftpboot was successful.
(Hippo/Tilator in U-Boot Topic , they from Taiwan, BTW I am also from Taiwan), and completely uses 256MB of memory.
please ref this article ArchLinuxArm Boot from HDD
However, this Package can no longer be downloaded. It has been requested on U-BOOT and Arch Linux discussion forums, but no one has provided it for many years.

This made me very excited at the time, thinking that it was entirely possible to boot this machine from the HDD through U-BOOT. But I didn't save the package at that time.

Because the method I saw in your above article is to use tftp to start, and the model mentioned is PogoPlug E02/V4, and the E02 model seems to have some issues that need attention. So I was afraid that it wouldn't work and would fail.

Maybe I missed some details, I will look in these wiki articles for possibilities and implement this great project without re-flashing NAND. (Boot from HDD)

BTW, I have soldered the 20 Pin reserved pins of Jumper J10 to the pin header today, and also ordered J-Link (I plan to use Rasperberry Pi 3 + OpenOCD + J-LINK to implement). But this will be my last resort.

IIRC, on the U-Boot page, I saw that git-hub provides the U-boot source code of version 1.1.4, which is suitable for Akitio Mycloud mini. Will there be any problems if this version of U-Boot is flashed on this machine?

Thank you very much for the resources and methods provided by you and everyone on this page who have tried many things over the years.

In any case, I will take this opportunity to try my best to explore various possibilities. After all, this has been my long-standing interest and work attitude.

Thanks again.



Edited 1 time(s). Last edit at 11/22/2023 01:18PM by Popo.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 22, 2023 01:37PM
BTW,

I have had a plan in mind for many years. This was due to the fact that the specifications of Rasperberry pi in the past few years in terms of storage speed, memory, and network were too low-end. As a result, I was unable to successfully construct a supercomputer and perform parallel computing with Rasperberry PI. .

I plan to use 12 Akitio Mycloud Minis for supercomputer parallel computing to process some "projects" because the size, existing power supply, fast SATA interface, network speed (packet can be set to 4000 MTU), and arm11 are enough for computing. , but the memory is a little smaller. In terms of construction cost, the price in Taiwan is equivalent to an RPI 3 B Plus + expanded storage function.

If I can fully master this machine, I will be able to perform computing tasks smoothly.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 22, 2023 03:56PM
> the ping/tftpboot command in the U-boot function
> on my machine. It always prompts that the PHY is
> not recognized, and then it is waiting for the
> connection to the TFTP Server without prompting.
> timeout. So I think the manufacturer seems to have
> taken advantage of a certain firmware update to
> rewrite the U-boot program, causing the tftp boot
> function to be unavailable.
>
> IIRC, many years ago, I saw someone successfully
> using tftp to download the uImage compiled by
> ArchLinuxArm into the memory using the
> manufacturer's original U-boot, and tftpboot was
> successful.

Booting with tftp is not needed to do for this box.

> (Hippo/Tilator in U-Boot Topic , they from Taiwan,
> BTW I am also from Taiwan), and completely uses
> 256MB of memory.
> please ref this article
> ArchLinuxArm
> Boot from HDD

> However, this Package can no longer be downloaded.
> It has been requested on U-BOOT and Arch Linux
> discussion forums, but no one has provided it for
> many years.
>
> This made me very excited at the time, thinking
> that it was entirely possible to boot this machine
> from the HDD through U-BOOT. But I didn't save the
> package at that time.

> Because the method I saw in your above article is
> to use tftp to start, and the model mentioned is
> PogoPlug E02/V4, and the E02 model seems to have
> some issues that need attention. So I was afraid
> that it wouldn't work and would fail.

No, that's not what I meant. Those Pogoplug E02 and V4 are Kirkwood SoC. This box is OXNAS SoC, like the Pogoplug V3.

I meant to point you to where you can see how to boot with HDD.

>
> Maybe I missed some details, I will look in these
> wiki articles for possibilities and implement this
> great project without re-flashing NAND. (Boot from
> HDD)

Yes. Try booting with HDD only as I mentioned.

Wiki Thread: https://forum.doozan.com/read.php?2,23630

Quote

How to boot Pogo V3 from SATA (to unbrick), 2nd How to Post

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 22, 2023 06:51PM
Yes, Bodhi :

After I took a nap, I realized how stupid I was!!

My machine can successfully load the kernel, but the UBIFS mount fails. Carefully observing the boot process, you can find that both USB and STA have been initialized successfully.

Going back to the most basic Linux knowledge, U-Boot (Boot-Loader) passes the boot parameters to the kernel, and the kernel performs root mounting based on the location of the device specified in the parameters.

At this time, the machine actually already has a small Linux system. We only need to mount the file system we need and hand it over to the initrd that matches the machine for subsequent boot operations.
You can completely ignore whether UBIFS can still be mounted successfully. It doesn't matter whether it exists or not.

I will refer to this article and download the required files. After setting up the file system on the USB or HDD, I will mount and boot it according to the U-boot setenv method you mentioned in the article.


Thanks a lot !!
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 23, 2023 10:27AM
Hi, Bodhi :

When I was using an empty hard disk to place the rootfs and u-boot files, I saw these two instructions in the guide, which confused me.


Latest released kernel: linux-5.4.224-oxnas-tld-1.bodhi.tar.bz2 (16 Nov 2022)
Latest released rootfs: Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2 (17 May 2020)

Note: If this is your first time installation, then you only need rootfs Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2 (this has kernel linux-4.14.180-oxnas-tld-1 already installed). Scroll down to 17 May 2020 section.

With this kernel we can run the Pogo V3 boxes with the latest U-Boot (e.g. 2013.10 and later). To run with stock U-Boot, use kernel 3.18.5 or earlier.


' If this is your first time installation' <-- Yes,I am !!
Only need rootfs <-- I had download this file com from 17 May 2020 section

With this kernel we can run the Pogo V3 boxes with the latest U-Boot <-- I just have stock kernel on my machine.
In my understanding, this paragraph means that the new version of U-Boot on the HDD can be executed, not the U-Boot on the Flash, right?

But, the next word ==> To run with stock U-Boot, use kernel 3.18.5 or earlier.

I finally found the ox820-sata-uboot.tar.gz file from many articles and downloaded it from dropbox. The article also provides the oxnas_sata_boot.tgz file in the same download link. But in this post I'm trying to execute, it seems I only need what's inside ox820-sata-uboot.tar.gz. (But what troubles me above is that I don’t need this file for the first installation. However, during the execution steps, this file is needed to replace the boot content in rootfs.

This guide troubled me so much that I didn’t know how to follow the instructions in the article.

Could you help to suggest and explain what the meant ?

My UNDERSTANDING...
1.Ready Empty HDD to ext3
2.put Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2 in the 'root directory'
3.put ox820-sata-uboot.tar.gz to replace /boot dts
4.make 'magic number' to HDD first sector
5.power on and then mycloud mini will boot from HDD ???

Is there something wrong with my understanding?
(Note: I just have stock u-boot on my machine)


Thanks a lot.



Edited 1 time(s). Last edit at 11/23/2023 10:35AM by Popo.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 24, 2023 02:51PM
Quote

This guide troubled me so much that I didn’t know how to follow the instructions in the article.

OK. This needs a bit of explaining. There are 3 ways to run Debian on this OXNAS SoC. There is also another way with OpenWrt u-boot, but it is out of scope as this is Debian we are interested in.

1. Running with stock u-boot on NAND, and Debian rootfs on USB or HDD Ext3/Ext4 parttion.
2. Running with new u-boot on NAND, and Debian rootfs on USB or HDD Ext3/Ext4 partition.
3. Running with new u-boot stored on HDD raw sector, and rootfs on HDD Ext3/Ext4 patition.

- Method 1 is obsolete. We will not discuss this.
- Method 2 is what we normally do as typical for Pogoplug V3 Pro/Classic boxes.
- Method 3 is actually a rescue mechanism (eg. when NAND is corrupted, or incorrectly configured). This procedure was from WarheadsSE. The magic" string is really typical handshake bytes between the BootROM and the SATA drive, that tells the BootROM to read u-boot from a raw sector. This method is also possible with a few other SoCs such as Kirkwood.

What works and What isn't

A) Method 2 is what works for Pogoplug V3 Pro/Classics (there are about 5 or 6 variations of this plug). So the following 2 threads are for these plugs:

Debian: https://forum.doozan.com/read.php?2,16044
U-Boot: https://forum.doozan.com/read.php?3,16017

Now there are other OXNAS boxes that can use the same Method 2. As mentioned:
Quote

Linux Kernel 5.4.xx Oxnas package and rootfs for Pogoplug Pro V3 (with PCI) and Classic V3 (no PCI). Also the Medion Life P89626, Akitio Mycloud mini, and the possibly other OXNAS boxes such as Silverstone DC01, Iconbit I-STOR IS608 (under development)

However, there were some reports that new u-boot on NAND does not work for some boxes such as Medion Life or Akitio.

B) Method 3 is what should work for all OXNAS boxes. And this is a completly different procedure from Method 2. When you use this procedure to install on any OXNAS box, you should disregard everything about Method 2 (you might come back to it later to try and see if it also works for your box).

This is described in the 2 threads mentioned on the Wiki threads (https://forum.doozan.com/list.php?4)

Quote

How to boot Pogo V3 from SATA (to unbrick), 2nd How to Post

====

So that's why I suggested that you use Method 3 to setup the HDD raw sector, envs, rootfs ... Once you got this working, this box is unbrickable. And then you might want to come back to Method 2 and try u-boot on NAND (with the chance that it will not work at all).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 25, 2023 04:45PM
It's OK,
I can confirm for this way to make a rescue hdd for akitio mycloud mini.

But, I got error this error after i boot from hdd.

No matter if I format rootfs into ext2/ext3/ext4

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:
Failed to mount ext2 filesystem...
### ERROR ### Please RESET the board ###

And . why 'Attempting to set PLLA to 850 MHz ...' ?
akitio mycloud mini just 700 MHz clock ...



Edited 2 time(s). Last edit at 11/25/2023 04:52PM by Popo.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 25, 2023 05:14PM
OK, I got new ERROR after I re-create rescue hdd

cause by I put rootfs to primary partition 2
after ok by put rootfs to primary partition 1
But, I remove /boot

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 **
** File not found /boot/u-boot.img **
### ERROR ### Please RESET the board ###

after I put /boot back,
the system can boot, but got new error and system freezing ...

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: APPLE HDD HTS547550A9E384  Firm: JE3AD70F Ser#: J2600055GJDE2E
            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
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 773 ms (2.7 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.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

I can't see any file about bootargs.bin

** File not found /boot/bootargs.bin **

any suggestion ?
I will try to setenv in u-boot shell



Edited 2 time(s). Last edit at 11/25/2023 05:25PM by Popo.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 25, 2023 05:59PM
Popo,

[    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

That indicated you're booting the wong kernel. So your HDD preparation is not correct. Which instruction did you follow?

youxiaojie:
https://forum.doozan.com/read.php?2,32994

or
hacksome:
https://forum.doozan.com/read.php?3,93499,93729#msg-93729

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 25, 2023 06:20PM
Hi, Bodhi :

https://forum.doozan.com/read.php?3,93499,93729#msg-93729

After this preparation of the boot area of the disk you have to write the linux file system to the SATA drive:

I have used the current latest version for this: Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2

Unpack the archive to a temporary directory on your system (all this still logged in as root (sudo -i)) to a working directory:

I have created a ´sataboot´ directory in my home directory with: mkdir /home/sataboot

cd /home/sataboot
tar -xjf /PathToArchive/Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2

Then copy all files extracted form the archive to the mounted drive labeled ´rootfs´ directory, but DO NOT COPY the newly created ./boot directory!
Because then the sata boot images will be overwritten.....
You can manually copy all other directories one by one like this:

still from within /home/sataboot or cd to it:

cp -r ./xxx /media/john/rootfs
Where xxx is substituted with bin, usr, home, dev etc. but skip! the ./boot directory.

You can also move the ./boot directory elswhere, e.g. mv ./boot /home/tempboot/ and after that and from within the /home/sataboot directory copy al directories and files to the ´rootfs´ labeled sata drive with:
cp -r . /media/john/rootfs/

seems I got wrong image file ?

Linux Kernel 5.4.xx Oxnas package and rootfs for Pogoplug Pro V3 (with PCI) and Classic V3 (no PCI). Also the Medion Life P89626, Akitio Mycloud mini, and the possibly other OXNAS boxes such as Silverstone DC01, Iconbit I-STOR IS608 (under development). If you install this kernel on other OX820 boxes, please post your finding so it can be added to the supported list.

Latest released kernel: linux-5.4.224-oxnas-tld-1.bodhi.tar.bz2 (16 Nov 2022)
Latest released rootfs: Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2 (17 May 2020)

Note: If this is your first time installation, then you only need rootfs Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2 (this has kernel linux-4.14.180-oxnas-tld-1 already installed). Scroll down to 17 May 2020 section.

With this kernel we can run the Pogo V3 boxes with the latest U-Boot (e.g. 2013.10 and later). To run with stock U-Boot, use kernel 3.18.5 or earlier.

Download at Dropbox:
Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2 (re-uploaded Apr 28, 2020).
The file download link has expired



Edited 2 time(s). Last edit at 11/25/2023 06:36PM by Popo.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 26, 2023 02:12AM
Hi, bodhi :

It seems got better than before. But still stuck....

I use

Latest released rootfs: Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2 (17 May 2020)

do as following

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

Now I got Files in /boot as folowing

drwxr-xr-x  3 admin administrators     4096 2023-11-26 15:27 ./
drwxrwxrwx 19 admin administrators     4096 2023-11-26 15:23 ../
-rw-r--r--  1 admin administrators   126846 2023-11-26 15:23 config-4.14.180-oxnas-tld-1
drwxr-xr-x  2 admin administrators     4096 2023-11-26 15:23 dts/
-rw-r--r--  1 admin administrators  6464843 2023-11-26 15:23 initrd.img-4.14.180-oxnas-tld-1
-rw-r--r--  1 admin administrators 10872364 2023-11-26 15:23 linux-headers-4.14.180-oxnas-tld-1_1.0_armel.deb
-rw-r--r--  1 admin administrators  1797644 2023-11-26 15:23 System.map-4.14.180-oxnas-tld-1
-rwxr-xr-x  1 admin administrators    16384 2023-11-26 15:27 u-boot.env*
-rw-r--r--  1 admin administrators   525880 2023-11-26 15:27 u-boot.img
-rwxr-xr-x  1 admin administrators    32120 2023-11-26 15:27 u-boot-spl.bin*
-rw-r--r--  1 admin administrators  4610393 2023-11-26 15:23 uImage
-rw-r--r--  1 admin administrators  4600448 2023-11-26 15:23 uImage.orig
-rw-r--r--  1 admin administrators  6464907 2023-11-26 15:23 uInitrd
-rwxr-xr-x  1 admin administrators  4600384 2023-11-26 15:23 vmlinuz-4.14.180-oxnas-tld-1*
-rwxr-xr-x  1 admin administrators  4600384 2023-11-26 15:23 zImage-4.14.180-oxnas-tld-1*
-rwxr-xr-x  1 admin administrators  4610329 2023-11-26 15:23 zImage.fdt*


than I manual run in u-boot shell

please see printenv

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: APPLE HDD HTS547550A9E384  Firm: JE3AD70F Ser#: J2600055GJDE2E
            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 #
OX820 #
OX820 # setenv dt_ide_load_dtb ext2load ide 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb
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 0x62c00000 /boot/dts/ox820-akitio.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:30:E0:00:00:01
ide_set_bootargs=setenv bootargs root=/dev/sda1 rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
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: 1960/16380 bytes
OX820 # setenv dt_load_dtb ext2load usb 0:1 $dtb_addr /boot/dts/ox820-akitio.dtb
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 0x62c00000 /boot/dts/ox820-akitio.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 0x62c00000 /boot/dts/ox820-akitio.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:30:E0:00:00:01
ide_set_bootargs=setenv bootargs root=/dev/sda1 rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
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: 1955/16380 bytes
OX820 # saveenv
Saving Environment to EXT4...
File System is consistent
file found deleting
update journal finished
File System is consistent
update journal finished
done

I use run dt_ide_boot


OX820 # run dt_ide_boot
4610393 bytes read in 1575 ms (2.8 MiB/s)
6464907 bytes read in 2225 ms (2.8 MiB/s)
9945 bytes read in 42 ms (230.5 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.14.180-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4610329 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-4.14.180-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6464843 Bytes = 6.2 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f7fe000, end 6fe2854b ... OK
   Loading Device Tree to 6f7f8000, end 6f7fd6d8 ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.180-oxnas-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Akitio MyCloud
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from start_kernel+0x84/0x3f8 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29548 r8192 d23700 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: earlyprintk console=ttyS0,115200
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 119024K/131072K available (7168K kernel code, 199K rwdata, 1524K rodata, 1024K init, 245K bss, 12048K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b31f68   ( 200 kB)
[    0.000000]        .bss : 0xc0b383b8 - 0xc0b757c0   ( 246 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ c8804000, 32 irqs, parent IRQ: 16
[    0.000015] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008163] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.018887] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.025044] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.033571] GIC: PPI13 is secure or misconfigured
[    0.038376] GIC: PPI13 is secure or misconfigured
[    0.043307] Console: colour dummy device 80x30
[    0.047846] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.094776] pid_max: default: 32768 minimum: 301
[    0.099735] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.106416] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.114519] CPU: Testing write buffer coherency: ok
[    0.158533] Setting up static identity map for 0x60100000 - 0x60100038
[    0.165345] Hierarchical SRCU implementation.
[    0.208435] smp: Bringing up secondary CPUs ...
[    0.258549] GIC: PPI13 is secure or misconfigured
[    0.318717] smp: Brought up 1 node, 2 CPUs
[    0.327649] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.334819] devtmpfs: initialized
[    0.344291] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.354242] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.360750] prandom: seed boundary self test passed
[    0.369912] prandom: 100 self tests passed
[    0.374074] pinctrl core: initialized pinctrl subsystem
[    0.380075] NET: Registered protocol family 16
[    0.386117] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.395427] cpuidle: using governor ladder
[    0.399715] cpuidle: using governor menu
[    0.422940] vgaarb: loaded
[    0.426196] SCSI subsystem initialized
[    0.430812] usbcore: registered new interface driver usbfs
[    0.436456] usbcore: registered new interface driver hub
[    0.442060] usbcore: registered new device driver usb
[    0.447344] pps_core: LinuxPPS API ver. 1 registered
[    0.452433] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.461688] PTP clock support registered
[    0.466703] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.491919] NET: Registered protocol family 2
[    0.497328] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.504366] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.510860] TCP: Hash tables configured (established 1024 bind 1024)
[    0.517450] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.523374] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.530012] NET: Registered protocol family 1
[    0.535257] RPC: Registered named UNIX socket transport module.
[    0.541291] RPC: Registered udp transport module.
[    0.546060] RPC: Registered tcp transport module.
[    0.550865] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.558886] Initialise system trusted keyrings
[    0.563440] Key type blacklist registered
[    0.567920] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.581890] zbud: loaded
[    0.589248] NFS: Registering the id_resolver key type
[    0.594383] Key type id_resolver registered
[    0.598707] Key type id_legacy registered
[    0.602805] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.609610] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.616952] fuse init (API version 7.26)
[    0.621847] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.628664] orangefs_init: module version upstream loaded
[    2.581145] Key type asymmetric registered
[    2.585318] Asymmetric key parser 'x509' registered
[    2.590400] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.597957] io scheduler noop registered
[    2.601950] io scheduler deadline registered
[    2.606338] io scheduler cfq registered (default)
[    2.613396] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    2.621386] console [ttyS0] disabled
[    2.625152] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    2.634124] console [ttyS0] enabled
[    2.634124] console [ttyS0] enabled
[    2.641190] bootconsole [earlycon0] disabled
[    2.641190] bootconsole [earlycon0] disabled
[    2.660846] loop: module loaded
[    2.666245] scsi host0: sata_oxnas
[    2.670374] scsi host1: sata_oxnas
[    2.674048] ata1: SATA max UDMA/133 irq 57
[    2.678182] ata2: SATA max UDMA/133 irq 57
[    2.682373] sata_oxnas: resetting SATA core
[    2.747038] nand: Could not find valid ONFI parameter page; aborting
[    2.753377] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    2.759749] nand: Hynix NAND 256MiB 3,3V 8-bit
[    2.764177] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.771758] Scanning device for bad blocks
[    2.942699] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    2.949795] Creating 2 MTD partitions on "41000000.nand-controller":
[    2.956175] 0x000000000000-0x0000026c0000 : "boot"
[    2.963038] 0x0000026c0000-0x000010000000 : "ubi"
[    2.972049] libphy: Fixed MDIO Bus: probed
[    2.976529] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    2.982410] oxnas-dwmac 40400000.ethernet: no reset control found
[    3.056806] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    3.061841] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    3.067530] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    3.074805] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    3.081594] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    3.088209] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    3.095488] oxnas-dwmac 40400000.ethernet: COE Type 2
[    3.100544] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    3.107420] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    3.113669] oxnas-dwmac 40400000.ethernet (unnamed net_device) (uninitialized): device MAC address e2:56:9b:72:78:6c
[    3.124175] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.141299] libphy: stmmac: probed
[    3.144704] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    3.154191] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    3.164587] PPP generic driver version 2.4.2
[    3.169228] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.175731] ehci-pci: EHCI PCI platform driver
[    3.196792] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.203850] ata1.00: ATA-8: APPLE HDD HTS547550A9E384, JE3AD70F, max UDMA/133
[    3.211023] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    3.218677] ata1.00: configured for UDMA/133
[    3.223503] scsi 0:0:0:0: Direct-Access     ATA      APPLE HDD HTS547 D70F PQ: 0 ANSI: 5
[    3.233169] sata_oxnas: resetting SATA core
[    3.233374] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    3.244879] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    3.250165] sata_oxnas: resetting SATA core
[    3.396776] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    3.402283] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    3.410199] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    3.436753] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    3.443072] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.449945] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.457175] usb usb1: Product: EHCI Host Controller
[    3.462031] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd
[    3.468692] usb usb1: SerialNumber: 40200100.ehci
[    3.474196] hub 1-0:1.0: USB hub found
[    3.478105] hub 1-0:1.0: 2 ports detected
[    3.483092] usbcore: registered new interface driver cdc_wdm
[    3.489018] usbcore: registered new interface driver usb-storage
[    3.495157] usbcore: registered new interface driver usbserial
[    3.501089] usbcore: registered new interface driver usbserial_generic
[    3.507776] usbserial: USB Serial support registered for generic
[    3.514104] mousedev: PS/2 mouse device common for all mice
[    3.519836] i2c /dev entries driver
[    3.524615] hidraw: raw HID events driver (C) Jiri Kosina
[    3.530350] usbcore: registered new interface driver usbhid
[    3.535900] usbhid: USB HID core driver
[    3.540997] NET: Registered protocol family 10
[    3.546995] Segment Routing with IPv6
[    3.550727] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.558423] NET: Registered protocol family 17
[    3.562961] Key type dns_resolver registered
[    3.568601] registered taskstats version 1
[    3.572684] Loading compiled-in X.509 certificates
[    3.577602] zswap: loaded using pool lzo/zbud
[    3.590338] Key type big_key registered
[    3.596904] Key type encrypted registered

then stuck ......

and I setenv for normal boot from sata

dt_sata_boot=ext2load ide 0:1 $uimage_addr /boot/uImage_2.6.31.14_OX820_1.2_shv.Pro; bootm $uimage_addr
To
dt_sata_boot=ext2load ide 0:1 $uimage_addr /boot/uImage; bootm $uimage_addr

reboot.....


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: APPLE HDD HTS547550A9E384  Firm: JE3AD70F Ser#: J2600055GJDE2E
            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
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'
4610393 bytes read in 1673 ms (2.6 MiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.14.180-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4610329 Bytes = 4.4 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] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.180-oxnas-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Akitio MyCloud
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from start_kernel+0x84/0x3f8 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29548 r8192 d23700 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    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: 248976K/262144K available (7168K kernel code, 199K rwdata, 1524K rodata, 1024K init, 245K bss, 13168K 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 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b31f68   ( 200 kB)
[    0.000000]        .bss : 0xc0b383b8 - 0xc0b757c0   ( 246 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ d0804000, 32 irqs, parent IRQ: 16
[    0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000048] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000064] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000092] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000240] GIC: PPI13 is secure or misconfigured
[    0.000294] GIC: PPI13 is secure or misconfigured
[    0.000471] Console: colour dummy device 80x30
[    0.000514] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050391] pid_max: default: 32768 minimum: 301
[    0.050654] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050680] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051553] CPU: Testing write buffer coherency: ok
[    0.090444] Setting up static identity map for 0x60100000 - 0x60100038
[    0.110348] Hierarchical SRCU implementation.
[    0.150348] smp: Bringing up secondary CPUs ...
[    0.220459] GIC: PPI13 is secure or misconfigured
[    0.280634] smp: Brought up 1 node, 2 CPUs
[    0.280665] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.281402] devtmpfs: initialized
[    0.287447] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.287480] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.287815] prandom: seed boundary self test passed
[    0.292103] prandom: 100 self tests passed
[    0.292124] pinctrl core: initialized pinctrl subsystem
[    0.292843] NET: Registered protocol family 16
[    0.294484] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.296957] cpuidle: using governor ladder
[    0.297029] cpuidle: using governor menu
[    0.315617] vgaarb: loaded
[    0.316119] SCSI subsystem initialized
[    0.316833] usbcore: registered new interface driver usbfs
[    0.316938] usbcore: registered new interface driver hub
[    0.317086] usbcore: registered new device driver usb
[    0.317268] pps_core: LinuxPPS API ver. 1 registered
[    0.317286] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.317317] PTP clock support registered
[    0.318400] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.333995] NET: Registered protocol family 2
[    0.334881] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.334932] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.334986] TCP: Hash tables configured (established 2048 bind 2048)
[    0.335155] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.335201] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.335470] NET: Registered protocol family 1
[    0.336271] RPC: Registered named UNIX socket transport module.
[    0.336291] RPC: Registered udp transport module.
[    0.336307] RPC: Registered tcp transport module.
[    0.336320] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.338531] Initialise system trusted keyrings
[    0.338600] Key type blacklist registered
[    0.338859] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.345456] zbud: loaded
[    0.350026] NFS: Registering the id_resolver key type
[    0.350077] Key type id_resolver registered
[    0.350092] Key type id_legacy registered
[    0.350123] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.350138] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.350991] fuse init (API version 7.26)
[    0.351915] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.352184] orangefs_init: module version upstream loaded
[    2.233574] alg: hash: Test 4 failed fo4 sha224-generic
[    2.233602] 00000000: 6b 62 25 2a 52 f5 e7 69 e2 92 0a 0e a6 62 f8 11
[    2.233620] 00000010: e4 92 e5 81 53 2b 39 59 a3 7c 87 ▒e
[    2.234324] alg: cipher: Test 1 failed on encryption fo# arc4-generic
[    2.234352] 00000000: 75 b7 87 80 99 60 c5 96
[    2.235962] alg: comp: Compression test▒1 failed for deflate-generic: output len = 75
[    2.241515] alg: acomp: decompression failed on test 1 for zlib-deflate-scomp: ret=22
[    2.243645] alg: acomp: Compression tesh 1 failed for lzo-scomp
[    2.243673] 00000000: 00 0d 4a 6f 69 6e 20 75 73 20 6e 6f 77 20 61 6e
[    2.243691] 00000010: 64 20 73 68 61 72 65 20 74 68 65 20 73 6f 66 74
[    2.243704] 00000020: 77 70 01 32 88 00 0c 65 20 74 68 65 20 73 6f 66
[    2.243719] 00000030: 74 77 61 72 65 20 11 00 00 00 00 00 00 00 00 00
[    2.243732] 00000040: 00 00 00 00 00 0
[    2.293498] alg: hash: Test 8 failed fo▒ hmac(sha256-generic)
[    2.293527] 00000000: 6d 5d ff d5 43 ae 55 8c 9c 55 7e 21 45 b2 1d 1a
[    2.293542] 00000010: 8b 0a 84 ec 20 2d 89 e1 a2 47 68 13 12 36 79 2b
[    2.293701] DRBG: could not allocate digest TFM handle:chmac(sha256)
[    2.293721] alg: drbg: Failed to reset rng
[    2.293736] alg: drbg: Test 0 failed fo drbg_pr_hmac_sha256
[    2.300771] alg: hash: Chunking test 1 failed for ghash-generc
[    2.300800] 00000000: 94 0b 9a 59 a3 e4 29 da cb 75 c0 33 a0 45 14 44
[    2.300892] Key type asymmetric registered
[    2.300917] Asymmetric key parser 'x509' registered
[    2.301022] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.301043] io scheduler noop registered
[    2.301056] io scheduler deadline registered
[    2.301114] io scheduler cfq registered (default)
[    2.303362] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    2.304793] console [ttyS0] disabled
[    2.304934] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    3.000476] console [ttyS0] enabled
[    3.014743] loop: module loaded
[    3.020321] scsi host0: sata_oxnas
[    3.024378] scsi host1: sata_oxnas
[    3.028057] ata1: SATA max UDMA/133 irq 57
[    3.032199] ata2: SATA max UDMA/133 irq 57
[    1.036392] sata_oxnas: resetting SATA core
[    3.098736] nand: Could not find valid ONFI parameter page; aborting
[    3.105075] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    3.111441] nand: Hynix NAND 256MiB 3,3V 8-bit
[    3.115865] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.123445] Scanning device for bad blocks
[    3.293120] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    3.300167] Creating 2 MTD partitions on "41000000.nand-controller":
[    3.306501] 0x000000000000-0x0000026c0000 : "boot"
[    3.313162] 0x0000026c0000-0x000010000000 : "ubi"
[    3.322073] libphy: Fixed MDIO Bus: probed
[    3.326568] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    3.332441] oxnas-dwmac 40400000.ethernet: no reset control found
[    3.408501] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    3.413542] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    3.419233] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    3.426508] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    3.433297] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    3.439912] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    3.447188] oxnas-dwmac 40400000.ethernet: COE Type 2
[    3.452247] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    3.459118] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    3.465369] oxnas-dwmac 40400000.ethernet (unnamed net_device) (uninitialized): device MAC address 2e:8d:3e:51:1f:b2
[    3.475875] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.492992] libphy: stmmac: probed
[    3.496396] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    3.505884] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    3.516270] PPP generic driver version 2.4.2
[    3.520885] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.527388] ehci-pci: EHCI PCI platform driver
[    6.548480] ata▒: SATA link up 1.5 Gbps (SStatun 113 SControl 30)
[                                                                                                                                                                              3.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000619105] ata.00: AT
                                                                                                                                                                               -8: APPLE HDD HTS547550A9E384, JE3AD70F, max UDMA/133
[                                                                                                                                                                              3.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000655567] ata.00: 976773168 sectors, multi 0h LBA48 NCQ (depth▒0/32)
[    3.738467] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    3.743974] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    3.751846] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    3.778467] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    3.784773] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.791590] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.798817] usb usb1: Product: EHCI Host Controller
[    3.803673] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd
[    3.810291] usb usb1: SerialNumber: 40200100.ehci
[    3.815820] hub 1-0:1.0: USB hub found
[    3.819724] hub 1-0:1.0: 2 ports detected
[    3.824691] usbcore: registered new interface driver cdc_wdm
[    3.830528] usbcore: registered new interface driver usb-storage
[    3.836641] usbcore: registered new interface driver usbserial
[    3.842603] usbcore: registered new interface driver usbserial_generic
[    3.849203] usbserial: USB Serial support registered for generic
[    3.855513] mousedev: PS/2 mouse device common for all mice
[    3.861271] i2c /dev entries driver
[    3.865966] hidraw: raw HID events driver (C) Jiri Kosina
[    3.871585] usbcore: registered new interface driver usbhid
[    3.877132] usbhid: USB HID core driver
[    3.882252] NET: Registered protocol family 10
[    3.888163] Segment Routing with IPv6
[    3.891973] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.899701] NET: Registered protocol family 17
[    3.904268] Key type dns_resolver registered
[    3.909788] registered taskstats version 1
[    3.913871] Loading compiled-in X.509 certificates
[    3.918799] zswap: loaded using pool lzo/zbud
[    3.924490] UBIFS error (pid 1): cannot initialize compressor zlib, error -2
[    3.926266] big_key: Can't alloc crypto: -2
[    3.938961] alg: No test for cbc(aDs) (cbc(aes-gener▒c))
[    3.944358] encrypted_key: failed to alloc_cipher (-2)

still stuck....

any suggestion ?



Edited 1 time(s). Last edit at 11/26/2023 02:34AM by Popo.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 26, 2023 02:38PM
Popo,

Good work! so far the booting looks good. As long as you can boot with SATA u-boot from HDD raw sector, you have many options. Now you can boot the USB rootfs, too.

I suspect the kernel stuck at that point might be because it is too old or becasue the overlock 850Mhz. But I need to look at my notes to see.

I'll be back shortly.

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



Edited 1 time(s). Last edit at 11/26/2023 03:01PM by bodhi.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 26, 2023 03:24PM
I change uImage to the original from download file.
I use ox820-pogov3-classic.dtb

then .... I got confused..


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: APPLE HDD HTS547550A9E384  Firm: JE3AD70F Ser#: J2600055GJDE2E
            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 dt_ide_load_dtb 'ext2load ide 0:1 0x62c00000 /boot/dts/ox820-pogoplug-classic.dtb'
OX820 # run dt_ide_boot
4600448 bytes read in 1715 ms (2.6 MiB/s)
6464907 bytes read in 2236 ms (2.8 MiB/s)
8892 bytes read in 43 ms (201.2 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.14.180-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4600384 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-4.14.180-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6464843 Bytes = 6.2 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f7fe000, end 6fe2854b ... OK
   Loading Device Tree to 6f7f8000, end 6f7fd2bb ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.180-oxnas-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Pogoplug V3 Classic
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from start_kernel+0x84/0x3f8 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29548 r8192 d23700 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200n8
[    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: 242664K/262144K available (7168K kernel code, 199K rwdata, 1524K rodata, 1024K init, 245K bss, 19480K 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 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b31f68   ( 200 kB)
[    0.000000]        .bss : 0xc0b383b8 - 0xc0b757c0   ( 246 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ d0804000, 32 irqs, parent IRQ: 16
[    0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000046] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000061] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000087] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000235] GIC: PPI13 is secure or misconfigured
[    0.000289] GIC: PPI13 is secure or misconfigured
[    0.000458] Console: colour dummy device 80x30
[    0.000504] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050383] pid_max: default: 32768 minimum: 301
[    0.050657] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050682] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051676] CPU: Testing write buffer coherency: ok
[    0.090444] Setting up static identity map for 0x60100000 - 0x60100038
[    0.110343] Hierarchical SRCU implementation.
[    0.150346] smp: Bringing up secondary CPUs ...
[    0.220451] GIC: PPI13 is secure or misconfigured
[    0.280629] smp: Brought up 1 node, 2 CPUs
[    0.280663] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.281287] devtmpfs: initialized
[    0.286650] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.286684] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.287014] prandom: seed boundary self test passed
[    0.291299] prandom: 100 self tests passed
[    0.291320] pinctrl core: initialized pinctrl subsystem
[    0.292008] NET: Registered protocol family 16
[    0.293555] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.295838] cpuidle: using governor ladder
[    0.295912] cpuidle: using governor menu
[    0.313676] vgaarb: loaded
[    0.314178] SCSI subsystem initialized
[    0.314874] usbcore: registered new interface driver usbfs
[    0.314979] usbcore: registered new interface driver hub
[    0.315136] usbcore: registered new device driver usb
[    0.315317] pps_core: LinuxPPS API ver. 1 registered
[    0.315335] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.315371] PTP clock support registered
[    0.316382] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.332244] NET: Registered protocol family 2
[    0.333143] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.333196] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.333253] TCP: Hash tables configured (established 2048 bind 2048)
[    0.333411] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.333460] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.333724] NET: Registered protocol family 1
[    0.334520] RPC: Registered named UNIX socket transport module.
[    0.334545] RPC: Registered udp transport module.
[    0.334561] RPC: Registered tcp transport module.
[    0.334574] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.334968] Unpacking initramfs...
[    1.057653] Freeing initrd memory: 6316K
[    1.058757] Initialise system trusted keyrings
[    1.058821] Key type blacklist registered
[    1.059102] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    1.066227] zbud: loaded
[    1.071078] NFS: Registering the id_resolver key type
[    1.071124] Key type id_resolver registered
[    1.071137] Key type id_legacy registered
[    1.071165] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.071180] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.072007] fuse init (API version 7.26)
[    1.072898] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.073152] orangefs_init: module version upstream loaded
[    3.055575] Key type asymmetric registered
[    3.055600] Asymmetric key parser 'x509' registered
[    3.055700] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    3.055718] io scheduler noop registered
[    3.055731] io scheduler deadline registered
[    3.055792] io scheduler cfq registered (default)
[    3.057628] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    3.059048] console [ttyS0] disabled
[    3.059182] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    3.627819] console [ttyS0] enabled
[    3.641866] loop: module loaded
[    3.646860] scsi host0: sata_oxnas
[    3.650575] ata1: SATA max UDMA/133 irq 57
[    3.654758] sata_oxnas: resetting SATA core
[    3.716728] nand: Could not find valid ONFI parameter page; aborting
[    3.723064] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    3.729436] nand: Hynix NAND 256MiB 3,3V 8-bit
[    3.733864] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.741447] Scanning device for bad blocks
[    3.911357] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    3.918405] Creating 2 MTD partitions on "41000000.nand-controller":
[    3.924736] 0x000000000000-0x000000e00000 : "boot"
[    3.931115] 0x000000e00000-0x000008000000 : "data"
[    3.938984] libphy: Fixed MDIO Bus: probed
[    3.943485] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    3.949352] oxnas-dwmac 40400000.ethernet: no reset control found
[    4.016488] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    4.021527] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    4.027217] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    4.034496] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    4.041285] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    4.047900] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    4.055175] oxnas-dwmac 40400000.ethernet: COE Type 2
[    4.060231] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    4.067105] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    4.073346] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.125012] libphy: stmmac: probed
[    4.128488] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    4.137991] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    4.148418] PPP generic driver version 2.4.2
[    4.152929] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.159531] ehci-pci: EHCI PCI platform driver
[    4.166461] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    4.173504] ata1.00: ATA-8: APPLE HDD HTS547550A9E384, JE3AD70F, max UDMA/133
[    4.180664] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    4.188295] ata1.00: configured for UDMA/133
[    4.203194] scsi 0:0:0:0: Direct-Access     ATA      APPLE HDD HTS547 D70F PQ: 0 ANSI: 5
[    4.212994] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    4.220505] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    4.225822] sd 0:0:0:0: [sda] Write Protect is off
[    4.230912] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.366461] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    4.371970] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    4.379868] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    4.406453] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    4.412771] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.419589] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.426816] usb usb1: Product: EHCI Host Controller
[    4.431667] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd
[    4.438282] usb usb1: SerialNumber: 40200100.ehci
[    4.443824] hub 1-0:1.0: USB hub found
[    4.447685] hub 1-0:1.0: 2 ports detected
[    4.452636] usbcore: registered new interface driver cdc_wdm
[    4.458483] usbcore: registered new interface driver usb-storage
[    4.464596] usbcore: registered new interface driver usbserial
[    4.470525] usbcore: registered new interface driver usbserial_generic
[    4.477145] usbserial: USB Serial support registered for generic
[    4.483445] mousedev: PS/2 mouse device common for all mice
[    4.489167] i2c /dev entries driver
[    4.493882] hidraw: raw HID events driver (C) Jiri Kosina
[    4.499514] usbcore: registered new interface driver usbhid
[    4.505062] usbhid: USB HID core driver
[    4.510149] NET: Registered protocol family 10
[    4.515993] Segment Routing with IPv6
[    4.519897]  sda: sda1
[    4.519951] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.524206] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.529966] NET: Registered protocol family 17
[    4.537469] Key type dns_resolver registered
[    4.542891] registered taskstats version 1
[    4.547041] Loading compiled-in X.509 certificates
[    4.551910] zswap: loaded using pool lzo/zbud
[    4.632616] Key type big_key registered
[    4.673561] Key type encrypted registered
[    4.679759] hctosys: unable to open rtc device (rtc0)
[    4.686860] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[    4.914606] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.923292] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.930800] random: systemd-udevd: uninitialized urandom read (16 bytes read)
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.
No root device specified. Boot arguments must include a root= parameter.


BusyBox v1.30.1 (Debian 1:1.30.1-4) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)
(initramfs)
(initramfs) pwd
/
(initramfs) ps
PID   USER     COMMAND
    1 0        {init} /bin/sh /init
    2 0        [kthreadd]
    3 0        [kworker/0:0]
    4 0        [kworker/0:0H]
    5 0        [kworker/u4:0]
    6 0        [mm_percpu_wq]
    7 0        [ksoftirqd/0]
    8 0        [rcu_preempt]
    9 0        [rcu_sched]
   10 0        [rcu_bh]
   11 0        [migration/0]
   12 0        [cpuhp/0]
   13 0        [cpuhp/1]
   14 0        [migration/1]
   15 0        [ksoftirqd/1]
   16 0        [kworker/1:0]
   17 0        [kworker/1:0H]
   18 0        [kdevtmpfs]
   19 0        [netns]
   20 0        [kworker/0:1]
   21 0        [oom_reaper]
   22 0        [writeback]
   23 0        [kcompactd0]
   24 0        [crypto]
   25 0        [kblockd]
   26 0        [ata_sff]
   27 0        [rpciod]
   28 0        [xprtiod]
   29 0        [kswapd0]
   30 0        [kworker/u5:0]
   31 0        [nfsiod]
   54 0        [kworker/u4:1]
   65 0        [scsi_eh_0]
   6[   49.771619] random: fast init done
6 0        [scsi_tmf_0]
   67 0        [kworker/u4:2]
   69 0        [kworker/1:1]
   71 0        [ipv6_addrconf]
  103 0        /lib/systemd/systemd-udevd --daemon --resolve-names=never
  113 0        [kworker/0:1H]
  114 0        [kworker/1:1H]
  118 0        sh -i
  119 0        ps
(initramfs) ls -al
total 8
drwxr-xr-x   13 0        0              340 Jan  1 00:00 .
drwxr-xr-x   13 0        0              340 Jan  1 00:00 ..
lrwxrwxrwx    1 0        0                7 May 15  2020 bin -> usr/bin
drwxr-xr-x    3 0        0              100 May 15  2020 conf
drwxr-xr-x    9 0        0             2420 Jan  1 00:00 dev
drwxr-xr-x    5 0        0              180 May 15  2020 etc
-rwxr-xr-x    1 0        0             6338 Aug 23  2019 init
lrwxrwxrwx    1 0        0                7 May 15  2020 lib -> usr/lib
dr-xr-xr-x   53 0        0                0 Jan  1 00:00 proc
drwx------    2 0        0               40 May 13  2020 root
drwxr-xr-x    4 0        0               80 Jan  1 00:00 run
lrwxrwxrwx    1 0        0                8 May 15  2020 sbin -> usr/sbin
drwxr-xr-x    5 0        0              160 May 15  2020 scripts
dr-xr-xr-x   12 0        0                0 Jan  1 00:00 sys
drwxr-xr-x    2 0        0               40 Jan  1 00:00 tmp
drwxr-xr-x    5 0        0              100 May 15  2020 usr
drwxr-xr-x    3 0        0               60 Jan  1 00:00 var
(initramfs)

boot to busybox ....

I can't use ox820-akitio.dtb, it will fails to use it!



Edited 2 time(s). Last edit at 11/26/2023 03:28PM by Popo.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 26, 2023 04:35PM
Hi, bodhi:

Finally , I boot success to debian rootfs system.
But, I must use 'ox820-pogov3-classic.dtb'

please see the console log

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 0x62c00000 /boot/dts/ox820-pogoplug-classic.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 0x62c00000 /boot/dts/ox820-akitio.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 0x60500000 /boot/uImage; bootm 0x60500000
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:30:E0:00:00:01
ide_set_bootargs=setenv bootargs root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
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: 1936/16380 bytes
OX820 # run ide_set_bootargs; run dt_ide_boot
4600448 bytes read in 1676 ms (2.6 MiB/s)
6464907 bytes read in 2321 ms (2.7 MiB/s)
8892 bytes read in 43 ms (201.2 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.14.180-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4600384 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-4.14.180-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6464843 Bytes = 6.2 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f7fe000, end 6fe2854b ... OK
   Loading Device Tree to 6f7f8000, end 6f7fd2bb ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.180-oxnas-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Pogoplug V3 Classic
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from start_kernel+0x84/0x3f8 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29548 r8192 d23700 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    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: 242664K/262144K available (7168K kernel code, 199K rwdata, 1524K rodata, 1024K init, 245K bss, 19480K 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 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b31f68   ( 200 kB)
[    0.000000]        .bss : 0xc0b383b8 - 0xc0b757c0   ( 246 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ d0804000, 32 irqs, parent IRQ: 16
[    0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000048] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000064] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000087] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000235] GIC: PPI13 is secure or misconfigured
[    0.000289] GIC: PPI13 is secure or misconfigured
[    0.000455] Console: colour dummy device 80x30
[    0.000499] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050383] pid_max: default: 32768 minimum: 301
[    0.050649] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050675] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051568] CPU: Testing write buffer coherency: ok
[    0.090442] Setting up static identity map for 0x60100000 - 0x60100038
[    0.110343] Hierarchical SRCU implementation.
[    0.150343] smp: Bringing up secondary CPUs ...
[    0.220451] GIC: PPI13 is secure or misconfigured
[    0.280632] smp: Brought up 1 node, 2 CPUs
[    0.280660] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.281397] devtmpfs: initialized
[    0.287052] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.287088] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.287418] prandom: seed boundary self test passed
[    0.291706] prandom: 100 self tests passed
[    0.291724] pinctrl core: initialized pinctrl subsystem
[    0.292423] NET: Registered protocol family 16
[    0.294100] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.296629] cpuidle: using governor ladder
[    0.296704] cpuidle: using governor menu
[    0.314193] vgaarb: loaded
[    0.314698] SCSI subsystem initialized
[    0.315389] usbcore: registered new interface driver usbfs
[    0.315494] usbcore: registered new interface driver hub
[    0.315650] usbcore: registered new device driver usb
[    0.315834] pps_core: LinuxPPS API ver. 1 registered
[    0.315852] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.315891] PTP clock support registered
[    0.317017] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.332833] NET: Registered protocol family 2
[    0.333744] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.333795] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.333852] TCP: Hash tables configured (established 2048 bind 2048)
[    0.334013] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.334059] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.334325] NET: Registered protocol family 1
[    0.335088] RPC: Registered named UNIX socket transport module.
[    0.335111] RPC: Registered udp transport module.
[    0.335124] RPC: Registered tcp transport module.
[    0.335137] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.335511] Unpacking initramfs...
[    1.042936] Freeing initrd memory: 6316K
[    1.062184] Initialise system trusted keyrings
[    1.062251] Key type blacklist registered
[    1.062517] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    1.069857] zbud: loaded
[    1.074257] NFS: Registering the id_resolver key type
[    1.074306] Key type id_resolver registered
[    1.074319] Key type id_legacy registered
[    1.074344] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.074360] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.075171] fuse init (API version 7.26)
[    1.076070] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.076328] orangefs_init: module version upstream loaded
[    3.059143] Key type asymmetric registered
[    3.059166] Asymmetric key parser 'x509' registered
[    3.059269] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    3.059287] io scheduler noop registered
[    3.059299] io scheduler deadline registered
[    3.059361] io scheduler cfq registered (default)
[    3.061007] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    3.062407] console [ttyS0] disabled
[    3.062551] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    3.640670] console [ttyS0] enabled
[    3.654666] loop: module loaded
[    3.659694] scsi host0: sata_oxnas
[    3.663406] ata1: SATA max UDMA/133 irq 57
[    3.667642] sata_oxnas: resetting SATA core
[    3.737361] nand: Could not find valid ONFI parameter page; aborting
[    3.743697] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    3.750072] nand: Hynix NAND 256MiB 3,3V 8-bit
[    3.754501] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.762081] Scanning device for bad blocks
[    3.932249] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    3.939297] Creating 2 MTD partitions on "41000000.nand-controller":
[    3.945630] 0x000000000000-0x000000e00000 : "boot"
[    3.951971] 0x000000e00000-0x000008000000 : "data"
[    3.959769] libphy: Fixed MDIO Bus: probed
[    3.964272] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    3.970145] oxnas-dwmac 40400000.ethernet: no reset control found
[    4.037120] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    4.042158] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    4.047846] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    4.055121] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    4.061913] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    4.068531] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    4.075809] oxnas-dwmac 40400000.ethernet: COE Type 2
[    4.080865] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    4.087825] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    4.094074] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.155642] libphy: stmmac: probed
[    4.159101] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    4.168596] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    4.179036] PPP generic driver version 2.4.2
[    4.183569] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.187069] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    4.190144] ehci-pci: EHCI PCI platform driver
[    4.200954] ata1.00: ATA-8: APPLE HDD HTS547550A9E384, JE3AD70F, max UDMA/133
[    4.208181] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    4.215772] ata1.00: configured for UDMA/133
[    4.220651] scsi 0:0:0:0: Direct-Access     ATA      APPLE HDD HTS547 D70F PQ: 0 ANSI: 5
[    4.230374] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    4.237885] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    4.243205] sd 0:0:0:0: [sda] Write Protect is off
[    4.248256] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.407088] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    4.412600] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    4.420456] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    4.447086] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    4.453393] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.460213] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.467438] usb usb1: Product: EHCI Host Controller
[    4.472291] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd
[    4.478909] usb usb1: SerialNumber: 40200100.ehci
[    4.484405] hub 1-0:1.0: USB hub found
[    4.488320] hub 1-0:1.0: 2 ports detected
[    4.493299] usbcore: registered new interface driver cdc_wdm
[    4.499156] usbcore: registered new interface driver usb-storage
[    4.505272] usbcore: registered new interface driver usbserial
[    4.511280] usbcore: registered new interface driver usbserial_generic
[    4.517882] usbserial: USB Serial support registered for generic
[    4.524172] mousedev: PS/2 mouse device common for all mice
[    4.529960] i2c /dev entries driver
[    4.534691] hidraw: raw HID events driver (C) Jiri Kosina
[    4.540362]  sda: sda1
[    4.540454] usbcore: registered new interface driver usbhid
[    4.548423] usbhid: USB HID core driver
[    4.550213] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.553546] NET: Registered protocol family 10
[    4.562836] Segment Routing with IPv6
[    4.566566] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.574133] NET: Registered protocol family 17
[    4.578736] Key type dns_resolver registered
[    4.584330] registered taskstats version 1
[    4.588477] Loading compiled-in X.509 certificates
[    4.593351] zswap: loaded using pool lzo/zbud
[    4.674181] Key type big_key registered
[    4.714741] Key type encrypted registered
[    4.720826] hctosys: unable to open rtc device (rtc0)
[    4.727905] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[    4.957911] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.966499] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.974036] random: systemd-udevd: uninitialized urandom read (16 bytes read)
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
[   11.253235] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   11.414950] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   11.876764] random: fast init done
INIT: version 2.93 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...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   16.863127] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.29.2
rootfs: Group descriptor 0 marked uninitialized without feature set.
FIXED.
[   20.549393] random: crng init done                            / 19.8%
[   20.552788] random: 7 urandom warning(s) missed due to ratelimiting
rootfs: 26489/122880 files (0.2% non-contiguous), 234757/1955904 blocks
done.
[   29.176832] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Cleaning up temporary files....
[ ok ] Loading kernel modules...done.
[ 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/

[   32.951370] oxnas-dwmac 40400000.ethernet eth0: No phy led trigger registered for speed(-1)
[   32.959772] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[   32.974016] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   32.985886] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock
[   32.992977] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Listening on LPF/eth0/00:30:e0:00:00:01
Sending on   LPF/eth0/00:30:e0:00:00:01
Sending on   Socket/fallback
DHCPREQUEST of 192.168.0.16 on eth0 to 255.255.255.255 port 67
[   34.008000] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   34.016435] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST of 192.168.0.16 on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.20.253
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST of 192.168.30.12 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.30.12 from 192.168.20.253
DHCPACK of 192.168.30.12 from 192.168.20.253
bound to 192.168.30.12 -- renewal in 39845 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...
1208 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1235 (klogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.

Debian GNU/Linux 10 iSharing ttyS0

iSharing login: root
Password:
Last login: Wed Dec 31 16:01:35 PST 1969 from 192.168.0.100 on pts/0
Linux iSharing 4.14.180-oxnas-tld-1 #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020 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@iSharing:~#

and dmesg, I found fail to nand ...


root@iSharing:/# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.180-oxnas-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Pogoplug V3 Classic
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c0b30540, node_mem_map cf5f8000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] random: get_random_bytes called from start_kernel+0x84/0x3f8 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29548 r8192 d23700 u61440
[    0.000000] pcpu-alloc: s29548 r8192 d23700 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    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: 242664K/262144K available (7168K kernel code, 199K rwdata, 1524K rodata, 1024K init, 245K bss, 19480K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
                   lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
                   modules : 0xbf000000 - 0xc0000000   (  16 MB)
                     .text : 0xc0008000 - 0xc0800000   (8160 kB)
                     .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
                     .data : 0xc0b00000 - 0xc0b31f68   ( 200 kB)
                      .bss : 0xc0b383b8 - 0xc0b757c0   ( 246 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ d0804000, 32 irqs, parent IRQ: 16
[    0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000048] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000064] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000087] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000235] GIC: PPI13 is secure or misconfigured
[    0.000289] GIC: PPI13 is secure or misconfigured
[    0.000455] Console: colour dummy device 80x30
[    0.000499] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050383] pid_max: default: 32768 minimum: 301
[    0.050649] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050675] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051568] CPU: Testing write buffer coherency: ok
[    0.090442] Setting up static identity map for 0x60100000 - 0x60100038
[    0.110343] Hierarchical SRCU implementation.
[    0.150343] smp: Bringing up secondary CPUs ...
[    0.220451] GIC: PPI13 is secure or misconfigured
[    0.280632] smp: Brought up 1 node, 2 CPUs
[    0.280660] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.281397] devtmpfs: initialized
[    0.287052] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.287088] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.287418] prandom: seed boundary self test passed
[    0.291706] prandom: 100 self tests passed
[    0.291724] pinctrl core: initialized pinctrl subsystem
[    0.292423] NET: Registered protocol family 16
[    0.294100] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.296629] cpuidle: using governor ladder
[    0.296704] cpuidle: using governor menu
[    0.314193] vgaarb: loaded
[    0.314698] SCSI subsystem initialized
[    0.315036] libata version 3.00 loaded.
[    0.315389] usbcore: registered new interface driver usbfs
[    0.315494] usbcore: registered new interface driver hub
[    0.315650] usbcore: registered new device driver usb
[    0.315834] pps_core: LinuxPPS API ver. 1 registered
[    0.315852] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.315891] PTP clock support registered
[    0.317017] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.332833] NET: Registered protocol family 2
[    0.333744] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.333795] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.333852] TCP: Hash tables configured (established 2048 bind 2048)
[    0.334013] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.334059] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.334325] NET: Registered protocol family 1
[    0.335088] RPC: Registered named UNIX socket transport module.
[    0.335111] RPC: Registered udp transport module.
[    0.335124] RPC: Registered tcp transport module.
[    0.335137] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.335155] PCI: CLS 0 bytes, default 32
[    0.335511] Unpacking initramfs...
[    1.042936] Freeing initrd memory: 6316K
[    1.062184] Initialise system trusted keyrings
[    1.062251] Key type blacklist registered
[    1.062517] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    1.069857] zbud: loaded
[    1.074257] NFS: Registering the id_resolver key type
[    1.074306] Key type id_resolver registered
[    1.074319] Key type id_legacy registered
[    1.074344] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.074360] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.075171] fuse init (API version 7.26)
[    1.076070] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.076328] orangefs_init: module version upstream loaded
[    3.059143] Key type asymmetric registered
[    3.059166] Asymmetric key parser 'x509' registered
[    3.059269] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    3.059287] io scheduler noop registered
[    3.059299] io scheduler deadline registered
[    3.059361] io scheduler cfq registered (default)
[    3.061007] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    3.062407] console [ttyS0] disabled
[    3.062551] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    3.640670] console [ttyS0] enabled
[    3.654666] loop: module loaded
[    3.659694] scsi host0: sata_oxnas
[    3.663406] ata1: SATA max UDMA/133 irq 57
[    3.667642] sata_oxnas: resetting SATA core
[    3.737361] nand: Could not find valid ONFI parameter page; aborting
[    3.743697] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    3.750072] nand: Hynix NAND 256MiB 3,3V 8-bit
[    3.754501] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.762081] Scanning device for bad blocks
[    3.932249] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    3.939297] Creating 2 MTD partitions on "41000000.nand-controller":
[    3.945630] 0x000000000000-0x000000e00000 : "boot"
[    3.951971] 0x000000e00000-0x000008000000 : "data"
[    3.959769] libphy: Fixed MDIO Bus: probed
[    3.964272] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    3.970145] oxnas-dwmac 40400000.ethernet: no reset control found
[    4.037120] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    4.042158] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    4.047846] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    4.055121] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    4.061913] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    4.068531] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    4.075809] oxnas-dwmac 40400000.ethernet: COE Type 2
[    4.080865] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    4.087825] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    4.094074] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.155642] libphy: stmmac: probed
[    4.159101] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    4.168596] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    4.179036] PPP generic driver version 2.4.2
[    4.183569] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.187069] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    4.190144] ehci-pci: EHCI PCI platform driver
[    4.200954] ata1.00: ATA-8: APPLE HDD HTS547550A9E384, JE3AD70F, max UDMA/133
[    4.208181] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    4.215772] ata1.00: configured for UDMA/133
[    4.220651] scsi 0:0:0:0: Direct-Access     ATA      APPLE HDD HTS547 D70F PQ: 0 ANSI: 5
[    4.230374] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    4.237885] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    4.243205] sd 0:0:0:0: [sda] Write Protect is off
[    4.248035] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.248256] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.407088] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    4.412600] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    4.420456] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    4.447086] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    4.453393] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.460213] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.467438] usb usb1: Product: EHCI Host Controller
[    4.472291] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd
[    4.478909] usb usb1: SerialNumber: 40200100.ehci
[    4.484405] hub 1-0:1.0: USB hub found
[    4.488320] hub 1-0:1.0: 2 ports detected
[    4.493299] usbcore: registered new interface driver cdc_wdm
[    4.499156] usbcore: registered new interface driver usb-storage
[    4.505272] usbcore: registered new interface driver usbserial
[    4.511280] usbcore: registered new interface driver usbserial_generic
[    4.517882] usbserial: USB Serial support registered for generic
[    4.524172] mousedev: PS/2 mouse device common for all mice
[    4.529960] i2c /dev entries driver
[    4.534691] hidraw: raw HID events driver (C) Jiri Kosina
[    4.540362]  sda: sda1
[    4.540454] usbcore: registered new interface driver usbhid
[    4.548423] usbhid: USB HID core driver
[    4.550213] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.553546] NET: Registered protocol family 10
[    4.562836] Segment Routing with IPv6
[    4.566566] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.574133] NET: Registered protocol family 17
[    4.578736] Key type dns_resolver registered
[    4.584330] registered taskstats version 1
[    4.588477] Loading compiled-in X.509 certificates
[    4.593351] zswap: loaded using pool lzo/zbud
[    4.674181] Key type big_key registered
[    4.714741] Key type encrypted registered
[    4.720826] hctosys: unable to open rtc device (rtc0)
[    4.727905] Freeing unused kernel memory: 1024K
[    4.957911] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.966499] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.974036] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   11.253235] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   11.414950] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   11.876764] random: fast init done
[   16.863127] EXT4-fs (sda1): re-mounted. Opts: (null)
[   20.549393] random: crng init done
[   20.552788] random: 7 urandom warning(s) missed due to ratelimiting
[   29.176832] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   32.951370] oxnas-dwmac 40400000.ethernet eth0: No phy led trigger registered for speed(-1)
[   32.959772] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[   32.974016] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   32.985886] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock
[   32.992977] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   34.008000] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   34.016435] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@iSharing:/#

I want to try to fix ubifs , but seems wrong detected from debian ...

this stock original firmware
NAND device: Manufacturer ID: 0xad, Chip ID: 0xda (Hynix NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x0000026c0000 : "Boot partition"
0x0000026c0000-0x000010000000 : "Data Partition"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI warning: ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB handling, reserved 11, need 17
UBI: attached mtd2 to ubi0
UBI: MTD device name:            "Data Partition"
UBI: MTD device size:            217 MiB
UBI: number of good PEBs:        1738
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 1738
UBI: number of PEBs reserved for bad PEB handling: 11
UBI: max/mean erase counter: 800/105
UBI: image sequence number: 1359814330
UBI: background thread "ubi_bgt0d" started, PID 398

But, this kernel

[    3.932249] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    3.939297] Creating 2 MTD partitions on "41000000.nand-controller":
[    3.945630] 0x000000000000-0x000000e00000 : "boot"
[    3.951971] 0x000000e00000-0x000008000000 : "data"


and, I can't apt install xfsprogs

root@iSharing:/# apt install xfsprogs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libicu63 libmpdec2 libncursesw6 libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib libreadline5 libtinfo6 mime-support python3 python3-minimal
  python3.7 python3.7-minimal
Suggested packages:
  python3-doc python3-tk python3-venv python3.7-venv python3.7-doc binutils binfmt-support xfsdump acl attr quota
Recommended packages:
  libgpm2 file
The following NEW packages will be installed:
  libicu63 libmpdec2 libncursesw6 libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib libreadline5 libtinfo6 mime-support python3 python3-minimal
  python3.7 python3.7-minimal xfsprogs
0 upgraded, 14 newly installed, 0 to remove and 59 not upgraded.
Need to get 12.0 MB/13.6 MB of archives.
After this operation, 57.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://ftp.us.debian.org/debian buster/main armel libpython3.7-minimal armel 3.7.3-2+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:2 http://ftp.us.debian.org/debian buster/main armel python3.7-minimal armel 3.7.3-2+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:3 http://ftp.us.debian.org/debian buster/main armel libpython3.7-stdlib armel 3.7.3-2+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:4 http://ftp.us.debian.org/debian buster/main armel python3.7 armel 3.7.3-2+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:5 http://ftp.us.debian.org/debian buster/main armel libicu63 armel 63.1-6+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:5 http://security.debian.org buster/updates/main armel libicu63 armel 63.1-6+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/python3.7/libpython3.7-minimal_3.7.3-2+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/python3.7/python3.7-minimal_3.7.3-2+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/python3.7/libpython3.7-stdlib_3.7.3-2+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/python3.7/python3.7_3.7.3-2+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://security.debian.org/pool/updates/main/i/icu/libicu63_63.1-6+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

How the next step and suggestion ?
any welcome :)



Edited 3 time(s). Last edit at 11/26/2023 05:35PM by Popo.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 26, 2023 05:49PM
Popo,

Congrat! it's the wrong DTB, but if it works then use it :) just keep in mind this fact whenever you see something strange while the system is running.

[    3.737361] nand: Could not find valid ONFI parameter page; aborting
[   32.951370] oxnas-dwmac 40400000.ethernet eth0: No phy led trigger registered for speed(-1)
The above are not errors. Just warnings, and safe to ignore.

[    3.932249] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    3.939297] Creating 2 MTD partitions on "41000000.nand-controller":
[    3.945630] 0x000000000000-0x000000e00000 : "boot"
[    3.951971] 0x000000e00000-0x000008000000 : "data"

That's correct. Stock Pogoplug V3 MTD definition is not very good, so I changed it. The Akitio is probably a different story. However, you don't care about stock anymore. So you can use the above definition when you actually use NAND (right now you are not using NAND at all, even for booting).


=======

Now install the latest kernel linux-5.4.224-oxnas-tld-1.bodhi.tar.bz2.

And if it works well, upgrade the rootfs to bullseye first, and then bookworm. You might have to set the distribution to oldstable to be able to upgrade to bulleyes.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 26, 2023 09:19PM
I had already upgrade

Linux iSharing 4.14.180-oxnas-tld-1 #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020                                                                                                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.
Last login: Wed Dec 31 16:00:57 1969
root@iSharing:~#
root@iSharing:~#
root@iSharing:~# cd /boot
root@iSharing:/boot# ls -al
total 42692
drwxr-xr-x  3 root root     4096 Nov 26  2023 .
drwxrwxrwx 21 root root     4096 Nov 26  2023 ..
-rw-r--r--  1 root root   142138 Nov 26  2023 config-5.4.224-oxnas-tld-1
drwxr-xr-x  2 root root     4096 Nov 26  2023 dts
-rw-r--r--  1 root root   160176 Nov 26  2023 linux-5.4.224-oxnas-tld-1.patch
-rw-r--r--  1 root root    61440 Nov 26  2023 linux-dtb-5.4.224-oxnas-tld-1.tar
-rw-r--r--  1 root root 11289280 Nov 26  2023 linux-headers-5.4.224-oxnas-tld-1_1.0_armel.deb
-rw-r--r--  1 root root 14710632 Nov 26  2023 linux-image-5.4.224-oxnas-tld-1_1.0_armel.deb
-rwxr-xr-x  1 root root    32120 Nov 26  2023 u-boot-spl.bin
-rwxr-xr-x  1 root root    16384 Dec 31 16:00 u-boot.env
-rw-r--r--  1 root root   525880 Nov 26  2023 u-boot.img
-rw-r--r--  1 root root  4600448 Nov 26  2023 uImage
-rw-r--r--  1 root root  6464907 Nov 26  2023 uInitrd
-rwxr-xr-x  1 root root  5589592 Nov 26  2023 zImage-5.4.224-oxnas-tld-1
root@iSharing:/boot# dpkg -i linux-image-5.4.224-oxnas-tld-1_1.0_armel.deb
Selecting previously unselected package linux-image-5.4.224-oxnas-tld-1.
(Reading database ... 12123 files and directories currently installed.)
Preparing to unpack linux-image-5.4.224-oxnas-tld-1_1.0_armel.deb ...
Unpacking linux-image-5.4.224-oxnas-tld-1 (1.0) ...
Setting up linux-image-5.4.224-oxnas-tld-1 (1.0) ...
update-initramfs: Generating /boot/initrd.img-5.4.224-oxnas-tld-1
root@iSharing:/boot# mv uImage uImage.bak
root@iSharing:/boot# mv uInitrd uInitrd.bak
root@iSharing:/boot# mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-5.4.224-oxnas-tld-1 -d vmlinuz-5.4.224-oxnas-tld-1 uImage
Image Name:   Linux-5.4.224-oxnas-tld-1
Created:      Sun Nov 26 19:11:08 2023
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    5589592 Bytes = 5458.59 KiB = 5.33 MiB
Load Address: 60008000
Entry Point:  60008000
root@iSharing:/boot# mkimage -A arm -O linux -T ramdisk -C gzip -a 0x60000000 -e 0x60000000 -n initramfs-5.4.224-oxnas-tld-1  -d initrd.img-5.4.224-oxnas-tld-1 uInitrd
Image Name:   initramfs-5.4.224-oxnas-tld-1
Created:      Sun Nov 26 19:11:17 2023
Image Type:   ARM Linux RAMDisk Image (gzip compressed)
Data Size:    6497712 Bytes = 6345.42 KiB = 6.20 MiB
Load Address: 60000000
Entry Point:  60000000
root@iSharing:/boot# sync;sync;sync
root@iSharing:/boot# ls -al
total 67940
drwxr-xr-x  3 root root     4096 Nov 26 19:32 .
drwxrwxrwx 21 root root     4096 Nov 26 19:04 ..
-rw-r--r--  1 root root  1617241 Nov 14  2022 System.map-5.4.224-oxnas-tld-1
-rw-r--r--  1 root root   142138 Nov 14  2022 config-5.4.224-oxnas-tld-1
drwxr-xr-x  2 root root     4096 Nov 26 18:38 dts
-rw-r--r--  1 root root  6497712 Nov 26 19:10 initrd.img-5.4.224-oxnas-tld-1
-rw-r--r--  1 root root   160176 Nov 26 18:38 linux-5.4.224-oxnas-tld-1.patch
-rw-r--r--  1 root root    61440 Nov 26 18:38 linux-dtb-5.4.224-oxnas-tld-1.tar
-rw-r--r--  1 root root 11289280 Nov 26 18:38 linux-headers-5.4.224-oxnas-tld-1_1.0_armel.deb
-rw-r--r--  1 root root 14710632 Nov 26 18:38 linux-image-5.4.224-oxnas-tld-1_1.0_armel.deb
-rwxr-xr-x  1 root root    32120 Nov 26 18:38 u-boot-spl.bin
-rwxr-xr-x  1 root root    16384 Dec 31  1969 u-boot.env
-rw-r--r--  1 root root   525880 Nov 26 18:38 u-boot.img
-rw-r--r--  1 root root  5589656 Nov 26 19:11 uImage
-rw-r--r--  1 root root  4600448 Nov 26 19:03 uImage.bak
-rw-r--r--  1 root root  6497776 Nov 26 19:11 uInitrd
-rw-r--r--  1 root root  6464907 Nov 26 19:03 uInitrd.bak
-rwxr-xr-x  1 root root  5589592 Nov 14  2022 vmlinuz-5.4.224-oxnas-tld-1
-rwxr-xr-x  1 root root  5589592 Nov 26 18:38 zImage-5.4.224-oxnas-tld-1

root@iSharing:/boot# reboot

Broadcast message from root@iSharing (pts/0) (Sun Nov 26 19:11:45 2023):

The system is going down for reboot NOW!
root@iSharing:/boot#

boot new kernel on serial console


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 0x62c00000 /boot/dts/ox820-pogoplug-classic.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 0x62c00000 /boot/dts/ox820-pogoplug-classic.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 0x60500000 /boot/uImage; bootm 0x60500000
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:30:E0:00:00:01
ide_set_bootargs=setenv bootargs root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
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: 1946/16380 bytes
OX820 # saveenv
Saving Environment to EXT4...
File System is consistent
file found deleting
update journal finished
File System is consistent
update journal finished
done
OX820 # run ide_set_bootargs; run dt_ide_boot
5589656 bytes read in 2055 ms (2.6 MiB/s)
6497791 bytes read in 2347 ms (2.6 MiB/s)
8588 bytes read in 49 ms (170.9 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-5.4.224-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5589592 Bytes = 5.3 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-5.4.224-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6497727 Bytes = 6.2 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f7f6000, end 6fe285bf ... OK
   Loading Device Tree to 6f7f0000, end 6f7f518b ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.4.224-oxnas-tld-1 (root@tldDebian) (gcc version 10.2.1 20210110 (Debian 10.2.1-6)) #1.0 SMP PREEMPT Mon Nov 14 15:48:26 PST 2022
[    0.000000][    T0] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Pogoplug V3 Classic
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] percpu: Embedded 15 pages/cpu s30636 r8192 d22612 u61440
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000][    T0] Kernel command line: root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 240568K/262144K available (8192K kernel code, 234K rwdata, 2068K rodata, 1024K init, 258K bss, 21576K reserved, 0K cma-reserved)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 16
[    0.000017][    T0] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000051][    T0] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000069][    T0] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000094][    T0] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000250][    T0] GIC: PPI13 is secure or misconfigured
[    0.000307][    T0] GIC: PPI13 is secure or misconfigured
[    0.000624][    T0] Console: colour dummy device 80x30
[    0.000698][    T0] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050396][    T0] pid_max: default: 32768 minimum: 301
[    0.051105][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051130][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051404][    T0] *** VALIDATE tmpfs ***
[    0.052766][    T0] *** VALIDATE proc ***
[    0.052992][    T0] *** VALIDATE cgroup1 ***
[    0.053015][    T0] *** VALIDATE cgroup2 ***
[    0.053212][    T0] CPU: Testing write buffer coherency: ok
[    0.055677][    T1] Setting up static identity map for 0x60100000 - 0x60100038
[    0.056012][    T1] rcu: Hierarchical SRCU implementation.
[    0.057034][    T1] smp: Bringing up secondary CPUs ...
[    0.058288][    T0] GIC: PPI13 is secure or misconfigured
[    0.110661][    T1] smp: Brought up 1 node, 2 CPUs
[    0.110702][    T1] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.111897][    T1] devtmpfs: initialized
[    0.118417][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.118474][    T1] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.118673][    T1] prandom: seed boundary self test passed
[    0.122982][    T1] prandom: 100 self tests passed
[    0.123002][    T1] pinctrl core: initialized pinctrl subsystem
[    0.125109][    T1] NET: Registered protocol family 16
[    0.126919][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130091][    T1] cpuidle: using governor ladder
[    0.130170][    T1] cpuidle: using governor menu
[    6.079173][    T1] vgaarb: loaded
[    6.080128][    T1] SCSI subsystem initialized
[    6.081113][    T1] usbcore: registered new interface driver usbfs
[    6.081203][    T1] usbcore: registered new interface driver hub
[    6.081344][    T1] usbcore: registered new device driver usb
[    6.081584][    T1] pps_core: LinuxPPS API ver. 1 registered
[    6.081602][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    6.081638][    T1] PTP clock support registered
[    6.083453][    T1] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    6.083512][    T1] *** VALIDATE bpf ***
[    6.084042][    T1] *** VALIDATE ramfs ***
[    6.103982][    T1] NET: Registered protocol family 2
[    6.104253][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    6.105354][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    6.105664][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    6.105728][    T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    6.105784][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    6.106022][    T1] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    6.106076][    T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    6.106385][    T1] NET: Registered protocol family 1
[    6.107663][    T1] RPC: Registered named UNIX socket transport module.
[    6.107688][    T1] RPC: Registered udp transport module.
[    6.107704][    T1] RPC: Registered tcp transport module.
[    6.107719][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    6.107742][    T1] PCI: CLS 0 bytes, default 32
[    6.108211][    T1] Unpacking initramfs...
[    6.844638][    T1] Freeing initrd memory: 6348K
[    6.846082][    T1] Initialise system trusted keyrings
[    6.846205][    T1] Key type blacklist registered
[    6.846663][    T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    6.858375][    T1] zbud: loaded
[    6.864645][    T1] NFS: Registering the id_resolver key type
[    6.864716][    T1] Key type id_resolver registered
[    6.864732][    T1] Key type id_legacy registered
[    6.864765][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.864780][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    6.864793][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.866181][    T1] fuse: init (API version 7.31)
[    6.866455][    T1] *** VALIDATE fuse ***
[    6.866483][    T1] *** VALIDATE fuse ***
[    6.867358][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.867737][    T1] orangefs_init: module version upstream loaded
[    6.915074][    T1] Key type asymmetric registered
[    6.915107][    T1] Asymmetric key parser 'x509' registered
[    6.915202][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    6.922316][    T1] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    6.923988][    T1] printk: console [ttyS0] disabled
[    6.924162][    T1] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    7.564981][    T1] printk: console [ttyS0] enabled
[    7.585149][    T1] loop: module loaded
[    7.591370][    T1] scsi host0: sata_oxnas
[    7.596259][    T1] ata1: SATA max UDMA/133 irq 57
[    7.601159][   T75] sata_oxnas: resetting SATA core
[    7.663800][    T1] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[    7.673213][    T1] ONFI parameter recovery failed, aborting
[    7.678924][    T1] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    7.685980][    T1] nand: Hynix NAND 256MiB 3,3V 8-bit
[    7.691100][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    7.699376][    T1] Scanning device for bad blocks
[    7.868833][    T1] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller
[    7.877437][    T1] Creating 2 MTD partitions on "41000000.nand-controller":
[    7.884554][    T1] 0x000000000000-0x000000e00000 : "boot"
[    7.891077][    T1] 0x000000e00000-0x000008000000 : "data"
[    7.898631][    T1] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found
[    7.905500][    T1] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    7.912012][    T1] oxnas-dwmac 40400000.ethernet: no reset control found
[    7.983964][    T1] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35
[    7.991605][    T1] oxnas-dwmac 40400000.ethernet:   DWMAC1000
[    7.997391][    T1] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    8.005399][    T1] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    8.013368][    T1] oxnas-dwmac 40400000.ethernet: COE Type 2
[    8.019120][    T1] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    8.026688][    T1] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    8.033658][    T1] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    8.041105][    T1] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    8.048414][    T1] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    8.054791][    T1] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    8.108730][    T1] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    8.118947][    T1] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    8.123517][   T75] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    8.130227][    T1] PPP generic driver version 2.4.2
[    8.141352][   T75] ata1.00: ATA-8: APPLE HDD HTS547550A9E384, JE3AD70F, max UDMA/133
[    8.141386][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.149242][   T75] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    8.163840][    T1] ehci-pci: EHCI PCI platform driver
[    8.169044][   T75] ata1.00: configured for UDMA/133
[    8.174801][    T7] scsi 0:0:0:0: Direct-Access     ATA      APPLE HDD HTS547 D70F PQ: 0 ANSI: 5
[    8.185643][   T54] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    8.193876][   T54] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    8.199907][   T54] sd 0:0:0:0: [sda] Write Protect is off
[    8.205678][   T54] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.373514][    T1] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    8.379717][    T1] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    8.388308][    T1] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    8.423505][    T1] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    8.430510][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    8.439503][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.447426][    T1] usb usb1: Product: EHCI Host Controller
[    8.452979][    T1] usb usb1: Manufacturer: Linux 5.4.224-oxnas-tld-1 ehci_hcd
[    8.460200][    T1] usb usb1: SerialNumber: 40200100.ehci
[    8.466562][    T1] hub 1-0:1.0: USB hub found
[    8.471073][    T1] hub 1-0:1.0: 2 ports detected
[    8.477135][    T1] usbcore: registered new interface driver cdc_wdm
[    8.483671][    T1] usbcore: registered new interface driver usb-storage
[    8.490588][    T1] usbcore: registered new interface driver usbserial_generic
[    8.498040][    T1] usbserial: USB Serial support registered for generic
[    8.498065][   T54]  sda: sda1
[    8.505607][    T1] mousedev: PS/2 mouse device common for all mice
[    8.514490][    T1] i2c /dev entries driver
[    8.516492][   T54] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.519974][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    8.530429][    T1] usbcore: registered new interface driver usbhid
[    8.536727][    T1] usbhid: USB HID core driver
[    8.543016][    T1] NET: Registered protocol family 10
[    8.550062][    T1] Segment Routing with IPv6
[    8.554593][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    8.563560][    T1] NET: Registered protocol family 17
[    8.569113][    T1] Key type dns_resolver registered
[    8.574927][    T1] registered taskstats version 1
[    8.579699][    T1] Loading compiled-in X.509 certificates
[    8.585415][    T1] zswap: loaded using pool lzo/zbud
[    8.590986][    T1] Key type ._fscrypt registered
[    8.595758][    T1] Key type .fscrypt registered
[    8.689431][    T1] Key type big_key registered
[    8.733222][    T1] Key type encrypted registered
[    8.742535][    T1] hctosys: unable to open rtc device (rtc0)
[    8.750366][    T1] Freeing unused kernel memory: 1024K
[    8.794762][    T1] Checked W+X mappings: passed, no W+X pages found
[    8.801098][    T1] Run /init as init process
Loading, please wait...
starting version 232
[    9.041797][  T114] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    9.051335][  T114] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    9.059596][  T114] random: systemd-udevd: uninitialized urandom read (16 bytes read)
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
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: Group descriptor 0 marked uninitialized without feature set.
FIXED.
rootfs: 28304/122880 files (0.9% non-contiguous), 284968/1955904 blocks
done.
[   23.410972][  T139] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   23.550540][  T139] 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.93 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...[   26.512750][  T295] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   26.544186][  T315] random: udevadm: uninitialized urandom read (16 bytes read)
[   26.554780][  T315] random: udevadm: uninitialized urandom read (16 bytes read)
[   26.703685][    C1] random: crng init done
[   26.707796][    C1] random: 731 urandom warning(s) missed due to ratelimiting
done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   29.378196][  T490] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Cleaning up temporary files....
[ ok ] Loading kernel modules...done.
[ 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/

[   33.554181][  T967] oxnas-dwmac 40400000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY]
[   33.573550][  T967] oxnas-dwmac 40400000.ethernet eth0: No Safety Features support found
[   33.581629][  T967] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   33.591101][  T967] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock
[   33.598256][  T967] oxnas-dwmac 40400000.ethernet eth0: configuring for phy/rgmii link mode
Listening on LPF/eth0/00:30:e0:00:00:01
Sending on   LPF/eth0/00:30:e0:00:00:01
Sending on   Socket/fallback
DHCPREQUEST of 192.168.30.12 on eth0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.30.12 on eth0 to 255.255.255.255 port 67
[   39.834183][  T970] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   39.843310][  T970] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST of 192.168.30.12 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.30.12 from 192.168.20.253
DHCPACK of 192.168.30.12 from 192.168.20.253
bound to 192.168.30.12 -- renewal in 37805 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...
1202 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1229 (klogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.

Debian GNU/Linux 10 iSharing ttyS0

iSharing login: root
Password:
Last login: Sun Nov 26 16:57:28 PST 2023 on ttyS0
Linux iSharing 5.4.224-oxnas-tld-1 #1.0 SMP PREEMPT Mon Nov 14 15:48:26 PST 2022 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@iSharing:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.224-oxnas-tld-1 (root@tldDebian) (gcc version 10.2.1 20210110 (Debian 10.2.1-6)) #1.0 SMP PREEMPT Mon Nov 14 15:48:26 PST 2022
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Pogoplug V3 Classic
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 65536
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 15 pages/cpu s30636 r8192 d22612 u61440
[    0.000000] pcpu-alloc: s30636 r8192 d22612 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 240568K/262144K available (8192K kernel code, 234K rwdata, 2068K rodata, 1024K init, 258K bss, 21576K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 16
[    0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000051] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000069] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000094] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000250] GIC: PPI13 is secure or misconfigured
[    0.000307] GIC: PPI13 is secure or misconfigured
[    0.000624] Console: colour dummy device 80x30
[    0.000698] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050396] pid_max: default: 32768 minimum: 301
[    0.051105] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051130] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051404] *** VALIDATE tmpfs ***
[    0.052766] *** VALIDATE proc ***
[    0.052992] *** VALIDATE cgroup1 ***
[    0.053015] *** VALIDATE cgroup2 ***
[    0.053212] CPU: Testing write buffer coherency: ok
[    0.055677] Setting up static identity map for 0x60100000 - 0x60100038
[    0.056012] rcu: Hierarchical SRCU implementation.
[    0.057034] smp: Bringing up secondary CPUs ...
[    0.058288] GIC: PPI13 is secure or misconfigured
[    0.110661] smp: Brought up 1 node, 2 CPUs
[    0.110702] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.111897] devtmpfs: initialized
[    0.118417] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.118474] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.118673] prandom: seed boundary self test passed
[    0.122982] prandom: 100 self tests passed
[    0.123002] pinctrl core: initialized pinctrl subsystem
[    0.125109] NET: Registered protocol family 16
[    0.126919] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130091] cpuidle: using governor ladder
[    0.130170] cpuidle: using governor menu
[    6.079173] vgaarb: loaded
[    6.080128] SCSI subsystem initialized
[    6.080770] libata version 3.00 loaded.
[    6.081113] usbcore: registered new interface driver usbfs
[    6.081203] usbcore: registered new interface driver hub
[    6.081344] usbcore: registered new device driver usb
[    6.081584] pps_core: LinuxPPS API ver. 1 registered
[    6.081602] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    6.081638] PTP clock support registered
[    6.083453] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    6.083512] *** VALIDATE bpf ***
[    6.084042] *** VALIDATE ramfs ***
[    6.103982] NET: Registered protocol family 2
[    6.104253] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    6.105354] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    6.105664] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    6.105728] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    6.105784] TCP: Hash tables configured (established 2048 bind 2048)
[    6.106022] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    6.106076] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    6.106385] NET: Registered protocol family 1
[    6.107663] RPC: Registered named UNIX socket transport module.
[    6.107688] RPC: Registered udp transport module.
[    6.107704] RPC: Registered tcp transport module.
[    6.107719] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    6.107742] PCI: CLS 0 bytes, default 32
[    6.108211] Unpacking initramfs...
[    6.844638] Freeing initrd memory: 6348K
[    6.846082] Initialise system trusted keyrings
[    6.846205] Key type blacklist registered
[    6.846663] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    6.858375] zbud: loaded
[    6.864645] NFS: Registering the id_resolver key type
[    6.864716] Key type id_resolver registered
[    6.864732] Key type id_legacy registered
[    6.864765] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.864780] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    6.864793] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.866181] fuse: init (API version 7.31)
[    6.866455] *** VALIDATE fuse ***
[    6.866483] *** VALIDATE fuse ***
[    6.867358] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.867737] orangefs_init: module version upstream loaded
[    6.915074] Key type asymmetric registered
[    6.915107] Asymmetric key parser 'x509' registered
[    6.915202] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    6.922316] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    6.923988] printk: console [ttyS0] disabled
[    6.924162] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    7.564981] printk: console [ttyS0] enabled
[    7.585149] loop: module loaded
[    7.591370] scsi host0: sata_oxnas
[    7.596259] ata1: SATA max UDMA/133 irq 57
[    7.601159] sata_oxnas: resetting SATA core
[    7.663800] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[    7.673213] ONFI parameter recovery failed, aborting
[    7.678924] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    7.685980] nand: Hynix NAND 256MiB 3,3V 8-bit
[    7.691100] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    7.699376] Scanning device for bad blocks
[    7.868833] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller
[    7.877437] Creating 2 MTD partitions on "41000000.nand-controller":
[    7.884554] 0x000000000000-0x000000e00000 : "boot"
[    7.891077] 0x000000e00000-0x000008000000 : "data"
[    7.898631] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found
[    7.905500] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    7.912012] oxnas-dwmac 40400000.ethernet: no reset control found
[    7.983964] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35
[    7.991605] oxnas-dwmac 40400000.ethernet:   DWMAC1000
[    7.997391] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    8.005399] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    8.013368] oxnas-dwmac 40400000.ethernet: COE Type 2
[    8.019120] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    8.026688] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    8.033658] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    8.041105] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    8.048414] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    8.054791] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    8.108730] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    8.118947] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    8.123517] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    8.130227] PPP generic driver version 2.4.2
[    8.141352] ata1.00: ATA-8: APPLE HDD HTS547550A9E384, JE3AD70F, max UDMA/133
[    8.141386] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.149242] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    8.163840] ehci-pci: EHCI PCI platform driver
[    8.169044] ata1.00: configured for UDMA/133
[    8.174801] scsi 0:0:0:0: Direct-Access     ATA      APPLE HDD HTS547 D70F PQ: 0 ANSI: 5
[    8.185643] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    8.193876] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    8.199907] sd 0:0:0:0: [sda] Write Protect is off
[    8.205450] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    8.205678] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.373514] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    8.379717] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    8.388308] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    8.423505] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    8.430510] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    8.439503] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.447426] usb usb1: Product: EHCI Host Controller
[    8.452979] usb usb1: Manufacturer: Linux 5.4.224-oxnas-tld-1 ehci_hcd
[    8.460200] usb usb1: SerialNumber: 40200100.ehci
[    8.466562] hub 1-0:1.0: USB hub found
[    8.471073] hub 1-0:1.0: 2 ports detected
[    8.477135] usbcore: registered new interface driver cdc_wdm
[    8.483671] usbcore: registered new interface driver usb-storage
[    8.490588] usbcore: registered new interface driver usbserial_generic
[    8.498040] usbserial: USB Serial support registered for generic
[    8.498065]  sda: sda1
[    8.505607] mousedev: PS/2 mouse device common for all mice
[    8.514490] i2c /dev entries driver
[    8.516492] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.519974] hidraw: raw HID events driver (C) Jiri Kosina
[    8.530429] usbcore: registered new interface driver usbhid
[    8.536727] usbhid: USB HID core driver
[    8.543016] NET: Registered protocol family 10
[    8.550062] Segment Routing with IPv6
[    8.554593] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    8.563560] NET: Registered protocol family 17
[    8.569113] Key type dns_resolver registered
[    8.574927] registered taskstats version 1
[    8.579699] Loading compiled-in X.509 certificates
[    8.585415] zswap: loaded using pool lzo/zbud
[    8.590986] Key type ._fscrypt registered
[    8.595758] Key type .fscrypt registered
[    8.689431] Key type big_key registered
[    8.733222] Key type encrypted registered
[    8.742535] hctosys: unable to open rtc device (rtc0)
[    8.750366] Freeing unused kernel memory: 1024K
[    8.794762] Checked W+X mappings: passed, no W+X pages found
[    8.801098] Run /init as init process
[    9.041797] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    9.051335] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    9.059596] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   23.410972] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   23.550540] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   26.512750] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   26.544186] random: udevadm: uninitialized urandom read (16 bytes read)
[   26.554780] random: udevadm: uninitialized urandom read (16 bytes read)
[   26.703685] random: crng init done
[   26.707796] random: 731 urandom warning(s) missed due to ratelimiting
[   29.378196] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   33.554181] oxnas-dwmac 40400000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY]
[   33.573550] oxnas-dwmac 40400000.ethernet eth0: No Safety Features support found
[   33.581629] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   33.591101] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock
[   33.598256] oxnas-dwmac 40400000.ethernet eth0: configuring for phy/rgmii link mode
[   39.834183] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   39.843310] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@iSharing:~#

got dmesg

root@iSharing:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.224-oxnas-tld-1 (root@tldDebian) (gcc version 10.2.1 20210110 (Debian 10.2.1-6)) #1.0 SMP PREEMPT Mon Nov 14 15:48:26 PST 2022
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Pogoplug V3 Classic
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 65536
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 15 pages/cpu s30636 r8192 d22612 u61440
[    0.000000] pcpu-alloc: s30636 r8192 d22612 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 240568K/262144K available (8192K kernel code, 234K rwdata, 2068K rodata, 1024K init, 258K bss, 21576K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 16
[    0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000048] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000066] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000094] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000258] GIC: PPI13 is secure or misconfigured
[    0.000314] GIC: PPI13 is secure or misconfigured
[    0.000632] Console: colour dummy device 80x30
[    0.000706] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050401] pid_max: default: 32768 minimum: 301
[    0.051110] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051138] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051407] *** VALIDATE tmpfs ***
[    0.052725] *** VALIDATE proc ***
[    0.052938] *** VALIDATE cgroup1 ***
[    0.052961] *** VALIDATE cgroup2 ***
[    0.053158] CPU: Testing write buffer coherency: ok
[    0.055644] Setting up static identity map for 0x60100000 - 0x60100038
[    0.055989] rcu: Hierarchical SRCU implementation.
[    0.057021] smp: Bringing up secondary CPUs ...
[    0.058288] GIC: PPI13 is secure or misconfigured
[    0.110668] smp: Brought up 1 node, 2 CPUs
[    0.110707] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.111920] devtmpfs: initialized
[    0.118714] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.118773] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.118922] prandom: seed boundary self test passed
[    0.123225] prandom: 100 self tests passed
[    0.123248] pinctrl core: initialized pinctrl subsystem
[    0.125432] NET: Registered protocol family 16
[    0.127244] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130414] cpuidle: using governor ladder
[    0.130490] cpuidle: using governor menu
[    6.079838] vgaarb: loaded
[    6.080885] SCSI subsystem initialized
[    6.081438] libata version 3.00 loaded.
[    6.081850] usbcore: registered new interface driver usbfs
[    6.081953] usbcore: registered new interface driver hub
[    6.082037] usbcore: registered new device driver usb
[    6.082309] pps_core: LinuxPPS API ver. 1 registered
[    6.082324] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    6.082357] PTP clock support registered
[    6.084264] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    6.084323] *** VALIDATE bpf ***
[    6.084848] *** VALIDATE ramfs ***
[    6.104911] NET: Registered protocol family 2
[    6.105200] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    6.106319] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    6.106636] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    6.106700] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    6.106757] TCP: Hash tables configured (established 2048 bind 2048)
[    6.106997] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    6.107054] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    6.107368] NET: Registered protocol family 1
[    6.108623] RPC: Registered named UNIX socket transport module.
[    6.108648] RPC: Registered udp transport module.
[    6.108664] RPC: Registered tcp transport module.
[    6.108679] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    6.108702] PCI: CLS 0 bytes, default 32
[    6.109160] Unpacking initramfs...
[    6.843655] Freeing initrd memory: 6348K
[    6.845227] Initialise system trusted keyrings
[    6.845460] Key type blacklist registered
[    6.845877] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    6.858291] zbud: loaded
[    6.864289] NFS: Registering the id_resolver key type
[    6.864363] Key type id_resolver registered
[    6.864378] Key type id_legacy registered
[    6.864414] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.864430] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    6.864445] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.865914] fuse: init (API version 7.31)
[    6.866204] *** VALIDATE fuse ***
[    6.866232] *** VALIDATE fuse ***
[    6.867184] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.867566] orangefs_init: module version upstream loaded
[    6.916229] Key type asymmetric registered
[    6.916262] Asymmetric key parser 'x509' registered
[    6.916354] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    6.923461] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    6.925020] printk: console [ttyS0] disabled
[    6.925191] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    7.566236] printk: console [ttyS0] enabled
[    7.586432] loop: module loaded
[    7.592619] scsi host0: sata_oxnas
[    7.597447] ata1: SATA max UDMA/133 irq 57
[    7.602342] sata_oxnas: resetting SATA core
[    7.664611] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[    7.674024] ONFI parameter recovery failed, aborting
[    7.679736] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    7.686791] nand: Hynix NAND 256MiB 3,3V 8-bit
[    7.691909] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    7.700185] Scanning device for bad blocks
[    7.869729] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller
[    7.878333] Creating 2 MTD partitions on "41000000.nand-controller":
[    7.885450] 0x000000000000-0x000000e00000 : "boot"
[    7.891888] 0x000000e00000-0x000008000000 : "data"
[    7.899509] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found
[    7.906380] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    7.912893] oxnas-dwmac 40400000.ethernet: no reset control found
[    7.984770] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35
[    7.992412] oxnas-dwmac 40400000.ethernet:   DWMAC1000
[    7.998195] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    8.006202] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    8.014172] oxnas-dwmac 40400000.ethernet: COE Type 2
[    8.019927] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    8.027491] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    8.034457] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    8.041907] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    8.049213] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    8.055592] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    8.110172] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    8.120381] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    8.124336] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    8.131576] PPP generic driver version 2.4.2
[    8.142771] ata1.00: ATA-8: APPLE HDD HTS547550A9E384, JE3AD70F, max UDMA/133
[    8.142801] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.150663] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    8.157923] ehci-pci: EHCI PCI platform driver
[    8.171484] ata1.00: configured for UDMA/133
[    8.177190] scsi 0:0:0:0: Direct-Access     ATA      APPLE HDD HTS547 D70F PQ: 0 ANSI: 5
[    8.187947] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    8.196221] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    8.202250] sd 0:0:0:0: [sda] Write Protect is off
[    8.207784] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    8.208010] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.364328] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    8.370531] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    8.379118] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    8.414312] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    8.421327] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    8.430312] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.438231] usb usb1: Product: EHCI Host Controller
[    8.443781] usb usb1: Manufacturer: Linux 5.4.224-oxnas-tld-1 ehci_hcd
[    8.451000] usb usb1: SerialNumber: 40200100.ehci
[    8.457313] hub 1-0:1.0: USB hub found
[    8.461818] hub 1-0:1.0: 2 ports detected
[    8.467896] usbcore: registered new interface driver cdc_wdm
[    8.474419] usbcore: registered new interface driver usb-storage
[    8.481333] usbcore: registered new interface driver usbserial_generic
[    8.488678] usbserial: USB Serial support registered for generic
[    8.495626]  sda: sda1
[    8.496215] mousedev: PS/2 mouse device common for all mice
[    8.505226] i2c /dev entries driver
[    8.507376] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.510850] hidraw: raw HID events driver (C) Jiri Kosina
[    8.521111] usbcore: registered new interface driver usbhid
[    8.527398] usbhid: USB HID core driver
[    8.533770] NET: Registered protocol family 10
[    8.540792] Segment Routing with IPv6
[    8.545328] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    8.554360] NET: Registered protocol family 17
[    8.559925] Key type dns_resolver registered
[    8.565803] registered taskstats version 1
[    8.570580] Loading compiled-in X.509 certificates
[    8.576302] zswap: loaded using pool lzo/zbud
[    8.581888] Key type ._fscrypt registered
[    8.586659] Key type .fscrypt registered
[    8.680258] Key type big_key registered
[    8.724387] Key type encrypted registered
[    8.733401] hctosys: unable to open rtc device (rtc0)
[    8.741230] Freeing unused kernel memory: 1024K
[    8.775616] Checked W+X mappings: passed, no W+X pages found
[    8.781949] Run /init as init process
[    9.021895] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    9.031370] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    9.039700] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   10.483773] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   10.521080] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   13.439918] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   13.494722] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   13.502786] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   14.444456] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   14.446041] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   14.452761] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   16.273216] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   19.704829] random: dd: uninitialized urandom read (32 bytes read)
[   20.415662] oxnas-dwmac 40400000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY]
[   20.434347] oxnas-dwmac 40400000.ethernet eth0: No Safety Features support found
[   20.442424] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   20.455585] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock
[   20.462638] oxnas-dwmac 40400000.ethernet eth0: configuring for phy/rgmii link mode
[   26.714992] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   26.724119] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   41.570183] random: crng init done
[   41.574325] random: 1452 urandom warning(s) missed due to ratelimiting


But, network driver ..... so poor...

and

I change to bulleys source.list, but got Gpg PUB_KEY error,
I can't

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv XXXXXXXXXXXXXXX

root@iSharing:/# apt update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.us.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Reading package lists... Done
E: Release file for http://security.debian.org/dists/buster/updates/InRelease is expired (invalid since 1284d 8h 39min 37s). Updates for this repository will not be applied.
E: Release file for http://http.debian.net/debian/dists/buster-updates/InRelease is expired (invalid since 1284d 1h 30min 11s). Updates for this repository will not be applied                    .
root@iSharing:/# apt install dirmngr --install-recommends
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  gnupg gnupg-agent gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libgnutls30 libidn2-0 libunistring2
Suggested packages:
  dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage scdaemon gnutls-bin
The following NEW packages will be installed:
  dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libunistring2
The following packages will be upgraded:
  gnupg gnupg-agent libgnutls30 libidn2-0
4 upgraded, 10 newly installed, 0 to remove and 55 not upgraded.
Need to get 8403 kB of archives.
After this operation, 12.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://ftp.us.debian.org/debian buster/main armel gnupg-l10n all 2.2.12-1+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:2 http://ftp.us.debian.org/debian buster/main armel gnupg all 2.2.12-1+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:3 http://ftp.us.debian.org/debian buster/main armel gnupg-agent all 2.2.12-1+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:4 http://ftp.us.debian.org/debian buster/main armel gpgconf armel 2.2.12-1+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:5 http://ftp.us.debian.org/debian buster/main armel gpg-agent armel 2.2.12-1+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:6 http://ftp.us.debian.org/debian buster/main armel gnupg-utils armel 2.2.12-1+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:7 http://ftp.us.debian.org/debian buster/main armel gpg armel 2.2.12-1+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:8 http://ftp.us.debian.org/debian buster/main armel gpg-wks-client armel 2.2.12-1+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:9 http://ftp.us.debian.org/debian buster/main armel gpg-wks-server armel 2.2.12-1+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:10 http://ftp.us.debian.org/debian buster/main armel gpgsm armel 2.2.12-1+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Get:11 http://ftp.us.debian.org/debian buster/main armel libunistring2 armel 0.9.10-1 [354 kB]
Get:12 http://ftp.us.debian.org/debian buster/main armel libidn2-0 armel 2.0.5-1+deb10u1 [73.9 kB]
Err:13 http://ftp.us.debian.org/debian buster/main armel libgnutls30 armel 3.6.7-4+deb10u3
  404  Not Found [IP: 208.80.154.139 80]
Err:14 http://ftp.us.debian.org/debian buster/main armel dirmngr armel 2.2.12-1+deb10u1
  404  Not Found [IP: 208.80.154.139 80]
Err:13 http://security.debian.org buster/updates/main armel libgnutls30 armel 3.6.7-4+deb10u3
  404  Not Found [IP: 208.80.154.139 80]
Fetched 428 kB in 2s (169 kB/s)
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnupg2/gnupg-l10n_2.2.12-1+deb10u1_all.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnupg2/gnupg_2.2.12-1+deb10u1_all.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnupg2/gnupg-agent_2.2.12-1+deb10u1_all.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnupg2/gpgconf_2.2.12-1+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnupg2/gpg-agent_2.2.12-1+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnupg2/gnupg-utils_2.2.12-1+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnupg2/gpg_2.2.12-1+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnupg2/gpg-wks-client_2.2.12-1+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnupg2/gpg-wks-server_2.2.12-1+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnupg2/gpgsm_2.2.12-1+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://security.debian.org/pool/updates/main/g/gnutls28/libgnutls30_3.6.7-4+deb10u3_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnupg2/dirmngr_2.2.12-1+deb10u1_armel.deb  404  Not Found [IP: 208.80.154.139 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@iSharing:/#

it's ok to change source.list to Taiwan National Center....


root@iSharing:/etc/apt# vi sources.list
root@iSharing:/etc/apt# apt update
Hit:1 http://opensource.nchc.org.tw/debian buster InRelease
Get:2 http://opensource.nchc.org.tw/debian buster-updates InRelease [56.6 kB]
Hit:3 http://security.debian.org/debian-security oldstable-security InRelease
Get:4 http://opensource.nchc.org.tw/debian buster-updates/main Sources [4616 B]
Get:5 http://opensource.nchc.org.tw/debian buster-updates/main armel Packages [8792 B]
Get:6 http://opensource.nchc.org.tw/debian buster-updates/main Translation-en [6915 B]
Fetched 76.9 kB in 4s (17.3 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
111 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@iSharing:/etc/apt# cat sources.list
deb http://opensource.nchc.org.tw/debian buster main
deb-src http://opensource.nchc.org.tw/debian buster main

deb http://security.debian.org/debian-security oldstable-security main contrib non-free
deb-src  http://security.debian.org/debian-security oldstable-security main contrib non-free

deb     http://opensource.nchc.org.tw/debian buster-updates main contrib
deb-src http://opensource.nchc.org.tw/debian buster-updates main contrib

if install any package, get many permission problem for 'man', please


/usr/bin/mandb: can't chmod /var/cache/man/sv/CACHEDIR.TAG: Operation not permit
/usr/bin/mandb: can't remove /var/cache/man/sv/CACHEDIR.TAG: Permission denied
/usr/bin/mandb: fopen /var/cache/man/sv/28711: Permission denied

chown man:root /var/cache/man -R
chmod g+s /var/cache/man -R



where to find network driver , i just 100mb negotiate......



Edited 6 time(s). Last edit at 11/26/2023 10:51PM by Popo.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 27, 2023 01:18AM
Hit:1 http://opensource.nchc.org.tw/debian buster InRelease
Get:2 http://opensource.nchc.org.tw/debian buster-updates InRelease [56.6 kB]
Hit:3 http://security.debian.org/debian-security oldstable-security InRelease
Get:4 http://opensource.nchc.org.tw/debian buster-updates/main Sources [4616 B]
Get:5 http://opensource.nchc.org.tw/debian buster-updates/main armel Packages [8792 B]
Get:6 http://opensource.nchc.org.tw/debian buster-updates/main Translation-en [6915 B]

As I mentioned you'll need to change distribution to oldstable and source list to bullseye before doing "apt-get dist-upgrade". What does your apt sources list looks like?

cat /etc/apt/sources.list

See here: https://forum.doozan.com/read.php?2,35581

=====

About ethernet speed, both the Pogo V3 Classic and Akitio share the same driver code and DTS definition for Ethernet. Nerwork should work at 1Gbps. So something else is wrong when it is only 100Mbps.

[   20.415662] oxnas-dwmac 40400000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY]
[   20.434347] oxnas-dwmac 40400000.ethernet eth0: No Safety Features support found
[   20.442424] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   20.455585] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock
[   20.462638] oxnas-dwmac 40400000.ethernet eth0: configuring for phy/rgmii link mode
[   26.714992] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   26.724119] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

What about your router/switch, is it a 1Gbps switch? the cable is what CAT type? and also the output of
ethtool eth0

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



Edited 1 time(s). Last edit at 11/27/2023 01:38AM by bodhi.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 27, 2023 02:06AM
Just now I discovered a very "historical story" situation.
I used the dtc tool to dts restore the ox820-pogoplus-classic.dtb and found the description of the NAND segment.
But in the ox820-akitio.dtb file, the 'reg' is diffrent...

                nand-controller@41000000 {
                        compatible = "oxsemi,ox820-nand";
                        reg = <0x41000000 0x100000>;
                        clocks = <0x05 0x09>;
                        resets = <0x06 0x0f>;
                        #address-cells = <0x01>;
                        #size-cells = <0x00>;
                        status = "okay";
                        pinctrl-names = "default";
                        pinctrl-0 = <0x07>;

                        nand@0 {
                                reg = <0x00>;
                                #address-cells = <0x01>;
                                #size-cells = <0x01>;
                                nand-ecc-mode = "soft";
                                nand-ecc-algo = "hamming";

                                partition@0 {
                                        label = "boot";
                                        reg = <0x00 0xe00000>;
                                        read-only;
                                };

                                partition@e00000 {
                                        label = "data";
                                        reg = <0xe00000 0x7200000>;
                                };
                        };
                };

But in the OpenWRT 18.06.4 version, I found that ox820-akitio-mycloud.dts has a description of NAND.

&nandc {
	status = "okay";

	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_nand>;

	nand@0 {
		reg = <0>;
		#address-cells = <1>;
		#size-cells = <1>;
		nand-ecc-mode = "soft";
		nand-ecc-algo = "hamming";

		partition@0 {
			label = "boot";
			reg = <0x0 0x26c0000>;
		};

		partition@26c0000 {
			label = "ubi";
			reg = <0x26c0000 0xd940000>;
		};
	};
};

This OpenWRT description of NAND completely corresponds to stock firmware.

stock firmware log.....
$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 10000000 00020000 "NAND 256MiB 3,3V 8-bit"
mtd1: 026c0000 00020000 "Boot partition"
mtd2: 0d940000 00020000 "Data Partition"

I'm really interested to know what happened to the NAND of my machine.
Originally, UBIFS could correctly ubiattach at the beginning, but an error occurred and ubi0 could not be mounted due to an accident.
After I successfully booted the Debian system from the HDD, I tried ubiattach, but was disappointed.
And the size of mtd may also be unable to be mounted because the description of the dtb file is incorrectly defined.

UBIFS error (pid 1): ubifs_get_sb: cannot open "ubi0:rootfs", error -19
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00          262144 mtdblock0 (driver?)
1f01           39680 mtdblock1 (driver?)
1f02          222464 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


Unfortunately, I don't have the ability to compile dtb files.
I am studying hard. I have been very interested in it for many years, and I am also envious that everyone can use their own machines to modify programs and do experiments.
I hope to take this opportunity to truly get started in the world of Embeded System.

But currently I really need a quick and ready solution to drive my UBI and UBIFS.

I found that why ox820-akitio.dtb can't boot successful and stuck!


Environment size: 1929/16380 bytes
OX820 # run ide_set_bootargs; run dt_ide_boot
5589656 bytes read in 1963 ms (2.7 MiB/s)
6497808 bytes read in 2223 ms (2.8 MiB/s)
9945 bytes read in 77 ms (126 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-5.4.224-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5589592 Bytes = 5.3 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-5.4.224-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6497744 Bytes = 6.2 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 6f7f6000, end 6fe285d0 ... OK
   Loading Device Tree to 6f7f0000, end 6f7f56d8 ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.4.224-oxnas-tld-1 (root@tldDebian) (gcc version 10.2.1 20210110 (Debian 10.2.1-6)) #1.0 SMP PREEMPT Mon Nov 14 15:48:26 PST 2022
[    0.000000][    T0] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Akitio MyCloud
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] percpu: Embedded 15 pages/cpu s30636 r8192 d22612 u61440
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000][    T0] Kernel command line: root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 240564K/262144K available (8192K kernel code, 234K rwdata, 2068K rodata, 1024K init, 258K bss, 21580K reserved, 0K cma-reserved)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 16
[    0.000017][    T0] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000046][    T0] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000064][    T0] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000089][    T0] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000243][    T0] GIC: PPI13 is secure or misconfigured
[    0.000296][    T0] GIC: PPI13 is secure or misconfigured
[    0.000622][    T0] Console: colour dummy device 80x30
[    0.000698][    T0] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050385][    T0] pid_max: default: 32768 minimum: 301
[    0.051123][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051151][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051422][    T0] *** VALIDATE tmpfs ***
[    0.052769][    T0] *** VALIDATE proc ***
[    0.052992][    T0] *** VALIDATE cgroup1 ***
[    0.053015][    T0] *** VALIDATE cgroup2 ***
[    0.053214][    T0] CPU: Testing write buffer coherency: ok
[    0.055715][    T1] Setting up static identity map for 0x60100000 - 0x60100038
[    0.056048][    T1] rcu: Hierarchical SRCU implementation.
[    0.057067][    T1] smp: Bringing up secondary CPUs ...
[    0.058357][    T0] GIC: PPI13 is secure or misconfigured
[    0.110650][    T1] smp: Brought up 1 node, 2 CPUs
[    0.110689][    T1] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.111895][    T1] devtmpfs: initialized
[    0.118991][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.119045][    T1] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.119191][    T1] prandom: seed boundary self test passed
[    0.123491][    T1] prandom: 100 self tests passed
[    0.123512][    T1] pinctrl core: initialized pinctrl subsystem
[    0.125693][    T1] NET: Registered protocol family 16
[    0.127585][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.131041][    T1] cpuidle: using governor ladder
[    0.131125][    T1] cpuidle: using governor menu
[    6.082240][    T1] vgaarb: loaded
[    6.083184][    T1] SCSI subsystem initialized
[    6.084003][    T1] usbcore: registered new interface driver usbfs
[    6.084103][    T1] usbcore: registered new interface driver hub
[    6.084185][    T1] usbcore: registered new device driver usb
[    6.084436][    T1] pps_core: LinuxPPS API ver. 1 registered
[    6.084451][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    6.084487][    T1] PTP clock support registered
[    6.086320][    T1] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    6.086379][    T1] *** VALIDATE bpf ***
[    6.086914][    T1] *** VALIDATE ramfs ***
[    6.106585][    T1] NET: Registered protocol family 2
[    6.106864][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    6.107970][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    6.108285][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    6.108352][    T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    6.108410][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    6.108643][    T1] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    6.108697][    T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    6.109009][    T1] NET: Registered protocol family 1
[    6.110279][    T1] RPC: Registered named UNIX socket transport module.
[    6.110305][    T1] RPC: Registered udp transport module.
[    6.110320][    T1] RPC: Registered tcp transport module.
[    6.110333][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    6.110359][    T1] PCI: CLS 0 bytes, default 32
[    6.110824][    T1] Unpacking initramfs...
[    6.845813][    T1] Freeing initrd memory: 6348K
[    6.847393][    T1] Initialise system trusted keyrings
[    6.847536][    T1] Key type blacklist registered
[    6.847976][    T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    6.860986][    T1] zbud: loaded
[    6.867130][    T1] NFS: Registering the id_resolver key type
[    6.867246][    T1] Key type id_resolver registered
[    6.867261][    T1] Key type id_legacy registered
[    6.867294][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.867310][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    6.867325][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.868843][    T1] fuse: init (API version 7.31)
[    6.869127][    T1] *** VALIDATE fuse ***
[    6.869155][    T1] *** VALIDATE fuse ***
[    6.870131][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.870512][    T1] orangefs_init: module version upstream loaded
[    6.921745][    T1] Key type asymmetric registered
[    6.921781][    T1] Asymmetric key parser 'x509' registered
[    6.921871][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    6.929543][    T1] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    6.931013][    T1] printk: console [ttyS0] disabled
[    6.931182][    T1] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    7.571735][    T1] printk: console [ttyS0] enabled
[    7.592220][    T1] loop: module loaded
[    7.599119][    T1] scsi host0: sata_oxnas
[    7.604500][    T1] scsi host1: sata_oxnas
[    7.609141][    T1] ata1: SATA max UDMA/133 irq 57
[    7.613923][    T1] ata2: SATA max UDMA/133 irq 57
[    7.618880][   T75] sata_oxnas: resetting SATA core
[    7.686663][    T1] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[    7.696074][    T1] ONFI parameter recovery failed, aborting
[    7.701785][    T1] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    7.708840][    T1] nand: Hynix NAND 256MiB 3,3V 8-bit
[    7.713960][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    7.722240][    T1] Scanning device for bad blocks
[    7.892416][    T1] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller
[    7.901022][    T1] Creating 2 MTD partitions on "41000000.nand-controller":
[    7.908142][    T1] 0x000000000000-0x0000026c0000 : "boot"
[    7.914698][    T1] 0x0000026c0000-0x000010000000 : "ubi"
[    7.922690][    T1] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found
[    7.929569][    T1] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    7.936076][    T1] oxnas-dwmac 40400000.ethernet: no reset control found
[    8.006786][    T1] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35
[    8.014428][    T1] oxnas-dwmac 40400000.ethernet:   DWMAC1000
[    8.020216][    T1] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    8.028224][    T1] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    8.036193][    T1] oxnas-dwmac 40400000.ethernet: COE Type 2
[    8.041943][    T1] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    8.049510][    T1] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    8.056481][    T1] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    8.063933][    T1] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    8.071242][    T1] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    8.077685][    T1] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    8.126446][   T75] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    8.131394][    T1] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    8.143554][    T1] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    8.153809][   T75] ata1.00: ATA-8: APPLE HDD HTS547550A9E384, JE3AD70F, max UDMA/133
[    8.154785][    T1] PPP generic driver version 2.4.2
[    8.161745][   T75] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    8.174141][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.181457][    T1] ehci-pci: EHCI PCI platform driver
[    8.186897][   T75] ata1.00: configured for UDMA/133
[    8.192514][    T7] scsi 0:0:0:0: Direct-Access     ATA      APPLE HDD HTS547 D70F PQ: 0 ANSI: 5
[    8.203010][   T79] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    8.211558][   T79] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    8.217753][   T77] sata_oxnas: resetting SATA core
[    8.217856][   T79] sd 0:0:0:0: [sda] Write Protect is off
[    8.228408][   T79] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.238228][   T75] sata_oxnas: resetting SATA core
[    8.396385][    T1] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    8.402595][    T1] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    8.411353][    T1] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    8.446438][    T1] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    8.453465][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    8.462446][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.470425][    T1] usb usb1: Product: EHCI Host Controller
[    8.475978][    T1] usb usb1: Manufacturer: Linux 5.4.224-oxnas-tld-1 ehci_hcd
[    8.483202][    T1] usb usb1: SerialNumber: 40200100.ehci
[    8.489656][    T1] hub 1-0:1.0: USB hub found
[    8.494164][    T1] hub 1-0:1.0: 2 ports detected
[    8.500011][    T1] usbcore: registered new interface driver cdc_wdm
[    8.506685][    T1] usbcore: registered new interface driver usb-storage
[    8.513505][    T1] usbcore: registered new interface driver usbserial_generic
[    8.520791][    T1] usbserial: USB Serial support registered for generic
[    8.528327][    T1] mousedev: PS/2 mouse device common for all mice
[    8.534702][    T1] i2c /dev entries driver
[    8.540362][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    8.546764][    T1] usbcore: registered new interface driver usbhid
[    8.553003][    T1] usbhid: USB HID core driver
[    8.559552][    T1] NET: Registered protocol family 10
[    8.566671][    T1] Segment Routing with IPv6
[    8.571171][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    8.580195][    T1] NET: Registered protocol family 17
[    8.585807][    T1] Key type dns_resolver registered
[    8.591761][    T1] registered taskstats version 1
[    8.596625][    T1] Loading compiled-in X.509 certificates
[    8.602278][    T1] zswap: loaded using pool lzo/zbud
[    8.607971][    T1] Key type ._fscrypt registered
[    8.612664][    T1] Key type .fscrypt registered
[    8.707271][    T1] Key type big_key registered
[    8.751769][    T1] Key type encrypted registered
[    8.898257][   T77] ata2: SATA link down (SStatus 0 SControl 300)

ata2 is defined in device tree, SATA2 is an external HDD (No Power eSATA)...
But seems kernel check and wait SATA2 .....
Is it a bug for kernel ?




Edited 2 time(s). Last edit at 11/27/2023 04:20AM by Popo.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 27, 2023 02:18AM
as my source.list

root@iSharing:/etc/apt# cat sources.list
deb http://opensource.nchc.org.tw/debian buster main
deb-src http://opensource.nchc.org.tw/debian buster main

deb http://security.debian.org/debian-security oldstable-security main contrib non-free
deb-src  http://security.debian.org/debian-security oldstable-security main contrib non-free

deb     http://opensource.nchc.org.tw/debian buster-updates main contrib
deb-src http://opensource.nchc.org.tw/debian buster-updates main contrib


All my equipment are managed switches.
Also be sure to use a cat 5e or cat 6 network cable.

root@iSharing:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: ug
        Wake-on: d
        Current message level: 0x0000003f (63)
                               drv probe link timer ifdown ifup
        Link detected: yes

Re: Help! Akitio mycloudmini using stock kernel but missing system setting files
November 27, 2023 02:45AM
Hi, bodhi :

Network now linked to 1Gbps

root@iSharing:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: ug
        Wake-on: d
        Current message level: 0x0000003f (63)
                               drv probe link timer ifdown ifup
        Link detected: yes


I change the cable .....sigh ....

It's so strange, this machine used to use the same line.
Stock firmware can reach 1Gbps, but not anymore.

work well for 1Gbps..

------------------------------------------------------------
Client connecting to 192.168.30.12, TCP port 5001
TCP window size: 16.0 MByte (default)
------------------------------------------------------------
[  3] local 10.0.3.2 port 32850 connected with 192.168.30.12 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.1 sec   448 MBytes   371 Mbits/sec



Edited 1 time(s). Last edit at 11/27/2023 02:51AM by Popo.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: