Welcome! Log In Create A New Profile

Advanced

NSA325v2 bricked

Posted by ErGatto 
Szfinx75
Re: NSA325v2 bricked
April 02, 2025 12:32PM
Hello,

I hope this message doesn't disturb you too much, as I'm encountering a
similar issue:

I upgraded the factory firmware of my Zyxel NSA325v2 to
uboot.2017.07-tld-1. Everything seemed fine; I managed to boot Debian
from an external USB drive. However, when I turned off my NAS, all the
settings got lost, and I had to connect via the serial console to boot
up correctly.

Upon considering an upgrade, I chose to advance uboot to 'U-Boot
2023.04-tld-1'. Regrettably, this decision proved unfortunate, as I am
now incapable of booting Linux on my NAS at all. Here are the logs for
your review, and I would greatly appreciate any advice you may offer.

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
## Error: "init_sata" not defined
Loading envs from usb 0...
Failed to load '/boot/uEnv.txt'
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
** Bad device specification sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
** Bad device specification sata 1 **
Couldn't find partition sata 1:1
Can't set block device
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... cannot reset port 3!?
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
device usb 0:1
Failed to load '/boot/uImage'
device usb 1:1
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Scan device sata
device sata 0:1
Failed to wait for completion on port 0
ATA operation timed out
Failed to wait for completion on port 0
ATA operation timed out
** Bad device size - sata 0 **
Couldn't find partition sata 0:1
Can't set block device
loading uImage ...
Failed to load '/boot/uImage'
resetting ...

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325>

========
bodhi edit: please use code tags (Formatted code button) to post logs.



Edited 1 time(s). Last edit at 04/02/2025 08:03PM by bodhi.
Re: NSA325v2 bricked
April 02, 2025 02:22PM
Szfinx75,

Your problem is not the same.

> Device(s) found
> scanning usb for storage devices... 1
> Storage Device(s) found
> device usb 0:1
> Failed to load '/boot/uImage'

The USB rootfs has some problem.

Is the USB rootfs the only drives plugged in at the moment you power up the box? what type of USB 2.0 or 3.0, what brand and capacity? was the partition formatted as EXT3? is the rootfs partition the only one in the drive? which port is this USB drive plugged in (front or back)?

Try taking the USB rootfs to another Linux box and run e2fsck at command line to check for error. And bring it back to boot again. This time do this:

Get the listing of the envs, set the devices to USB so that u-boot will not scan the HDDs for kernel files. Also get the BootROM version (not relevant to your problem, but I'd like to see it).

Interrupt serial console countdown, and do nothing for at least 60 seconds (checking to make sure this box watchdog is not barking). And then
md ff00003c 
printenv
setenv devices usb
boot
And please post the entire serial console log here.

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



Edited 1 time(s). Last edit at 04/02/2025 03:52PM by bodhi.
Szfinx75
Re: NSA325v2 bricked
April 02, 2025 02:55PM
Hello Bodhi,

Thanks for your reply!
It's a Kingtston Datatraveler G3 32GB USB3 pendrive plugged into the front USB port. I had the same issue when I moved to the other ports on the back. This is the only USB device attached. It's formatted to
EXT3 and rootfs is the only partition on this drive. I don't have access to the NAS right now but will post the requested logs shortly. Thanks again!
Re: NSA325v2 bricked
April 02, 2025 08:01PM
ErGatto,

Stay tuned for test result by Szfinx75 before I can proceed with the watchdog problem.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Szfinx75
Re: NSA325v2 bricked
April 03, 2025 02:26AM
Hello Bodhi,

So... I've rectreted the rootfs on my pendrive:

[root@fedora ~] # lsblk 
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0         7:0    0  73.9M  1 loop /var/lib/snapd/snap/core22/1748
loop1         7:1    0 752.9M  1 loop /var/lib/snapd/snap/pycharm-community/439
loop2         7:2    0  44.4M  1 loop /var/lib/snapd/snap/snapd/23545
sda           8:0    1  14.5G  0 disk 
└─sda1        8:1    1  14.5G  0 part 
zram0       252:0    0     8G  0 disk [SWAP]
nvme0n1     259:0    0 953.9G  0 disk 
├─nvme0n1p1 259:1    0   260M  0 part /boot/efi
├─nvme0n1p2 259:2    0    16M  0 part 
├─nvme0n1p3 259:3    0 806.1G  0 part 
├─nvme0n1p4 259:4    0     1G  0 part 
├─nvme0n1p5 259:5    0     1G  0 part /boot
└─nvme0n1p6 259:6    0 145.5G  0 part /home
                                      /
[root@fedora ~] # fdisk /dev/sda

Welcome to fdisk (util-linux 2.40.4).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): o
Created a new DOS (MBR) disklabel with disk identifier 0x8b2c69d4.

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 
First sector (2048-30310399, default 2048): 
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-30310399, default 30310399): 

Created a new partition 1 of type 'Linux' and of size 14.5 GiB.
Partition #1 contains a ext3 signature.

Do you want to remove the signature? [Y]es/[N]o: y

The signature will be removed by a write command.

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

[root@fedora ~] # lsblk 
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0         7:0    0  73.9M  1 loop /var/lib/snapd/snap/core22/1748
loop1         7:1    0 752.9M  1 loop /var/lib/snapd/snap/pycharm-community/439
loop2         7:2    0  44.4M  1 loop /var/lib/snapd/snap/snapd/23545
sda           8:0    1  14.5G  0 disk 
└─sda1        8:1    1  14.5G  0 part 
zram0       252:0    0     8G  0 disk [SWAP]
nvme0n1     259:0    0 953.9G  0 disk 
├─nvme0n1p1 259:1    0   260M  0 part /boot/efi
├─nvme0n1p2 259:2    0    16M  0 part 
├─nvme0n1p3 259:3    0 806.1G  0 part 
├─nvme0n1p4 259:4    0     1G  0 part 
├─nvme0n1p5 259:5    0     1G  0 part /boot
└─nvme0n1p6 259:6    0 145.5G  0 part /home
                                      /
[root@fedora ~] # mkfs.ext3 -L rootfs /dev/sda1 
mke2fs 1.47.1 (20-May-2024)
Creating filesystem with 3788544 4k blocks and 948416 inodes
Filesystem UUID: 00680d54-3492-4c45-b5ee-83ef20f365a4
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information:        
done

[root@fedora ~] # 
[root@fedora ~] # mount /dev/sda1 /media/USB/
[root@fedora ~] # cd /media/USB/
[root@fedora USB] # ls -la
total 20
drwxr-xr-x  3 root root  4096 Apr  3 08:37 .
drwxr-xr-x. 1 root root    14 Mar  1 12:12 ..
drwx------  2 root root 16384 Apr  3 08:37 lost+found
[root@fedora USB] # tar xf /home/szfinx/Downloads/Zyxel/bodhi/rootfs/Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2
[root@fedora USB] # sync

[root@fedora USB] # 
[root@fedora USB] # sync
[root@fedora USB] # umount /media/USB 
umount: /media/USB: target is busy.
[root@fedora USB] # umount -l /media/USB 
[root@fedora USB] # umount -f /media/USB 
umount: /media/USB: not mounted.


Plugged it into the front USB port and managed to boot. However, after a reboot - full power down - I ended up in a boot loop.

I've interrupted the countdown and waited more than a minute. Prompt stayed at NSA325>
However, when I started to enter the commands you gave me the boot has started before I could enter all the commands, so I had to try multiple times to succeed.

Here is the requested output:

NSA325> md ff00003c
ff00003c: 00000121 e3a00000 e59f222c e5921000  !.......,"......
ff00004c: e2013008 e3530000 1a000002 e3811008  .0....S.........
ff00005c: e5821000 e5921000 e3a03000 ee2f3f1b  .........0...?/.
ff00006c: e59f2208 e5921000 e3c11cff e3c110ff  ."..............
ff00007c: e3710801 1a000003 e5921000 e3c114ff  ..q.............
ff00008c: e3c118ff e5821000 e59f21e0 e5922000  .........!... ..
ff00009c: e3a01902 e0112002 0a00000b e59f21d0  ..... .......!..
ff0000ac: e5921000 e3c11080 e5821000 e59f21c4  .............!..
ff0000bc: e5921000 e3c11080 e5821000 e59f21b8  .............!..
ff0000cc: e5921000 e3c1120f e5821000 e10f5000  .............P..
ff0000dc: e3c5501f e38550d3 e121f005 e3a05000  .P...P....!..P..
ff0000ec: ee075f17 ee075f16 ee075f15 ee085f17  ._..._..._..._..
ff0000fc: e59f2174 e3a03010 e5924000 e1c44003  t!...0...@...@..
ff00010c: e5824000 ee3f1f11 e3811505 ee2f1f11  .@....?......./.
ff00011c: e3a04003 ee034f10 e59f4160 ee024f10  .@...O..`A...O..
ff00012c: e3a03601 e3a02000 e3a01d06 e59f0150  .6... ......P...
NSA325> printenv 
baudrate=115200
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
console=ttyS0,115200
device=0:1
devices=usb sata
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-nsa325.dtb
ethaddr=5c:f4:ab:f4:6b:6b
fdtcontroladdr=1fb516e0
if_netconsole=ping $serverip
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x2c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x01100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb reset; sleep 1; usb reset";  setenv scan_sata "sata init";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin serial,nc; setenv stdout serial,nc; setenv stderr serial,nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type  $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
ver=U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)\
ZyXEL NSA325 2-Bay Power Media Server

Environment size: 3028/131068 bytes
NSA325> setenv devices usb
NSA325> boot
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Loading envs from usb 0...
Failed to load '/boot/uEnv.txt'
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... cannot reset port 3!?
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
device usb 0:1
1 bytes read in 9 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
6223944 bytes read in 152 ms (39.1 MiB/s)
loading uInitrd ...
5791271 bytes read in 142 ms (38.9 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14414 bytes read in 10 ms (1.4 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6223880 Bytes = 5.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02c00000
   Booting using the fdt blob at 0x2c00000
Working FDT set to 2c00000


Starting kernel ...

   Loading Kernel Image
   Loading Ramdisk to 1f5c7000, end 1fb4cde7 ... OK
   Loading Device Tree to 1f5c0000, end 1f5c684d ... OK
Working FDT set to 1f5c0000

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: ZyXEL NSA325
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    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] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 491980K/524288K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 32308K reserved, 0K cma-reserved)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    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] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000039][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000531][    T0] Console: colour dummy device 80x30
[    0.000592][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000618][    T0] CPU: Testing write buffer coherency: ok
[    0.000732][    T0] pid_max: default: 32768 minimum: 301
[    0.007349][    T0] LSM: initializing lsm=capability,integrity
[    0.009180][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.009210][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.019161][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.019474][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.019885][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.020223][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.020586][    T1] rcu: Hierarchical SRCU implementation.
[    0.020600][    T1] rcu: 	Max phase no-delay instances is 1000.
[    0.023008][    T1] devtmpfs: initialized
[    0.032731][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.032769][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.034992][    T1] prandom: seed boundary self test passed
[    0.038179][    T1] prandom: 100 self tests passed
[    0.038193][    T1] pinctrl core: initialized pinctrl subsystem
[    0.041839][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.042529][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.046757][    T1] audit: initializing netlink subsys (disabled)
[    0.048543][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.048681][    T1] cpuidle: using governor ladder
[    0.048753][    T1] cpuidle: using governor menu
[    0.049277][    T1] Feroceon L2: Enabling L2
[    0.049308][    T1] Feroceon L2: Cache support initialised.
[    0.058601][    T1] No ATAGs?
[    0.060083][   T19] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.420053][    T1] raid6: int32x8  gen()   152 MB/s
[    0.760052][    T1] raid6: int32x4  gen()   140 MB/s
[    1.100076][    T1] raid6: int32x2  gen()   182 MB/s
[    1.440053][    T1] raid6: int32x1  gen()   133 MB/s
[    1.440063][    T1] raid6: using algorithm int32x2 gen() 182 MB/s
[    1.780051][    T1] raid6: .... xor() 116 MB/s, rmw enabled
[    1.780061][    T1] raid6: using intx1 recovery algorithm
[    1.781402][    T1] SCSI subsystem initialized
[    1.782001][    T1] usbcore: registered new interface driver usbfs
[    1.782085][    T1] usbcore: registered new interface driver hub
[    1.782136][    T1] usbcore: registered new device driver usb
[    1.782431][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.782439][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.782464][    T1] PTP clock support registered
[    1.784662][    T1] vgaarb: loaded
[    1.785349][    T1] clocksource: Switched to clocksource orion_clocksource
[    1.797664][    T1] VFS: Disk quotas dquot_6.6.0
[    1.797995][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.829342][    T1] NET: Registered PF_INET protocol family
[    1.829605][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.831866][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.832031][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.832062][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.832134][    T1] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.832676][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    1.833208][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.833424][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.833456][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.834152][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.835086][    T1] RPC: Registered named UNIX socket transport module.
[    1.835098][    T1] RPC: Registered udp transport module.
[    1.835103][    T1] RPC: Registered tcp transport module.
[    1.835107][    T1] RPC: Registered tcp-with-tls transport module.
[    1.835112][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.835130][    T1] PCI: CLS 0 bytes, default 32
[    1.837434][   T32] Trying to unpack rootfs image as initramfs...
[    2.580996][   T32] Freeing initrd memory: 5656K
[    2.996224][    T1] Initialise system trusted keyrings
[    2.996391][    T1] Key type blacklist registered
[    2.997514][    T1] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    2.997660][    T1] zbud: loaded
[    3.012053][    T1] NFS: Registering the id_resolver key type
[    3.012118][    T1] Key type id_resolver registered
[    3.012126][    T1] Key type id_legacy registered
[    3.012274][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.012291][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.013513][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    3.014176][    T1] fuse: init (API version 7.38)
[    3.015343][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    3.015678][    T1] orangefs_init: module version upstream loaded
[    3.015977][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.174179][    T1] xor: measuring software checksum speed
[    3.180828][    T1]    arm4regs        :  1492 MB/sec
[    3.191835][    T1]    8regs           :   895 MB/sec
[    3.199598][    T1]    32regs          :  1270 MB/sec
[    3.199606][    T1] xor: using function: arm4regs (1492 MB/sec)
[    3.199618][    T1] async_tx: api initialized (async)
[    3.199631][    T1] Key type asymmetric registered
[    3.199638][    T1] Asymmetric key parser 'x509' registered
[    3.240793][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    3.241145][    T1] io scheduler bfq registered
[    3.382947][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    3.384539][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.385790][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.386643][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    3.386707][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    3.386743][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    3.386775][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    3.386806][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.386836][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.386866][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.386887][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.387493][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    3.387511][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.387527][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    3.387541][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    3.387555][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    3.387567][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    3.387578][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    3.387676][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    3.389239][    T1] PCI: bus0: Fast back to back transfers disabled
[    3.389262][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.389519][    T1] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330
[    3.389559][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x90001fff 64bit]
[    3.389725][    T1] pci 0000:01:00.0: PME# supported from D0 D3hot
[    3.389801][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    3.415448][    T1] PCI: bus1: Fast back to back transfers disabled
[    3.415468][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.415512][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    3.415531][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    3.415555][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.415569][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    3.415701][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    3.416535][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    3.477264][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.480956][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.537331][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.541264][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    3.543446][    T1] printk: console [ttyS0] disabled
[    3.543977][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 28, base_baud = 12500000) is a 16550A
[    3.544034][    T1] printk: console [ttyS0] enabled
[    4.678366][    T1] loop: module loaded
[    4.683124][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    4.692685][    T1] scsi host0: sata_mv
[    4.697935][    T1] scsi host1: sata_mv
[    4.702145][    T1] ata1: SATA max UDMA/133 irq 29
[    4.707030][    T1] ata2: SATA max UDMA/133 irq 29
[    4.712839][    T1] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1
[    4.719996][    T1] nand: Eon NAND 128MiB 3,3V 8-bit
[    4.724985][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    4.733334][    T1] Scanning device for bad blocks
[    4.743006][    T1] Bad eraseblock 100 at 0x000000c80000
[    4.753146][    T1] Bad eraseblock 200 at 0x000001900000
[    4.797930][    T1] 9 cmdlinepart partitions found on MTD device orion_nand
[    4.804930][    T1] Creating 9 MTD partitions on "orion_nand":
[    4.810809][    T1] 0x000000000000-0x000000100000 : "uboot"
[    4.817117][    T1] 0x000000100000-0x000000180000 : "stock_uboot_env"
[    4.824158][    T1] 0x000000180000-0x000000200000 : "key_store"
[    4.830755][    T1] 0x000000200000-0x000000280000 : "info"
[    4.836879][    T1] 0x000000280000-0x000000c80000 : "etc"
[    4.842943][    T1] 0x000000c80000-0x000001680000 : "kernel_1"
[    4.849480][    T1] 0x000001680000-0x000004640000 : "rootfs1"
[    4.856036][    T1] 0x000004640000-0x000005040000 : "kernel_2"
[    4.862487][    T1] 0x000005040000-0x000008000000 : "rootfs2"
[    4.869772][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    4.878374][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    4.909187][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    4.918099][    T1] mv643xx_eth: Set the PHY to fix link down
[    4.918936][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 5c:f4:ab:f4:6b:6b
[    4.934783][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.941129][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.949753][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    4.985370][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.992522][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    5.001575][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.009572][    T1] usb usb1: Product: EHCI Host Controller
[    5.015201][    T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[    5.022583][    T1] usb usb1: SerialNumber: f1050000.ehci
[    5.028892][    T1] hub 1-0:1.0: USB hub found
[    5.033437][    T1] hub 1-0:1.0: 1 port detected
[    5.039157][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    5.045176][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    5.053363][   T53] ata1: SATA link down (SStatus 0 SControl F300)
[    5.167514][    T1] xhci_hcd 0000:01:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x0000000000000004
[    5.178153][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    5.184126][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    5.192305][    T1] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    5.199554][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    5.208583][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.216558][    T1] usb usb2: Product: xHCI Host Controller
[    5.222156][    T1] usb usb2: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[    5.229514][    T1] usb usb2: SerialNumber: 0000:01:00.0
[    5.235714][    T1] hub 2-0:1.0: USB hub found
[    5.240255][    T1] hub 2-0:1.0: 2 ports detected
[    5.245739][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.254730][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[    5.263865][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.271990][    T1] usb usb3: Product: xHCI Host Controller
[    5.277617][    T1] usb usb3: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[    5.284966][    T1] usb usb3: SerialNumber: 0000:01:00.0
[    5.291070][    T1] hub 3-0:1.0: USB hub found
[    5.295802][    T1] hub 3-0:1.0: 2 ports detected
[    5.301634][    T1] usbcore: registered new interface driver usb-storage
[    5.308984][    T1] mousedev: PS/2 mouse device common for all mice
[    5.315740][    T1] i2c_dev: i2c /dev entries driver
[    5.323998][    T1] rtc-pcf8563 0-0051: registered as rtc0
[    5.329659][   T50] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    5.338485][    T1] rtc-pcf8563 0-0051: setting system clock to 1970-01-03T14:55:53 UTC (226553)
[    5.349457][    T1] device-mapper: uevent: version 1.0.3
[    5.355423][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    5.365189][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    5.372709][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    5.380110][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.387551][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.397571][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    5.404788][    T1] hid: raw HID events driver (C) Jiri Kosina
[    5.410720][   T55] ata2: SATA link down (SStatus 0 SControl F300)
[    5.417564][    T1] drop_monitor: Initializing network drop monitor service
[    5.426038][    T1] NET: Registered PF_INET6 protocol family
[    5.433412][    T1] Segment Routing with IPv6
[    5.437921][    T1] RPL Segment Routing with IPv6
[    5.442724][    T1] In-situ OAM (IOAM) with IPv6
[    5.447538][    T1] NET: Registered PF_PACKET protocol family
[    5.453646][    T1] Key type dns_resolver registered
[    5.473307][    T1] registered taskstats version 1
[    5.478399][    T1] Loading compiled-in X.509 certificates
[    5.501221][    T1] Key type .fscrypt registered
[    5.505980][    T1] Key type fscrypt-provisioning registered
[    5.516672][    T1] Key type big_key registered
[    5.537399][   T50] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    5.555549][   T50] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    5.563442][   T50] usb 1-1: Product: USB2.0 Hub
[    5.578906][   T50] hub 1-1:1.0: USB hub found
[    5.585452][   T50] hub 1-1:1.0: 4 ports detected
[    5.591518][    T1] Key type encrypted registered
[    5.675718][   T64] usb 3-1: new SuperSpeed USB device number 2 using xhci_hcd
[    5.689547][  T107] "cryptomgr_test" (107) uses obsolete ecb(arc4) skcipher
[    5.711994][   T64] usb 3-1: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 1.00
[    5.725184][   T64] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.736244][   T64] usb 3-1: Product: DataTraveler 3.0
[    5.741425][   T64] usb 3-1: Manufacturer: Kingston
[    5.755414][   T64] usb 3-1: SerialNumber: 08606E6D402DBEB1B7159873
[    5.777121][   T64] usb-storage 3-1:1.0: USB Mass Storage device detected
[    5.795877][   T64] scsi host2: usb-storage 3-1:1.0
[    6.806962][   T18] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
[    6.827047][   T10] sd 2:0:0:0: [sda] 30310400 512-byte logical blocks: (15.5 GB/14.5 GiB)
[    6.847110][   T10] sd 2:0:0:0: [sda] Write Protect is off
[    6.865389][   T10] sd 2:0:0:0: [sda] No Caching mode page found
[    6.871435][   T10] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    6.892100][   T10]  sda: sda1
[    6.905755][   T10] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    7.497956][    T1] clk: Disabling unused clocks
[    7.506375][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    7.526018][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.532421][    T1] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.17-1~deb12u1
[    8.722735][  T156] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.38.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 
rootfs: clean, 20044/948416 files, 267990/3788544 blocks
done.
[   19.971510][  T180] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   20.014152][  T180] EXT4-fs (sda1): mounted filesystem 00680d54-3492-4c45-b5ee-83ef20f365a4 ro with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 3.06 booting
INIT: No inittab.d directory found
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   23.015264][  T358] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[   23.466851][  T357] orion_wdt: Initial timeout 21 sec
[   23.856486][  T369] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   24.043047][  T373] marvell-cesa f1030000.crypto: CESA device successfully registered
[   24.375442][    C0] random: crng init done
done.
Activating swap:.
[   25.619302][  T522] EXT4-fs (sda1): re-mounted 00680d54-3492-4c45-b5ee-83ef20f365a4 r/w. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
[   28.165170][  T901] mv643xx_eth: Set the PHY back to auto-negotiation mode
[   28.168196][    T9] mv643xx_eth_port mv643xx_eth_port.0 eth0: No phy led trigger registered for speed(10)
[   28.185142][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 10 Mb/s, half duplex, flow control disabled
[   30.245635][    T9] mv643xx_eth_port mv643xx_eth_port.0 eth0: No phy led trigger registered for speed(1000)
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/5c:f4:ab:f4:6b:6b
Sending on   LPF/eth0/5c:f4:ab:f4:6b:6b
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Not starting NFS kernel daemon: no exports ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1022 (syslogd)
.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting NTP server: ntpd1970-01-03T06:57:19 ntpd[1061]: INIT: ntpd ntpsec-1.2.2: Starting
1970-01-03T06:57:19 ntpd[1061]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1045 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 12 debian ttyS0

debian login:


Thanks and Regards!

=====
bodhi: please use code tags (formatted code button) to post log.



Edited 1 time(s). Last edit at 04/03/2025 01:30PM by bodhi.
Re: NSA325v2 bricked
April 03, 2025 01:41PM
Szfinx75,

> [root@fedora USB] # umount /media/USB
> umount: /media/USB: target is busy.
> [root@fedora USB] # umount -l /media/USB
> [root@fedora USB] # umount -f /media/USB
> umount: /media/USB: not mounted.

You are inside the mount point /media/USB, you need to change directory before you can unmount it
cd .. 
umount /media/USB

> I've interrupted the countdown and waited more
> than a minute. Prompt stayed at NSA325>
> However, when I started to enter the commands you
> gave me the boot has started before I could enter
> all the commands, so I had to try multiple times
> to succeed.
>

Please repeat this and wait longer, like 2 minutes, and type the commands, if it boot before you can finish typing, don't do anything. Capture the serial console log and post here.

> Plugged it into the front USB port and managed to
> boot. However, after a reboot - full power down -
> I ended up in a boot loop.

I like to see the serial console log when you have a "boot loop". I want to see what you meant by "boot loop"

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Szfinx75
Re: NSA325v2 bricked
April 04, 2025 04:09AM
Hello Bodhi,

Sorry for my oversight with formatting in my previous post!

Here are the fresh logs:

Everything looks good after first boot from console:
NSA325> date
Date: 2025-04-04 (Friday)    Time: 10:39:32
NSA325> date
Date: 2025-04-04 (Friday)    Time: 10:42:46
NSA325> md ff00003c
ff00003c: 00000121 e3a00000 e59f222c e5921000  !.......,"......
ff00004c: e2013008 e3530000 1a000002 e3811008  .0....S.........
ff00005c: e5821000 e5921000 e3a03000 ee2f3f1b  .........0...?/.
ff00006c: e59f2208 e5921000 e3c11cff e3c110ff  ."..............
ff00007c: e3710801 1a000003 e5921000 e3c114ff  ..q.............
ff00008c: e3c118ff e5821000 e59f21e0 e5922000  .........!... ..
ff00009c: e3a01902 e0112002 0a00000b e59f21d0  ..... .......!..
ff0000ac: e5921000 e3c11080 e5821000 e59f21c4  .............!..
ff0000bc: e5921000 e3c11080 e5821000 e59f21b8  .............!..
ff0000cc: e5921000 e3c1120f e5821000 e10f5000  .............P..
ff0000dc: e3c5501f e38550d3 e121f005 e3a05000  .P...P....!..P..
ff0000ec: ee075f17 ee075f16 ee075f15 ee085f17  ._..._..._..._..
ff0000fc: e59f2174 e3a03010 e5924000 e1c44003  t!...0...@...@..
ff00010c: e5824000 ee3f1f11 e3811505 ee2f1f11  .@....?......./.
ff00011c: e3a04003 ee034f10 e59f4160 ee024f10  .@...O..`A...O..
ff00012c: e3a03601 e3a02000 e3a01d06 e59f0150  .6... ......P...
NSA325> printenv 
baudrate=115200
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
console=ttyS0,115200
device=0:1
devices=usb sata
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-nsa325.dtb
ethaddr=5c:f4:ab:f4:6b:6b
fdtcontroladdr=1fb516e0
if_netconsole=ping $serverip
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x2c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x01100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb reset; sleep 1; usb reset";  setenv scan_sata "sata init";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin serial,nc; setenv stdout serial,nc; setenv stderr serial,nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type  $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
ver=U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)\
ZyXEL NSA325 2-Bay Power Media Server

Environment size: 3028/131068 bytes
NSA325> setenv devices usb
NSA325> boot
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Loading envs from usb 0...
Failed to load '/boot/uEnv.txt'
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... cannot reset port 3!?
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... unable to get device descriptor (error=-1)
1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
device usb 0:1
** Bad device specification usb 0 **
Couldn't find partition usb 0:1
Can't set block device
device usb 1:1
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
loading uImage ...
** Bad device specification usb 0 **
Couldn't find partition usb 0:1
Can't set block device
resetting ...

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
## Error: "init_sata" not defined
Loading envs from usb 0...
Failed to load '/boot/uEnv.txt'
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
** Bad device specification sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
** Bad device specification sata 1 **
Couldn't find partition sata 1:1
Can't set block device
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... cannot reset port 3!?
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
device usb 0:1
1 bytes read in 9 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
6223944 bytes read in 151 ms (39.3 MiB/s)
loading uInitrd ...
5791271 bytes read in 142 ms (38.9 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14414 bytes read in 10 ms (1.4 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6223880 Bytes = 5.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02c00000
   Booting using the fdt blob at 0x2c00000
Working FDT set to 2c00000


Starting kernel ...

   Loading Kernel Image
   Loading Ramdisk to 1f5c7000, end 1fb4cde7 ... OK
   Loading Device Tree to 1f5c0000, end 1f5c684d ... OK
Working FDT set to 1f5c0000

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: ZyXEL NSA325
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    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] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 491980K/524288K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 32308K reserved, 0K cma-reserved)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    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] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000039][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000530][    T0] Console: colour dummy device 80x30
[    0.000591][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000617][    T0] CPU: Testing write buffer coherency: ok
[    0.000731][    T0] pid_max: default: 32768 minimum: 301
[    0.007356][    T0] LSM: initializing lsm=capability,integrity
[    0.009187][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.009218][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.019125][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.019437][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.019846][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.020192][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.020561][    T1] rcu: Hierarchical SRCU implementation.
[    0.020575][    T1] rcu: 	Max phase no-delay instances is 1000.
[    0.023033][    T1] devtmpfs: initialized
[    0.032783][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.032821][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.035042][    T1] prandom: seed boundary self test passed
[    0.038229][    T1] prandom: 100 self tests passed
[    0.038242][    T1] pinctrl core: initialized pinctrl subsystem
[    0.041904][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.042597][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.046800][    T1] audit: initializing netlink subsys (disabled)
[    0.048566][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.048704][    T1] cpuidle: using governor ladder
[    0.048773][    T1] cpuidle: using governor menu
[    0.049296][    T1] Feroceon L2: Enabling L2
[    0.049324][    T1] Feroceon L2: Cache support initialised.
[    0.058273][    T1] No ATAGs?
[    0.060082][   T19] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.420052][    T1] raid6: int32x8  gen()   152 MB/s
[    0.760051][    T1] raid6: int32x4  gen()   144 MB/s
[    1.100075][    T1] raid6: int32x2  gen()   197 MB/s
[    1.440052][    T1] raid6: int32x1  gen()   151 MB/s
[    1.440062][    T1] raid6: using algorithm int32x2 gen() 197 MB/s
[    1.780051][    T1] raid6: .... xor() 122 MB/s, rmw enabled
[    1.780060][    T1] raid6: using intx1 recovery algorithm
[    1.781357][    T1] SCSI subsystem initialized
[    1.781932][    T1] usbcore: registered new interface driver usbfs
[    1.782011][    T1] usbcore: registered new interface driver hub
[    1.782059][    T1] usbcore: registered new device driver usb
[    1.782335][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.782342][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.782366][    T1] PTP clock support registered
[    1.784490][    T1] vgaarb: loaded
[    1.785139][    T1] clocksource: Switched to clocksource orion_clocksource
[    1.797065][    T1] VFS: Disk quotas dquot_6.6.0
[    1.797393][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.828034][    T1] NET: Registered PF_INET protocol family
[    1.828291][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.830501][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.830665][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.830695][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.830767][    T1] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.831308][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    1.831828][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.832039][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.832068][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.832745][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.833643][    T1] RPC: Registered named UNIX socket transport module.
[    1.833654][    T1] RPC: Registered udp transport module.
[    1.833659][    T1] RPC: Registered tcp transport module.
[    1.833663][    T1] RPC: Registered tcp-with-tls transport module.
[    1.833668][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.833684][    T1] PCI: CLS 0 bytes, default 32
[    1.835924][   T32] Trying to unpack rootfs image as initramfs...
[    2.559433][   T32] Freeing initrd memory: 5656K
[    2.975835][    T1] Initialise system trusted keyrings
[    2.975932][    T1] Key type blacklist registered
[    2.977005][    T1] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    2.977142][    T1] zbud: loaded
[    2.991442][    T1] NFS: Registering the id_resolver key type
[    2.991503][    T1] Key type id_resolver registered
[    2.991511][    T1] Key type id_legacy registered
[    2.991656][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.991673][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.992875][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    2.993521][    T1] fuse: init (API version 7.38)
[    2.994663][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    2.994913][    T1] orangefs_init: module version upstream loaded
[    2.995277][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.153306][    T1] xor: measuring software checksum speed
[    3.160001][    T1]    arm4regs        :  1479 MB/sec
[    3.171006][    T1]    8regs           :   895 MB/sec
[    3.178767][    T1]    32regs          :  1270 MB/sec
[    3.178774][    T1] xor: using function: arm4regs (1479 MB/sec)
[    3.178786][    T1] async_tx: api initialized (async)
[    3.178798][    T1] Key type asymmetric registered
[    3.178804][    T1] Asymmetric key parser 'x509' registered
[    3.218532][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    3.218876][    T1] io scheduler bfq registered
[    3.360358][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    3.361875][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.362973][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.363779][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    3.363843][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    3.363878][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    3.363909][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    3.363940][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.363969][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.363998][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.364019][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.364604][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    3.364620][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.364635][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    3.364649][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    3.364662][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    3.364673][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    3.364684][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    3.364779][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    3.366428][    T1] PCI: bus0: Fast back to back transfers disabled
[    3.366451][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.366703][    T1] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330
[    3.366741][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x90001fff 64bit]
[    3.366908][    T1] pci 0000:01:00.0: PME# supported from D0 D3hot
[    3.366984][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    3.395233][    T1] PCI: bus1: Fast back to back transfers disabled
[    3.395251][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.395295][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    3.395313][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    3.395336][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.395350][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    3.395474][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    3.396273][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    3.457036][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.460678][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.517103][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.520978][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    3.523057][    T1] printk: console [ttyS0] disabled
[    3.523561][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 28, base_baud = 12500000) is a 16550A
[    3.523615][    T1] printk: console [ttyS0] enabled
[    4.657448][    T1] loop: module loaded
[    4.662170][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    4.671509][    T1] scsi host0: sata_mv
[    4.676702][    T1] scsi host1: sata_mv
[    4.680896][    T1] ata1: SATA max UDMA/133 irq 29
[    4.685771][    T1] ata2: SATA max UDMA/133 irq 29
[    4.691533][    T1] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1
[    4.698683][    T1] nand: Eon NAND 128MiB 3,3V 8-bit
[    4.703676][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    4.712014][    T1] Scanning device for bad blocks
[    4.721676][    T1] Bad eraseblock 100 at 0x000000c80000
[    4.731819][    T1] Bad eraseblock 200 at 0x000001900000
[    4.776566][    T1] 9 cmdlinepart partitions found on MTD device orion_nand
[    4.783560][    T1] Creating 9 MTD partitions on "orion_nand":
[    4.789437][    T1] 0x000000000000-0x000000100000 : "uboot"
[    4.795720][    T1] 0x000000100000-0x000000180000 : "stock_uboot_env"
[    4.802731][    T1] 0x000000180000-0x000000200000 : "key_store"
[    4.809293][    T1] 0x000000200000-0x000000280000 : "info"
[    4.815380][    T1] 0x000000280000-0x000000c80000 : "etc"
[    4.821408][    T1] 0x000000c80000-0x000001680000 : "kernel_1"
[    4.827905][    T1] 0x000001680000-0x000004640000 : "rootfs1"
[    4.834389][    T1] 0x000004640000-0x000005040000 : "kernel_2"
[    4.840840][    T1] 0x000005040000-0x000008000000 : "rootfs2"
[    4.848065][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    4.856664][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    4.886869][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    4.895724][    T1] mv643xx_eth: Set the PHY to fix link down
[    4.896536][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 5c:f4:ab:f4:6b:6b
[    4.912317][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.918644][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.927256][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    4.955158][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.962282][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    4.971334][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.979319][    T1] usb usb1: Product: EHCI Host Controller
[    4.984943][    T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[    4.992319][    T1] usb usb1: SerialNumber: f1050000.ehci
[    4.998588][    T1] hub 1-0:1.0: USB hub found
[    5.003123][    T1] hub 1-0:1.0: 1 port detected
[    5.008783][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    5.014793][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    5.028044][   T53] ata1: SATA link down (SStatus 0 SControl F300)
[    5.130871][    T1] xhci_hcd 0000:01:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x0000000000000004
[    5.141270][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    5.147445][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    5.155640][    T1] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    5.162849][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    5.171874][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.179847][    T1] usb usb2: Product: xHCI Host Controller
[    5.185461][    T1] usb usb2: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[    5.192807][    T1] usb usb2: SerialNumber: 0000:01:00.0
[    5.198891][    T1] hub 2-0:1.0: USB hub found
[    5.203462][    T1] hub 2-0:1.0: 2 ports detected
[    5.208909][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.217935][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[    5.227055][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.235012][    T1] usb usb3: Product: xHCI Host Controller
[    5.240764][    T1] usb usb3: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[    5.248128][    T1] usb usb3: SerialNumber: 0000:01:00.0
[    5.254190][    T1] hub 3-0:1.0: USB hub found
[    5.258743][    T1] hub 3-0:1.0: 2 ports detected
[    5.264482][    T1] usbcore: registered new interface driver usb-storage
[    5.271927][    T1] mousedev: PS/2 mouse device common for all mice
[    5.278655][    T1] i2c_dev: i2c /dev entries driver
[    5.286851][    T1] rtc-pcf8563 0-0051: registered as rtc0
[    5.293639][    T1] rtc-pcf8563 0-0051: setting system clock to 2025-04-04T10:44:18 UTC (1743763458)
[    5.302933][   T50] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    5.312501][    T1] device-mapper: uevent: version 1.0.3
[    5.318432][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    5.328195][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    5.335706][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    5.343082][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.350535][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.360181][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    5.367502][    T1] hid: raw HID events driver (C) Jiri Kosina
[    5.373779][    T1] drop_monitor: Initializing network drop monitor service
[    5.382006][    T1] NET: Registered PF_INET6 protocol family
[    5.387763][   T55] ata2: SATA link down (SStatus 0 SControl F300)
[    5.396008][    T1] Segment Routing with IPv6
[    5.400396][    T1] RPL Segment Routing with IPv6
[    5.405263][    T1] In-situ OAM (IOAM) with IPv6
[    5.410048][    T1] NET: Registered PF_PACKET protocol family
[    5.416182][    T1] Key type dns_resolver registered
[    5.435370][    T1] registered taskstats version 1
[    5.440380][    T1] Loading compiled-in X.509 certificates
[    5.462753][    T1] Key type .fscrypt registered
[    5.467464][    T1] Key type fscrypt-provisioning registered
[    5.478509][    T1] Key type big_key registered
[    5.507154][   T50] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    5.524777][   T50] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    5.535935][    T1] Key type encrypted registered
[    5.540884][   T50] usb 1-1: Product: USB2.0 Hub
[    5.550399][   T50] hub 1-1:1.0: USB hub found
[    5.558202][   T50] hub 1-1:1.0: 4 ports detected
[    5.625569][   T63] usb 3-1: new SuperSpeed USB device number 2 using xhci_hcd
[    5.644813][  T106] "cryptomgr_test" (106) uses obsolete ecb(arc4) skcipher
[    5.661807][   T63] usb 3-1: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 1.00
[    5.676099][   T63] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.683981][   T63] usb 3-1: Product: DataTraveler 3.0
[    5.695417][   T63] usb 3-1: Manufacturer: Kingston
[    5.700331][   T63] usb 3-1: SerialNumber: 08606E6D402DBEB1B7159873
[    5.717946][   T63] usb-storage 3-1:1.0: USB Mass Storage device detected
[    5.735701][   T63] scsi host2: usb-storage 3-1:1.0
[    6.806744][   T18] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
[    6.826737][   T10] sd 2:0:0:0: [sda] 30310400 512-byte logical blocks: (15.5 GB/14.5 GiB)
[    6.845190][   T10] sd 2:0:0:0: [sda] Write Protect is off
[    6.852424][   T10] sd 2:0:0:0: [sda] No Caching mode page found
[    6.865170][   T10] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    6.891503][   T10]  sda: sda1
[    6.905522][   T10] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    7.451675][    T1] clk: Disabling unused clocks
[    7.460162][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    7.475812][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.482214][    T1] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.17-1~deb12u1
[    8.598470][  T158] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.38.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 
rootfs: clean, 20048/948416 files, 268007/3788544 blocks
done.
[   19.860013][  T179] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.933808][  T179] EXT4-fs (sda1): mounted filesystem 00680d54-3492-4c45-b5ee-83ef20f365a4 ro with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 3.06 booting
INIT: No inittab.d directory found
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   22.819501][  T360] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[   23.277851][  T368] orion_wdt: Initial timeout 21 sec
[   23.613561][  T370] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   23.850866][  T356] marvell-cesa f1030000.crypto: CESA device successfully registered
[   24.095225][    C0] random: crng init done
done.
Activating swap:.
[   25.324115][  T521] EXT4-fs (sda1): re-mounted 00680d54-3492-4c45-b5ee-83ef20f365a4 r/w. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
[   27.800333][  T900] mv643xx_eth: Set the PHY back to auto-negotiation mode
[   27.801041][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 10 Mb/s, half duplex, flow control disabled
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/5c:f4:ab:f4:6b:6b
Sending on   LPF/eth0/5c:f4:ab:f4:6b:6b
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Not starting NFS kernel daemon: no exports ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1019 (syslogd)
.
Starting system message bus: dbus
.
Starting NTP server: ntpd2025-04-04T03:45:43 ntpd[1064]: INIT: ntpd ntpsec-1.2.2: Starting
2025-04-04T03:45:43 ntpd[1064]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1042 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 12 debian ttyS0

debian login: root
Password: 
Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Apr  4 03:31:55 PDT 2025 on ttyS0
debian
ZyXEL NSA325
Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
Debian 12.2
Fri Apr 4 03:45:52 PDT 2025 up 1 minute
root@debian:~# halt

Broadcast message from root@debian (ttyS0) (Fri Apr  4 03:45:54 2025):

The system is going down for system halt NOW!
INIT: No iniUsing makefile-style concurrent boot in runlevel 0.
Stopping hotplug events dispatcher: systemd-udevd.
Stopping busybox' klogd implementation: klogd1042 (klogd)
Stopped klogd (pid 1042).
.
Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Saving random seed...done.
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon...done.
Stopping busybox' syslogd implementation: syslogd1019 (syslogd)
.
Asking all remaining processes to terminate...done.
All processes ended within 1 seconds...done.
Stopping RPC port mapper daemon: rpcbind.
Stopping NFS common utilities: idmapd statd.
Deconfiguring network interfaces...Removed stale PID file
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/5c:f4:ab:f4:6b:6b
Sending on   LPF/eth0/5c:f4:ab:f4:6b:6b
Sending on   Socket/fallback
DHCPRELEASE of 192.168.1.145 on eth0 to 192.168.1.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
dhclient.c:3124: Failed to send 300 byte long packet over fallback interface.
done.
Saving the system clock to /dev/rtc0.
Hardware Clock updated to Fri Apr  4 03:45:56 PDT 2025.
Will now unmount temporary filesystems:umount: /tmp unmounted
.
Will now deactivate swap:.
[  103.769229][ T1240] EXT4-fs (sda1): re-mounted 00680d54-3492-4c45-b5ee-83ef20f365a4 ro. Quota mode: none.
Mounting root filesystem read-only...done.
Will now halt.
logger: 
socket /dev/log
: Connection refused
[  103.886666][ T1246] reboot: Power down

After a reboot - full power down:
[  104.137172][ T1249] reboot: Power down


U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325> 
NSA325> boot
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
## Error: "init_sata" not defined
Loading envs from usb 0...
Failed to load '/boot/uEnv.txt'
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
** Bad device specification sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
** Bad device specification sata 1 **
Couldn't find partition sata 1:1
Can't set block device
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... cannot reset port 3!?
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
device usb 0:1
1 bytes read in 9 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
6223944 bytes read in 152 ms (39.1 MiB/s)
loading uInitrd ...
5791271 bytes read in 142 ms (38.9 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14414 bytes read in 10 ms (1.4 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6223880 Bytes = 5.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02c00000
   Booting using the fdt blob at 0x2c00000
Working FDT set to 2c00000


Starting kernel ...

   Loading Kernel Image
   Loading Ramdisk to 1f5c7000, end 1fb4cde7 ... OK
   Loading Device Tree to 1f5c0000, end 1f5c684d ... OK
Working FDT set to 1f5c0000

Starting kernel ...



U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  4 

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
## Error: "init_sata" not defined
Loading envs from usb 0...
Failed to load '/boot/uEnv.txt'
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
** Bad device specification sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
** Bad device specification sata 1 **
Couldn't find partition sata 1:1
Can't set block device
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... cannot reset port 3!?
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... Device not responding to set address.

      USB device not accepting new address (error=80000000)
1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
device usb 0:1
** Bad device specification usb 0 **
Couldn't find partition usb 0:1
Can't set block device
device usb 1:1
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Scan device sata
device sata 0:1
** Bad device specification sata 0 **
Couldn't find partition sata 0:1
Can't set block device
device sata 1:1
** Bad device specification sata 1 **
Couldn't find partition sata 1:1
Can't set block device
device sata 2:1
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
device sata 3:1
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
loading uImage ...
** Bad device specification usb 0 **
Couldn't find partition usb 0:1
Can't set block device
resetting ...

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot: 10 

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
## Error: "init_sata" not defined
Loading envs from usb 0...
Failed to load '/boot/uEnv.txt'
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
** Bad device specification sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
** Bad device specification sata 1 **
Couldn't find partition sata 1:1
Can't set block device
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... cannot reset port 3!?
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
## Error: "init_sata" not defined
Loading envs from usb 0...
Failed to load '/boot/uEnv.txt'
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
** Bad device specification sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
** Bad device specification sata 1 **
Couldn't find partition sata 1:1
Can't set block device
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... cannot reset port 3!?
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
device usb 0:1
1 bytes read in 9 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
6223944 bytes read in 151 ms (39.3 MiB/s)
loading uInitrd ...
5791271 bytes read in 142 ms (38.9 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14414 bytes read in 10 ms (1.4 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6223880 Bytes = 5.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02c00000
   Booting using the fdt blob at 0x2c00000
Working FDT set to 2c00000


Starting kernel ...

   Loading Kernel Image
   Loading Ramdisk to 1f5c7000, end 1fb4cde7 ... OK
   Loading Device Tree to 1f5c0000, end 1f5c684d ... OK
Working FDT set to 1f5c0000

Starting kernel ...



U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325>

I believe after a reboot the watchdog start barking:
NSA325> date
Date: 2025-04-04 (Friday)    Time: 11:01:12
NSA325> 

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot: 10 

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325> date
Date: 2025-04-04 (Friday)    Time: 11:02:52
NSA325>

Please let me know if you need any further logs.

Thanks again!
Re: NSA325v2 bricked
April 04, 2025 01:55PM
Szfinx75,

I'm not yet convinced the watchdog has anything to do with it. The code that kills the watchdog has not been changed since 2017.07 version. The only difference is it seems yours and ErGatto's boxes might have a different BootROM version than other NSA325 boxes in the past.

Let's test it this way:

A. Reboot.
B. Cold start.

=============

A. Reboot.

Press the Power button to power up.

1. Interrupt u-boot count down. Let it sit at the prompt for a couple minutes. If the box is not reset then it means the watchdog is not running.

2. Boot into Debian. Let it sit idle for a couple minutes. If the box is not reset then it means the watchdog is not running.

3. Reboot
shutdown -r now

And when u-boot runs to the countdown, repeat step 1 to 3.

If you can repeat the test above a few times then the watchdog is not the cause of the reset during reboot.

=========

B. Cold start.

Press the Power button to power up.

1. Interrupt u-boot count down. Let it sit at the prompt for a couple minutes. If the box is not reset then it means the watchdog is not running.

2. Boot into Debian. Let it sit idle for a couple minutes. If the box is not reset then it means the watchdog is not running.

3. Shutdown
shutdown -h now

And then wait for a couple minutes, press the Power button to power up. When u-boot runs to the countdown, repeat step 1 to 3.

If you can repeat the test above a few times then the watchdog is not the cause of the reset during cold start.

=======

If either A or B failed to boot, check to see if the USB storage was detected when booting. If there are messages that show "(0) storage devices found, then consider that test invalid. We'll do another test to figure out why "usb reset" failed.

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



Edited 1 time(s). Last edit at 04/04/2025 01:56PM by bodhi.
Szfinx75
Re: NSA325v2 bricked
April 05, 2025 09:30AM
Bodhi,

Test A - Reboot worked 5 out of 5 without any issue.


Test B - Cold start, however, failed. U-boot countdown restarts automatically after ~1 minute.

[  120.619330][ T1246] reboot: Power down


U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325> 
NSA325> date
Date: 2025-04-05 (Saturday)    Time: 16:12:43
NSA325> 

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325> date
Unknown command '�date' - try 'help'
NSA325> date
Date: 2025-04-05 (Saturday)    Time: 16:13:37
NSA325> 

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325> date
Date: 2025-04-05 (Saturday)    Time: 16:13:54
NSA325> 

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325> <INTERRUPT>
NSA325>

According to me, USB storage has been found every time. In total 2 USB devices has been detected, 1 for the serial connection and 1 for storage:
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
device usb 0:1
1 bytes read in 9 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
6223944 bytes read in 151 ms (39.3 MiB/s)
loading uInitrd ...
5791271 bytes read in 142 ms (38.9 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14414 bytes read in 10 ms (1.4 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6223880 Bytes = 5.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02c00000
   Booting using the fdt blob at 0x2c00000
Working FDT set to 2c00000


Starting kernel ...

   Loading Kernel Image
   Loading Ramdisk to 1f5c7000, end 1fb4cde7 ... OK
   Loading Device Tree to 1f5c0000, end 1f5c684d ... OK
Working FDT set to 1f5c0000

Starting kernel ...



U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0

Do you have any other idea, what to test?

Thanks and Regards,
Re: NSA325v2 bricked
April 05, 2025 02:06PM
Szfinx75,

Here is Test C.

C. Cold start from disconnected power cord and no extra USB device.

After booting into Debian successfully, shutdown the box with "shutdown -h now", remove power cord, remove the USB serial converter. The box should have only the USB rootfs attached.

Wait for 60 seconds. Connect the power cord and then press the Power button to power up. When u-boot starts, use a stopwatch to measure the time until the box got reset, if it occurs.

1. Interrupt u-boot count down. Let it sit at the prompt for a couple minutes. If the box is not reset then it means the watchdog is not running.

2. Boot into Debian. Let it sit idle for a couple minutes. If the box is not reset then it means the watchdog is not running.

3. Shutdown
shutdown -h now


And then wait for a couple minutes, repeat the test.

If you can repeat the test above a few times then the watchdog is not the cause of the reset during cold start.

====

If this test C failed then I think the watchdog somehow got activated. Perhaps, this BootROM actually flips the watchdog GPIO.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Szfinx75
Re: NSA325v2 bricked
April 05, 2025 02:25PM
Bodhi,

Sorry, I'm a bit confused. How am I supposed to monitor the boot process and interrupt the count down if the serial connection is disconnected? Shall I configure a network console port first?

Thanks and Regards,
Szfinx75
Re: NSA325v2 bricked
April 05, 2025 03:32PM
Szfinx75,

> Sorry, I'm a bit confused. How am I supposed to
> monitor the boot process and interrupt the count
> down if the serial connection is disconnected?
> Shall I configure a network console port first?

Oh. I thought you have a serial module converter plugged in to another USB port. Yes, connect serial console wires.

The extra USB device you saw was not the serial console connection. It was the USB hub.

The serial port is the UART device, which will not be shown in the log.

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



Edited 1 time(s). Last edit at 04/05/2025 03:53PM by bodhi.
Szfinx75
Re: NSA325v2 bricked
April 06, 2025 12:25PM
Bodhi,

Thanks for the clarification!

I've tested scenario C at least 12 times and I cannot find a consistent pattern :(

At least thrice after power down system started properly and I managed to login into Debian. Once Debian has been started system looks stable - no unexpected restart occurred. Maybe my wait time was shorter during these tests but it was definitely longer than the proposed 60 sec.

Once I received the following "Gave up waiting for root file system device." error:

Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  LABEL=rootfs does not exist.  Dropping to a shell!


BusyBox v1.35.0 (Debian 1:1.35.0-4+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) [  253.555389][    C0] random: crng init done

After the above failed attempt, removing the power cord, connecting back the power cord and powering up the box resulted a proper boot into Debian - without checking rootfs or changing the boot device.

The 'typical' scenario which happened in most cases is the following:

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
## Error: "init_sata" not defined
Loading envs from usb 0...
Failed to load '/boot/uEnv.txt'
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
** Bad device specification sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
** Bad device specification sata 1 **
Couldn't find partition sata 1:1
Can't set block device
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... cannot reset port 3!?
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
device usb 0:1
1 bytes read in 9 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
6223944 bytes read in 151 ms (39.3 MiB/s)
loading uInitrd ...
5791271 bytes read in 142 ms (38.9 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14414 bytes read in 10 ms (1.4 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6223880 Bytes = 5.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02c00000
   Booting using the fdt blob at 0x2c00000
Working FDT set to 2c00000


Starting kernel ...

   Loading Kernel Image


U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
## Error: "init_sata" not defined
Loading envs from usb 0...
Failed to load '/boot/uEnv.txt'
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
** Bad device specification sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
** Bad device specification sata 1 **
Couldn't find partition sata 1:1
Can't set block device
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... cannot reset port 3!?
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
device usb 0:1
1 bytes read in 9 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
6223944 bytes read in 151 ms (39.3 MiB/s)
loading uInitrd ...
5791271 bytes read in 142 ms (38.9 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14414 bytes read in 10 ms (1.4 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6223880 Bytes = 5.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02c00000
   Booting using the fdt blob at 0x2c00000
Working FDT set to 2c00000


Starting kernel ...

   Loading Kernel Image
   Loading Ramdisk to 1f5c7000, end 1fb4cde7 ... OK
   Loading Device Tree to 1f5c0000, end 1f5c684d ... OK
Working FDT set to 1f5c0000

Starting kernel ...



U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

The time between two resets - 'U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)' is around 37 seconds. In some cases was much slower 1 minute 24 seconds - the load process stuck for more than 30 seconds in the Starting kernel phase:

Starting kernel ...

   Loading Kernel Image
   Loading Ramdisk to 1f5c7000, end 1fb4cde7 ... OK
   Loading Device Tree to 1f5c0000, end 1f5c684d ... OK
Working FDT set to 1f5c0000

Starting kernel ...

I've seen the "(0) storage devices found' error once but I haven't captured that log.

Thanks and Regards,
Szfinx
Re: NSA325v2 bricked
April 06, 2025 01:54PM
Szfinx75,

Quote

> I've tested scenario C at least 12 times and I
> cannot find a consistent pattern :(
>
> At least thrice after power down system started
> properly and I managed to login into Debian. Once
> Debian has been started system looks stable - no
> unexpected restart occurred. Maybe my wait time
> was shorter during these tests but it was
> definitely longer than the proposed 60 sec.

>
> Once I received the following "Gave up waiting for
> root file system device." error:


> Starting kernel ...
>
> Loading Kernel Image
>
>
> U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21
> -0700)
> ZyXEL NSA325 2-Bay Power Media Server

> I've seen the "(0) storage devices found' error
> once but I haven't captured that log.

Ok, I am convinced that this is not a watchdog problem.

This is likely a power problem. Two possibilities:

- Power supply. Check the voltage and amp of the power supply.
- USB power.

Let me post a work around and see if it will be better. If the USB power is the culprit, then it should help.

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



Edited 1 time(s). Last edit at 04/06/2025 03:46PM by bodhi.
Re: NSA325v2 bricked
April 06, 2025 10:07PM
Szfinx75 ,

Do test C again. With Step 2 revised as followed.

2. Boot into Debian.

interrupt u-boot countdown, and and set the env scan_disk as followed (copy and paste this command):

setenv scan_disk 'echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start; sleep 1";  setenv scan_sata "sata init";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done'
And then
boot


Let it sit idle for a couple minutes. If the box is not reset then it means the watchdog is not running.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Szfinx75
Re: NSA325v2 bricked
April 07, 2025 06:18AM
Bodhi,

I think the situation is a bit worse now. Boot process stuck at different stages. Please see below a few log snippets:
[    5.380503][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.387952][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.397978][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    5.405188][    T1] hid: raw HID events driver (C) Jiri Kosina
[    5.411704][    T1] drop_monitor: Initializing network drop monitor service
[    5.420039][    T1] NET: Registered PF_INET6 protocol family
[    5.427638][    T1] Segment Routing with IPv6
[    5.432033][    T1] RPL Segment Routing with IPv6
[    5.436910][    T1] In-situ OAM (IOAM) with IPv6
[    5.441728][    T1] NET: Registered PF_PACKET protocol family
[    5.447856][    T1] Key type dns_resolver registered


U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325>


U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325> boot
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325>

Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... cannot reset port 3!?
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325>

If this is a USB power issue, can we set the system to use the SATA drive for booting?

Thanks and Regards,
Szfinx
Re: NSA325v2 bricked
April 07, 2025 02:14PM
Szfinx75 ,

1. Have you tried what I post above?

Quote

>
> Do test C again. With Step 2 revised as followed.
>
> 2. Boot into Debian.
>
> interrupt u-boot countdown, and and
> set the env scan_disk as followed (copy and paste
> this command):
>
>
> setenv scan_disk 'echo running scan_disk ...;
> scan_done=0; setenv scan_usb "usb start; sleep 1";
>  setenv scan_sata "sata init";  setenv scan_mmc
> "mmc rescan"; for dev in $devices; do if test
> $scan_done -eq 0; then echo Scan device $dev; run
> scan_$dev; for disknum in $disks; do if test
> $scan_done -eq 0; then echo device $dev
> $disknum:1; if load $dev $disknum:1
> $load_uimage_addr /boot/uImage 1; then
> scan_done=1; echo Found bootable drive on $dev
> $disknum; setenv device $disknum:1; setenv bootdev
> $dev; fi; fi; done; fi; done'
>
> And then
>
> boot
> 

>
> Let it sit idle for a couple minutes. If the box
> is not reset then it means the watchdog is not
> running.


2. You can boot with the rootfs on HDD. On another Linux box, prepare the HDD rootfs exactly the same way you did for the USB drive. Insert it in the SATA slot. Remove any USB drive that are attached.

Power up, interrupt count down and adjust the devices to:

setenv devices sata
(Do this first during testing, later you can also specifiy both types 'sata usb' as the original envs intended).

And then boot
boot

Monitor serial console log, there should be no USB scanning going on.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Szfinx75
Re: NSA325v2 bricked
April 08, 2025 06:08AM
Bodhi,

Yes, I did and once again today:

U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325> setenv scan_disk 'echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start; sleep 1";  setenv scan_sata "sata init";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done'
NSA325> 
U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0 
NSA325> setenv scan_disk 'echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start; sleep 1";  setenv scan_sata "sata init";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done'
NSA325> 
NSA325> boot
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
Bus xhci_pci: Register 4000820 NbrPorts 4
Starting the controller
USB XHCI 0.96
scanning bus ehci@50000 for devices... 2 USB Device(s) found
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
## Error: "init_sata" not defined
Loading envs from usb 0...
Failed to load '/boot/uEnv.txt'
Loading envs from usb 1...
** Bad device specification usb 1 **
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
** Bad device specification usb 2 **
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
** Bad device specification usb 3 **
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
** Bad device specification sata 0 **
Couldn't find partition sata 0:1
Can't set block device
Loading envs from sata 1...
** Bad device specification sata 1 **
Couldn't find partition sata 1:1
Can't set block device
Loading envs from sata 2...
** Bad device specification sata 2 **
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
** Bad device specification sata 3 **
Couldn't find partition sata 3:1
Can't set block device
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 6 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
6223944 bytes read in 170 ms (34.9 MiB/s)
loading uInitrd ...
5791271 bytes read in 160 ms (34.5 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14414 bytes read in 10 ms (1.4 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6223880 Bytes = 5.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02c00000
   Booting using the fdt blob at 0x2c00000
Working FDT set to 2c00000


Starting kernel ...

   Loading Kernel Image
   Loading Ramdisk to 1f5c7000, end 1fb4cde7 ... OK
   Loading Device Tree to 1f5c0000, end 1f5c684d ... OK
Working FDT set to 1f5c0000

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: ZyXEL NSA325
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    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] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 491980K/524288K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 32308K reserved, 0K cma-reserved)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    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] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000039][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000530][    T0] Console: colour dummy device 80x30
[    0.000591][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000617][    T0] CPU: Testing write buffer coherency: ok
[    0.000731][    T0] pid_max: default: 32768 minimum: 301
[    0.007395][    T0] LSM: initializing lsm=capability,integrity
[    0.009230][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.009261][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.019233][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.019547][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.019952][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.020292][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.020655][    T1] rcu: Hierarchical SRCU implementation.
[    0.020669][    T1] rcu: 	Max phase no-delay instances is 1000.
[    0.023096][    T1] devtmpfs: initialized
[    0.032843][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.032881][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.035096][    T1] prandom: seed boundary self test passed
[    0.038283][    T1] prandom: 100 self tests passed
[    0.038297][    T1] pinctrl core: initialized pinctrl subsystem
[    0.041949][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.042642][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.046830][    T1] audit: initializing netlink subsys (disabled)
[    0.048600][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.048735][    T1] cpuidle: using governor ladder
[    0.048805][    T1] cpuidle: using governor menu
[    0.049332][    T1] Feroceon L2: Enabling L2
[    0.049364][    T1] Feroceon L2: Cache support initialised.
[    0.058657][    T1] No ATAGs?
[    0.060085][   T19] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.420054][    T1] raid6: int32x8  gen()   152 MB/s
[    0.760053][    T1] raid6: int32x4  gen()   140 MB/s
[    1.100076][    T1] raid6: int32x2  gen()   181 MB/s
[    1.440053][    T1] raid6: int32x1  gen()   132 MB/s
[    1.440064][    T1] raid6: using algorithm int32x2 gen() 181 MB/s
[    1.780051][    T1] raid6: .... xor() 116 MB/s, rmw enabled
[    1.780060][    T1] raid6: using intx1 recovery algorithm
[    1.781393][    T1] SCSI subsystem initialized
[    1.781999][    T1] usbcore: registered new interface driver usbfs
[    1.782085][    T1] usbcore: registered new interface driver hub
[    1.782138][    T1] usbcore: registered new device driver usb
[    1.782432][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.782440][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.782465][    T1] PTP clock support registered
[    1.784664][    T1] vgaarb: loaded
[    1.785349][    T1] clocksource: Switched to clocksource orion_clocksource
[    1.797661][    T1] VFS: Disk quotas dquot_6.6.0
[    1.797991][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.829156][    T1] NET: Registered PF_INET protocol family
[    1.829422][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.831689][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.831854][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.831886][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.831958][    T1] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.832500][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    1.833035][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.833250][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.833281][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.833976][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.834920][    T1] RPC: Registered named UNIX socket transport module.
[    1.834932][    T1] RPC: Registered udp transport module.
[    1.834937][    T1] RPC: Registered tcp transport module.
[    1.834942][    T1] RPC: Registered tcp-with-tls transport module.
[    1.834946][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.834964][    T1] PCI: CLS 0 bytes, default 32
[    1.837273][   T32] Trying to unpack rootfs image as initramfs...
[    2.580546][   T32] Freeing initrd memory: 5656K
[    2.995690][    T1] Initialise system trusted keyrings
[    2.995792][    T1] Key type blacklist registered
[    2.996910][    T1] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    2.997055][    T1] zbud: loaded
[    3.011451][    T1] NFS: Registering the id_resolver key type
[    3.011525][    T1] Key type id_resolver registered
[    3.011533][    T1] Key type id_legacy registered
[    3.011680][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.011697][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.012921][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    3.013583][    T1] fuse: init (API version 7.38)
[    3.014747][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    3.015006][    T1] orangefs_init: module version upstream loaded
[    3.015304][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.173605][    T1] xor: measuring software checksum speed
[    3.180316][    T1]    arm4regs        :  1475 MB/sec
[    3.191323][    T1]    8regs           :   895 MB/sec
[    3.199086][    T1]    32regs          :  1270 MB/sec
[    3.199094][    T1] xor: using function: arm4regs (1475 MB/sec)
[    3.199106][    T1] async_tx: api initialized (async)
[    3.199119][    T1] Key type asymmetric registered
[    3.199126][    T1] Asymmetric key parser 'x509' registered
[    3.240638][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    3.240988][    T1] io scheduler bfq registered
[    3.382811][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    3.384402][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.385653][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.386502][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    3.386568][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    3.386603][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    3.386636][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    3.386668][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.386697][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.386727][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.386747][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.387364][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    3.387382][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.387397][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    3.387412][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    3.387425][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    3.387437][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    3.387448][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    3.387545][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    3.389105][    T1] PCI: bus0: Fast back to back transfers disabled
[    3.389129][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.389386][    T1] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330
[    3.389425][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x90001fff 64bit]
[    3.389592][    T1] pci 0000:01:00.0: PME# supported from D0 D3hot
[    3.389670][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    3.415452][    T1] PCI: bus1: Fast back to back transfers disabled
[    3.415471][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.415516][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    3.415535][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    3.415559][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.415573][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    3.415705][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    3.416539][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    3.477261][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.480945][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.537324][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.541260][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    3.543446][    T1] printk: console [ttyS0] disabled
[    3.543974][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 28, base_baud = 12500000) is a 16550A
[    3.544031][    T1] printk: console [ttyS0] enabled
[    4.678369][    T1] loop: module loaded
[    4.683132][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    4.692688][    T1] scsi host0: sata_mv
[    4.697934][    T1] scsi host1: sata_mv
[    4.702144][    T1] ata1: SATA max UDMA/133 irq 29
[    4.707028][    T1] ata2: SATA max UDMA/133 irq 29
[    4.712841][    T1] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1
[    4.719993][    T1] nand: Eon NAND 128MiB 3,3V 8-bit
[    4.724981][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    4.733322][    T1] Scanning device for bad blocks
[    4.742994][    T1] Bad eraseblock 100 at 0x000000c80000
[    4.753133][    T1] Bad eraseblock 200 at 0x000001900000
[    4.797893][    T1] 9 cmdlinepart partitions found on MTD device orion_nand
[    4.804892][    T1] Creating 9 MTD partitions on "orion_nand":
[    4.810772][    T1] 0x000000000000-0x000000100000 : "uboot"
[    4.817078][    T1] 0x000000100000-0x000000180000 : "stock_uboot_env"
[    4.824116][    T1] 0x000000180000-0x000000200000 : "key_store"
[    4.830716][    T1] 0x000000200000-0x000000280000 : "info"
[    4.836827][    T1] 0x000000280000-0x000000c80000 : "etc"
[    4.842885][    T1] 0x000000c80000-0x000001680000 : "kernel_1"
[    4.849424][    T1] 0x000001680000-0x000004640000 : "rootfs1"
[    4.855980][    T1] 0x000004640000-0x000005040000 : "kernel_2"
[    4.862432][    T1] 0x000005040000-0x000008000000 : "rootfs2"
[    4.869714][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    4.878322][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    4.909284][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    4.918184][    T1] mv643xx_eth: Set the PHY to fix link down
[    4.919022][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 5c:f4:ab:f4:6b:6b
[    4.934864][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.941204][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.949832][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    4.985370][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.992520][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    5.001572][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.009568][    T1] usb usb1: Product: EHCI Host Controller
[    5.015198][    T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[    5.022580][    T1] usb usb1: SerialNumber: f1050000.ehci
[    5.028887][    T1] hub 1-0:1.0: USB hub found
[    5.033425][    T1] hub 1-0:1.0: 1 port detected
[    5.039145][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    5.045155][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    5.053343][   T53] ata1: SATA link down (SStatus 0 SControl F300)
[    5.059916][    T1] xhci_hcd 0000:01:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x0000000000000004
[    5.070532][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    5.076551][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    5.084854][    T1] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    5.092133][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    5.101169][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.109141][    T1] usb usb2: Product: xHCI Host Controller
[    5.114741][    T1] usb usb2: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[    5.122099][    T1] usb usb2: SerialNumber: 0000:01:00.0
[    5.128215][    T1] hub 2-0:1.0: USB hub found
[    5.132750][    T1] hub 2-0:1.0: 2 ports detected
[    5.138239][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.147279][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[    5.156321][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.164279][    T1] usb usb3: Product: xHCI Host Controller
[    5.170014][    T1] usb usb3: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[    5.177539][    T1] usb usb3: SerialNumber: 0000:01:00.0
[    5.183640][    T1] hub 3-0:1.0: USB hub found
[    5.188208][    T1] hub 3-0:1.0: 2 ports detected
[    5.193858][    T1] usbcore: registered new interface driver usb-storage
[    5.201131][    T1] mousedev: PS/2 mouse device common for all mice
[    5.207856][    T1] i2c_dev: i2c /dev entries driver
[    5.216103][    T1] rtc-pcf8563 0-0051: registered as rtc0
[    5.222869][    T1] rtc-pcf8563 0-0051: setting system clock to 2025-04-08T11:50:39 UTC (1744113039)
[    5.234135][    T1] device-mapper: uevent: version 1.0.3
[    5.240009][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    5.249831][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    5.257257][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    5.264605][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.272038][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.282224][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    5.289682][    T1] hid: raw HID events driver (C) Jiri Kosina
[    5.296117][    T1] drop_monitor: Initializing network drop monitor service
[    5.304312][    T1] NET: Registered PF_INET6 protocol family
[    5.311799][    T1] Segment Routing with IPv6
[    5.316285][    T1] RPL Segment Routing with IPv6
[    5.321094][    T1] In-situ OAM (IOAM) with IPv6
[    5.325800][   T50] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    5.333428][    T1] NET: Registered PF_PACKET protocol family
[    5.339766][    T1] Key type dns_resolver registered
[    5.359532][    T1] registered taskstats version 1
[    5.364570][    T1] Loading compiled-in X.509 certificates
[    5.387236][    T1] Key type .fscrypt registered
[    5.391978][    T1] Key type fscrypt-provisioning registered
[    5.402483][    T1] Key type big_key registered
[    5.417370][   T55] ata2: SATA link down (SStatus 0 SControl F300)
[    5.450886][    T1] Key type encrypted registered
[    5.537347][   T50] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    5.548658][  T107] "cryptomgr_test" (107) uses obsolete ecb(arc4) skcipher
[    5.555805][   T50] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    5.563683][   T50] usb 1-1: Product: USB2.0 Hub
[    5.576608][   T50] hub 1-1:1.0: USB hub found
[    5.585221][   T50] hub 1-1:1.0: 4 ports detected
[    6.245623][   T64] usb 3-1: new SuperSpeed USB device number 2 using xhci_hcd
[    6.294684][   T64] usb 3-1: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 1.00
[    6.315367][   T64] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.323247][   T64] usb 3-1: Product: DataTraveler 3.0
[    6.340734][   T64] usb 3-1: Manufacturer: Kingston
[    6.345861][   T64] usb 3-1: SerialNumber: 08606E6D402DBEB1B7159873
[    6.367809][   T64] usb-storage 3-1:1.0: USB Mass Storage device detected
[    6.385875][   T64] scsi host2: usb-storage 3-1:1.0
[    7.338588][    T1] clk: Disabling unused clocks
[    7.347006][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    7.366018][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.372425][    T1] Run /init as init process
Loading, please wait...
[    7.534375][   T18] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
Starting systemd-udevd version 252.17-1~deb12u1
[    8.143324][   T10] sd 2:0:0:0: [sda] 30310400 512-byte logical blocks: (15.5 GB/14.5 GiB)
[    8.167342][   T10] sd 2:0:0:0: [sda] Write Protect is off
[    8.185451][   T10] sd 2:0:0:0: [sda] No Caching mode page found
[    8.191512][   T10] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    8.282235][   T10]  sda: sda1
[    8.296170][   T10] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    8.803182][  T155] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.38.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 
rootfs: clean, 20050/948416 files, 268029/3788544 blocks
done.
[   19.880133][  T180] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.946387][  T180] EXT4-fs (sda1): mounted filesystem 00680d54-3492-4c45-b5ee-83ef20f365a4 ro with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 3.06 booting
INIT: No inittab.d directory found
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   22.946363][  T358] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[   23.443207][  T361] orion_wdt: Initial timeout 21 sec
[   23.783163][  T371] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   23.954654][  T357] marvell-cesa f1030000.crypto: CESA device successfully registered
[   24.145442][    C0] random: crng init done
done.
Activating swap:.
[   25.540071][  T522] EXT4-fs (sda1): re-mounted 00680d54-3492-4c45-b5ee-83ef20f365a4 r/w. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
[   28.087215][  T901] mv643xx_eth: Set the PHY back to auto-negotiation mode
[   28.087737][   T64] mv643xx_eth_port mv643xx_eth_port.0 eth0: No phy led trigger registered for speed(10)
[   28.104537][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 10 Mb/s, half duplex, flow control disabled
[   30.165686][   T64] mv643xx_eth_port mv643xx_eth_port.0 eth0: No phy led trigger registered for speed(1000)
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/5c:f4:ab:f4:6b:6b
Sending on   LPF/eth0/5c:f4:ab:f4:6b:6b
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3



^[[A^[[A^H^H^H^H^H^H^H^H^H^H^H^H^H^[[D^HDHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Not starting NFS kernel daemon: no exports ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1021 (syslogd)
.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting NTP server: ntpd2025-04-08T04:52:05 ntpd[1066]: INIT: ntpd ntpsec-1.2.2: Starting
2025-04-08T04:52:05 ntpd[1066]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1045 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 12 debian ttyS0

debian login: root
Password: 
Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Apr  8 04:09:23 PDT 2025 on ttyS0
debian
ZyXEL NSA325
Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
Debian 12.2
Tue Apr 8 04:52:16 PDT 2025 up 1 minute

Managed to boot into Debian 2 or 3 times. Rebooted with shutdown -h now.

Since then:
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6223880 Bytes = 5.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes = 5.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02c00000
   Booting using the fdt blob at 0x2c00000
Working FDT set to 2c00000


Starting kernel ...

   Loading Kernel Image
   Loading Ramdisk to 1f5c7000, end 1fb4cde7 ... OK
   Loading Device Tree to 1f5c0000, end 1f5c684d ... OK
Working FDT set to 1f5c0000

Starting kernel ...



U-Boot 2023.04-tld-1 (Jun 24 2023 - 17:50:21 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
Model: ZyXEL NSA325
DRAM:  512 MiB
Core:  19 devices, 15 uclasses, devicetree: separate
NAND:  128 MiB
Loading Environment from NAND... OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
pcie0.0: Link up
Net:   eth0: ethernet-controller@72000
Hit any key to stop autoboot:  0

I think it's time to give up and switch to a new hardware :(
Anyway, much apprecite your work you do for this community!

Best Regards,
Szfinx
Re: NSA325v2 bricked
April 08, 2025 01:28PM
Szfinx75,

> I think it's time to give up and switch to a new
> hardware :(

Too bad!

But check your power supply as the last resort, don't throwing it away too soon.

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

Your Email:


Subject:


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