Welcome! Log In Create A New Profile

Advanced

NSA310 - no network after boot

Posted by tmcatalin 
NSA310 - no network after boot
July 14, 2025 11:42PM
Hi,
I am opening this topic to get some ideas of investigations or corrections.
My setup is the following:
Router <-> unmanaged switch <-> NSA310
with an asuswrt router and a TP-Link TL-SG105 switch.

This configuration was fully functional until a power interruption on entire home.
Now NSA310 get an IP address only when connected directly to router.

Of course, I restarted all devices few times, I checked access on switch with another new devices and nothing changed.
BTW, in the same switch is a NSA325 (original firmware) without this issue.

Here are some details:
- ethernet LED is blinking just until the start of loading essential drivers and after is no more activity (when connecting to switch)
- if I am taking that cable and insert in PC starts immediately to negotiate and is getting IP
- if I am moving back to NSA310 nothing is happening (including LED activity)

- interface configuration:
rename /enp1s0=eth0
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
        hwaddress ether [redacted MAC]

- logs during booting direct connection to router (it was before changing the name to eth0):
Listening on LPF/enp1s0/[redacted MAC]
Sending on   LPF/enp1s0/[redacted MAC]
Sending on   Socket/fallback
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 6
[   73.310930][   T64] r8169 0000:01:00.0 enp1s0: Link is Up - 10Mbps/Full - flow control rx/tx
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 17
DHCPOFFER of [redacted IP] from [redacted IP]

- logs during booting using the switch:
Listening on LPF/enp1s0/[redacted MAC]
Sending on   LPF/enp1s0/[redacted MAC]
Sending on   Socket/fallback
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.

- content of printenv:
NSA310> printenv
arcNumber=2097
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; 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
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-nsa310.dtb
ethact=egiga0
ethaddr=[redacted MAC]
led_error=orange blinking
led_exit=green off
led_init=green blinking
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=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
machid=0x831
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env)
nc_ready=0
partition=nand0,2
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  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 nc; setenv stdout nc; setenv stderr 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"; 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
usb_ready_retry=15

Environment size: 2725/131068 bytes

Any thoughts what to change or investigate?

Thank you
Re: NSA310 - no network after boot
July 15, 2025 12:03AM
tmcatalin,

Looks like you have serial console. That's good for debugging this kind of problem.

With serial console connected, and the box ethernet cable connected to the switch. Power up and let it boot automatically. Log in at Debian prompt. And,
ifconfig -a
ethtool eth0
ifdown eth0
ifup eth0
ifconfig -a
ethtool eth0
At this point, if you still don't have IP address, unplug the ethernet cable and then plug it back in.

And then post the entire log (from u-boot banner until the last output on the terminal screen).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: NSA310 - no network after boot
July 15, 2025 12:31PM
I tried before ifdown and ifup without success. i followed your commands and nothing changed.

Here is the output during boot:
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:54:15 -0700)
ZyXEL NSA310 1-Bay Power Media Server


SoC:   Kirkwood 88F6281_A1
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
Initializing devices...
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: not available
  Device 0: Model: WDC WD20EZRX-00DC0B0 Firm: 80.00A80 Ser#:  WD-WMC1T1476417
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
Loading envs from usb 0...
95 bytes read in 984 ms (0 Bytes/s)
... envs loaded
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 661 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
6015600 bytes read in 972 ms (5.9 MiB/s)
loading uInitrd ...
5800770 bytes read in 875 ms (6.3 MiB/s)
loading DTB /boot/dts/kirkwood-nsa310.dtb ...
12816 bytes read in 892 ms (13.7 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.15.2-kirkwood-tld-1
   Created:      2025-07-04  19:00:45 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6015536 Bytes = 5.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-6.15.2-kirkwood-tld-1
   Created:      2025-07-04  19:01:10 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5800706 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
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f585000, end 0fb0d302 ... OK
   Loading Device Tree to 0f57e000, end 0f58420f ... OK
Using machid 0x831 from environment

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.15.2-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 PREEMPT Tue Jun 17 17:38:35 PDT 2025
[    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 NSA310
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 nand_mtd:0x100000(uboot),0x80000(uboot_env)
[    0.000000][    T0] Unknown kernel command line parameters "nand_mtd:0x100000(uboot),0x80000(uboot_env)", will be passed to user space.
[    0.000000][    T0] printk: log buffer data + meta data: 131072 + 409600 = 540672 bytes
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 65536
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    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] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    0.000000][    T0] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    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.000003][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000052][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.001088][    T0] Console: colour dummy device 80x30
[    0.001181][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.001214][    T0] CPU: Testing write buffer coherency: ok
[    0.001355][    T0] pid_max: default: 32768 minimum: 301
[    0.010631][    T0] LSM: initializing lsm=capability
[    0.013631][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.013670][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060335][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.060714][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.061249][    T1] rcu: Hierarchical SRCU implementation.
[    0.061266][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.063137][    T1] Memory: 231536K/262144K available (11264K kernel code, 1653K rwdata, 5428K rodata, 1024K init, 445K bss, 28948K reserved, 0K cma-reserved)
[    0.065221][    T1] devtmpfs: initialized
[    0.078179][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.078229][    T1] posixtimers hash table entries: 512 (order: -1, 2048 bytes, linear)
[    0.078261][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.086672][    T1] prandom: seed boundary self test passed
[    0.090969][    T1] prandom: 100 self tests passed
[    0.090992][    T1] pinctrl core: initialized pinctrl subsystem
[    0.096000][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.096970][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.098567][    T1] audit: initializing netlink subsys (disabled)
[    0.099194][   T22] audit: type=2000 audit(0.090:1): state=initialized audit_enabled=0 res=1
[    0.101066][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.101231][    T1] cpuidle: using governor ladder
[    0.101316][    T1] cpuidle: using governor menu
[    0.102051][    T1] Feroceon L2: Enabling L2
[    0.102092][    T1] Feroceon L2: Cache support initialised.
[    0.106458][    T1] /ocp@f1000000/pin-controller@10000: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-unknown
[    0.113931][    T1] No ATAGs?
[    0.490076][    T1] raid6: int32x8  gen()   110 MB/s
[    0.830068][    T1] raid6: int32x4  gen()   106 MB/s
[    1.170073][    T1] raid6: int32x2  gen()   136 MB/s
[    1.510069][    T1] raid6: int32x1  gen()    97 MB/s
[    1.510083][    T1] raid6: using algorithm int32x2 gen() 136 MB/s
[    1.850067][    T1] raid6: .... xor() 86 MB/s, rmw enabled
[    1.850079][    T1] raid6: using intx1 recovery algorithm
[    1.851912][    T1] SCSI subsystem initialized
[    1.852885][    T1] usbcore: registered new interface driver usbfs
[    1.852976][    T1] usbcore: registered new interface driver hub
[    1.853048][    T1] usbcore: registered new device driver usb
[    1.853441][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.853451][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.853486][    T1] PTP clock support registered
[    1.860146][    T1] vgaarb: loaded
[    1.861296][    T1] clocksource: Switched to clocksource orion_clocksource
[    1.881881][    T1] VFS: Disk quotas dquot_6.6.0
[    1.882355][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.883574][    T1] netfs: FS-Cache loaded
[    1.918459][    T1] NET: Registered PF_INET protocol family
[    1.921433][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.924012][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.924228][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.925275][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    1.925329][    T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    1.925386][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    1.926106][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.926394][    T1] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.926441][    T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.927475][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.942287][    T1] RPC: Registered named UNIX socket transport module.
[    1.942304][    T1] RPC: Registered udp transport module.
[    1.942311][    T1] RPC: Registered tcp transport module.
[    1.942317][    T1] RPC: Registered tcp-with-tls transport module.
[    1.942323][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.942345][    T1] PCI: CLS 0 bytes, default 32
[    1.944964][   T36] Trying to unpack rootfs image as initramfs...
[    2.910755][   T36] Freeing initrd memory: 5668K
[    3.835484][    T1] Initialise system trusted keyrings
[    3.835623][    T1] Key type blacklist registered
[    3.836058][    T1] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    3.852295][    T1] NFS: Registering the id_resolver key type
[    3.852362][    T1] Key type id_resolver registered
[    3.852372][    T1] Key type id_legacy registered
[    3.852572][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.852594][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.854146][    T1] fuse: init (API version 7.43)
[    4.288803][    T1] xor: measuring software checksum speed
[    4.291803][    T1]    arm4regs        :  1099 MB/sec
[    4.296712][    T1]    8regs           :   670 MB/sec
[    4.300173][    T1]    32regs          :   950 MB/sec
[    4.300180][    T1] xor: using function: arm4regs (1099 MB/sec)
[    4.300195][    T1] async_tx: api initialized (async)
[    4.300211][    T1] Key type asymmetric registered
[    4.300221][    T1] Asymmetric key parser 'x509' registered
[    4.300767][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    4.301285][    T1] io scheduler bfq registered
[    4.483920][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.486017][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    4.487675][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    4.503336][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    4.504118][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    4.504209][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    4.504259][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.504292][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.505172][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    4.505196][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.505220][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    4.505237][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    4.505253][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    4.505476][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400 PCIe Root Port
[    4.505516][    T1] pci 0000:00:01.0: PCI bridge to [bus 00]
[    4.505535][    T1] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    4.505552][    T1] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    4.506207][    T1] /mbus@f1000000/pcie@82000000/pcie@1,0: Fixed dependency cycle(s) with /mbus@f1000000/pcie@82000000/pcie@1,0/interrupt-controller
[    4.507508][    T1] PCI: bus0: Fast back to back transfers disabled
[    4.507539][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.507869][    T1] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000 PCIe Endpoint
[    4.507932][    T1] pci 0000:01:00.0: BAR 0 [io  0x0000-0x00ff]
[    4.507954][    T1] pci 0000:01:00.0: BAR 2 [mem 0x00000000-0x00000fff 64bit pref]
[    4.507974][    T1] pci 0000:01:00.0: BAR 4 [mem 0x00000000-0x00003fff 64bit pref]
[    4.507992][    T1] pci 0000:01:00.0: ROM [mem 0x00000000-0x0000ffff pref]
[    4.508122][    T1] pci 0000:01:00.0: supports D1 D2
[    4.508135][    T1] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    4.521636][    T1] PCI: bus1: Fast back to back transfers disabled
[    4.521666][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.521743][    T1] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff]: assigned
[    4.521766][    T1] pci 0000:00:01.0: bridge window [io  0x10000-0x10fff]: assigned
[    4.521795][    T1] pci 0000:01:00.0: ROM [mem 0xe0000000-0xe000ffff pref]: assigned
[    4.521816][    T1] pci 0000:01:00.0: BAR 4 [mem 0xe0010000-0xe0013fff 64bit pref]: assigned
[    4.521844][    T1] pci 0000:01:00.0: BAR 2 [mem 0xe0014000-0xe0014fff 64bit pref]: assigned
[    4.521870][    T1] pci 0000:01:00.0: BAR 0 [io  0x10000-0x100ff]: assigned
[    4.521893][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    4.521909][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    4.521934][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    4.521960][    T1] pci_bus 0000:00: resource 4 [mem 0xf1040000-0xf1041fff]
[    4.521977][    T1] pci_bus 0000:00: resource 5 [mem 0xe0000000-0xefffffff]
[    4.521993][    T1] pci_bus 0000:00: resource 6 [io  0x1000-0xeffff]
[    4.522007][    T1] pci_bus 0000:01: resource 0 [io  0x10000-0x10fff]
[    4.522022][    T1] pci_bus 0000:01: resource 1 [mem 0xe0000000-0xe00fffff]
[    4.522229][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    4.523350][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    4.563164][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.567832][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    4.613173][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.618241][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.621188][    T1] printk: legacy console [ttyS0] disabled
[    4.622020][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 28, base_baud = 12500000) is a 16550A
[    4.622106][    T1] printk: legacy console [ttyS0] enabled
[    5.829559][    T1] loop: module loaded
[    5.834739][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    5.845517][    T1] scsi host0: sata_mv
[    5.851181][    T1] scsi host1: sata_mv
[    5.855595][    T1] ata1: SATA max UDMA/133 irq 29 lpm-pol 0
[    5.861356][    T1] ata2: SATA max UDMA/133 irq 29 lpm-pol 0
[    5.868500][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    5.875690][    T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[    5.881040][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    5.889491][    T1] Scanning device for bad blocks
[    5.993456][    T1] 9 fixed-partitions partitions found on MTD device orion_nand
[    6.000905][    T1] Creating 9 MTD partitions on "orion_nand":
[    6.006807][    T1] 0x000000000000-0x000000100000 : "uboot"
[    6.013393][    T1] 0x000000100000-0x000000180000 : "uboot_env"
[    6.020168][    T1] 0x000000180000-0x000000200000 : "key_store"
[    6.027010][    T1] 0x000000200000-0x000000280000 : "info"
[    6.033409][    T1] 0x000000280000-0x000000c80000 : "etc"
[    6.039753][    T1] 0x000000c80000-0x000001680000 : "kernel_1"
[    6.046556][    T1] 0x000001680000-0x000004640000 : "rootfs1"
[    6.053538][    T1] 0x000004640000-0x000005040000 : "kernel_2"
[    6.060255][    T1] 0x000005040000-0x000008000000 : "rootfs2"
[    6.068363][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    6.077082][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    6.092296][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.098637][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    6.107362][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    6.131332][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    6.138616][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.15
[    6.147679][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.155700][    T1] usb usb1: Product: EHCI Host Controller
[    6.161369][    T1] usb usb1: Manufacturer: Linux 6.15.2-kirkwood-tld-1 ehci_hcd
[    6.168855][    T1] usb usb1: SerialNumber: f1050000.ehci
[    6.175551][    T1] hub 1-0:1.0: USB hub found
[    6.180156][    T1] hub 1-0:1.0: 1 port detected
[    6.186189][    T1] usbcore: registered new interface driver usb-storage
[    6.194073][    T1] rtc-mv f1010300.rtc: is a wakeup source
[    6.200487][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    6.206237][    T1] rtc-mv f1010300.rtc: setting system clock to 2025-07-15T19:57:20 UTC (1752609440)
[    6.216084][    T1] i2c_dev: i2c /dev entries driver
[    6.224054][    T1] device-mapper: uevent: version 1.0.3
[    6.230092][    T1] device-mapper: ioctl: 4.49.0-ioctl (2025-01-17) initialised: dm-devel@lists.linux.dev
[    6.240544][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    6.247963][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    6.255367][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    6.262930][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    6.270760][    T1] sdhci: Secure Digital Host Controller Interface driver
[    6.277727][    T1] sdhci: Copyright(c) Pierre Ossman
[    6.283041][    T1] hid: raw HID events driver (C) Jiri Kosina
[    6.289521][    T1] drop_monitor: Initializing network drop monitor service
[    6.298413][    T1] NET: Registered PF_INET6 protocol family
[    6.306919][    T1] Segment Routing with IPv6
[    6.311413][    T1] RPL Segment Routing with IPv6
[    6.316260][    T1] In-situ OAM (IOAM) with IPv6
[    6.321061][    T1] NET: Registered PF_PACKET protocol family
[    6.327618][    T1] Key type dns_resolver registered
[    6.341425][   T65] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    6.350969][   T65] ata1.00: ATA-9: WDC WD20EZRX-00DC0B0, 80.00A80, max UDMA/133
[    6.370659][   T65] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    6.378675][    T1] registered taskstats version 1
[    6.384550][    T1] Loading compiled-in X.509 certificates
[    6.392532][   T65] ata1.00: configured for UDMA/133
[    6.412082][   T25] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    6.433154][   T36] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    6.451432][   T36] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    6.457517][   T36] sd 0:0:0:0: [sda] Write Protect is off
[    6.463154][   T64] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    6.477242][    T1] Key type .fscrypt registered
[    6.482316][   T36] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.492171][    T1] Key type fscrypt-provisioning registered
[    6.498663][   T36] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[    6.509862][    T1] Key type big_key registered
[    6.653524][   T64] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    6.667791][   T64] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    6.681058][   T64] usb 1-1: Product: USB2.0 Hub
[    6.693035][   T64] hub 1-1:1.0: USB hub found
[    6.703158][   T64] hub 1-1:1.0: 4 ports detected
[    6.726489][    T1] Key type encrypted registered
[    6.761945][   T67] ata2: SATA link down (SStatus 0 SControl F300)
[    6.778223][  T111] "cryptomgr_test" (111) uses obsolete ecb(arc4) skcipher
[    6.832069][    T1] clk: Disabling unused clocks
[    7.021338][   T64] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    7.172622][   T64] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=9201, bcdDevice=f2.00
[    7.191319][   T64] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.201464][   T36]  sda: sda1 sda2
[    7.211972][   T36] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.221337][   T64] usb 1-1.3: Product: RTL9201
[    7.225911][   T64] usb 1-1.3: Manufacturer: Realtek
[    7.230914][   T64] usb 1-1.3: SerialNumber: 012345679446
[    7.264301][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    7.292119][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.298543][    T1] Run /init as init process
[    7.317101][   T64] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    7.372749][   T64] scsi host2: usb-storage 1-1.3:1.0
Loading, please wait...
Starting systemd-udevd version 252.38-1~deb12u1
[    8.631136][   T36] scsi 2:0:0:0: Direct-Access     KODAK SS D X200 128GB     1.02 PQ: 0 ANSI: 6
[    8.676303][   T25] sd 2:0:0:0: [sdb] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[    8.725980][   T25] sd 2:0:0:0: [sdb] Write Protect is off
[    8.744464][   T25] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    8.844787][   T25]  sdb: sdb1
[    8.848528][   T25] sd 2:0:0:0: [sdb] Attached SCSI disk
[   10.888892][   T36] regulator@1 enforce active low on GPIO handle
[   10.928377][  T160] 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/sdb1] fsck.ext3 -a -C0 /dev/sdb1
rootfs: clean, 29243/7815168 files, 1164243/31256209 blocks
done.
[   21.953311][  T185] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[   22.145911][  T185] EXT4-fs (sdb1): mounted filesystem ec85077c-bd01-49a7-bc4d-15ece6be0330 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 'nsa310'...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...[   25.249202][  T362] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[   25.810551][  T370] orion_wdt: Initial timeout 21 sec
[   25.981525][  T365] marvell-cesa f1030000.crypto: CESA device successfully registered
[   26.046239][  T362] hwmon_vid: Unknown VRM version of your CPU
[   26.142259][  T362] adt7475 0-002e: ADT7476 device, revision 1
[   26.148182][  T362] adt7475 0-002e: Optional features: in0 in4 fan4 pwm2 vid
[   26.233282][  T366] r8169 0000:01:00.0: enabling device (0140 -> 0143)
[   26.333560][  T371] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   26.347850][  T366] r8169 0000:01:00.0 eth0: RTL8168d/8111d, 00:00:00:00:00:30, XID 283, IRQ 38
[   26.371403][    C0] random: crng init done
[   26.446653][  T371] sd 2:0:0:0: Attached scsi generic sg1 type 0
[   26.452803][  T366] r8169 0000:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[   27.910977][  T369] r8169 0000:01:00.0 enp1s0: renamed from eth0
done.
Activating swap:.
[   28.672727][  T528] EXT4-fs (sdb1): re-mounted ec85077c-bd01-49a7-bc4d-15ece6be0330 r/w.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
UUID=bcd2b4c5-d47a-412a-825f-1d98beba0fba is not mounted
[/sbin/fsck.ext4 (1) -- /media/nsa310_media] fsck.ext4 -y -C0 /dev/sda2
e2fsck 1.47.0 (5-Feb-2023)
/dev/sda2: clean, 5507/122068992 files, 444824114/488249488 blocks
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.
Loading kernel module adt7475.
[   37.441385][  T767] EXT4-fs (sda2): mounted filesystem bcd2b4c5-d47a-412a-825f-1d98beba0fba r/w with ordered data mode. Quota mode: none.
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.
[   38.236101][  T887] r8169 0000:01:00.0 eth0: renamed from enp1s0
[   38.547466][  T916] r8169 0000:01:00.0: Unable to load firmware rtl_nic/rtl8168d-2.fw (-2)
[   38.556922][  T916] RTL8211B Gigabit Ethernet r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
[   38.643637][   T64] r8169 0000:01:00.0 eth0: Link is Down
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/[redacted MAC]
Sending on   LPF/eth0/[redacted MAC]
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
mount.nfs: Network is unreachable
done.
Already running: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
Setting sensors limits...done.
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1100 (syslogd)
.
Starting automount....
Starting system message bus: dbus.
[  103.307405][ T1179] Adding 999420k swap on /var/swap.  Priority:-2 extents:23 across:49030592k
Starting dphys-swapfile swapfile setup ...
computing size, want /var/swap=976MByte, checking existing: keeping it
done.
Starting MD monitoring service: mdadm --monitor.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Not starting NFS kernel daemon: no exports ... (warning).
Starting NTP server: ntpd2025-07-15T19:58:57 ntpd[1206]: INIT: ntpd ntpsec-1.2.2: Starting
2025-07-15T19:58:57 ntpd[1206]: INIT: Command line: /usr/sbin/ntpd -p /run/ntpd.pid -c /etc/ntpsec/ntp.conf -g -N -u ntpsec:ntpsec
.
Starting NTP server: ntpd2025-07-15T19:58:57 ntpd[1208]: INIT: ntpd ntpsec-1.2.2: Starting
2025-07-15T19:58:57 ntpd[1208]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1129 (klogd)
.
Starting OpenBSD Secure Shell server: sshd.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 12 nsa310 ttyS0

nsa310 login: root
Password:
Linux nsa310 6.15.2-kirkwood-tld-1 #1 PREEMPT Tue Jun 17 17:38:35 PDT 2025 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 Jul 15 07:06:17 EEST 2025 on ttyS0
nsa310
ZyXEL NSA310
Linux version 6.15.2-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 PREEMPT Tue Jun 17 17:38:35 PDT 2025
Debian 12.11
Tue Jul 15 19:59:07 EEST 2025 up 1 minute

And here are the outputs of the commands:

root@nsa310:~# ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether [redacted MAC]  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 6 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 13  bytes 1766 (1.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 13  bytes 1766 (1.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@nsa310:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP    MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: Unknown!
        Duplex: Unknown! (255)
        Auto-negotiation: on
        master-slave cfg: preferred slave
        master-slave status: unknown
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: external
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: d
        Link detected: no
root@nsa310:~# ifdown eth0
Killed old client process
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/[redacted MAC]
Sending on   LPF/eth0/[redacted MAC]
Sending on   Socket/fallback
DHCPRELEASE of [redacted IP] on eth0 to [redacted IP] 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.
root@nsa310:~# ifup eth0
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/

[  201.298305][ T1281] r8169 0000:01:00.0: Unable to load firmware rtl_nic/rtl8168d-2.fw (-2)
[  201.307751][ T1281] RTL8211B Gigabit Ethernet r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
[  201.394507][   T64] r8169 0000:01:00.0 eth0: Link is Down
Listening on LPF/eth0/[redacted MAC]
Sending on   LPF/eth0/[redacted MAC]
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Already running: rpcbind.
Starting NFS common utilities: statd idmapd.
mount.nfs: Network is unreachable
root@nsa310:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP    MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: Unknown!
        Duplex: Unknown! (255)
        Auto-negotiation: on
        master-slave cfg: preferred slave
        master-slave status: unknown
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: external
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: d
        Link detected: no
root@nsa310:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP    MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: Unknown!
        Duplex: Unknown! (255)
        Auto-negotiation: on
        master-slave cfg: preferred slave
        master-slave status: unknown
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: external
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: d
        Link detected: no

The IP appearing when ifdown is the one received when I connected the box directly to router.

Speaking about Link detected: no, I changed 2 cables...

Thank you
Re: NSA310 - no network after boot
July 15, 2025 11:03PM
There is an error that needs to be resolved first:

[   38.547466][  T916] r8169 0000:01:00.0: Unable to load firmware rtl_nic/rtl8168d-2.fw (-2)


Connect to your router so you have internet connection. And update your Realtek firmware
apt-get install firmware-realtek
sync

And then reboot with the cable connected to the switch.

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



Edited 1 time(s). Last edit at 07/16/2025 04:26AM by bodhi.
Re: NSA310 - no network after boot
July 16, 2025 02:21PM
I did the update without change in behavior :(
But, I found following behavior of green LED from ethernet port
- if I start from button (after shutdown) the green LED blink from beginning until T369 and after is no more activity
- if i reboot (command from Debian command line) here is no activity on ethernet LEDs

Here is the log, when i start from button:
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:54:15 -0700)
ZyXEL NSA310 1-Bay Power Media Server


SoC:   Kirkwood 88F6281_A1
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
Initializing devices...
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: not available
  Device 0: Model: WDC WD20EZRX-00DC0B0 Firm: 80.00A80 Ser#:  WD-WMC1T1476417
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
Loading envs from usb 0...
95 bytes read in 984 ms (0 Bytes/s)
... envs loaded
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 661 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
6015600 bytes read in 972 ms (5.9 MiB/s)
loading uInitrd ...
5800770 bytes read in 875 ms (6.3 MiB/s)
loading DTB /boot/dts/kirkwood-nsa310.dtb ...
12816 bytes read in 892 ms (13.7 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.15.2-kirkwood-tld-1
   Created:      2025-07-04  19:00:45 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6015536 Bytes = 5.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-6.15.2-kirkwood-tld-1
   Created:      2025-07-04  19:01:10 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5800706 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
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f585000, end 0fb0d302 ... OK
   Loading Device Tree to 0f57e000, end 0f58420f ... OK
Using machid 0x831 from environment

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.15.2-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 PREEMPT Tue Jun 17 17:38:35 PDT 2025
[    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 NSA310
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 nand_mtd:0x100000(uboot),0x80000(uboot_env)
[    0.000000][    T0] Unknown kernel command line parameters "nand_mtd:0x100000(uboot),0x80000(uboot_env)", will be passed to user space.
[    0.000000][    T0] printk: log buffer data + meta data: 131072 + 409600 = 540672 bytes
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 65536
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    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] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    0.000000][    T0] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    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.000003][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000052][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.001088][    T0] Console: colour dummy device 80x30
[    0.001183][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.001216][    T0] CPU: Testing write buffer coherency: ok
[    0.001357][    T0] pid_max: default: 32768 minimum: 301
[    0.010622][    T0] LSM: initializing lsm=capability
[    0.013623][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.013661][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060337][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.060715][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.061245][    T1] rcu: Hierarchical SRCU implementation.
[    0.061263][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.063133][    T1] Memory: 231536K/262144K available (11264K kernel code, 1653K rwdata, 5428K rodata, 1024K init, 445K bss, 28948K reserved, 0K cma-reserved)
[    0.065239][    T1] devtmpfs: initialized
[    0.078217][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.078265][    T1] posixtimers hash table entries: 512 (order: -1, 2048 bytes, linear)
[    0.078298][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.086686][    T1] prandom: seed boundary self test passed
[    0.090984][    T1] prandom: 100 self tests passed
[    0.091006][    T1] pinctrl core: initialized pinctrl subsystem
[    0.096001][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.096969][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.098561][    T1] audit: initializing netlink subsys (disabled)
[    0.099190][   T22] audit: type=2000 audit(0.090:1): state=initialized audit_enabled=0 res=1
[    0.101033][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.101198][    T1] cpuidle: using governor ladder
[    0.101282][    T1] cpuidle: using governor menu
[    0.102016][    T1] Feroceon L2: Enabling L2
[    0.102057][    T1] Feroceon L2: Cache support initialised.
[    0.106425][    T1] /ocp@f1000000/pin-controller@10000: Fixed dependency cycle(s) with /ocp@f1000000/pin-controller@10000/pmx-unknown
[    0.113894][    T1] No ATAGs?
[    0.490076][    T1] raid6: int32x8  gen()   110 MB/s
[    0.830067][    T1] raid6: int32x4  gen()   106 MB/s
[    1.170072][    T1] raid6: int32x2  gen()   136 MB/s
[    1.510073][    T1] raid6: int32x1  gen()   100 MB/s
[    1.510088][    T1] raid6: using algorithm int32x2 gen() 136 MB/s
[    1.850068][    T1] raid6: .... xor() 86 MB/s, rmw enabled
[    1.850081][    T1] raid6: using intx1 recovery algorithm
[    1.851913][    T1] SCSI subsystem initialized
[    1.852886][    T1] usbcore: registered new interface driver usbfs
[    1.852976][    T1] usbcore: registered new interface driver hub
[    1.853049][    T1] usbcore: registered new device driver usb
[    1.853443][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.853453][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.853487][    T1] PTP clock support registered
[    1.860138][    T1] vgaarb: loaded
[    1.861283][    T1] clocksource: Switched to clocksource orion_clocksource
[    1.881804][    T1] VFS: Disk quotas dquot_6.6.0
[    1.882282][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.883500][    T1] netfs: FS-Cache loaded
[    1.918438][    T1] NET: Registered PF_INET protocol family
[    1.921420][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.924005][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.924221][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.925267][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    1.925321][    T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    1.925377][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    1.926096][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.926386][    T1] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.926432][    T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.927464][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.942277][    T1] RPC: Registered named UNIX socket transport module.
[    1.942293][    T1] RPC: Registered udp transport module.
[    1.942300][    T1] RPC: Registered tcp transport module.
[    1.942306][    T1] RPC: Registered tcp-with-tls transport module.
[    1.942312][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.942334][    T1] PCI: CLS 0 bytes, default 32
[    1.944957][   T36] Trying to unpack rootfs image as initramfs...
[    2.910903][   T36] Freeing initrd memory: 5668K
[    3.835223][    T1] Initialise system trusted keyrings
[    3.835423][    T1] Key type blacklist registered
[    3.835942][    T1] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    3.852174][    T1] NFS: Registering the id_resolver key type
[    3.852242][    T1] Key type id_resolver registered
[    3.852252][    T1] Key type id_legacy registered
[    3.852453][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.852476][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.854030][    T1] fuse: init (API version 7.43)
[    4.288429][    T1] xor: measuring software checksum speed
[    4.291431][    T1]    arm4regs        :  1099 MB/sec
[    4.296340][    T1]    8regs           :   670 MB/sec
[    4.299801][    T1]    32regs          :   950 MB/sec
[    4.299809][    T1] xor: using function: arm4regs (1099 MB/sec)
[    4.299824][    T1] async_tx: api initialized (async)
[    4.299840][    T1] Key type asymmetric registered
[    4.299850][    T1] Asymmetric key parser 'x509' registered
[    4.300396][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    4.300915][    T1] io scheduler bfq registered
[    4.483524][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.485630][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    4.487290][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    4.502941][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    4.503725][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    4.503816][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    4.503867][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.503900][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.504768][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    4.504792][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.504815][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    4.504834][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    4.504850][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    4.505071][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400 PCIe Root Port
[    4.505111][    T1] pci 0000:00:01.0: PCI bridge to [bus 00]
[    4.505131][    T1] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    4.505147][    T1] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    4.505805][    T1] /mbus@f1000000/pcie@82000000/pcie@1,0: Fixed dependency cycle(s) with /mbus@f1000000/pcie@82000000/pcie@1,0/interrupt-controller
[    4.507108][    T1] PCI: bus0: Fast back to back transfers disabled
[    4.507139][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.507471][    T1] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000 PCIe Endpoint
[    4.507534][    T1] pci 0000:01:00.0: BAR 0 [io  0x0000-0x00ff]
[    4.507556][    T1] pci 0000:01:00.0: BAR 2 [mem 0x00000000-0x00000fff 64bit pref]
[    4.507576][    T1] pci 0000:01:00.0: BAR 4 [mem 0x00000000-0x00003fff 64bit pref]
[    4.507593][    T1] pci 0000:01:00.0: ROM [mem 0x00000000-0x0000ffff pref]
[    4.507725][    T1] pci 0000:01:00.0: supports D1 D2
[    4.507738][    T1] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    4.521622][    T1] PCI: bus1: Fast back to back transfers disabled
[    4.521652][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.521730][    T1] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff]: assigned
[    4.521752][    T1] pci 0000:00:01.0: bridge window [io  0x10000-0x10fff]: assigned
[    4.521780][    T1] pci 0000:01:00.0: ROM [mem 0xe0000000-0xe000ffff pref]: assigned
[    4.521801][    T1] pci 0000:01:00.0: BAR 4 [mem 0xe0010000-0xe0013fff 64bit pref]: assigned
[    4.521829][    T1] pci 0000:01:00.0: BAR 2 [mem 0xe0014000-0xe0014fff 64bit pref]: assigned
[    4.521856][    T1] pci 0000:01:00.0: BAR 0 [io  0x10000-0x100ff]: assigned
[    4.521878][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    4.521893][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    4.521919][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    4.521944][    T1] pci_bus 0000:00: resource 4 [mem 0xf1040000-0xf1041fff]
[    4.521960][    T1] pci_bus 0000:00: resource 5 [mem 0xe0000000-0xefffffff]
[    4.521976][    T1] pci_bus 0000:00: resource 6 [io  0x1000-0xeffff]
[    4.521990][    T1] pci_bus 0000:01: resource 0 [io  0x10000-0x10fff]
[    4.522005][    T1] pci_bus 0000:01: resource 1 [mem 0xe0000000-0xe00fffff]
[    4.522209][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    4.523323][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    4.563155][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.567825][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    4.613158][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.618214][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.621179][    T1] printk: legacy console [ttyS0] disabled
[    4.622012][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 28, base_baud = 12500000) is a 16550A
[    4.622097][    T1] printk: legacy console [ttyS0] enabled
[    5.829491][    T1] loop: module loaded
[    5.834714][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    5.845460][    T1] scsi host0: sata_mv
[    5.851120][    T1] scsi host1: sata_mv
[    5.855526][    T1] ata1: SATA max UDMA/133 irq 29 lpm-pol 0
[    5.861231][    T1] ata2: SATA max UDMA/133 irq 29 lpm-pol 0
[    5.868410][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    5.875602][    T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[    5.880953][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    5.889402][    T1] Scanning device for bad blocks
[    5.993346][    T1] 9 fixed-partitions partitions found on MTD device orion_nand
[    6.000792][    T1] Creating 9 MTD partitions on "orion_nand":
[    6.006692][    T1] 0x000000000000-0x000000100000 : "uboot"
[    6.013275][    T1] 0x000000100000-0x000000180000 : "uboot_env"
[    6.020048][    T1] 0x000000180000-0x000000200000 : "key_store"
[    6.026885][    T1] 0x000000200000-0x000000280000 : "info"
[    6.033272][    T1] 0x000000280000-0x000000c80000 : "etc"
[    6.039612][    T1] 0x000000c80000-0x000001680000 : "kernel_1"
[    6.046423][    T1] 0x000001680000-0x000004640000 : "rootfs1"
[    6.053407][    T1] 0x000004640000-0x000005040000 : "kernel_2"
[    6.060112][    T1] 0x000005040000-0x000008000000 : "rootfs2"
[    6.068214][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    6.076932][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    6.092139][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.098484][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    6.107207][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    6.131317][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    6.138593][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.15
[    6.147663][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.155682][    T1] usb usb1: Product: EHCI Host Controller
[    6.161345][    T1] usb usb1: Manufacturer: Linux 6.15.2-kirkwood-tld-1 ehci_hcd
[    6.168829][    T1] usb usb1: SerialNumber: f1050000.ehci
[    6.175536][    T1] hub 1-0:1.0: USB hub found
[    6.180143][    T1] hub 1-0:1.0: 1 port detected
[    6.186184][    T1] usbcore: registered new interface driver usb-storage
[    6.194067][    T1] rtc-mv f1010300.rtc: is a wakeup source
[    6.200483][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    6.206239][    T1] rtc-mv f1010300.rtc: setting system clock to 2025-07-16T21:56:19 UTC (1752702979)
[    6.216206][    T1] i2c_dev: i2c /dev entries driver
[    6.224185][    T1] device-mapper: uevent: version 1.0.3
[    6.230217][    T1] device-mapper: ioctl: 4.49.0-ioctl (2025-01-17) initialised: dm-devel@lists.linux.dev
[    6.240671][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    6.248085][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    6.255490][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    6.263057][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    6.270882][    T1] sdhci: Secure Digital Host Controller Interface driver
[    6.277850][    T1] sdhci: Copyright(c) Pierre Ossman
[    6.283165][    T1] hid: raw HID events driver (C) Jiri Kosina
[    6.289642][    T1] drop_monitor: Initializing network drop monitor service
[    6.298533][    T1] NET: Registered PF_INET6 protocol family
[    6.307033][    T1] Segment Routing with IPv6
[    6.311525][    T1] RPL Segment Routing with IPv6
[    6.316373][    T1] In-situ OAM (IOAM) with IPv6
[    6.321175][    T1] NET: Registered PF_PACKET protocol family
[    6.327751][    T1] Key type dns_resolver registered
[    6.341411][   T65] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    6.350952][   T65] ata1.00: ATA-9: WDC WD20EZRX-00DC0B0, 80.00A80, max UDMA/133
[    6.370580][   T65] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    6.378727][    T1] registered taskstats version 1
[    6.384778][    T1] Loading compiled-in X.509 certificates
[    6.392765][   T65] ata1.00: configured for UDMA/133
[    6.412076][   T25] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    6.433162][   T36] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    6.451421][   T36] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    6.457500][   T36] sd 0:0:0:0: [sda] Write Protect is off
[    6.463136][   T64] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    6.477321][    T1] Key type .fscrypt registered
[    6.482393][   T36] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.492251][    T1] Key type fscrypt-provisioning registered
[    6.498743][   T36] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[    6.509861][    T1] Key type big_key registered
[    6.653495][   T64] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    6.667795][   T64] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    6.681012][   T64] usb 1-1: Product: USB2.0 Hub
[    6.693000][   T64] hub 1-1:1.0: USB hub found
[    6.703131][   T64] hub 1-1:1.0: 4 ports detected
[    6.726942][    T1] Key type encrypted registered
[    6.762472][   T67] ata2: SATA link down (SStatus 0 SControl F300)
[    6.778942][  T111] "cryptomgr_test" (111) uses obsolete ecb(arc4) skcipher
[    6.841824][    T1] clk: Disabling unused clocks
[    7.031323][   T64] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    7.182593][   T64] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=9201, bcdDevice=f2.00
[    7.194022][   T36]  sda: sda1 sda2
[    7.201338][   T64] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.209405][   T64] usb 1-1.3: Product: RTL9201
[    7.221837][   T36] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.254291][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    7.261331][   T64] usb 1-1.3: Manufacturer: Realtek
[    7.266347][   T64] usb 1-1.3: SerialNumber: 012345679446
[    7.291865][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.298283][    T1] Run /init as init process
[    7.329262][   T64] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    7.378131][   T64] scsi host2: usb-storage 1-1.3:1.0
Loading, please wait...
Starting systemd-udevd version 252.38-1~deb12u1
[    8.732357][   T36] scsi 2:0:0:0: Direct-Access     KODAK SS D X200 128GB     1.02 PQ: 0 ANSI: 6
[    8.779156][   T25] sd 2:0:0:0: [sdb] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[    8.825512][   T25] sd 2:0:0:0: [sdb] Write Protect is off
[    8.843516][   T25] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    8.964353][   T25]  sdb: sdb1
[    8.981627][   T25] sd 2:0:0:0: [sdb] Attached SCSI disk
[   10.887567][   T25] regulator@1 enforce active low on GPIO handle
[   10.908578][  T153] 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/sdb1] fsck.ext3 -a -C0 /dev/sdb1
rootfs: clean, 29371/7815168 files, 1166415/31256209 blocks
done.
[   21.978017][  T185] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[   22.176410][  T185] EXT4-fs (sdb1): mounted filesystem ec85077c-bd01-49a7-bc4d-15ece6be0330 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 'nsa310'...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...[   25.268272][  T364] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[   25.809075][  T365] orion_wdt: Initial timeout 21 sec
[   25.931533][  T362] marvell-cesa f1030000.crypto: CESA device successfully registered
[   26.148660][  T364] hwmon_vid: Unknown VRM version of your CPU
[   26.216785][  T364] adt7475 0-002e: ADT7476 device, revision 1
[   26.265607][  T369] r8169 0000:01:00.0: enabling device (0140 -> 0143)
[   26.272369][  T364] adt7475 0-002e: Optional features: in0 in4 fan4 pwm2 vid
[   26.288999][  T363] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   26.322801][  T363] sd 2:0:0:0: Attached scsi generic sg1 type 0
[   26.392815][  T369] r8169 0000:01:00.0 eth0: RTL8168d/8111d, 00:00:00:00:00:30, XID 283, IRQ 38
[   26.437928][  T369] r8169 0000:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[   26.471401][    C0] random: crng init done
[   27.933259][  T378] r8169 0000:01:00.0 enp1s0: renamed from eth0
done.
Activating swap:.
[   28.672696][  T527] EXT4-fs (sdb1): re-mounted ec85077c-bd01-49a7-bc4d-15ece6be0330 r/w.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
UUID=bcd2b4c5-d47a-412a-825f-1d98beba0fba is not mounted
[/sbin/fsck.ext4 (1) -- /media/nsa310_media] fsck.ext4 -y -C0 /dev/sda2
e2fsck 1.47.0 (5-Feb-2023)
/dev/sda2: clean, 5507/122068992 files, 444824114/488249488 blocks
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.
Loading kernel module adt7475.
[   37.431428][  T766] EXT4-fs (sda2): mounted filesystem bcd2b4c5-d47a-412a-825f-1d98beba0fba r/w with ordered data mode. Quota mode: none.
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.
[   38.217827][  T886] r8169 0000:01:00.0 eth0: renamed from enp1s0
[   38.543279][  T915] RTL8211B Gigabit Ethernet r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
[   38.713743][   T64] r8169 0000:01:00.0 eth0: Link is Down
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/[redacted MAC]
Sending on   LPF/eth0/[redacted MAC]
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
mount.nfs: Network is unreachable
done.
Already running: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
Setting sensors limits...done.
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1100 (syslogd)
.
Starting automount....
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[  103.523504][ T1186] Adding 999420k swap on /var/swap.  Priority:-2 extents:23 across:49030592k
Starting dphys-swapfile swapfile setup ...
computing size, want /var/swap=976MByte, checking existing: keeping it
done.
Starting MD monitoring service: mdadm --monitor.
Not starting NFS kernel daemon: no exports ... (warning).
Starting NTP server: ntpd2025-07-16T21:57:57 ntpd[1204]: INIT: ntpd ntpsec-1.2.2: Starting
2025-07-16T21:57:57 ntpd[1204]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting NTP server: ntpd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1129 (klogd)
.
Starting OpenBSD Secure Shell server: sshd.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 12 nsa310 ttyS0
/code]
Re: NSA310 - no network after boot
July 17, 2025 10:39AM
OK. It looks like there is nothing wrong in the kernel,

[   26.392815][  T369] r8169 0000:01:00.0 eth0: RTL8168d/8111d, 00:00:00:00:00:30, XID 283, IRQ 38
[   26.437928][  T369] r8169 0000:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[   26.471401][    C0] random: crng init done
[   27.933259][  T378] r8169 0000:01:00.0 enp1s0: renamed from eth0
[   38.217827][  T886] r8169 0000:01:00.0 eth0: renamed from enp1s0
[   38.543279][  T915] RTL8211B Gigabit Ethernet r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
[   38.713743][   T64] r8169 0000:01:00.0 eth0: Link is Down
But the link is not up.

Have you connected any new PC or NAS to this network recently?

This Realtek NIC is configured with jumbo frame. Jumbo frame will work only if all the nodes in the nework are configured with jumbo frame. If there is one node lacks this capabilty, you will have problem negotiating speed.

Try connecting this NAS to the switch, and remove every thing else. So the configuration looks like this:

NSA310 <--> Switch <--> Router

=======

I'm assuming your ifconfig is showing the correct MAC address (if you redacted it, then please confirm that MAC is correct as you want it to be)
root@nsa310:~# ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether redacted MAC  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: NSA310 - no network after boot
July 22, 2025 11:30PM
Finally I get time to test with only NSA310 in the switch and I have the same behavior: the link is up at beginning and when it start DHCP Discovery is down and remain as is.
I did another test with a managed switch (TL-SG105E) and it is the same :(
Re: NSA310 - no network after boot
July 23, 2025 05:43AM
tmcatalin,

Do you remmember when it was last working? i.e. which kernel version? can you down grade the kernel to that verison?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: NSA310 - no network after boot
July 25, 2025 12:22PM
It was working even after kernel upgrade.
Anyway, I started from scratch, installing Debian but not modifying the u-boot, and the behavior is the same :(
When troubleshooting I just noticed that the ethernet speed is set to 10Mbps and when I tried to set with 100 or 1000 the link became down. The only way to have it back is to set to 10Mbps.
I believe the 10Mbps was from beginning, but didn't pay attention to this.
root@debian:~# uname -a
Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 armv5tel GNU/Linux
Re: NSA310 - no network after boot
August 03, 2025 12:18AM
Last week I tried probably everything:
- move to OpenWRT and back
- installing Debian on a new USB
- testing with different linux kernels, including 5.15.5
- trying to replace the driver r8169 with r8168; I used different procedures found on internet.
- ...
Nothing was successful in getting the interface with higher speeds (100 or 1000 mbps) :(

I started to believe it is something related to the driver but my intention to move to r8168 wasn't successful.

Now, the questions would be:
- did someone else encounter the same issue (interface stuck at 10mbps)?
- did someone else changed the driver from r8169 to r8168?

For context, I want this NSA310 to be fully functional as a backup for my NSA325 during the process of upgrading it to Debian.
Re: NSA310 - no network after boot
August 05, 2025 11:23PM
> - installing Debian on a new USB
> - testing with different linux kernels, including
> 5.15.5

So it is not the kernel driver itself. Perhaps the new firmware used by the driver (which is installed by Debian nonfree repo)

Try bullseye Debian rootfs and run it as is, after you create it (don't do the apt upgrade).

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

Quote

Updated 26 Sept 2021:

Basic Debian bullseye Kirkwood rootfs for most Kirwood plugs:

- tarball size: 234M
- install size: 668M
- The init system used in this rootfs is sysvinit . To boot with systemd, see Notes below.
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, ethtool, sysvinit-core, sysvinit, sysvinit-utils, u-boot-tools, and mtd-utils.
- see LED controls examples in /etc/rc.local, and /etc/init.d/halt
- see some useful aliases in /root/.profile
- root password: root

Important Correction:

After releasing this rootfs,

1. I realized I've missed one package that needs to be installed in order to make fw_printenv and fw_setenv available (these binaries have been moved to package libubootenv-tool in bullseye) . So do this if you want to list or set envs in Debian.
apt-get install libubootenv-tool

2. There was an obsolete source in /etc/apt/source.list. Please change the old security repo to
deb https://security.debian.org/debian-security bullseye-security main contrib non-free


Download at Dropbox:

Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (Bitly short link, use this if you can)
Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (Direct Dropbox URL)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: NSA310 - no network after boot
August 07, 2025 02:04AM
Thank you bodhi, but probably would be better for me to stop here.
With the version you recommended I got the same results, but i got a firmware failure (see bellow):
Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 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: Sat Jul 21 10:10:27 PDT 2035 on ttyS0
debian
192.168.100.5
ZyXEL NSA310
Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
Debian 11.0
Sat Jul 21 10:14:30 PDT 2035 up 1 minute
root@debian:~# ethtool enp1s0
Settings for enp1s0:
        Supported ports: [ TP    MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 10Mb/s
        Duplex: Full
        Auto-negotiation: on
        master-slave cfg: preferred slave
        master-slave status: slave
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: external
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: d
        Link detected: yes
root@debian:~# date
Sat Jul 21 10:15:25 PDT 2035


Firmware error:
[   29.401957][  T419] r8169 0000:01:00.0: Direct firmware load for rtl_nic/rtl8168d-2.fw failed with error                    -2
[   29.413241][  T419] r8169 0000:01:00.0: Unable to load firmware rtl_nic/rtl8168d-2.fw (-2)
done.
[   29.432452][  T419] RTL8211B Gigabit Ethernet r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169                   -0-100:00, irq=MAC)
[   29.538136][   T17] r8169 0000:01:00.0 enp1s0: Link is Down
Activating swap:.
[   30.117177][  T525] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro. 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....
Initializing random number generator...done.
Starting Setting kernel variables: sysctl.
Configuring network interfaces...ifup: waiting for lock on /run/network/ifstate.enp1s0
[   64.876425][   T17] r8169 0000:01:00.0 enp1s0: Link is Up - 10Mbps/Full - flow control rx/tx
[   64.884985][   T17] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready
done.
Starting RPC port mapper daemon: rpcbind.

I manually installed the realtek-firmware package from debian but the result is the same: 10 mbps.
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: