Welcome! Log In Create A New Profile

Advanced

Zyxel NSA310 - Network Adapter missing - Newbie needs help!

Posted by 1p21GW 
Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 10, 2022 10:46AM
Hello all,
I've been trying to re-use my old Zyxel NSA310 with u-boot, Debian and OMV as application (open media vault). First attempt was not succesful, I had to start from the very beginning again. I've managed to install u-boot now and Debian - so far so good.
BUT: There is no network adapter present, which isn't really helpful :(
Here's some info:
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
NSA310> printenv
arcNumber=4022
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 orion_nand:0x100000(uboot),0x80000(uboot_env)
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 mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=fc:f5:28:76:ae:de
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.0.231
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=0x1c00000
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
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env)
mtparts=mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env)
preboot_nc=run if_netconsole start_netconsole
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
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.29.1
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=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 0; do run uenv_read_disk; done; done;
uenv_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15
Environment size: 3135/131068 bytes
During boot, Debian reports that egiga0 ifup fails. Based on the information I have, the correct name should be "enp1s0"
root@debian:~# ifconfig -a
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 12  bytes 1710 (1.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1710 (1.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
My (newbie!) assumption is that the u-boot image file does not match with the hardware (r8169)? I found some threads regarding this subject, but nothing really helped.

Has anyone any idea? I'm grateful for any support I can get!
Thanks very much!
Marc
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 10, 2022 04:17PM
Marc,

This problem only is due a change in the latest Debian bullseye for the driver r8169 in this box. We only discover this recently.

Change your /etc/network/interfaces file as followed:

# cat /etc/network/interfaces

auto lo enp1s0
iface lo inet loopback
iface enp1s0 inet dhcp

And reboot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 11, 2022 11:17AM
Hi bodhi,
Thanks for your reply and support. Here's the result (I already tried something similar):
nano /etc/network/interfaces:
auto lo enp1s0
iface lo inet loopback
#allow-hotplug egiga0
#iface lo inet loopback
iface enp1s0 inet dhcp
#hwaddress ether fc:f5:28:76:ae:de
The entries that are commented out are from other tries I made (incl the MAC address).
Rebooted and unfortunately that didn't help:
root@debian:~# ifconfig -a
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
This is the complete reply from the ifconfig command...
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 11, 2022 04:14PM
Marc,

Please post the entire serial boot log here (including login to Debian) and

cat /etc/network/interfaces
ifconfig -a

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 12, 2022 11:46AM
Ok, here we go:
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
NSA310>
NSA310> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)

Use USB retry period from the environment: 15 second(s)
2 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: not available
  Device 0: Model: WDC WD30EFRX-68EUZN0 Firm: 80.00A80 Ser#:  WD-WMC4N0429566
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512)
Unknown command 'mmc' - try 'help'

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60081052        ba9218a1-01     0b


Partition Map for USB device 1  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            19685376        d37ef9e3-01     83
  2     19687424        19687424        d37ef9e3-02     83
  3     39374848        20713472        d37ef9e3-03     82

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
reading /boot/uEnv.txt
** Unable to read file /boot/uEnv.txt **

Partition Map for IDE device 0  --   Partition Type: EFI

Part    Start LBA       End LBA         Name
        Attributes
        Type GUID
        Partition GUID
  1     0x00000800      0x000f3fff      "mitraswap"
        attrs:  0x0000000000000000
        type:   0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
        type:   swap
        guid:   33232725-8b6d-457b-ac1d-3beaa14be52e
  2     0x000f4000      0x15d509fff     "eexxtt44"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        type:   data
        guid:   83c7e398-218c-4e1b-9236-37b396dbce4a
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
reading /boot/uImage
** Unable to read file /boot/uImage **
device usb 1:1
1 bytes read in 907 ms (0 Bytes/s)
Found bootable drive on usb 1
loading uImage ...
5652808 bytes read in 1077 ms (5 MiB/s)
loading uInitrd ...
10096582 bytes read in 1013 ms (9.5 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10114 bytes read in 3967 ms (2 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   linux-5.15.5-kirkwood-tld-1
   Created:      2022-02-08  20:14:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5652744 Bytes = 5.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initrd.img-5.15.5-kirkwood-tld-1
   Created:      2022-02-08  20:15:38 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10096518 Bytes = 9.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f16c000, end 0fb0cf86 ... OK
   Loading Device Tree to 0f166000, end 0f16b781 ... OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.15.5-kirkwood-tld-1 (root@tldDebianVM) (arm-linux-gnueabi-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1.0 PREEMPT Sun Nov 28 23:08:13 PST 2021
[    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: CloudEngines Pogoplug E02
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env)
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 229612K/262144K available (11264K kernel code, 1562K rwdata, 4880K rodata, 1024K init, 310K bss, 32532K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x2fc/0x7b0 with crng_init=0
[    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] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000055][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000874][    T0] Console: colour dummy device 80x30
[    0.000950][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000993][    T0] pid_max: default: 32768 minimum: 301
[    0.001387][    T0] LSM: Security Framework initializing
[    0.001569][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001617][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003071][    T0] CPU: Testing write buffer coherency: ok
[    0.005426][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.005733][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.006076][    T1] rcu: Hierarchical SRCU implementation.
[    0.007491][    T1] devtmpfs: initialized
[    0.014081][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.014139][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.051444][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.051490][    T1] prandom: seed boundary self test passed
[    0.055676][    T1] prandom: 100 self tests passed
[    0.055694][    T1] pinctrl core: initialized pinctrl subsystem
[    0.057351][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.058160][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.059232][    T1] audit: initializing netlink subsys (disabled)
[    0.060791][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.061155][   T16] audit: type=2000 audit(0.050:1): state=initialized audit_enabled=0 res=1
[    0.061321][    T1] cpuidle: using governor ladder
[    0.061424][    T1] cpuidle: using governor menu
[    0.061969][    T1] Feroceon L2: Enabling L2
[    0.062023][    T1] Feroceon L2: Cache support initialised.
[    0.070817][    T1] No ATAGs?
[    2.560062][    C0] random: fast init done
[    5.596705][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    5.820292][    T1] raid6: int32x8  gen()   109 MB/s
[    5.990131][    T1] raid6: int32x8  xor()    69 MB/s
[    6.160084][    T1] raid6: int32x4  gen()   109 MB/s
[    6.330224][    T1] raid6: int32x4  xor()    71 MB/s
[    6.500210][    T1] raid6: int32x2  gen()   142 MB/s
[    6.670183][    T1] raid6: int32x2  xor()    87 MB/s
[    6.840121][    T1] raid6: int32x1  gen()    99 MB/s
[    7.010097][    T1] raid6: int32x1  xor()    60 MB/s
[    7.010115][    T1] raid6: using algorithm int32x2 gen() 142 MB/s
[    7.010128][    T1] raid6: .... xor() 87 MB/s, rmw enabled
[    7.010140][    T1] raid6: using intx1 recovery algorithm
[    7.010437][    T1] vgaarb: loaded
[    7.011021][    T1] SCSI subsystem initialized
[    7.011574][    T1] usbcore: registered new interface driver usbfs
[    7.011656][    T1] usbcore: registered new interface driver hub
[    7.011715][    T1] usbcore: registered new device driver usb
[    7.011945][    T1] pps_core: LinuxPPS API ver. 1 registered
[    7.011962][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    7.011998][    T1] PTP clock support registered
[    7.013957][    T1] clocksource: Switched to clocksource orion_clocksource
[    7.103931][    T1] VFS: Disk quotas dquot_6.6.0
[    7.104107][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    7.135989][    T1] NET: Registered PF_INET protocol family
[    7.136177][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    7.137261][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    7.137316][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    7.137365][    T1] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    7.137404][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    7.137653][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    7.137733][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    7.137773][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    7.138033][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    7.138825][    T1] RPC: Registered named UNIX socket transport module.
[    7.138849][    T1] RPC: Registered udp transport module.
[    7.138862][    T1] RPC: Registered tcp transport module.
[    7.138873][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    7.138890][    T1] PCI: CLS 0 bytes, default 32
[    7.139096][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    7.139699][   T75] Trying to unpack rootfs image as initramfs...
[    8.949145][   T75] Freeing initrd memory: 9860K
[    9.566645][    T1] Initialise system trusted keyrings
[    9.566724][    T1] Key type blacklist registered
[    9.566999][    T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    9.567129][    T1] zbud: loaded
[    9.568598][    T1] NFS: Registering the id_resolver key type
[    9.568650][    T1] Key type id_resolver registered
[    9.568666][    T1] Key type id_legacy registered
[    9.568711][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    9.568737][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    9.568752][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.569031][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    9.569528][    T1] fuse: init (API version 7.34)
[    9.569999][    T1] orange  T1] libphy: orion_mdio_bus: probed
[   11.123098][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 0 is missing.
[   11.131631][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   11.139884][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.147220][    T1] ehci-pci: EHCI PCI platform driver
[   11.152453][    T1] ehci-orion: EHCI orion driver
[   11.157412][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   11.163659][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   11.172344][    T1] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[   11.203989][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   11.211093][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[   11.220134][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, S0300.rtc: registered as rtc0
[   11.277651][    T1] rtc-mv f1010300.rtc: setting system clock to 2022-02-12T17:43:46 UTC (1644687826)
[   11.287305][    T1] i2c_dev: i2c /dev entries driver
[   11.292973][    T1] device-mapper: uevent: version 1.0.3
[   11.298680][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[   11.308324][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   11.315661][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   11.323010][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   11.330444][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   11.337288][    T1] device-mapper: raid: Loading target version 1.15.1
[   11.345467][    T1] hid: raw HID events driver (C) Jiri Kosina
[   11.351756][    T1] drop_monitor: Initializing network drop monitor service
[   11.359337][    T1] NET: Registered PF_INET6 protocol family
[   11.366369][    T1] Segment Routing with IPv6
[   11.370760][    T1] RPL Segment Routing with IPv6
[   11.375620][    T1] In-situ OAM (IOAM) with IPv6
[   11.380367][    T1] NET: Registered PF_PACKET protocol family
[   11.386432][    T1] Key type dns_resolver registered
[   11.392010][    T1] registered taskstats version 1
[   11.397063][    T1] Loading compiled-in X.509 certificates
[   11.402938][    T1] zswap: loaded using pool lzo/zbud
[   11.408463][    T1] Key type ._fscrypt registered
[   11.413200][    T1] Key type .fscrypt registered
[   11.417919][    T1] Key type fscrypt-provisioning registered
[   11.425665][    T1] Key type big_key registered
[   11.462641][    T1] Key type encrypted registered
[   11.475045][    T1] Freeing unused kernel image (initmem) memory: 1024K
[   11.494813][    T1] Checked W+X mappings: passed, no W+X pages found
[   11.501225][    T1] Run /init as init process
[
   Loading, please wait...
Starting version 247.3-6
[   11.755994][   T98] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[   11.774090][   T98] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   11.781980][   T98] usb 1-1: Product: USB2.0 Hub
[   11.828663][   T98] hub 1-1:1.0: USB hub found
[   11.844117][   T98] hub 1-1:1.0: 4 ports detected
[   12.174065][   T98] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   12.335622][   T98] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00
[   12.363613][   T98] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.381242][   T98] usb 1-1.2: Product:  SanDisk 3.2Gen1
[   12.392077][   T98] usb 1-1.2: Manufacturer:  USB
[   12.401243][   T98] usb 1-1.2: SerialNumber: 05016e7b71130ef7c12450f7acc93aa14ccbb4acf2d2fc2928f9034ffb09990dda7700000000000000000000746a6d41008c171083558107b7aa78c7
[   12.435123][   T98] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   12.454626][   T98] scsi host0: usb-storage 1-1.2:1.0
[   12.554067][   T98] usb 1-1.3: new high-speed USB device number 4 using orion-ehci
[   12.715491][   T98] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00
[   12.732015][   T98] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.748884][   T98] usb 1-1.3: Product:  SanDisk 3.2Gen1
[   12.760739][   T98] usb 1-1.3: Manufacturer:  USB
[   12.769003][   T98] usb 1-1.3: SerialNumber: 05011bd9ae5cfe81bfad41e7668faf37964a6653d830746c3f8969cf155c1ca3e1650000000000000000000096326ea8ff10171083558107b7aa897a
[   12.801525][   T98] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[   12.819172][   T98] scsi host1: usb-storage 1-1.3:1.0
[   12.992784][  T129] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
[   13.525340][    T7] scsi 0:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[   13.540052][   T75] sd 0:0:0:0: [sda] 60088320 512-byte logical blocks: (30.8 GB/28.7 GiB)
[   13.554531][   T75] sd 0:0:0:0: [sda] Write Protect is off
[   13.560767][   T75] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   13.580887][   T75]  sda: sda1
[   13.596910][   T75] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   13.845338][   T75] scsi 1:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[   13.859800][    T7] sd 1:0:0:0: [sdb] 60088320 512-byte logical blocks: (30.8 GB/28.7 GiB)
[   13.874110][    T7] sd 1:0:0:0: [sdb] Write Protect is off
[   13.880392][    T7] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   13.902007][    T7]  sdb: sdb1 sdb2 sdb3
[   13.916912][    T7] sd 1:0:0:0: [sdb] Attached SCSI removable disk
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.36.1
[/sbin/fsck.ext4 (1) -- /dev/sdb1] fsck.ext4 -a -C0 /dev/sdb1
rootfs: clean, 18854/615296 files, 369875/2460672 blocks
done.
[   23.396735][  T175] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
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...[   26.285167][  T365] orion_wdt: Initial timeout 21 sec
[   26.733928][  T363] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   26.740594][  T363] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   26.788425][  T360] marvell-cesa f1030000.crypto: CESA device successfully registered
[   26.909623][    C0] random: crng init done
done.
Activating swap:swapon: /dev/sdb3: found signature [pagesize=4096, signature=swap]
swap[   28.004689][  T491] Adding 10356732k swap on /dev/sdb3.  Priority:-2 extents:1 across:10356732k FS
on: /dev/sdb3: pagesize=4096, swapsize=10605297664, devsize=10605297664
swapon /dev/sdb3
.
[   28.122720][  T503] EXT4-fs (sdb1): re-mounted. Opts: (null). Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
LABEL=home is not mounted
[/sbin/fsck.ext4 (1) -- /home] fsck.ext4 -y -C0 /dev/sdb2
e2fsck 1.46.2 (28-Feb-2021)
home: clean, 11/615296 files, 60416/2460928 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.
[   29.763436][  T755] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:swapon: /dev/sdb3: already active -- ignored
done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "enp1s0"
Failed to get interface index: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging.

exiting.
ifup: failed to bring up enp1s0
failed.
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.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1037 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1078 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 11 debian ttyS0

debian login: root
Password:
Linux debian 5.15.5-kirkwood-tld-1 #1.0 PREEMPT Sun Nov 28 23:08:13 PST 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: Fri Feb 11 09:33:55 PST 2022 on ttyS0
debian
CloudEngines Pogoplug E02
Linux version 5.15.5-kirkwood-tld-1 (root@tldDebianVM) (arm-linux-gnueabi-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1.0 PREEMPT Sun Nov 28 23:08:13 PST 2021
Debian 11.0
Sat Feb 12 09:44:16 PST 2022 up 0 minutes
root@debian:~#
root@debian:~# cat /etc/network/interfaces
auto lo enp1s0
iface lo inet loopback
#allow-hotplug egiga0
#iface lo inet loopback
iface enp1s0 inet dhcp
#hwaddress ether fc:f5:28:76:ae:de
root@debian:~#
root@debian:~# ifconfig -a
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@debian:~#
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 12, 2022 03:52PM
I can see the problem here:

[    0.000000][    T0] Linux version 5.15.5-kirkwood-tld-1 (root@tldDebianVM) (arm-linux-gnueabi-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1.0 PREEMPT Sun Nov 28 23:08:13 PST 2021
[    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: CloudEngines Pogoplug E02
[    0.000000][    T0] Memory policy: Data cache writeback

So in serial console,

setenv dtb_file /boot/dts/kirkwood-nsa310.dtb
printenv

And then boot

boot

After you booted into Debian, post the serial log again.

There are 3 different modles of the Zyxel NSA310, the log will give out clue which one you have. And I'll look at the envs again to see if anything else needs attention.

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



Edited 2 time(s). Last edit at 02/12/2022 03:54PM by bodhi.
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 12, 2022 04:34PM
NSA310> setenv dtb_file /boot/dts/kirkwood-nsa.dtb
NSA310> printenv
arcNumber=4022
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 orion_nand:0x100000(uboot),0x80000(uboot_env)
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 mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-nsa.dtb
ethact=egiga0
ethaddr=fc:f5:28:76:ae:de
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.0.231
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=0x1c00000
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
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env)
mtparts=mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env)
preboot_nc=run if_netconsole start_netconsole
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
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.29.1
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=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 0; do run uenv_read_disk; done; done;
uenv_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15
Environment size: 3130/131068 bytes
NSA310>
NSA310> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)

Use USB retry period from the environment: 15 second(s)
2 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: not available
  Device 0: Model: WDC WD30EFRX-68EUZN0 Firm: 80.00A80 Ser#:  WD-WMC4N0429566
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512)
Unknown command 'mmc' - try 'help'

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60081052        ba9218a1-01     0b


Partition Map for USB device 1  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            19685376        d37ef9e3-01     83
  2     19687424        19687424        d37ef9e3-02     83
  3     39374848        20713472        d37ef9e3-03     82

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
reading /boot/uEnv.txt
** Unable to read file /boot/uEnv.txt **

Partition Map for IDE device 0  --   Partition Type: EFI

Part    Start LBA       End LBA         Name
        Attributes
        Type GUID
        Partition GUID
  1     0x00000800      0x000f3fff      "mitraswap"
        attrs:  0x0000000000000000
        type:   0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
        type:   swap
        guid:   33232725-8b6d-457b-ac1d-3beaa14be52e
  2     0x000f4000      0x15d509fff     "eexxtt44"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        type:   data
        guid:   83c7e398-218c-4e1b-9236-37b396dbce4a
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
reading /boot/uImage
** Unable to read file /boot/uImage **
device usb 1:1
1 bytes read in 907 ms (0 Bytes/s)
Found bootable drive on usb 1
loading uImage ...
5652808 bytes read in 1076 ms (5 MiB/s)
loading uInitrd ...
10096582 bytes read in 1013 ms (9.5 MiB/s)
loading DTB /boot/dts/kirkwood-nsa.dtb ...
** File not found /boot/dts/kirkwood-nsa.dtb **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   linux-5.15.5-kirkwood-tld-1
   Created:      2022-02-08  20:14:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5652744 Bytes = 5.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initrd.img-5.15.5-kirkwood-tld-1
   Created:      2022-02-08  20:15:38 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10096518 Bytes = 9.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f16c000, end 0fb0cf86 ... OK

Starting kernel ...


Error: invalid dtb and unrecognized/unsupported machine ID
  r1=0x00000fb6, r2=0x00000100
  r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00
Available machine support:

ID (hex)        NAME
ffffffff        Generic DT based system
ffffffff        Marvell Kirkwood (Flattened Device Tree)

Please check your kernel config and/or bootloader.
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 12, 2022 04:52PM
Typo:

> NSA310> setenv dtb_file
> /boot/dts/kirkwood-nsa.dtb

Should be:
setenv dtb_file /boot/dts/kirkwood-nsa310.dtb

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 12, 2022 04:55PM
bodhi, I adapted your suggestion a bit and did this:
NSA310> setenv dtb_file /boot/dts/kirkwood-nsa310a.dtb
NSA310> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)

Use USB retry period from the environment: 15 second(s)
2 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: not available
  Device 0: Model: WDC WD30EFRX-68EUZN0 Firm: 80.00A80 Ser#:  WD-WMC4N0429566
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512)
Unknown command 'mmc' - try 'help'

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60081052        ba9218a1-01     0b


Partition Map for USB device 1  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            19685376        d37ef9e3-01     83
  2     19687424        19687424        d37ef9e3-02     83
  3     39374848        20713472        d37ef9e3-03     82

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
reading /boot/uEnv.txt
** Unable to read file /boot/uEnv.txt **

Partition Map for IDE device 0  --   Partition Type: EFI

Part    Start LBA       End LBA         Name
        Attributes
        Type GUID
        Partition GUID
  1     0x00000800      0x000f3fff      "mitraswap"
        attrs:  0x0000000000000000
        type:   0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
        type:   swap
        guid:   33232725-8b6d-457b-ac1d-3beaa14be52e
  2     0x000f4000      0x15d509fff     "eexxtt44"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        type:   data
        guid:   83c7e398-218c-4e1b-9236-37b396dbce4a
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
reading /boot/uImage
** Unable to read file /boot/uImage **
device usb 1:1
1 bytes read in 907 ms (0 Bytes/s)
Found bootable drive on usb 1
loading uImage ...
5652808 bytes read in 1077 ms (5 MiB/s)
loading uInitrd ...
10096582 bytes read in 1013 ms (9.5 MiB/s)
loading DTB /boot/dts/kirkwood-nsa310a.dtb ...
12140 bytes read in 2906 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   linux-5.15.5-kirkwood-tld-1
   Created:      2022-02-08  20:14:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5652744 Bytes = 5.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initrd.img-5.15.5-kirkwood-tld-1
   Created:      2022-02-08  20:15:38 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10096518 Bytes = 9.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f16c000, end 0fb0cf86 ... OK
   Loading Device Tree to 0f166000, end 0f16bf6b ... OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.15.5-kirkwood-tld-1 (root@tldDebianVM) (arm-linux-gnueabi-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1.0 PREEMPT Sun Nov 28 23:08:13 PST 2021
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env)
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 229600K/262144K available (11264K kernel code, 1562K rwdata, 4880K rodata, 1024K init, 310K bss, 32544K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x2fc/0x7b0 with crng_init=0
[    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] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000055][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000886][    T0] Console: colour dummy device 80x30
[    0.000961][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.001001][    T0] pid_max: default: 32768 minimum: 301
[    0.001394][    T0] LSM: Security Framework initializing
[    0.001578][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001626][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003078][    T0] CPU: Testing write buffer coherency: ok
[    0.005445][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.005776][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.006106][    T1] rcu: Hierarchical SRCU implementation.
[    0.007524][    T1] devtmpfs: initialized
[    0.015287][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015344][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.052650][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.052695][    T1] prandom: seed boundary self test passed
[    0.056879][    T1] prandom: 100 self tests passed
[    0.056896][    T1] pinctrl core: initialized pinctrl subsystem
[    0.058531][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.059337][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.060506][    T1] audit: initializing netlink subsys (disabled)
[    0.061979][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.062355][   T16] audit: type=2000 audit(0.060:1): state=initialized audit_enabled=0 res=1
[    0.062544][    T1] cpuidle: using governor ladder
[    0.062648][    T1] cpuidle: using governor menu
[    0.063205][    T1] Feroceon L2: Enabling L2
[    0.063260][    T1] Feroceon L2: Cache support initialised.
[    0.073896][    T1] No ATAGs?
[    2.560062][    C0] random: fast init done
[    5.599811][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    5.820314][    T1] raid6: int32x8  gen()   109 MB/s
[    5.990084][    T1] raid6: int32x8  xor()    69 MB/s
[    6.160234][    T1] raid6: int32x4  gen()   109 MB/s
[    6.330116][    T1] raid6: int32x4  xor()    71 MB/s
[    6.500177][    T1] raid6: int32x2  gen()   141 MB/s
[    6.670140][    T1] raid6: int32x2  xor()    87 MB/s
[    6.840218][    T1] raid6: int32x1  gen()   100 MB/s
[    7.010173][    T1] raid6: int32x1  xor()    58 MB/s
[    7.010191][    T1] raid6: using algorithm int32x2 gen() 141 MB/s
[    7.010205][    T1] raid6: .... xor() 87 MB/s, rmw enabled
[    7.010217][    T1] raid6: using intx1 recovery algorithm
[    7.010514][    T1] vgaarb: loaded
[    7.011109][    T1] SCSI subsystem initialized
[    7.011650][    T1] usbcore: registered new interface driver usbfs
[    7.011748][    T1] usbcore: registered new interface driver hub
[    7.011808][    T1] usbcore: registered new device driver usb
[    7.012026][    T1] pps_core: LinuxPPS API ver. 1 registered
[    7.012044][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    7.012079][    T1] PTP clock support registered
[    7.014052][    T1] clocksource: Switched to clocksource orion_clocksource
[    7.103966][    T1] VFS: Disk quotas dquot_6.6.0
[    7.104136][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    7.135982][    T1] NET: Registered PF_INET protocol family
[    7.136171][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    7.137246][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    7.137302][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    7.137350][    T1] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    7.137389][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    7.137636][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    7.137716][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    7.137757][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    7.138004][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    7.138808][    T1] RPC: Registered named UNIX socket transport module.
[    7.138832][    T1] RPC: Registered udp transport module.
[    7.138845][    T1] RPC: Registered tcp transport module.
[    7.138856][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    7.138873][    T1] PCI: CLS 0 bytes, default 32
[    7.139080][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    7.139680][   T75] Trying to unpack rootfs image as initramfs...
[    8.954261][   T75] Freeing initrd memory: 9860K
[    9.566967][    T1] Initialise system trusted keyrings
[    9.567050][    T1] Key type blacklist registered
[    9.567322][    T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    9.567451][    T1] zbud: loaded
[    9.568933][    T1] NFS: Registering the id_resolver key type
[    9.568980][    T1] Key type id_resolver registered
[    9.568996][    T1] Key type id_legacy registered
[    9.569044][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    9.569070][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    9.569086][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.569376][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    9.569864][    T1] fuse: init (API version 7.34)
[    9.570309][    T1] orangefs_debugfs_in0xe0000000-0xe00fffff]
[    9.936001][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    9.936605][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    9.995157][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.997690][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[   10.055144][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   10.057928][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   10.059444][    T1] printk: console [ttyS0] disabled
[   10.059549][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[   11.163261][    T1] printk: console [ttyS0] enabled
[   11.177257][    T1] loop: module loaded
[   11.181971][    T1] sata_mv f1080000.sata: slots 32 ports 2
[   11.191448][    T1] scsi host0: sata_mv
[   11.196073][    T1] scsi host1: sata_mv
[   11.200192][    T1] ata1: SATA max UDMA/133 irq 32
[   11.205088][    T1] ata2: SATA max UDMA/133 irq 32
[   11.210930][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[   11.218099][    T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[   11.223440][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   11.231799][    T1] Scanning device for bad blocks
[   11.265082][    T1] Bad eraseblock 295 at 0x0000024e0000
[   11.307778][    T1] Bad eraseblock 684 at 0x000005580000
[   11.345742][    T1] 2 cmdlinepart partitions found on MTD device orion_nand
[   11.352741][    T1] Creating 2 MTD partitions on "o
                                                      [   11.393629][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   11.402250][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   11.413861][    T1] libphy: Fixed MDIO Bus: probed
[   11.419806][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.427138][    T1] ehci-pci: EHCI PCI platform driver
[   11.432390][    T1] ehci-orion: EHCI orion driver
[   11.437450][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   11.443746][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   11.452401][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   11.484080][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   11.491195][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[   11.500258][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, S50][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[   11.589903][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   11.597239][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   11.604624][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   11.612035][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   11.618885][    T1] device-mapper: raid: Loading target version 1.15.1
[   11.627995][    T1] hid: raw HID events driver (C) Jiri Kosina
[   11.634535][    T1] drop_monitor: Initializing network drop monitor service
[   11.642056][    T1] NET: Registered PF_INET6 protocol family
[   11.649102][    T1] Segment Routing with IPv6
[   11.653494][    T1] RPL Segment Routing with IPv6
[   11.658353][    T1] In-situ OAM (IOAM) with IPv6
[   11.663116][    T1] NET: Registered PF_PACKET protocol family
[   11.669160][    T1] Key type dns_resolver registered
[   11.674939][    T1] registered taskstats version 1
[   11.679773][    T1] Loading compiled-in X.509 certificates
[   11.685746][    T1] zswap: loaded using pool lzo/zbud
[   11.691193][    T1] Key type ._fscrypt registered
[   11.696010][    T1] Key type .fscrypt registered
[   11.700653][    T1] Key type fscrypt-provisioning registered
[   11.708389][    T1] Key type big_key registered
[   11.714172][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   11.729630][   T94] ata1.00: ATA-9: WDC WD30EFRX-68EUZN0, 80.00A80, max UDMA/133
[   11.743621][   T94] ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   11.766902][   T94] ata1.00: configured for UDMA/133
[   11.774211][    T1] Key type encrypted registered
[   11.782565][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD30EFRX-68E 0A80 PQ: 0 ANSI: 5
[   11.793520][  T108] sd 0:0:0:0: [sda] 586
                                            [   12.035782][  T103] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[   12.044763][  T103] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   12.052690][  T103] usb 1-1: Product: USB2.0 Hub
[   12.058378][  T103] hub 1-1:1.0: USB hub found
[   12.063284][  T103] hub 1-1:1.0: 4 ports detected
[   12.139096][   T96] ata2: SATA link down (SStatus 0 SControl F300)
[   12.158421][    T1] Freeing unused kernel image (initmem) memory: 1024K
[   12.165968][    T1] Checked W+X mappings: passed, no W+X pages found
[   12.172374][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   12.384153][  T103] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   12.555544][  T103] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00
[   12.572651][  T103] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.595101][  T103] usb 1-1.2: Product:  SanDisk 3.2Gen1
[   12.600464][  T103] usb 1-1.2: Manufacturer:  USB
[   12.624883][  T103] usb 1-1.2: SerialNumber: 05016e7b71130ef7c12450f7acc93aa14ccbb4acf2d2fc2928f9034ffb09990dda7700000000000000000000746a6d41008c171083558107b7aa78c7
[   12.676520][  T103] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   12.694351][  T103] scsi host2: usb-storage 1-1.2:1.0
[   12.804160][  T103] usb 1-1.3: new high-speed USB device number 4 using orion-ehci
[   12.965672][  T103] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00
[   12.991594][  T103] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   13.019292][  T103] usb 1-1.3: Product:  SanDisk 3.2Gen1
[   13.030391][  T103] usb 1-1.3: Manufacturer:  USB
[   13.049346][  T103] usb 1-1.3: SerialNumber: 05011bd9ae5cfe81bfad41e7668faf37964a6653d830746c3f8969cf155c1ca3e1650000000000000000000096326ea8ff10171083558107b7aa897a
[   13.096483][  T103] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[   13.118346][  T103] scsi host3: usb-storage 1-1.3:1.0
[   13.148847][  T139] usbcore: registered new interface driver uas
[   13.191937][  T135] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[   13.280082][  T139] r8169 0000:01:00.0: enabling device (0140 -> 0143)
[   13.372309][  T139] libphy: r8169: probed
[   13.391006][  T139] r8169 0000:01:00.0 eth0: RTL8168d/8111d, 00:00:00:00:00:30, XID 283, IRQ 38
[   13.427882][  T139] r8169 0000:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[   13.765529][   T75] scsi 2:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[   13.783973][  T108] sd 2:0:0:0: [sdb] 60088320 512-byte logical blocks: (30.8 GB/28.7 GiB)
[   13.801973][  T108] sd 2:0:0:0: [sdb] Write Protect is off
[   13.812594][  T108] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   13.840967][  T108]  sdb: sdb1
[   13.851345][  T108] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[   13.956108][  T135] r8169 0000:01:00.0 enp1s0: renamed from eth0
[   14.165391][  T108] scsi 3:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[   14.181530][   T75] sd 3:0:0:0: [sdc] 60088320 512-byte logical blocks: (30.8 GB/28.7 GiB)
[   14.197772][   T75] sd 3:0:0:0: [sdc] Write Protect is off
[   14.205780][   T75] sd 3:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   14.231337][   T75]  sdc: sdc1 sdc2 sdc3
[   14.242433][   T75] sd 3:0:0:0: [sdc] Attached SCSI removable disk
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.36.1
[/sbin/fsck.ext4 (1) -- /dev/sdc1] fsck.ext4 -a -C0 /dev/sdc1
rootfs: clean, 18854/615296 files, 369880/2460672 blocks
done.
[   24.986603][  T180] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
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...[   27.668325][    C0] random: crng init done
[   28.030825][  T368] hwmon_vid: Unknown VRM version of your CPU
[   28.052854][  T363] orion_wdt: Initial timeout 21 sec
[   28.082710][  T368] lm85 0-002e: Starting monitoring
[   28.388780][  T365] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   28.468077][  T365] sd 2:0:0:0: Attached scsi generic sg1 type 0
[   28.601305][  T365] sd 3:0:0:0: Attached scsi generic sg2 type 0
[   28.618668][  T370] marvell-cesa f1030000.crypto: CESA device successfully registered
done.
Activating swap:swapon: /dev/sdc3: found signature [pagesize=4096, signature=swap]
swap[   30.018116][  T501] Adding 10356732k swap on /dev/sdc3.  Priority:-2 extents:1 across:10356732k FS
on: /dev/sdc3: pagesize=4096, swapsize=10605297664, devsize=10605297664
swapon /dev/sdc3
.
[   30.136148][  T513] EXT4-fs (sdc1): re-mounted. Opts: (null). Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
LABEL=home is not mounted
[/sbin/fsck.ext4 (1) -- /home] fsck.ext4 -y -C0 /dev/sdc2
e2fsck 1.46.2 (28-Feb-2021)
home: clean, 11/615296 files, 60416/2460928 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.
[   31.776904][  T765] EXT4-fs (sdc2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:swapon: /dev/sdc3: already active -- ignored
done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...
done.
[   32.913962][  T926] r8169 0000:01:00.0: Direct firmware load for rtl_nic/rtl8168d-2.fw failed with error -2
[   32.923903][  T926] r8169 0000:01:00.0: Unable to load firmware rtl_nic/rtl8168d-2.fw (-2)
[   32.933548][  T926] RTL8211B Gigabit Ethernet r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
[   33.016738][  T102] r8169 0000:01:00.0 enp1s0: Link is Down
[   35.313309][  T102] r8169 0000:01:00.0 enp1s0: Link is Up - 1Gbps/Full - flow control rx/tx
[   35.321792][  T102] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/enp1s0/00:00:00:00:00:30
Sending on   LPF/enp1s0/00:00:00:00:00:30
Sending on   Socket/fallback
Created duid "\000\001\000\001)\232\366\206\000\000\000\000\0000".
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 6
DHCPOFFER of 192.168.29.28 from 192.168.29.1
DHCPREQUEST for 192.168.29.28 on enp1s0 to 255.255.255.255 port 67
DHCPACK of 192.168.29.28 from 192.168.29.1
invoke-rc.d: could not determine current runlevel
bound to 192.168.29.28 -- renewal in 393112 seconds.
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.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1075 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1118 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 11 debian ttyS0

debian login: root
Password:
Linux debian 5.15.5-kirkwood-tld-1 #1.0 PREEMPT Sun Nov 28 23:08:13 PST 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 Feb 12 14:48:51 PST 2022 on ttyS0
debian
192.168.29.28
ZyXEL NSA310
Linux version 5.15.5-kirkwood-tld-1 (root@tldDebianVM) (arm-linux-gnueabi-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1.0 PREEMPT Sun Nov 28 23:08:13 PST 2021
Debian 11.0
Sat Feb 12 14:52:04 PST 2022 up 0 minutes
root@debian:~# ifconfig -a
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.29.28  netmask 255.255.255.0  broadcast 192.168.29.255
        inet6 fe80::200:ff:fe00:30  prefixlen 64  scopeid 0x20<link>
        ether 00:00:00:00:00:30  txqueuelen 1000  (Ethernet)
        RX packets 28  bytes 2938 (2.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 35  bytes 5010 (4.8 KiB)
        TX errors 0  dropped 0 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

looks better, doesn't it?
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 12, 2022 04:59PM
BTW: I did that before you sent your reply with the typo ;-)
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 12, 2022 05:07PM
NSA310> setenv dtb_file /boot/dts/kirkwood-nsa310.dtb
NSA310> printenv dtb_file
dtb_file=/boot/dts/kirkwood-nsa310.dtb
NSA310> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)

Use USB retry period from the environment: 15 second(s)
2 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: not available
  Device 0: Model: WDC WD30EFRX-68EUZN0 Firm: 80.00A80 Ser#:  WD-WMC4N0429566
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 2861588.4 MB = 2794.5 GB (5860533168 x 512)
Unknown command 'mmc' - try 'help'

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            19685376        d37ef9e3-01     83
  2     19687424        19687424        d37ef9e3-02     83
  3     39374848        20713472        d37ef9e3-03     82


Partition Map for USB device 1  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60081052        ba9218a1-01     0b

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

Partition Map for IDE device 0  --   Partition Type: EFI

Part    Start LBA       End LBA         Name
        Attributes
        Type GUID
        Partition GUID
  1     0x00000800      0x000f3fff      "mitraswap"
        attrs:  0x0000000000000000
        type:   0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
        type:   swap
        guid:   33232725-8b6d-457b-ac1d-3beaa14be52e
  2     0x000f4000      0x15d509fff     "eexxtt44"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        type:   data
        guid:   83c7e398-218c-4e1b-9236-37b396dbce4a
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 907 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5652808 bytes read in 1077 ms (5 MiB/s)
loading uInitrd ...
10096582 bytes read in 1013 ms (9.5 MiB/s)
loading DTB /boot/dts/kirkwood-nsa310.dtb ...
12580 bytes read in 1138 ms (10.7 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   linux-5.15.5-kirkwood-tld-1
   Created:      2022-02-08  20:14:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5652744 Bytes = 5.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initrd.img-5.15.5-kirkwood-tld-1
   Created:      2022-02-08  20:15:38 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10096518 Bytes = 9.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f16c000, end 0fb0cf86 ... OK
   Loading Device Tree to 0f165000, end 0f16b123 ... OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.15.5-kirkwood-tld-1 (root@tldDebianVM) (arm-linux-gnueabi-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1.0 PREEMPT Sun Nov 28 23:08:13 PST 2021
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(uboot_env)
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 229596K/262144K available (11264K kernel code, 1562K rwdata, 4880K rodata, 1024K init, 310K bss, 32548K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x2fc/0x7b0 with crng_init=0
[    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] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000056][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000885][    T0] Console: colour dummy device 80x30
[    0.000960][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.001003][    T0] pid_max: default: 32768 minimum: 301
[    0.001400][    T0] LSM: Security Framework initializing
[    0.001581][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001629][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003080][    T0] CPU: Testing write buffer coherency: ok
[    0.005446][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.005781][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.006115][    T1] rcu: Hierarchical SRCU implementation.
[    0.007527][    T1] devtmpfs: initialized
[    0.015558][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015615][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.052918][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.052962][    T1] prandom: seed boundary self test passed
[    0.057148][    T1] prandom: 100 self tests passed
[    0.057166][    T1] pinctrl core: initialized pinctrl subsystem
[    0.058826][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.059642][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.060759][    T1] audit: initializing netlink subsys (disabled)
[    0.062265][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.062645][   T16] audit: type=2000 audit(0.060:1): state=initialized audit_enabled=0 res=1
[    0.062834][    T1] cpuidle: using governor ladder
[    0.062935][    T1] cpuidle: using governor menu
[    0.063495][    T1] Feroceon L2: Enabling L2
[    0.063550][    T1] Feroceon L2: Cache support initialised.
[    0.074548][    T1] No ATAGs?
[    2.560062][    C0] random: fast init done
[    5.600387][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    5.820363][    T1] raid6: int32x8  gen()   109 MB/s
[    5.990250][    T1] raid6: int32x8  xor()    69 MB/s
[    6.160278][    T1] raid6: int32x4  gen()   109 MB/s
[    6.330212][    T1] raid6: int32x4  xor()    71 MB/s
[    6.500205][    T1] raid6: int32x2  gen()   142 MB/s
[    6.670180][    T1] raid6: int32x2  xor()    87 MB/s
[    6.840258][    T1] raid6: int32x1  gen()    99 MB/s
[    7.010218][    T1] raid6: int32x1  xor()    59 MB/s
[    7.010236][    T1] raid6: using algorithm int32x2 gen() 142 MB/s
[    7.010250][    T1] raid6: .... xor() 87 MB/s, rmw enabled
[    7.010261][    T1] raid6: using intx1 recovery algorithm
[    7.010559][    T1] vgaarb: loaded
[    7.011171][    T1] SCSI subsystem initialized
[    7.011719][    T1] usbcore: registered new interface driver usbfs
[    7.011797][    T1] usbcore: registered new interface driver hub
[    7.011869][    T1] usbcore: registered new device driver usb
[    7.012091][    T1] pps_core: LinuxPPS API ver. 1 registered
[    7.012108][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    7.012144][    T1] PTP clock support registered
[    7.014097][    T1] clocksource: Switched to clocksource orion_clocksource
[    7.104071][    T1] VFS: Disk quotas dquot_6.6.0
[    7.104244][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    7.136131][    T1] NET: Registered PF_INET protocol family
[    7.136326][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    7.137392][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    7.137446][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    7.137495][    T1] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    7.137535][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    7.137776][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    7.137856][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    7.137896][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    7.138146][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    7.138943][    T1] RPC: Registered named UNIX socket transport module.
[    7.138966][    T1] RPC: Registered udp transport module.
[    7.138978][    T1] RPC: Registered tcp transport module.
[    7.138989][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    7.139007][    T1] PCI: CLS 0 bytes, default 32
[    7.139213][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    7.139815][   T75] Trying to unpack rootfs image as initramfs...
[    8.950348][   T75] Freeing initrd memory: 9860K
[    9.567675][    T1] Initialise system trusted keyrings
[    9.567745][    T1] Key type blacklist registered
[    9.568011][    T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    9.568141][    T1] zbud: loaded
[    9.569624][    T1] NFS: Registering the id_resolver key type
[    9.569668][    T1] Key type id_resolver registered
[    9.569683][    T1] Key type id_legacy registered
[    9.569728][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    9.569754][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    9.569770][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.570065][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    9.570553][    T1] fuse: init (API version 7.34)
[    9.571002][    T1] orangefs_debugfs_in.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.997775][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[   10.055197][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   10.058041][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   10.059597][    T1] printk: console [ttyS0] disabled
[   10.059701][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[   11.163418][    T1] printk: console [ttyS0] enabled
[   11.177387][    T1] loop: module loaded
[   11.182099][    T1] sata_mv f1080000.sata: slots 32 ports 2
[   11.191576][    T1] scsi host0: sata_mv
[   11.196180][    T1] scsi host1: sata_mv
[   11.200316][    T1] ata1: SATA max UDMA/133 irq 32
[   11.205214][    T1] ata2: SATA max UDMA/133 irq 32
[   11.211039][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[   11.218207][    T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[   11.223548][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   11.231915][    T1] Scanning device for bad blocks
[   11.265176][    T1] Bad eraseblock 295 at 0x0000024e0000
[   11.307879][    T1] Bad eraseblock 684 at 0x000005580000
[   11.345866][    T1] 2 cmdlinepart partitions found on MTD device orion_nand
[   11.352866][    T1] Creating 2 MTD partitions on "oad.
[   11.375707][    T1] 0x000000100000-0x000000180000 : "uboot_env"
[   11.382132][    T1] mtdblock: MTD device 'uboot_env' is NAND, please consider using UBI block devices instead.
[   11.393766][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   11.402383][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   11.413996][    T1] libphy: Fixed MDIO Bus: probed
[   11.419937][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.427270][    T1] ehci-pci: EHCI PCI platform driver
[   11.432500][    T1] ehci-orion: EHCI orion driver
[   11.437544][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   11.443846][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   11.452505][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   11.484126][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   11.491241][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[   11.500303][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seue-length: version 0.2.0 loaded
[   11.604683][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   11.612100][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   11.618948][    T1] device-mapper: raid: Loading target version 1.15.1
[   11.628415][    T1] hid: raw HID events driver (C) Jiri Kosina
[   11.634740][    T1] drop_monitor: Initializing network drop monitor service
[   11.642267][    T1] NET: Registered PF_INET6 protocol family
[   11.649355][    T1] Segment Routing with IPv6
[   11.653750][    T1] RPL Segment Routing with IPv6
[   11.658619][    T1] In-situ OAM (IOAM) with IPv6
[   11.663374][    T1] NET: Registered PF_PACKET protocol family
[   11.669397][    T1] Key type dns_resolver registered
[   11.675169][    T1] registered taskstats version 1
[   11.680002][    T1] Loading compiled-in X.509 certificates
[   11.685976][    T1] zswap: loaded using pool lzo/zbud
[   11.691421][    T1] Key type ._fscrypt registered
[   11.696239][    T1] Key type .fscrypt registered
[   11.700890][    T1] Key type fscrypt-provisioning registered
[   11.708623][    T1] Key type big_key registered
[   11.714197][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   11.729859][   T94] ata1.00: ATA-9: WDC WD30EFRX-68EUZN0, 80.00A80, max UDMA/133
[   11.743943][   T94] ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   11.766932][   T94] ata1.00: configured for UDMA/133
[   11.774814][    T1] Key type encrypted registered
[   11.782994][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD30EFRX-68E 0A80 PQ: 0 ANSI: 5
[   11.794484][  T107] sd 0:0:0:0: [sda] 586
                                            [   12.035890][  T102] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[   12.044878][  T102] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   12.052805][  T102] usb 1-1: Product: USB2.0 Hub
[   12.058484][  T102] hub 1-1:1.0: USB hub found
[   12.063390][  T102] hub 1-1:1.0: 4 ports detected
[   12.134130][   T96] ata2: SATA link down (SStatus 0 SControl F300)
[   12.153424][    T1] Freeing unused kernel image (initmem) memory: 1024K
[   12.160982][    T1] Checked W+X mappings: passed, no W+X pages found
[   12.167414][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   12.384199][  T102] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   12.555653][  T102] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00
[   12.572309][  T102] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.600097][  T102] usb 1-1.2: Product:  SanDisk 3.2Gen1
[   12.614373][  T102] usb 1-1.2: Manufacturer:  USB
[   12.619117][  T102] usb 1-1.2: SerialNumber: 05016e7b71130ef7c12450f7acc93aa14ccbb4acf2d2fc2928f9034ffb09990dda7700000000000000000000746a6d41008c171083558107b7aa78c7
[   12.675847][  T102] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   12.701510][  T102] scsi host2: usb-storage 1-1.2:1.0
[   12.834188][  T102] usb 1-1.3: new high-speed USB device number 4 using orion-ehci
[   13.005525][  T102] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00
[   13.027992][  T102] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   13.051638][  T102] usb 1-1.3: Product:  SanDisk 3.2Gen1
[   13.069207][  T102] usb 1-1.3: Manufacturer:  USB
[   13.073962][  T102] usb 1-1.3: SerialNumber: 05011bd9ae5cfe81bfad41e7668faf37964a6653d830746c3f8969cf155c1ca3e1650000000000000000000096326ea8ff10171083558107b7aa897a
[   13.132557][  T102] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[   13.164671][  T102] scsi host3: usb-storage 1-1.3:1.0
[   13.174799][  T137] usbcore: registered new interface driver uas
[   13.212064][  T148] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[   13.288990][  T137] r8169 0000:01:00.0: enabling device (0140 -> 0143)
[   13.384336][  T137] libphy: r8169: probed
[   13.401787][  T137] r8169 0000:01:00.0 eth0: RTL8168d/8111d, 00:00:00:00:00:30, XID 283, IRQ 38
[   13.444085][  T137] r8169 0000:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[   13.765507][   T75] scsi 2:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[   13.783955][  T107] sd 2:0:0:0: [sdb] 60088320 512-byte logical blocks: (30.8 GB/28.7 GiB)
[   13.799727][  T107] sd 2:0:0:0: [sdb] Write Protect is off
[   13.811824][  T107] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   13.840953][  T107]  sdb: sdb1
[   13.851956][  T107] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[   13.952338][  T137] r8169 0000:01:00.0 enp1s0: renamed from eth0
Begin: Loading essential drivers ... done.
[   14.245492][   T75] scsi 3:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[   14.260082][  T107] sd 3:0:0:0: [sdc] 60088320 512-byte logical blocks: (30.8 GB/28.7 GiB)
[   14.274314][  T107] sd 3:0:0:0: [sdc] Write Protect is off
[   14.280548][  T107] sd 3:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   14.302166][  T107]  sdc: sdc1 sdc2 sdc3
[   14.317070][  T107] sd 3:0:0:0: [sdc] Attached SCSI removable disk
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.36.1
[/sbin/fsck.ext4 (1) -- /dev/sdc1] fsck.ext4 -a -C0 /dev/sdc1
rootfs: clean, 23323/615296 files, 417104/2460672 blocks
done.
[   24.577371][  T183] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
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...[   27.684665][  T377] hwmon_vid: Unknown VRM version of your CPU
[   27.702785][    C0] random: crng init done
[   27.746055][  T368] orion_wdt: Initial timeout 21 sec
[   27.779622][  T377] adt7475 0-002e: ADT7476 device, revision 1
[   27.915253][  T377] adt7475 0-002e: Optional features: in0 in4 fan4 pwm2 vid
[   28.154303][  T371] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   28.222178][  T372] marvell-cesa f1030000.crypto: CESA device successfully registered
[   28.242128][  T371] sd 2:0:0:0: Attached scsi generic sg1 type 0
[   28.273257][  T371] sd 3:0:0:0: Attached scsi generic sg2 type 0
done.
Activating swap:swapon: /dev/sdc3: found signature [pagesize=4096, signature=swap]
swap[   29.659173][  T504] Adding 10356732k swap on /dev/sdc3.  Priority:-2 extents:1 across:10356732k FS
on: /dev/sdc3: pagesize=4096, swapsize=10605297664, devsize=10605297664
swapon /dev/sdc3
.
[   29.780383][  T516] EXT4-fs (sdc1): re-mounted. Opts: (null). Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
LABEL=home is not mounted
[/sbin/fsck.ext4 (1) -- /home] fsck.ext4 -y -C0 /dev/sdc2
e2fsck 1.46.2 (28-Feb-2021)
home: clean, 11/615296 files, 60416/2460928 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.
[   31.443741][  T768] EXT4-fs (sdc2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:swapon: /dev/sdc3: already active -- ignored
done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Initializing random number generator...done.
Starting Setting kernel variables: sysctl.
[   32.588108][  T930] r8169 0000:01:00.0: Direct firmware load for rtl_nic/rtl8168d-2.fw failed with error -2
[   32.598052][  T930] r8169 0000:01:00.0: Unable to load firmware rtl_nic/rtl8168d-2.fw (-2)
[   32.607674][  T930] RTL8211B Gigabit Ethernet r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
[   32.706876][  T102] r8169 0000:01:00.0 enp1s0: Link is Down
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/enp1s0/00:00:00:00:00:30
Sending on   LPF/enp1s0/00:00:00:00:00:30
Sending on   Socket/fallback
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 7
[   35.416639][  T102] r8169 0000:01:00.0 enp1s0: Link is Up - 1Gbps/Full - flow control rx/tx
[   35.425106][  T102] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready
DHCPDISCOVER on enp1s0 to 255.255.255.255 port 67 interval 16
DHCPOFFER of 192.168.29.28 from 192.168.29.1
DHCPREQUEST for 192.168.29.28 on enp1s0 to 255.255.255.255 port 67
DHCPACK of 192.168.29.28 from 192.168.29.1
invoke-rc.d: could not determine current runlevel
bound to 192.168.29.28 -- renewal in 380595 seconds.
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.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1080 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1122 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 11 debian ttyS0

debian login: root
Password:
Linux debian 5.15.5-kirkwood-tld-1 #1.0 PREEMPT Sun Nov 28 23:08:13 PST 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 Feb 12 14:52:04 PST 2022 on ttyS0
debian
192.168.29.28
ZyXEL NSA310
Linux version 5.15.5-kirkwood-tld-1 (root@tldDebianVM) (arm-linux-gnueabi-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1.0 PREEMPT Sun Nov 28 23:08:13 PST 2021
Debian 11.0
Sat Feb 12 15:05:58 PST 2022 up 0 minutes
root@debian:~#
root@debian:~# ifconfig -a
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.29.28  netmask 255.255.255.0  broadcast 192.168.29.255
        inet6 fe80::200:ff:fe00:30  prefixlen 64  scopeid 0x20<link>
        ether 00:00:00:00:00:30  txqueuelen 1000  (Ethernet)
        RX packets 79  bytes 6216 (6.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 36  bytes 5080 (4.9 KiB)
        TX errors 0  dropped 0 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 14  bytes 1822 (1.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 14  bytes 1822 (1.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@debian:~#

also better ;-)
Which one shall I use then?
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 12, 2022 05:23PM
Cool :)

Let me look at the logs to see which sensor it has.

Basically

kirkwood-nsa310a.dtb

* There are at least two different NSA310 designs. This variant does
* not have the red USB Led.

kirkwood-nsa310b-lmsensor-redusbled.dtb

* There are at least three different NSA310 designs. This 3rd variant has lm85 sensor
* and red USB Led.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 12, 2022 05:29PM
Your sensor is

[   27.779622][  T377] adt7475 0-002e: ADT7476 device, revision 1
[   27.915253][  T377] adt7475 0-002e: Optional features: in0 in4 fan4 pwm2 vid

Use the

kirkwood-nsa310.dtb

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 12, 2022 05:37PM
Great. So I change the dtb_file and then saveenv to have it permanently?
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 12, 2022 09:46PM
> Great. So I change the dtb_file and then saveenv
> to have it permanently?

Basically correct. But do it in Debian. Don't do it in serial console, unless you have to.

fw_printenv
If they look OK, then

fw_setenv dtb_file /boot/dts/kirkwood-nsa310.dtb

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 13, 2022 08:40AM
Sorry again for the newbie question: But fw_setenv and fw_printenv yield "command not found"... (but the variable is set correctly in the u-boot console. I checked.
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 13, 2022 10:36AM
Where did you install them? By default Linux only looks in the directories listed in PATH (try 'echo ${PATH}'). If they are elsewhere, you have to specify the path. For instance, when they are in the current directory you can execute it by
./fw_printenv
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 13, 2022 01:13PM
Well, I did not install anything, to be honest. Didn't know I should have...
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 13, 2022 03:49PM
Marc,

Quote
https://forum.doozan.com/read.php?2,12096
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

Also, since you've missed number 1 :), there is a number 2 in the release note:

Quote

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

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



Edited 1 time(s). Last edit at 02/13/2022 03:50PM by bodhi.
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 14, 2022 10:52AM
SHAME ON ME ;-)
dtb file is set correctly:
root@debian:~# fw_printenv dtb_file
dtb_file=/boot/dts/kirkwood-nsa310.dtb
root@debian:~#
Thanks again very much for your support. Shall I close this topic (and can I do that myself)?
Kind regards,
Marc
Re: Zyxel NSA310 - Network Adapter missing - Newbie needs help!
February 14, 2022 04:11PM
> Thanks again very much for your support. Shall I
> close this topic (and can I do that myself)?

You can change the subject title in the 1st post.

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

Subject:


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