Welcome! Log In Create A New Profile

Advanced

How to fix a semi-bricked Synology DS214?

Posted by jhackert 
How to fix a semi-bricked Synology DS214?
June 17, 2022 12:51PM
Hi folks,

maybe one of you has a hint on how to get my DS214 fixed again. I bricked it while having a power outage during a downgrade. The result was the blue blinking of death. No boot.

As I had not heard about kwboot, I desoldered the eeprom because it could not be read reliably while sitting in the board. I discovered that the zImage partition was partially erased. The other ones looked good. I fixed the zImage, burned the eeprom and soldered it back. But that did not help. No boot, blue lights blinking. No serial output. Simply bricked.

Then I got aware of this forum and learned about kwboot. The DS214 does boot when nudged with kwboot but it won't on its own. It seems to be a two-staged boot. First, uboot is started by kwboot and then uboot accesses the eeprom instead of the UART and loads the rest of the loader.

I used the stock uboot that is part of Synology's pat files.


Step 1

jh@i6600:~/syno$ sudo kwboot  -t -a -p -B 115200 -b uboot_DS214v10.bin /dev/ttyUSB0
Sending boot message. Please reboot the target.../
Sending boot image...
Booting from SPI flash
High speed PHY - Version: 2.1.2 (COM-PHY-V20) 
Update PEX Device ID 0x78230
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 4.5.0 
DDR3 Training Sequence - Ended Successfully 
Status = MV_OK
  0 % [+xmodem: Protocol error

Then step2 kicks in without any interaction by me.

Step 2

BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2011.12-SYNO-add48c3-2013-07-18 (Jul 18 2013 - 16:52:24) Marvell version: v2011.12 2013_Q1.2

Board: Synology AXP 78230 2-bay
SoC:   MV78230 B0
       running 2 CPUs
       Custom configuration
CPU:   Marvell PJ4B (584) v7 (Rev 2) LE
       CPU 0
       CPU    @ 1066 [MHz]
       L2     @ 533 [MHz]
       TClock @ 250 [MHz]
       DDR    @ 533 [MHz]
       DDR 32Bit Width, FastPath Memory Access
       DDR ECC Disabled
DRAM:  512 MiB

Map:   Code:		0x1fefb000:0x1ff9f4ec
       BSS:		0x1ffef33c
       Stack:		0x1f9eaef8
       Heap:		0x1f9eb000:0x1fefb000

MMC:   MRVL_MMC: 0
SF: Detected M25P64 with page size 64 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

PEX 0.0(0): Root Complex Interface, Detected Link X1, GEN 2.0
PEX 0.1(1): Detected No Link.
PEX 0.2(2): Detected No Link.
PEX 0.3(3): Detected No Link.
FPU initialized to Run Fast Mode.
USB 0: Host Mode
USB 1: Host Mode
USB 2: Device Mode
Modules Detected:

Synology Model: DS214
Fan Status: Good

Net:   egiga0 [PRIME]
Press Ctrl+C to abort autoboot in 3 second
Marvell>> printenv
CASset=min
MALLOC_len=5
MPmode=smp
amp_enable=no
autoload=no
baudrate=115200
boot_order=hd_scr hd_img pxe net_img net_scr
bootargs=console=ttyS0,115200 ip=off initrd=0x8000040,8M root=/dev/md0 rw syno_hw_version=DS214v10 ihd_num=2 netif_num=1 flash_size=8
bootargs_dflt=$console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:DSMP:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=bootm 0xf40d0000 0xf43a0000
bootcmd_auto=stage_boot $boot_order
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootdelay=3
cacheShare=no
console=console=ttyS0,115200
device_partition=0:1
disL2Cache=yes
disL2Prefetch=yes
disaMvPnp=no
eeeEnable=no
enaAutoRecovery=yes
enaClockGating=no
enaCpuStream=no
enaDCPref=yes
enaFPU=yes
enaICPref=yes
enaLPAE=no
enaWrAllo=no
eth1addr=00:50:43:1a:b6:93
eth1mtu=1500
eth2addr=00:50:43:b6:93:07
eth2mtu=1500
eth3addr=00:50:43:93:07:1a
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:07:1a:b6
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=10.4.50.165
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
loadaddr=0x02000000
loads_echo=0
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:93:b6:07
netbsd_en=no
netmask=255.255.255.0
netretry=no
pcieTune=no
pexMode=rc
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rcvrip=169.254.100.100
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=10.4.50.5
setL2CacheWT=no
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usb1Mode=host
usb2Mode=device
usbActive=0
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 2242/65532 bytes

Marvell>> help
?       - alias for 'help'
SatR    - Sample At Reset sub-system

WOLTest - WOLTest	- Wake On Lan u-boot testing

amp_boot- amp_boot - boot an AMP group

amp_config- Fully config an AMP group

amp_printenv- amp_printenv - print only AMP env variables

amp_verify- Verfiy AMP configuration

base    - print or set address offset
bdinfo  - print Board Info structure
bios    - BIOS command to set the DB configuration.

boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
bubt    - bubt	- Burn an image on the Boot SPI Flash.

chpart  - change active partition
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
date    - get/set/reset date & time
ddrPhyRead- ddrPhyRead - Read DDR PHY register

ddrPhyWrite- ddrPhyWrite - Write DDR PHY register

dhcp    - boot image via network using DHCP/TFTP protocol
diskboot- diskboot- boot from IDE device

dma     - dma	- Perform DMA using the XOR engine

echo    - echo args to console
editenv - edit environment variable
eeprom  - EEPROM sub-system
env     - environment handling commands
exit    - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
false   - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fsinfo  - print information about filesystems
fsload  - load binary file from a filesystem image
go      - start application at address 'addr'
help    - print command description/usage
i2c     - I2C sub-system
ide     - ide     - IDE sub-system

iminfo  - print header information for application image
imxtract- extract a part of a multi-image
ir      - ir	- reading and changing MV internal register values.

itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loadx   - load binary file over serial line (xmodem mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
ls      - list files in a directory (default /)
map     - map	- Diasplay address decode windows

md      - memory display
me      - me	- PCI master enable

mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - display MMC info
mp      - mp	- map PCI BAR

mtdparts- define flash/nand partitions
mtest   - simple RAM read/write test
mw      - memory write (fill)
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
pciePhyRead- phyRead	- Read PCI-E Phy register

pciePhyWrite- pciePhyWrite	- Write PCI-E Phy register

phyRead - phyRead	- Read Phy register

phyWrite- phyWrite	- Write Phy register

ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
pxe     - commands to get and boot from pxe files
rcvr    - rcvr	- Satrt recovery process (Distress Beacon with TFTP server)

reset   - Perform RESET of the CPU
resetenv- resetenv	- earse environment sector to reset all variables to default.

run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
scsi    - SCSI sub-system
scsiboot- boot from SCSI device
se      - se	- PCI Slave enable

setenv  - set environment variables
sf      - SPI flash sub-system
sg      - sg	- scanning the PHYs status

showvar - print local hushshell variables
sleep   - delay execution for some time
source  - run script from memory
sp      - sp	- Scan PCI Interface [bus].

sspi    - SPI utility command
stage_boot- command to load script/image from different devices
	example: stage_boot hd_img pxe
temp    - temp	- Display the device temprature.

tempCmd0- tempCmd - This command allocated for monitor extintion

tempCmd1- tempCmd - This command allocated for monitor extintion

tempCmd2- tempCmd - This command allocated for monitor extintion

tempCmd3- tempCmd - This command allocated for monitor extintion

test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
training- training	- prints the results of the DDR3 Training.

true    - do nothing, successfully
ts_report- ts_report	- report touch screen cooridate

ts_test - ts_test	- test touch screen

ubi     - ubi commands
ubifsload- load file from an UBIFS filesystem
ubifsls - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
warmRst - warmRst	- Warn Reset AXP card over PEX.

whoAmI  - - reading CPU ID

Marvell>> bdinfo
arch_number = 0x00000BDC
boot_params = 0x00000100
DRAM bank   = 0x00000000
-> start    = 0x00000000
-> size     = 0x20000000
DRAM bank   = 0x00000001
-> start    = 0x00000000
-> size     = 0x00000000
DRAM bank   = 0x00000002
-> start    = 0x00000000
-> size     = 0x00000000
DRAM bank   = 0x00000003
-> start    = 0x00000000
-> size     = 0x00000000
ethaddr     = 00:50:43:07:1a:b6
ip_addr     = 10.4.50.165
baudrate    = 115200 bps
TLB addr    = 0x1FFF0000
relocaddr   = 0x1FEFB000
reloc off   = 0x1FEFB000
irq_sp      = 0x1F9EAF08
sp start    = 0x1F9EAEF8
FB base     = 0x00000000
Marvell>> sf probe 0
SF: Detected M25P64 with page size 64 KiB, total 8 MiB
Marvell>> 
SF: Detected M25P64 with page size 64 KiB, total 8 MiB

Marvell>> boot
## Booting kernel from Legacy Image at f40d0000 ...
   Image Name:   Linux-3.2.101
   Created:      2022-04-25  20:09:01 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1844104 Bytes = 1.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at f43a0000 ...
   Image Name:   synology_armadaxp_ds214 42218
   Created:      2022-05-11  20:56:12 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3603751 Bytes = 3.4 MiB
   Load Address: 08000000
   Entry Point:  08000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.2.101 (root@build2) (gcc version 7.5.0 (GCC) ) #42218 SMP Tue Apr 26 04:08:12 CST 2022
[    0.000000] CPU: Marvell PJ4Bv7 Processor [562f5842] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine: Marvell Armada XP Development Board
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Reserving training memory: base=0x  (null) size=0x2800
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] SMP: init cpus
[    0.000000] PERCPU: Embedded 7 pages/cpu @80925000 s5280 r8192 d15200 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 ip=off initrd=0x8000040,8M root=/dev/md0 rw syno_hw_version=DS214v10 ihd_num=2 netif_num=1 flash_size=8
[    0.000000] Synology Hardware Version: DS214v10-j
[    0.000000] Internal HD num: 2
[    0.000000] Internal netif num: 1
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 506196k/506196k available, 18092k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xa0800000 - 0xfa800000   (1440 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x80471000   (4516 kB)
[    0.000000]       .init : 0x80471000 - 0x804a04a0   ( 190 kB)
[    0.000000]       .data : 0x804a2000 - 0x804c60e0   ( 145 kB)
[    0.000000]        .bss : 0x804c6104 - 0x8052028c   ( 361 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] NR_IRQS:211
[    0.000000] Initializing ArmadaXP SOC Timer 0
[    0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
[  165.400182] Calibrating delay loop... 1064.96 BogoMIPS (lpj=5324800)
[  165.490075] pid_max: default: 32768 minimum: 301
[  165.490231] Security Framework initialized
[  165.490262] AppArmor: AppArmor initialized
[  165.490333] Mount-cache hash table entries: 512
[  165.490903] CPU: Testing write buffer coherency: ok
[  165.491050] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[  165.491066] SMP: prepare CPUs (4 cores)
[  165.491287] Setting Clocks for secondary CPUs
[  165.492199] SMP: CPU 0 Waking up CPU 1
[  165.498315] CPU1: Booted secondary processor
[  165.530063] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[  165.530121] Brought up 2 CPUs
[  165.530137] SMP: Total of 2 processors activated (2129.92 BogoMIPS).
[  165.530898] devtmpfs: initialized
[  165.535223] NET: Registered protocol family 16
[  165.537938] L0 cache Enabled
[  165.537949] Speculative Prefetch Disabled
[  165.537975] Aurora L2 Cache Enabled
[  165.538197] Support IO coherency.
[  165.642233] 
[  165.642239]   Marvell Armada-XP Synology AXP 78230 2 bay Board -  Soc: MV78230 B0 LE
[  165.642261]   Detected Tclk 250000000, SysClk 533000000, FabricClk 533000000, PClk 1066000000
[  165.642271]   LSP version: linux-3.2.y-2013_Q1.2p2
[  165.642277] 
[  165.643815] Synology ArmadaXP 2-bay GPIO Init
[  165.644201] registered dev#0 asa ehci_marvell
[  165.644549] Marvell USB EHCI Host controller #0: 9f8aca00
[  165.644680] registered dev#1 asa ehci_marvell
[  165.645022] Marvell USB EHCI Host controller #1: 9f8ac800
[  165.645159] registered dev#2 asa mv_udc
[  165.645501] Marvell USB Gadget controller #2: 9f8ac600
[  165.653148] bio: create slab <bio-0> at 0
[  165.654084] SCSI subsystem initialized
[  165.655535] Switching to clocksource axp_clocksource
[  165.655874] AppArmor: AppArmor Filesystem Enabled
[  165.658080] NET: Registered protocol family 2
[  165.663498] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[  165.663775] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[  165.663932] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[  165.664066] TCP: Hash tables configured (established 16384 bind 16384)
[  165.664076] TCP reno registered
[  165.664086] UDP hash table entries: 256 (order: 1, 8192 bytes)
[  165.664106] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[  165.664262] NET: Registered protocol family 1
[  165.664457] Trying to unpack rootfs image as initramfs...
[  167.859649] rootfs image is not initramfs (no cpio magic); looks like an initrd
[  167.877370] Freeing initrd memory: 8192K
[  167.877450] PCI-E: Cheking physical bus #0 (controller #0): Enabled - Link UP
[  167.877680] PCI-E: Cheking physical bus #1 (controller #1): Enabled - No Link
[  167.877883] PCI-E: Cheking physical bus #2 (controller #2): Enabled - No Link
[  167.878084] PCI-E: Cheking physical bus #3 (controller #3): Enabled - No Link
[  167.879019] PCI: bus0: Fast back to back transfers disabled
[  167.879294] pci 0000:00:00.0: BAR 0: assigned [mem 0xf2000000-0xf2007fff 64bit]
[  167.879314] pci 0000:00:00.0: BAR 0: set to [mem 0xf2000000-0xf2007fff 64bit] (PCI address [0xf2000000-0xf2007fff])
[  167.879809] cesadev_init(80479d14)
[  167.880490] Armada XP hwmon thermal sensor initialized.
[  167.880603] ArmadaXP Power Managament Suspend Operations Initialized
[  167.880613] Initializing Armada-XP CPU power management  (WFI)
[  167.881367] audit: initializing netlink socket (disabled)
[  167.881402] type=2000 audit(2.470:1): initialized
[  167.881953] VFS: Disk quotas dquot_6.5.2
[  167.882041] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[  167.882636] msgmni has been set to 1004
[  167.883805] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[  167.883818] io scheduler noop registered
[  167.883869] io scheduler cfq registered (default)
[  167.884133] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[  167.955857] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 41) is a 16550A
[  168.517569] console [ttyS0] enabled
[  168.555788] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 42) is a 16550A
[  168.603017] brd: module loaded
[  168.606096] Loading iSCSI transport class v2.0-870.
[  168.612139] sata_mv sata_mv.0: cannot get clkdev
[  168.616868] sata_mv sata_mv.0: slots 32 ports 2
[  168.622845] scsi0 : sata_mv
[  168.626128] scsi1 : sata_mv
[  168.629284] ata1: SATA max UDMA/133 irq 55
[  168.633398] ata2: SATA max UDMA/133 irq 55
[  177.175581] ata1: link is slow to respond, please be patient (ready=0)
[  179.215595] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[  179.235848] ata1.00: ATA-7: SAMSUNG HD502IJ, 1AA01118, max UDMA7
[  179.241879] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[  179.265831] ata1.00: configured for UDMA/133
[  179.285684] scsi 0:0:0:0: Direct-Access     SAMSUNG  HD502IJ                  1AA0 PQ: 0 ANSI: 5
[  179.295169] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[  179.302909] sd 0:0:0:0: [sda] Write Protect is off
[  179.307835] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  179.538895]  sda: sda1 sda2 sda3 < sda5 >
[  179.544495] sd 0:0:0:0: [sda] Attached SCSI disk
[  179.645591] ata2: SATA link down (SStatus 0 SControl F300)
[  179.652260] physmap platform flash device: 00800000 at f0000000
[  179.661166] SPI Serial flash detected @ 0xf0000000, 8192KB (128sec x 64KB)
[  179.668091] Searching for RedBoot partition table in SYNOMTD-0 at offset 0x7f0000
[  179.714040] 6 RedBoot partitions found on MTD device SYNOMTD-0
[  179.719900] SYNOMTD flash bank 0: Using RedBoot partition definition
[  179.726285] Creating 6 MTD partitions on "SYNOMTD-0":
[  179.731357] 0x000000000000-0x0000000d0000 : "RedBoot"
[  179.737444] 0x0000000d0000-0x0000003a0000 : "zImage"
[  179.743396] 0x0000003a0000-0x0000007d0000 : "rd.gz"
[  179.749292] 0x0000007d0000-0x0000007e0000 : "vendor"
[  179.754360] vender Mac0 address : 00:11:32:24:07:8b
[  179.759269] vender Mac1 doesn't set ucSum:0x00 Buf:0x00 Sum:0.
[  179.765122] vender Mac2 doesn't set ucSum:0x00 Buf:0x00 Sum:0.
[  179.770980] vender Mac3 doesn't set ucSum:0x00 Buf:0x00 Sum:0.
[  179.776841] serial number='1370LSN007731'
[  179.781677] 0x0000007e0000-0x0000007f0000 : "RedBoot Config"
[  179.788544] 0x0000007f0000-0x000000800000 : "FIS directory"
[  179.795200] mv_eth_probe: port_mask=0xf, cpu_mask=0x3 
[  179.800616]   o 4 Giga ports supported
[  179.804377]   o SKB recycle supported (Enabled)
[  179.808932]   o NETA acceleration mode 2
[  179.812867]   o BM supported for CPU: 4 BM pools
[  179.817505]   o RX Queue support: 1 Queues * 128 Descriptors
[  179.823182]   o TX Queue support: 1 Queues * 532 Descriptors
[  179.828863]   o GSO supported
[  179.831838]   o GRO supported
[  179.834815]   o Receive checksum offload supported
[  179.839628]   o Transmit checksum offload supported
[  179.844521]   o Driver ERROR statistics enabled
[  179.849070] 
[  179.850787]   o Loading network interface(s)
[  179.855078] 
[  179.856584]   o Port 0 is connected to Linux netdevice
[  179.862179] 	giga p=0: mtu=1500, mac=9f835e44
[  179.870537]     o eth0, ifindex = 2, GbE port = 0
[  179.875086]     o eth0, phy chipid = 1410dd0, Support WOL = 32
[  179.881149] 
[  179.882651] 
[  179.882654]   o Warning: GbE port 1 is powered off
[  179.882658] 
[  179.890460] 
[  179.890462]   o Warning: GbE port 2 is powered off
[  179.890467] 
[  179.898263] 
[  179.900025] i2c /dev entries driver
[  179.904137] md: raid1 personality registered for level 1
[  179.909705] cpuidle: using governor ladder
[  179.914228] cpuidle: using governor menu
[  179.918347] TCP cubic registered
[  179.921589] NET: Registered protocol family 17
[  179.926080] Registering the dns_resolver key type
[  179.930882] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[  179.939173] registered taskstats version 1
[  179.943563] md: Waiting for all devices to be available before autodetect
[  179.950398] md: If you don't use raid, use raid=noautodetect
[  179.956703] md: Autodetecting RAID arrays.
[  180.009186] md: invalid raid superblock magic on sda5
[  180.014257] md: sda5 does not have a valid v0.90 superblock, not importing!
[  180.021273] md: Scanned 3 and added 2 devices.
[  180.025742] md: autorun ...
[  180.028546] md: considering sda1 ...
[  180.032152] md:  adding sda1 ...
[  180.035399] md: sda2 has different UUID to sda1
[  180.039965] md: created md0
[  180.042769] md: bind<sda1>
[  180.045528] md: running: <sda1>
[  180.048943] bio: create slab <bio-1> at 1
[  180.053107] md/raid1:md0: active with 1 out of 2 mirrors
[  180.095634] md0: detected capacity change from 0 to 2549940224
[  180.101606] md: considering sda2 ...
[  180.105214] md:  adding sda2 ...
[  180.109055] md: created md1
[  180.111860] md: bind<sda2>
[  180.114610] md: running: <sda2>
[  180.118119] md/raid1:md1: active with 1 out of 2 mirrors
[  180.155639] md1: detected capacity change from 0 to 2147418112
[  180.161604] md: ... autorun DONE.
[  180.165035] RAMDISK: lzma image found at block 0
[  182.502763] VFS: Mounted root (ext2 filesystem) on device 1:0.
START /linuxrc.syno
START /linuxrc.syno.impl
Insert basic USB modules...
:: Loading module usb-common ... [  OK  ]
:: Loading module usbcore[  182.737346] usbcore: registered new interface driver usbfs
[  182.751227] usbcore: registered new interface driver hub
[  182.767031] usbcore: registered new interface driver ethub
[  182.776178] usbcore: registered new device driver usb
 ... [  OK  ]
:: Loading module ehci-hcd[  182.828396] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[  182.835006] ehci_marvell ehci_marvell.0: Marvell Orion EHCI
[  182.840751] ehci_marvell ehci_marvell.0: new USB bus registered, assigned bus number 1
[  182.875617] ehci_marvell ehci_marvell.0: irq 45, io base 0xfbc50100
[  182.895578] ehci_marvell ehci_marvell.0: USB 2.0 started, EHCI 1.00
[  182.902844] hub 1-0:1.0: USB hub found
[  182.906641] hub 1-0:1.0: 1 port detected
[  182.912683] ehci_marvell ehci_marvell.1: Marvell Orion EHCI
[  182.918348] ehci_marvell ehci_marvell.1: new USB bus registered, assigned bus number 2
[  182.955673] ehci_marvell ehci_marvell.1: irq 46, io base 0xfbc51100
[  182.975622] ehci_marvell ehci_marvell.1: USB 2.0 started, EHCI 1.00
[  182.982930] hub 2-0:1.0: USB hub found
[  182.986791] hub 2-0:1.0: 1 port detected
 ... [  OK  ]
:: Loading module xhci-hcd ... [  OK  ]
[  183.124853] etxhci_hcd-161118 0000:00:00.0: Etron xHCI Host Controller
[  183.131546] etxhci_hcd-161118 0000:00:00.0: new USB bus registered, assigned bus number 3
[  183.148883] etxhci_hcd-161118 0000:00:00.0: Etron chip found.
[  183.156294] ethub 3-0:1.0: USB hub found
[  183.160251] ethub 3-0:1.0: 2 ports detected
[  183.166458] etxhci_hcd-161118 0000:00:00.0: Etron xHCI Host Controller
[  183.173047] etxhci_hcd-161118 0000:00:00.0: new USB bus registered, assigned bus number 4
[  183.195078] ethub 4-0:1.0: USB hub found
[  183.199069] ethub 4-0:1.0: 2 ports detected
Insert net driver(Mindspeed only)...
[  183.277473] ds214_synobios: module license 'Synology Inc.' taints kernel.
[  183.284296] Disabling lock debugging due to kernel taint
[  183.291373] synobios open /dev/ttyS1 success
[  183.296025] correction with 0x03
[  183.301155] 2022-6-17 17:7:6 UTC
[  183.304410] synobios: load, major number 201
[  183.308720] Brand: Synology
[  183.311523] Model: DS-214
[  183.314151] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[  183.322650] synobios cpu_arch proc entry initialized
[  183.327638] synobios crypto_hw proc entry initialized
[  183.332709] synobios syno_platform proc entry initialized
Starting /usr/syno/bin/synocfgen...
/usr/syno/bin/synocfgen returns 0
[  183.360544] Module [ds214_synobios] is removed. 
[  183.365273] synobios: unload
Partition Version=8
 /sbin/e2fsck exists, checking /dev/md0... 
e2fsck 1.44.1 (24-Mar-2018)
[  183.580760]  md0: unknown partition table
/sbin/e2fsck -yvf returns 0
Mounting /dev/md0 /tmpRoot
[  185.056991] EXT3-fs (md0): error: couldn't mount because of unsupported optional features (240)
[  185.066056] EXT2-fs (md0): error: couldn't mount because of unsupported optional features (240)
[  185.106009] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)
------------upgrade
Begin upgrade procedure
Mount data partition: /dev/md0 -> /tmpData
No upgrade file exists
End upgrade procedure
kill: can't kill pid 751: No such process
============upgrade
------------bootup-smallupdate
Try bootup smallupdate
UPGRADE_BOOTUP_SMALLUPDATE
No patch exist. Skip Packed Bootup SmallUpdate
Sparse files don't exist. Skip Sparse Bootup SmallUpdate
Finished synoupgrade --bootup-smallupdate
============bootup-smallupdate
Wait 2 seconds for synology manufactory device
Fri Jun 17 17:07:13 UTC 2022
/dev/md0 /tmpRoot ext4 rw,relatime,user_xattr,barrier=1,journal_checksum,data=ordered 0 0
kill: can't kill pid 336: No such process
root: Start backing up logs in junior mode
[  190.886940] EXT3-fs (md0): error: couldn't mount because of unsupported optional features (240)
[  190.896001] EXT2-fs (md0): error: couldn't mount because of unsupported optional features (240)
[  190.965959] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)
umount: /etc/mta[  191.280225] EXT3-fs (md0): error: couldn't mount because of unsupported optional features (240)
b: No such file or directory
linuxrc.syno executed successfully.
[  191.335949] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: barrier=1
[  191.343834] VFS: Mounted root (ext4 filesystem) on device 9:0.
[  191.349700] Trying to move old root to /initrd ... okay
[  191.355850] Freeing init memory: 188K
[  191.867474] systemd[1]: systemd 219 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK +SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[  191.885734] systemd[1]: Detected architecture arm.

Welcome to Linux!

[  191.897766] systemd[1]: Set hostname to <DS214>.
[  194.110985] systemd[1]: Cannot add dependency job for unit synoperfeventd.service, ignoring: Unit synoperfeventd.service is masked.
[  194.124144] systemd[1]: Cannot add dependency job for unit pkg-install-high-priority-builtin.service, ignoring: Unit pkg-install-high-priority-builtin.service failed to load: No such file or directory.
[  194.142272] systemd[1]: Cannot add dependency job for unit pkg-install-low-priority-builtin.service, ignoring: Unit pkg-install-low-priority-builtin.service failed to load: No such file or directory.
[  194.160423] systemd[1]: Cannot add dependency job for unit SynoLedBrightness.service, ignoring: Unit SynoLedBrightness.service is masked.
[  OK  [  194.180849] systemd[1]: Reached target Paths.
] Reached target[  194.186562] systemd[1]: Starting Paths.
 Paths.
[  194.191930] systemd[1]: Reached target Swap.
[  OK  [  194.196879] systemd[1]: Starting Swap.
] Reached target[  194.202254] systemd[1]: Created slice Root Slice.
 Swap.
[  [  194.208141] systemd[1]: Starting Root Slice.
OK  ] Create[  194.214087] systemd[1]: Created slice BTRFS Space Reclaim.
d slice Root Sli[  194.220704] systemd[1]: Starting BTRFS Space Reclaim.
ce.
[  OK [  194.227456] systemd[1]: Created slice Shared Folder Sync.
 ] Created s[  194.233967] systemd[1]: Starting Shared Folder Sync.
lice BTRFS Space[  194.240638] systemd[1]: Created slice USBCopy's slice.
 Reclaim.
[  194.246899] systemd[1]: Starting USBCopy's slice.
m  OK  ] Cre[  194.253282] systemd[1]: Created slice SMBService's slice.
ated slice Share[  194.259824] systemd[1]: Starting SMBService's slice.
d Folder Sync.
[  194.266481] systemd[1]: Created slice Synology Index slice (WAT).
[  OK  [  194.273690] systemd[1]: Starting Synology Index slice (WAT).
] Created slice [  194.281063] systemd[1]: Created slice Synology Flashcache.
USBCopy's slice.[  194.287663] systemd[1]: Starting Synology Flashcache.

[  OK    194.294402] systemd[1]: Created slice dsm6-ui-compatible's slice.
0m] Created slic[  194.301629] systemd[1]: Starting dsm6-ui-compatible's slice.
e SMBService's s[  194.309041] systemd[1]: Created slice System Slice.
lice.
[  O[  194.315031] systemd[1]: Starting System Slice.
K  ] Created[  194.321266] systemd[1]: Created slice system-serial\x2dgetty.slice.
 slice Synology [  194.328519] systemd[1]: Starting system-serial\x2dgetty.slice.
Index slice (WAT[  194.336169] systemd[1]: Created slice system-syno\x2dmd\x2dresync\x2dspeed\x2dadjust.slice.
).
[  OK  [  194.345523] systemd[1]: Starting system-syno\x2dmd\x2dresync\x2dspeed\x2dadjust.slice.
] Created sl[  194.355254] systemd[1]: Created slice User and Session Slice.
ice Synology Fla[  194.362030] systemd[1]: Starting User and Session Slice.
shcache.
[[  194.369026] systemd[1]: Created slice scemd.
  OK  ] Crea[  194.374410] systemd[1]: Starting scemd.
ted slice dsm6-u[  194.379944] systemd[1]: Created slice Synology Swap Works.
i-compatible's s[  194.386563] systemd[1]: Starting Synology Swap Works.
lice.
[  O[  194.393246] systemd[1]: Listening on udev Control Socket.
K  ] Created[  194.399833] systemd[1]: Starting udev Control Socket.
 slice System Sl[  194.406579] systemd[1]: Created slice SynoFinder's slice.
ice.
[  OK[  194.413089] systemd[1]: Starting SynoFinder's slice.
  ] Created [  194.419751] systemd[1]: Created slice SNMP.
slice system-ser[  194.425051] systemd[1]: Starting SNMP.
ial\x2dgetty.sli[  194.430516] systemd[1]: Created slice Synology DSM internal service.
ce.
[  OK [  194.437993] systemd[1]: Starting Synology DSM internal service.
 ] Created s[  194.445379] systemd[1]: Reached target Slices.
lice system-syno[  194.451312] systemd[1]: Starting Slices.
\x2dmd\x2dresync[  194.456786] systemd[1]: Created slice ActiveInsight's slice.
\x2dspeed\x2dadj[  194.463554] systemd[1]: Starting ActiveInsight's slice.
ust.slice.
[  194.470483] systemd[1]: Created slice Task Scheduler Group.
2m  OK  ] Cr[  194.477185] systemd[1]: Starting Task Scheduler Group.
eated slice User[  194.484019] systemd[1]: Created slice Package Center Slice.
 and Session Sli[  194.490710] systemd[1]: Starting Package Center Slice.
ce.
[  OK [  194.497546] systemd[1]: Created slice FileStation's slice.
 ] Created s[  194.504146] systemd[1]: Starting FileStation's slice.
lice scemd.
[  194.510904] systemd[1]: Created slice BTRFS Optimization.
32m  OK  ] C[  194.517440] systemd[1]: Starting BTRFS Optimization.
reated slice Syn[  194.524083] systemd[1]: Created slice OAuthService's slice.
ology Swap Works[  194.530780] systemd[1]: Starting OAuthService's slice.
.
[  OK   194.537700] systemd[1]: Created slice ScsiTarget's slice.
[0m] Listening o[  194.544130] systemd[1]: Starting ScsiTarget's slice.
n udev Control S[  194.550810] systemd[1]: Created slice synobackup daemon slice.
ocket.
[  [  194.557762] systemd[1]: Starting synobackup daemon slice.
OK  ] Create[  194.564848] systemd[1]: Created slice SecureSignIn's slice.
d slice SynoFind[  194.571549] systemd[1]: Starting SecureSignIn's slice.
er's slice.
[  194.578389] systemd[1]: Created slice Synology Cache Advisor.
32m  OK  ] C[  194.585245] systemd[1]: Starting Synology Cache Advisor.
reated slice SNM[  194.592265] systemd[1]: Created slice Synology DSM desktop service.
P.
[  OK  [  194.599663] systemd[1]: Starting Synology DSM desktop service.
] Created sl[  194.607062] systemd[1]: Listening on udev Kernel Socket.
ice Synology DSM[  194.613614] systemd[1]: Starting udev Kernel Socket.
 internal servic[  194.620282] systemd[1]: Created slice SSDP service.
e.
[  OK  [  194.626288] systemd[1]: Starting SSDP service.
] Reached ta[  194.632421] systemd[1]: Created slice Python2's slice.
rget Slices.
[ 194.638685] systemd[1]: Starting Python2's slice.
[32m  OK  ] [  194.645079] systemd[1]: Created slice RAID Resync Process. Including Resync, Repair and Reshape..
Created slice Ac[  194.655085] systemd[1]: Starting RAID Resync Process. Including Resync, Repair and Reshape..
tiveInsight's sl[  194.665279] systemd[1]: Listening on Journal Audit Socket.
ice.
[  OK[  194.671841] systemd[1]: Starting Journal Audit Socket.
  ] Created [  194.678702] systemd[1]: Listening on Journal Socket.
slice Task Sched[  194.684825] systemd[1]: Starting Journal Socket.
uler Group.
[  OK  ] Created slice Package Center Slice.
[  OK  ] Created slice FileStation's slice.
[  OK  ] Created slice BTRFS Optimization.
[  OK  ] Created slice OAuthService's slice.
[  OK  ] Created slice ScsiTarget's slice.
[  OK  ] Created slice synobackup daemon slice.
[  OK  ] Created slice SecureSignIn's slice.
[  OK  ] Created slice Synology Cache Advisor.
[  OK  ] Created slice Synology DSM desktop service.
[  OK  [  194.735964] systemd[1]: Starting Set hostname...
] Listening on udev Kernel Socket.
[  OK  ] Created slice SSDP service.
[  OK  ] Created slice Python2's slice.
[  OK  ] Created slice RAID Resync Process. ...ing Resync, Repair and Reshape..
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket.
         Starting Set hostname...
[  194.836000] systemd[1]: Starting Set boot sequence config...
         Starting Set boot sequence config...
[  194.975953] systemd[1]: Starting Synology swap...
         Starting Synology swap...
[  195.116029] systemd[1]: Starting unbind USB device...
         Starting unbind USB device...
[  195.296001] systemd[1]: Starting check integrity of rd.gz decompression...
         Starting check integrity of rd.gz decompression...
[  195.446162] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[  195.535995] systemd[1]: Starting Journal Socket (/dev/log).
[  195.656027] systemd[1]: Starting Load ntb_brd module...
         [  195.661678] systemd[1]: tmp.mount: Directory /tmp to mount over is not empty, mounting anyway.
Starting Load ntb_brd module...
[  195.731540]  md1: unknown partition table
[  195.747852] mvCesaInit: channels=2, session=640, queue=64
[  195.805809] systemd[1]: Mounting Temporary Directory...
         Mounting Temporary Directory...
[  195.856071] systemd[1]: Starting Link coredump path to volume if possible...
         Starting Link coredump path to volume if possible...
[  195.886130] systemd[1]: Starting Synology Task Scheduler Init...
         [  195.892697] systemd[1]: Mounted Debug File System.
Starting Synology Task Scheduler Init...
[  196.145147] NET: Registered protocol family 10
[  196.166072] systemd[1]: Starting Mount usb fs...
         Starting Mount usb fs...
[  196.196388] IPv6 over IPv4 tunneling driver
[  196.260241] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[  196.288931] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  196.296009] systemd[1]: Starting Disabling fan checking flag ......
         Starting Disabling fan checking flag ......
[  196.313903] Initializing USB Mass Storage driver...
[  196.319068] usbcore: registered new interface driver usb-storage
[  196.325097] USB Mass Storage support registered.
[  196.335405] usbcore: registered new interface driver usblp
[  196.362527] usbcore: registered new interface driver usbhid
[  196.368160] usbhid: USB HID core driver
[  196.416038] systemd[1]: Starting Set time zone information to kernel...
         Starting Set time zone information to kernel...
[  196.461727] Adding 2097084k swap on /dev/md1.  Priority:-1 extents:1 across:2097084k 
[  OK  [  196.486487] systemd[1]: Created slice Synology DSM Storage Service.
] Created slice [  196.494173] systemd[1]: Starting Synology DSM Storage Service.
Synology DSM Sto[  196.502146] systemd[1]: Reached target Timers.
rage Service.
[[  196.507234] systemd[1]: Starting Timers.
  OK  ] Reached target [  196.515172] systemd[1]: Mounted Temporary Directory.
Timers.
[  OK  ] Mounted Temporary Directory.
[  OK  ][  196.615991] systemd[1]: Started Set hostname.
 Started Set hostname.
[  OK  [  196.705732] systemd[1]: Started Set boot sequence config.
] Started Set boot sequence config.
[  OK  [  196.775732] systemd[1]: Started Synology swap.
] Started Synology swap.
[  OK  [  196.806009] systemd[1]: Started unbind USB device.
] Started unbind USB device.
[  OK  [  196.855726] systemd[1]: Started check integrity of rd.gz decompression.
] Started check integrity of rd.gz decompression.
[  OK  [  196.935737] systemd[1]: Started Load Kernel Modules.
] Started Load K[  196.942615] systemd[1]: Listening on Journal Socket (/dev/log).
ernel Modules.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  [  197.015730] systemd[1]: Started Load ntb_brd module.
] Started Load ntb_brd module.
[  OK  [  197.085734] systemd[1]: Started Link coredump path to volume if possible.
] Started Link coredump path to volume if possible.
[  OK  [  197.155764] systemd[1]: Started Synology Task Scheduler Init.
] Started Synology Task Scheduler Init.
[  OK  [  197.255732] systemd[1]: Started Mount usb fs.
] Started Mount usb fs.
[  OK  [  197.345725] systemd[1]: Started Disabling fan checking flag ....
] Started Disabling fan checking flag ....
[  OK  [  197.425735] systemd[1]: Started Set time zone information to kernel.
] Started Set time zone information to kernel.
[  197.436501] systemd[1]: Reached target Sockets.
[  OK  [  197.442200] systemd[1]: Starting Sockets.
] Reached target Sockets.
[  197.466043] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[  197.565976] systemd[1]: Starting Load Fan Modules in Kernel Project...
         Starting Load Fan Modules in Kernel Project...
[  197.696031] systemd[1]: Starting Load Kernel Modules in Kernel Project...
         Starting Load Kernel Modules in Kernel Project...
[  197.766110] systemd-journald[1411]: Flushing /proc/kmsg...
[  197.846031] systemd[1]: Starting Apply etc.defaults/sysctl.conf kernel variable....
         [  197.853957] systemd[1]: Mounted FUSE Control File System.
Starting Apply etc.defaults/sysctl.conf kernel variable....
[  197.873735] synobios open /dev/ttyS1 success
[  197.878343] correction with 0x03
[  197.883416] 2022-6-17 17:7:21 UTC
[  197.886764] synobios: load, major number 201
[  197.891057] Brand: Synology
[  197.893862] Model: DS-214
[  197.896504] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[  197.904989] synobios cpu_arch proc entry initialized
[  197.909979] synobios crypto_hw proc entry initialized
[  197.915051] synobios syno_platform proc entry initialized
[  197.985883] systemd[1]: Mounting Configuration File System...
         Mounting Configuration File System...
[  198.046045] systemd[1]: Starting Adjust NIC sequence...
         Startin[  198.051580] systemd[1]: Reached target Local File Systems.
g Adjust NIC seq[  198.058427] systemd[1]: Starting Local File Systems.
uence...
[  OK  ] Reached target Local File Systems.
[  198.275924] systemd[1]: Starting D-Bus System Message Bus...
         Starting D-Bus System Message Bus...
[  198.336051] systemd[1]: Starting Set boot sequence config for temporary use...
         Starting Set boot sequence config for temporary use...
[  198.555847] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[  198.715850] systemd[1]: Starting D-Bus Session Message Bus...
         Starting D-Bus Session Message Bus...
[  OK  [  198.803288] systemd[1]: Mounted Configuration File System.
] Mounted Config[  198.810638] systemd[1]: Started Journal Service.
uration File System.
[  OK  ] Started Journal Service.
[  OK  ] Started Load Fan Modules in Kernel Project.
[  OK  ] Started Load Kernel Modules in Kernel Project.
[  OK  ] Started Apply etc.defaults/sysctl.conf kernel variable..
[  OK  ] Started Adjust NIC sequence.
[  OK  ] Started Set boot sequence config for temporary use.
[  OK  ] Started D-Bus Session Message Bus.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started D-Bus System Message Bus.
         Starting Apply etc/sysctl.conf kernel variable....
         Starting Software Init Led for support led v2 models...
         Starting Flush Journal to Persistent Storage...
         Starting System Logger Daemon...
[  OK  ] Started Apply etc/sysctl.conf kernel variable..
[  OK  ] Started Software Init Led for support led v2 models.
         Starting Apply Kernel Variables...
[  200.978054] systemd-journald[1411]: Received request to flush runtime journal from PID 1
[  OK  ] Started Apply Kernel Variables.
         Starting Apply kernel variable vm.min-free-kbytes...
         Starting Apply kernel variable kernel.sem at least 512...
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Apply kernel variable vm.min-free-kbytes.
[  OK  ] Started Apply kernel variable kernel.sem at least 512.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target Create SDK locks directory.
         Starting Check Synology group info consistency...
         Starting Check /etc/synoinfo.conf...
         Starting DSM Release Rolling Group ID...
         Starting Check Synology user info consistency...
         Starting synodsmnotify...
[  OK  ] Started Check /etc/synoinfo.conf.
[  OK  ] Started DSM Release Rolling Group ID.
[  OK  ] Started synodsmnotify.
[  OK  ] Started Check Synology group info consistency.
[  OK  ] Started Check Synology user info consistency.
[  OK  ] Reached target User and Group Name Lookups.
         Starting move domain or ldap user p...der to domain or ldap folder....
         Starting Prepare notification cache data...
[  OK  ] Reached target Synology local user and group ready.
[  OK  ] Started move domain or ldap user pr...older to domain or ldap folder..
[  OK  ] Started Prepare notification cache data.
[  OK  ] Started System Logger Daemon.
         Starting Synology Log bootup start...
         Starting synodrnode...
[DEPEND] Dependency failed for rebuild local user and group db.
[  OK  ] Reached target Synology root filesystem (rw) ready.
         Starting Synology Default TLS Profile...
         Starting Umount initrd...
         Starting DSM Boot Health Check...
[  OK  ] Reached target Network (Pre).
         Starting Set arp ignore...
         Starting Synology Network Daemon...
         Starting syno-cgi-keygen.service...
         Starting Load AppArmor profiles...
         Starting Clean UPS config...
         Starting Set Eunit Sequence...
         Starting DSM Installation ID...
         Starting Synology check locale...
[  OK  ] Started Synology Log bootup start.
[  OK  ] Started synodrnode.
[  OK  ] Started Synology Default TLS Profile.
[  OK  ] Started Umount initrd.
[  OK  ] Started DSM Boot Health Check.
[  OK  ] Started Set arp ignore.
[  OK  ] Started Synology Network Daemon.
[  OK  ] Started syno-cgi-keygen.service.
[  OK  ] Started Clean UPS config.
[  OK  ] Started Set Eunit Sequence.
[  OK  ] Started Load AppArmor profiles.
[  OK  ] Started DSM Installation ID.
[  OK  ] Started Synology check locale.
         Starting udev Kernel Device Manager...
         Starting Wait for Synology Network to be Configured...
         Starting rc.network...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Reached target System Initialization.
         Starting bootup upgrade sha package...
[  OK  ] Started Serial Getty on ttyS0.
         Starting Serial Getty on ttyS0...
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Synology token manager.
         Starting Synology token manager...
[  OK  ] Started Synology task manager.
         Starting Synology task manager...
[  OK  ] Found device /dev/mtd0.
[  OK  ] Reached target Synology mtd0 device done.
[  OK  ] Started bootup upgrade sha package.
[  OK  ] Reached target Basic System.
[  OK  ] Started synobackup daemon.
         Starting synobackup daemon...
         Starting Prepare snmp configs...
         Starting always preprocess jobs before any package is started...
         Starting Login Service...
         Starting synoconfd daemon...
         Starting Write back disk latency to DB...
         Starting Synology filesytem check on bootup...
         Starting Hibernation debug check...
         Starting Synology Event Task Scheduler Init...
         Starting synoindex check if there a...ny synoindex-related packages...
         Starting WD idle3 timer...
         Starting Synology firmware DLMC...
         Starting Synology log notification service...
[  OK  ] Started Synology log accounting service.
         Starting Synology log accounting service...
         Starting Prepare SSDP configs...
         Starting Samba Environment Setup Unit...
         Starting Control RC power...
         Starting Synology Schedule Daemon...
         Starting Log Rotate Daemon...
         Starting System Profile Tuning...
[  OK  ] Started Prepare snmp configs.
[  OK  ] Started synoconfd daemon.
[  OK  ] Started Write back disk latency to DB.
[  OK  ] Started Synology filesytem check on bootup.
[  OK  ] Started Hibernation debug check.
[  OK  ] Started Synology Event Task Scheduler Init.
[FAILED] Failed to start synoindex check if ... any synoindex-related packages.
See "systemctl status synoindex-checkpackage.service" for details.
[DEPEND] Dependency failed for synoindex mediad.
[DEPEND] Dependency failed for synoindex workerd.
[DEPEND] Dependency failed for synomkthumbd.
[DEPEND] Dependency failed for synomkflvd.
[DEPEND] Dependency failed for synoindex notifyd.
[DEPEND] Dependency failed for synoindex scand.
[DEPEND] Dependency failed for synoindexd.
[DEPEND] Dependency failed for synoindex plugind.
[  OK  ] Started WD idle3 timer.
[  OK  ] Started Synology firmware DLMC.
[  OK  ] Started Prepare SSDP configs.
[  OK  ] Started Control RC power.
[  OK  ] Started Synology Schedule Daemon.
[  OK  ] Started Log Rotate Daemon.
[  OK  ] Started System Profile Tuning.
[  214.498502] eth0: mac address changed

DS214 login: [  215.528788] pool #0: pkt_size=1536, buf_size=1632 - 2048 of 2048 buffers added
[  215.540336] pool #2: pkt_size=256, buf_size=352 - 3072 of 3072 buffers added
[  215.547496] eth0: link up
[  215.550159] eth0: started
[  217.490603] md: md2 stopped.
[  217.560932] md: bind<sda5>
[  217.586610] md/raid1:md2: active with 1 out of 1 mirrors
[  217.615724] md2: detected capacity change from 0 to 495160786944
[  217.721162]  md2: unknown partition table
[  228.678595] EXT4-fs (dm-1): barriers disabled
[  228.954738] EXT4-fs (dm-1): mounted filesystem with writeback data mode. Opts: usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,synoacl,oldalloc
[  238.075936] loop: module loaded
[  238.460528] Synotify use 16384 event queue size
[  238.645803] Synotify use 16384 event queue size
[  240.557732] warning: `nginx' uses 32-bit capabilities (legacy support in use)
[  240.965672] ata1.00: configured for UDMA/133
[  240.969975] ata1: EH complete
[  249.745737] iSCSI: init_io_buffer_head(833) LUN-backup: 512 buffers allocated, total 2097152 bytes successfully
[  250.176060] iSCSI: target_core_get_fabric() failed for vhost
[  255.932312] 8021q: 802.1Q VLAN Support v1.8
[  256.395946] findhostd uses obsolete (PF_INET,SOCK_PACKET)
[  258.977937] :eth0: link up, full duplex, speed 1 Gbps
[  267.572316] fuse init (API version 7.22)

DS214 login:


The DS214 is fully operational at this point. I tried to upgrade and downgrade in the hope that "something" will be fixed "somewhere" by this manufacturers process but it did not help. I see that other zImage and rd.bin files are on the flash. So this is written by the firmware change process. But the DS214 does not start without a nudge by kwboot.

This raises the question, how the boot process works that starts uboot. Maybe something is misaligned there.

Do you have a hint where I can dig deeper?

Best
Jan
Re: How to fix a semi-bricked Synology DS214?
June 17, 2022 03:45PM
Jan,

What you see is the 2-stage boot, used on these Marvell Armada XP (and 37x, 38x) SoC boxes.

Quote

boot, blue lights blinking. No serial output. Simply bricked.

It means that the 1st stage (SPL) image is corrupted.

When you kwboot with stock u-boot image and see the SPL is running

Quote

Sending boot image...
Booting from SPI flash
High speed PHY - Version: 2.1.2 (COM-PHY-V20)
Update PEX Device ID 0x78230
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 4.5.0
DDR3 Training Sequence - Ended Successfully
Status = MV_OK

That confirmed the problem is with SPL.

And then u-boot (2nd stage started).

Quote

U-Boot 2011.12-SYNO-add48c3-2013-07-18 (Jul 18 2013 - 16:52:24) Marvell version: v2011.12 2013_Q1.2

Board: Synology AXP 78230 2-bay
SoC: MV78230 B0

At this point, whether this u-boot is on the kwboot payload, or was from SPI flash, we need to examine closer. If you had a serial bootlog for stock u-boot saved somewhere, or can find it, it will be clear which one is running (see the Wiki threads I mentioned below).

If u-boot was load from SPI flash then it means only SPL was corrupted, if it is from the payload then u-boot was also corrupted. I'd say most likely the SPL and u-boot image on SPI flash were both corrupted. But I'm not sure yet without looking closely.


The image uboot_DS214v10.bin could have been either built for UART booting only, or it could have been flash-ready. You could try flash to SPI, and if uboot_DS214v10.bin is only built for UART, then it will not boot.

The easiest way to fix this is to find a stock mtd0 dump for this box, and then flash it while in stock OS shell. If you can not find such image, then you have to find the SPL image and u-boot image that were built for this box (or other Armada XP boxes), and use those to flash (they are to be flashed individually).

Look at the Wiki threads to see how we unbricked the DS414, which is basically the same as this DS214. There might be a way to flash Synology Rescue FW (I can't recall the details):

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

Quote

Unbricking with Serial Console & JTAG console


Unbricking Synology Diskstation DS414 - See also the working thread for this unbricking session

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: How to fix a semi-bricked Synology DS214?
June 18, 2022 01:25PM
Bodhi,

when starting kwboot with Synology's stock uboot, nearly instantly after the string "sending boot image" the string "Booting from SPI flash" shows up. In comparison, when using the UART kwboot it looks like this

jh@i6600:~/syno$ sudo kwboot  -t -a -p -B 115200 -b u-boot-spl-2019.10-tld-1.ds414.kwb /dev/ttyUSB0
[sudo] password for jh: 
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [...
U-Boot SPL 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)
High speed PHY - Version: 2.1.5 (COM-PHY-V20)
PEX0: change width to X1
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 5.7.4
DDR3 Training Sequence - Ended Successfully
...................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 18 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 34 % [......................................................................]
 36 % [......................................................................]

The second stage also loads very fast. This is definitely not loaded over the serial but from flash. This stock uboot sits in the partition mtd0, starting right at offset 0. When comparing the contents of the flash with the file, both are identical. This uboot file uboot_DS214v10.bin from Synology did not change since the first software version in 2013. It seems, they never touched it in between. But in this case, when copying this file to mtd0, all should be fine, shouldn't it? Why does the SPL not kick in? I learned from searching the web: Power-on-Reset -> ROM -> SPL -> uboot -> Kernel/Ramdisk -> Boot. I will try to get a copy of mtd0 from a running DS214 and will push this topic back until then.

But, as I like to play with new toys, I tried to set up debian as described by bignellrp in his fix thread. Besides from having fun doing this, it might provide a proven and possibly better method of copying files onto flash. Unfortunately, the kernel crashes. It seems that the USB stick ist not detected.

Probably because of I used this as I did not find a specific file for the DS214.

cat dts/armada-xp-synology-ds414.dtb >> zImage.fdt

What do you think? Here is the log

BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2011.12-SYNO-add48c3-2013-07-18 (Jul 18 2013 - 16:52:24) Marvell version: v2011.12 2013_Q1.2

Board: Synology AXP 78230 2-bay
SoC:   MV78230 B0
       running 2 CPUs
       Custom configuration
CPU:   Marvell PJ4B (584) v7 (Rev 2) LE
       CPU 0
       CPU    @ 1066 [MHz]
       L2     @ 533 [MHz]
       TClock @ 250 [MHz]
       DDR    @ 533 [MHz]
       DDR 32Bit Width, FastPath Memory Access
       DDR ECC Disabled
DRAM:  512 MiB

Map:   Code:		0x1fefb000:0x1ff9f4ec
       BSS:		0x1ffef33c
       Stack:		0x1f9eaef8
       Heap:		0x1f9eb000:0x1fefb000

MMC:   MRVL_MMC: 0
SF: Detected M25P64 with page size 64 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

PEX 0.0(0): Root Complex Interface, Detected Link X1, GEN 2.0
PEX 0.1(1): Detected No Link.
PEX 0.2(2): Detected No Link.
PEX 0.3(3): Detected No Link.
FPU initialized to Run Fast Mode.
USB 0: Host Mode
USB 1: Host Mode
USB 2: Device Mode
Modules Detected:

Synology Model: DS214
Fan Status: Not Good
Fan 1: Not Good

Net:   egiga0 [PRIME]
Press Ctrl+C to abort autoboot in 3 second
Marvell>> usb reset
(Re)start USB...
USB:   Active port:	0
Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Marvell>> setenv usbActive 1
usb reset
(Re)start USB...
USB:   Active port:	1
Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Marvell>> 
Marvell>> setenv bootargs 'console=ttyS0,115200 root=/dev/sda1 rootdelay=3 raid=noautodetect mtdparts=spi0.0:0x000d0000(u-boot),0x002d0000(zimage),0x00430000(rd),0x00010000(vendor),0x00010000(u-boot-envs),0x00010000(fis) earlyprintk=serial'
Marvell>> printenv
CASset=min
MALLOC_len=5
MPmode=smp
amp_enable=no
autoload=no
baudrate=115200
boot_order=hd_scr hd_img pxe net_img net_scr
bootargs=console=ttyS0,115200 root=/dev/sda1 rootdelay=3 raid=noautodetect mtdparts=spi0.0:0x000d0000(u-boot),0x002d0000(zimage),0x00430000(rd),0x00010000(vendor),0x00010000(u-boot-envs),0x00010000(fis) earlyprintk=serial
bootargs_dflt=$console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:DSMP:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=bootm 0xf40d0000 0xf43a0000
bootcmd_auto=stage_boot $boot_order
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootdelay=3
cacheShare=no
console=console=ttyS0,115200
device_partition=0:1
disL2Cache=yes
disL2Prefetch=yes
disaMvPnp=no
eeeEnable=no
enaAutoRecovery=yes
enaClockGating=no
enaCpuStream=no
enaDCPref=yes
enaFPU=yes
enaICPref=yes
enaLPAE=no
enaWrAllo=no
eth1addr=00:50:43:13:4a:a2
eth1mtu=1500
eth2addr=00:50:43:4a:a2:2c
eth2mtu=1500
eth3addr=00:50:43:a2:2c:13
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:2c:13:4a
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=10.4.50.165
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
loadaddr=0x02000000
loads_echo=0
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:a2:4a:2c
netbsd_en=no
netmask=255.255.255.0
netretry=no
pcieTune=no
pexMode=rc
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rcvrip=169.254.100.100
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=10.4.50.5
setL2CacheWT=no
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usb1Mode=host
usb2Mode=device
usbActive=1
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 2330/65532 bytes
Marvell>> ext2load usb 0:1 2000000 boot/uImage
Loading file "boot/uImage" from usb device 0:1 (usbda1)
5235405 bytes read
Marvell>> bootm 0x2000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2022-06-18  15:42:23 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5235341 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 SMP PREEMPT Sat Aug 7 14:58:41 PDT 2021
[    0.000000][    T0] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: div instructions available: patching division code
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS414
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0]   HighMem  empty
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s54668 r8192 d23156 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=3 raid=noautodetect mtdparts=spi0.0:0x000d0000(u-boot),0x002d0000(zimage),0x00430000(rd),0x00010000(vendor),0x00010000(u-boot-envs),0x00010000(fis) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 501312K/524288K available (11264K kernel code, 1483K rwdata, 3112K rodata, 1024K init, 325K bss, 22976K reserved, 0K cma-reserved, 0K highmem)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x404/0x78c with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0] 	Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0] 	Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x1a696b10 -> 0x1a696b12
[    0.000000][    T0] Aurora cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a696b12
[    0.000000][    T0] Switching to timer-based delay loop, resolution 40ns
[    0.000001][    T0] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.008499][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.020862][    T0] Console: colour dummy device 80x30
[    0.026014][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.037052][    T0] pid_max: default: 32768 minimum: 301
[    0.042528][    T0] LSM: Security Framework initializing
[    0.047891][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.055885][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.065162][    T0] CPU: Testing write buffer coherency: ok
[    0.070983][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.078427][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.085623][    T1] mvebu-soc-id: MVEBU SoC ID=0x7823, Rev=0x2
[    0.091575][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.098599][    T1] rcu: Hierarchical SRCU implementation.
[    0.105000][    T1] smp: Bringing up secondary CPUs ...
[    0.111030][    T1] Booting CPU 1
[    0.114755][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.124865][    T1] smp: Brought up 1 node, 2 CPUs
[    0.136015][    T1] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.142969][    T1] CPU: All CPU(s) started in SVC mode.
[    0.148826][    T1] devtmpfs: initialized
[    0.158002][    T1] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.166656][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.166933][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.183820][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.218445][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.225606][    T1] prandom: seed boundary self test passed
[    0.234078][    T1] prandom: 100 self tests passed
[    0.238852][    T1] pinctrl core: initialized pinctrl subsystem
[    0.246915][    T1] NET: Registered protocol family 16
[    0.252600][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.261223][    T1] audit: initializing netlink subsys (disabled)
[    0.267514][   T36] audit: type=2000 audit(0.240:1): state=initialized audit_enabled=0 res=1
[    0.270108][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.276528][    T1] cpuidle: using governor ladder
[    0.288046][    T1] cpuidle: using governor menu
[    0.292931][   T14] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.302637][   T14] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.309315][   T15] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.550512][    T1] raid6: int32x8  gen()   191 MB/s
[    0.720183][    T1] raid6: int32x8  xor()   121 MB/s
[    0.890150][    T1] raid6: int32x4  gen()   196 MB/s
[    1.060114][    T1] raid6: int32x4  xor()   134 MB/s
[    1.230179][    T1] raid6: int32x2  gen()   361 MB/s
[    1.400098][    T1] raid6: int32x2  xor()   197 MB/s
[    1.570129][    T1] raid6: int32x1  gen()   317 MB/s
[    1.740066][    T1] raid6: int32x1  xor()   162 MB/s
[    1.745015][    T1] raid6: using algorithm int32x2 gen() 361 MB/s
[    1.751097][    T1] raid6: .... xor() 197 MB/s, rmw enabled
[    1.756648][    T1] raid6: using intx1 recovery algorithm
[    1.762828][    T1] vgaarb: loaded
[    1.766781][    T1] SCSI subsystem initialized
[    1.771787][    T1] usbcore: registered new interface driver usbfs
[    1.778010][    T1] usbcore: registered new interface driver hub
[    1.784088][    T1] usbcore: registered new device driver usb
[    1.790163][    T1] mc: Linux media interface: v0.10
[    1.795159][    T1] videodev: Linux video capture interface: v2.00
[    1.801495][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.807136][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.816988][    T1] PTP clock support registered
[    1.823927][    T1] clocksource: Switched to clocksource armada_370_xp_clocksource
[    1.889189][    T1] VFS: Disk quotas dquot_6.6.0
[    1.893896][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.916417][    T1] NET: Registered protocol family 2
[    1.921611][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.930561][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.939752][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.948356][    T1] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.956367][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    1.963584][    T1] MPTCP token hash table entries: 512 (order: 1, 8192 bytes, linear)
[    1.971623][    T1] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.978874][    T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.986757][    T1] NET: Registered protocol family 1
[    2.004545][    T1] RPC: Registered named UNIX socket transport module.
[    2.011140][    T1] RPC: Registered udp transport module.
[    2.016572][    T1] RPC: Registered tcp transport module.
[    2.021953][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.029080][    T1] PCI: CLS 0 bytes, default 64
[    2.033894][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.041426][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.980326][    T1] Initialise system trusted keyrings
[    2.985537][    T1] Key type blacklist registered
[    2.990732][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    2.998236][    T1] zbud: loaded
[    3.002735][    T1] NFS: Registering the id_resolver key type
[    3.008557][    T1] Key type id_resolver registered
[    3.013420][    T1] Key type id_legacy registered
[    3.018203][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.025656][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.033718][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.123259][    T1] xor: measuring software checksum speed
[    3.137890][    T1]    arm4regs        :  1079 MB/sec
[    3.157551][    T1]    8regs           :   674 MB/sec
[    3.172850][    T1]    32regs          :   959 MB/sec
[    3.177896][    T1] xor: using function: arm4regs (1079 MB/sec)
[    3.183803][    T1] async_tx: api initialized (async)
[    3.188854][    T1] Key type asymmetric registered
[    3.193628][    T1] Asymmetric key parser 'x509' registered
[    3.199344][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    3.207526][    T1] io scheduler bfq registered
[    3.215758][    T1] armada-xp-pinctrl f1018000.pin-ctrl: registered pinctrl driver
[    3.224730][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    3.234358][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    3.244225][    T1] mvebu-pcie soc:pcie@82000000: host bridge /soc/pcie@82000000 ranges:
[    3.252354][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    3.261595][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    3.270836][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0x00f1048000..0x00f1049fff -> 0x0000048000
[    3.280065][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0x00f104c000..0x00f104dfff -> 0x000004c000
[    3.289293][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    3.298520][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.308263][    T1] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.318005][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.327757][    T1] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.337501][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
[    3.347244][    T1] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
[    3.356986][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0400000000
[    3.366733][    T1] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0400000000
[    3.376485][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0500000000
[    3.386231][    T1] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0500000000
[    3.396411][    T1] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    3.403798][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.409997][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    3.420848][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    3.431694][    T1] pci_bus 0000:00: root bus resource [mem 0xf1048000-0xf1049fff] (bus address [0x00048000-0x00049fff])
[    3.442538][    T1] pci_bus 0000:00: root bus resource [mem 0xf104c000-0xf104dfff] (bus address [0x0004c000-0x0004dfff])
[    3.453391][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    3.464235][    T1] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    3.471779][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    3.478855][    T1] pci 0000:00:01.0: [11ab:7823] type 01 class 0x060400
[    3.485577][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    3.493522][    T1] pci 0000:00:05.0: [11ab:7846] type 01 class 0x060400
[    3.500255][    T1] pci 0000:00:05.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    3.508980][    T1] PCI: bus0: Fast back to back transfers disabled
[    3.515277][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.523983][    T1] pci 0000:00:05.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.532963][    T1] pci 0000:01:00.0: [1b6f:7023] type 00 class 0x0c0330
[    3.539702][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x40007fff 64bit]
[    3.547235][    T1] pci 0000:01:00.0: enabling Extended Tags
[    3.552957][    T1] pci 0000:01:00.0: supports D1 D2
[    3.557924][    T1] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
[    3.595112][    T1] PCI: bus1: Fast back to back transfers disabled
[    3.601370][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.610033][    T1] PCI: bus2: Fast back to back transfers enabled
[    3.616232][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.623579][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8000000-0xf80fffff]
[    3.631151][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8100000-0xf81007ff pref]
[    3.639066][    T1] pci 0000:00:05.0: BAR 6: assigned [mem 0xf8200000-0xf82007ff pref]
[    3.646978][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf8007fff 64bit]
[    3.654993][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.660640][    T1] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    3.668119][    T1] pci 0000:00:05.0: PCI bridge to [bus 02]
[    3.673866][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    3.681898][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.744964][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.756214][    T1] mv_xor f10f0900.xor: Marvell shared XOR driver
[    3.824964][    T1] mv_xor f10f0900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.953766][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.964500][    T1] printk: console [ttyS0] disabled
[    3.989675][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 15625000) is a 16550A
[    3.999378][    T1] printk: console [ttyS0] enabled
[    3.999378][    T1] printk: console [ttyS0] enabled
[    4.009202][    T1] printk: bootconsole [earlycon0] disabled
[    4.009202][    T1] printk: bootconsole [earlycon0] disabled
[    4.042234][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 15625000) is a 16550A
[    4.057775][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    4.063242][    T1] 6 cmdlinepart partitions found on MTD device spi0.0
[    4.069921][    T1] Creating 6 MTD partitions on "spi0.0":
[    4.075450][    T1] 0x000000000000-0x0000000d0000 : "u-boot"
[    4.083161][    T1] 0x0000000d0000-0x0000003a0000 : "zimage"
[    4.090804][    T1] 0x0000003a0000-0x0000007d0000 : "rd"
[    4.098244][    T1] 0x0000007d0000-0x0000007e0000 : "vendor"
[    4.105857][    T1] 0x0000007e0000-0x0000007f0000 : "u-boot-envs"
[    4.113863][    T1] 0x0000007f0000-0x000000800000 : "fis"
[    4.121907][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    4.130507][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    4.144054][    T1] libphy: Fixed MDIO Bus: probed
[    4.152466][    T1] libphy: orion_mdio_bus: probed
[    4.157498][    T1] mdio_bus f1072004.mdio-mii: MDIO device at address 0 is missing.
[    4.170973][    T1] mvneta f1070000.ethernet eth0: Using random mac address 1a:c9:7d:67:25:ba
[    4.183134][    T1] mvneta f1074000.ethernet eth1: Using random mac address 92:c1:17:44:6d:07
[    4.192536][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.199844][    T1] ehci-pci: EHCI PCI platform driver
[    4.205195][    T1] ehci-orion: EHCI orion driver
[    4.210111][    T1] orion-ehci f1050000.usb: EHCI Host Controller
[    4.216290][    T1] orion-ehci f1050000.usb: new USB bus registered, assigned bus number 1
[    4.225346][    T1] orion-ehci f1050000.usb: irq 34, io mem 0xf1050000
[    4.263955][    T1] orion-ehci f1050000.usb: USB 2.0 started, EHCI 1.00
[    4.270915][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    4.279950][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.287920][    T1] usb usb1: Product: EHCI Host Controller
[    4.293517][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    4.300695][    T1] usb usb1: SerialNumber: f1050000.usb
[    4.306952][    T1] hub 1-0:1.0: USB hub found
[    4.311470][    T1] hub 1-0:1.0: 1 port detected
[    4.317426][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    4.323391][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    4.331703][    T1] xhci_hcd 0000:01:00.0: hcc params 0x040050a7 hci version 0x100 quirks 0x0000000000080490
[    4.342265][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    4.352206][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.360184][    T1] usb usb2: Product: xHCI Host Controller
[    4.365799][    T1] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.372963][    T1] usb usb2: SerialNumber: 0000:01:00.0
[    4.379110][    T1] hub 2-0:1.0: USB hub found
[    4.383630][    T1] hub 2-0:1.0: 2 ports detected
[    4.389330][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    4.395321][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    4.403454][    T1] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    4.410564][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.419776][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    4.428803][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.436769][    T1] usb usb3: Product: xHCI Host Controller
[    4.442366][    T1] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.449552][    T1] usb usb3: SerialNumber: 0000:01:00.0
[    4.455676][    T1] hub 3-0:1.0: USB hub found
[    4.460191][    T1] hub 3-0:1.0: 2 ports detected
[    4.466574][    T1] usbcore: registered new interface driver usblp
[    4.473005][    T1] usbcore: registered new interface driver usb-storage
[    4.480424][    T1] mousedev: PS/2 mouse device common for all mice
[    4.488136][    T1] i2c /dev entries driver
[    4.492656][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    4.506346][    T1] rtc-s35390a 0-0030: registered as rtc0
[    4.512190][    T1] rtc-s35390a 0-0030: setting system clock to 2022-06-18T16:56:21 UTC (1655571381)
[    4.625871][    T1] orion_wdt: Initial timeout 171 sec
[    4.631834][    T1] device-mapper: uevent: version 1.0.3
[    4.637518][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    4.647132][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    4.654415][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    4.661753][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    4.669153][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    4.675986][    T1] device-mapper: raid: Loading target version 1.15.1
[    4.683642][    T1] debugfs: Directory 'cpu1' with parent 'opp' already present!
[    4.695341][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    4.703805][    T1] hid: raw HID events driver (C) Jiri Kosina
[    4.710423][    T1] usbcore: registered new interface driver usbhid
[    4.716746][    T1] usbhid: USB HID core driver
[    4.721921][    T1] drop_monitor: Initializing network drop monitor service
[    4.729377][    T1] NET: Registered protocol family 10
[    4.735895][    T1] Segment Routing with IPv6
[    4.740275][    T1] RPL Segment Routing with IPv6
[    4.745116][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.753658][    T1] NET: Registered protocol family 17
[    4.759100][    T1] 8021q: 802.1Q VLAN Support v1.8
[    4.764095][    T1] Key type dns_resolver registered
[    4.769293][    T1] ThumbEE CPU extension supported.
[    4.774311][    T1] Registering SWP/SWPB emulation handler
[    4.780481][    T1] registered taskstats version 1
[    4.785341][    T1] Loading compiled-in X.509 certificates
[    4.791300][    T1] zswap: loaded using pool lzo/zbud
[    4.796838][    T1] Key type ._fscrypt registered
[    4.801568][    T1] Key type .fscrypt registered
[    4.806239][    T1] Key type fscrypt-provisioning registered
[    4.813259][    T1] Key type big_key registered
[    4.819230][    T1] Key type encrypted registered
[   25.456934][    T1] Waiting 3 sec before mounting root device...
[   28.494200][    T1] md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
[   28.503603][    T1] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[   28.511735][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   28.520893][    T1] 1f00             832 mtdblock0 
[   28.520907][    T1]  (driver?)
[   28.528944][    T1] 1f01            2880 mtdblock1 
[   28.528957][    T1]  (driver?)
[   28.536983][    T1] 1f02            4288 mtdblock2 
[   28.536998][    T1]  (driver?)
[   28.545028][    T1] 1f03              64 mtdblock3 
[   28.545042][    T1]  (driver?)
[   28.553009][    T1] 1f04              64 mtdblock4 
[   28.553018][    T1]  (driver?)
[   28.561067][    T1] 1f05              64 mtdblock5 
[   28.561080][    T1]  (driver?)
[   28.569112][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   28.578117][    T1] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.13.8-mvebu-tld-1 #1.0
[   28.585999][    T1] Hardware name: Marvell Armada 370/XP (Device Tree)
[   28.592573][    T1] [<c01153e8>] (unwind_backtrace) from [<c01100f8>] (show_stack+0x10/0x14)
[   28.601074][    T1] [<c01100f8>] (show_stack) from [<c0b05d18>] (dump_stack+0x80/0x9c)
[   28.609061][    T1] [<c0b05d18>] (dump_stack) from [<c0b01150>] (panic+0xe4/0x2f0)
[   28.616703][    T1] [<c0b01150>] (panic) from [<c1001ad8>] (mount_block_root+0x1b4/0x238)
[   28.624956][    T1] [<c1001ad8>] (mount_block_root) from [<c1001c4c>] (mount_root+0xf0/0x11c)
[   28.633543][    T1] [<c1001c4c>] (mount_root) from [<c1001dbc>] (prepare_namespace+0x144/0x180)
[   28.642293][    T1] [<c1001dbc>] (prepare_namespace) from [<c1001640>] (kernel_init_freeable+0x230/0x29c)
[   28.651934][    T1] [<c1001640>] (kernel_init_freeable) from [<c0b0d9ac>] (kernel_init+0x8/0x118)
[   28.660883][    T1] [<c0b0d9ac>] (kernel_init) from [<c0100150>] (ret_from_fork+0x14/0x24)
[   28.669212][    T1] Exception stack(0xc18abfb0 to 0xc18abff8)
[   28.675010][    T1] bfa0:                                     00000000 00000000 00000000 00000000
[   28.683928][    T1] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   28.692845][    T1] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   28.700253][    C0] CPU0: stopping
[   28.703696][    C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.13.8-mvebu-tld-1 #1.0
[   28.711558][    C0] Hardware name: Marvell Armada 370/XP (Device Tree)
[   28.718116][    C0] [<c01153e8>] (unwind_backtrace) from [<c01100f8>] (show_stack+0x10/0x14)
[   28.726610][    C0] [<c01100f8>] (show_stack) from [<c0b05d18>] (dump_stack+0x80/0x9c)
[   28.734569][    C0] [<c0b05d18>] (dump_stack) from [<c0112bbc>] (do_handle_IPI+0x250/0x30c)
[   28.742964][    C0] [<c0112bbc>] (do_handle_IPI) from [<c0112c8c>] (ipi_handler+0x14/0x20)
[   28.751270][    C0] [<c0112c8c>] (ipi_handler) from [<c0183c3c>] (handle_percpu_devid_irq+0x58/0x108)
[   28.760542][    C0] [<c0183c3c>] (handle_percpu_devid_irq) from [<c017e820>] (generic_handle_irq+0x28/0x38)
[   28.770329][    C0] [<c017e820>] (generic_handle_irq) from [<c017e9ec>] (__handle_domain_irq+0x90/0xa0)
[   28.779764][    C0] [<c017e9ec>] (__handle_domain_irq) from [<c062345c>] (armada_370_xp_handle_irq+0xac/0xe4)
[   28.789724][    C0] [<c062345c>] (armada_370_xp_handle_irq) from [<c010128c>] (__irq_svc+0x6c/0xa8)
[   28.798810][    C0] Exception stack(0xc1101eb0 to 0xc1101ef8)
[   28.804584][    C0] 1ea0:                                     00000000 c0dd394b 3679c297 dfbcb9c0
[   28.813492][    C0] 1ec0: dfbca8f0 c1226038 00000001 00000000 00000001 aeaadcc8 c0e5ff53 00000001
[   28.822397][    C0] 1ee0: fffffff5 c1101f00 c015852c c08f6314 20000153 ffffffff
[   28.829732][    C0] [<c010128c>] (__irq_svc) from [<c08f6314>] (cpuidle_enter_state+0x1c4/0x33c)
[   28.838558][    C0] [<c08f6314>] (cpuidle_enter_state) from [<c08f64c8>] (cpuidle_enter+0x28/0x38)
[   28.847556][    C0] [<c08f64c8>] (cpuidle_enter) from [<c0158850>] (do_idle+0x27c/0x2b0)
[   28.855692][    C0] [<c0158850>] (do_idle) from [<c0158b80>] (cpu_startup_entry+0x18/0x1c)
[   28.863996][    C0] [<c0158b80>] (cpu_startup_entry) from [<c100120c>] (start_kernel+0x6bc/0x86c)
[   28.872922][    C0] [<c100120c>] (start_kernel) from [<00000000>] (0x0)
[   28.879586][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

I'm really curious if Debian will run on the DS214. No, I won't try to get ZFS up and running with 512k RAM ;)

Best
Jan


.
Re: How to fix a semi-bricked Synology DS214?
June 18, 2022 03:32PM
Jan,

> The second stage also loads very fast. This is
> definitely not loaded over the serial but from
> flash.

That looks good!

The message "Booting from SPI flash" is always there, regardless which boot method (the indicator is in the image you used). But it does seem the u-boot image on flash was OK.

> This stock uboot sits in the partition
> mtd0, starting right at offset 0.

Offset 0 is where the SPL image sits. The u-boot image is at about 140k-160k (I forgot exactly where). But it does not hurt to flash that image, because you have nothing to lose now. It contains everything needed in there.

> But, as I like to play with new toys, I tried to
> set up debian as described by bignellrp in his fix
> thread. Besides from having fun doing this, it
> might provide a proven and possibly better method
> of copying files onto flash. Unfortunately, the
> kernel crashes. It seems that the USB stick ist
> not detected.

> Probably because of I used this as I did not find
> a specific file for the DS214.

Could be, but I doubt it is the case. If the USB was used for rootfs and it booted during u-boot, then it will likely be detected by the kernel. Did you use the front USB 2.0 port?

BTW, don't do saveenv at u-boot prompt. Just enter envs to boot for now. A lot of Synology boxes were bricked with corrupted zImage, and I think it might be somehow the envs were saved to the wrong place by stock u-boot (pretty bad SW development for u-boot by someone at Synology, or their contractors).

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



Edited 3 time(s). Last edit at 06/19/2022 03:19PM by bodhi.
Re: How to fix a semi-bricked Synology DS214?
June 18, 2022 04:30PM
Yes, I do use the front USB port. At first, it was not discovered by uboot. I had to "setenv usbActive 1". Then uboot found it.

I'll check your thread and try to find a combination that works. Or maybe using a different stick or a USB hard drive will do. I'll see.

Jan
Re: How to fix a semi-bricked Synology DS214?
June 18, 2022 05:01PM
Hi Jan,

BTW, could you answer this post about serial pinouts, for your DS214 box?

https://forum.doozan.com/read.php?2,76314,132346,page=25#msg-132346

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: How to fix a semi-bricked Synology DS214?
June 19, 2022 03:19AM
Hi bodhi,

well, the DS214 boots now and is fully unbricked and functional again ;)

What did I change? Believe it or not, I simply unplugged the serial connector before booting after reading this in the file /arch/arm/boot/dts/armada-xp-synology-ds414.dts


/* Connected to a header on device's PCB. This
* provides the main console for the device.
*
* Warning: the device may not boot with a 3.3V
* USB-serial converter connected when the power
* button is pressed. The converter needs to be
* connected a few seconds after pressing the
* power button. This is possibly due to UART0_TXD
* pin being sampled at reset (bit 0 of SAR).
*/
serial@12000 {
status = "okay";
};


Probably the box was fully unbricked the moment that I wrote the fixed flash to the chip and soldered it back to the pcb. But hey, of course one wants to see the boot messages. I think that I never fiddled with the box without a serial connection plugged to it. So, it never boots...

So, more than 20 hours spent on trying to "fix" a box that was already unbricked. But the time was not wasted. I learned many new things and discovered a great forum ;)

I hope that this helps others when trying to unbrick their DS214 or DS414 and those mysteriously refuse to boot after all should be fixed.

Jan
Re: How to fix a semi-bricked Synology DS214?
June 19, 2022 03:57AM
Hi Jan,

> well, the DS214 boots now and is fully unbricked
> and functional again ;)

I'm half falling asleep but fully awake when I saw this :)

>
> What did I change? Believe it or not, I simply
> unplugged the serial connector before booting
> after reading this in the file
> /arch/arm/boot/dts/armada-xp-synology-ds414.dts
>
>
> /* Connected to a header on device's PCB.
> This
> * provides the main console for the device.
> *
> * Warning: the device may not boot with a
> 3.3V
> * USB-serial converter connected when the
> power
> * button is pressed. The converter needs to
> be
> * connected a few seconds after pressing the
> * power button. This is possibly due to
> UART0_TXD
> * pin being sampled at reset (bit 0 of SAR).
> */
> serial@12000 {
> status = "okay";
> };
>

>
> Probably the box was fully unbricked the moment
> that I wrote the fixed flash to the chip and
> soldered it back to the pcb.

Cool! that SAR is very often a problem, if set "incorrectly". Too bad that we can not modify it.

> But hey, of course
> one wants to see the boot messages. I think that I
> never fiddled with the box without a serial
> connection plugged to it. So, it never boots...

That's similar to Zyxel NAS 326. When the serial converter is connected, it stops booting. But in the NAS326 case, I discovered that you could boot even with serial converter connected if you run kwboot in debbuging mode (the bootROM timed out after a while if it is in debug mode).

>
> So, more than 20 hours spent on trying to "fix" a
> box that was already unbricked. But the time was
> not wasted. I learned many new things and
> discovered a great forum ;)
>
> I hope that this helps others when trying to
> unbrick their DS214 or DS414 and those
> mysteriously refuse to boot after all should be
> fixed.

Indeed. A great find!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: How to fix a semi-bricked Synology DS214?
June 19, 2022 04:34PM
Added to the Wiki thread.

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

Quote

Unbricking with Serial Console & JTAG console
....

Unbrick Synology DS214
Synology NAS Serial Console

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

Subject:


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