Welcome! Log In Create A New Profile

Advanced

Kernel errors after change rootf from USB to SATA.

Posted by miazza 
Kernel errors after change rootf from USB to SATA.
April 13, 2022 01:03AM
I made a system back-up with the tar procedure of the USB rootfs and installed it in the first partition of the SATA HD in bay 2.
SATA HD is made of two partitions:
. 1 ext3 15 G for the rootf
- 2 ext 3 52 G for data storage

I restored the tar in partition 1 above and I labelled it as rootf-
I unplugged the usb rootfs
I rebooted in UART mode
System started as expected but several problems and wornings have been detected starting from swap file mounting.
No start of systemd , samba and push button is not anymore working and I really do not know what else is not loaded.
I guess there is something to be changed in the fstab but I have no idea of what.

This is the full boot log:


I can ssh as normal.

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  128 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
           Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
## 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

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **

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

Part    Start Sector    Num Sectors     UUID            Type
  1     63              1028097         5e75971a-01     08
  2     1028160         3905995905      5e75971a-02     20


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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            39073792        33aa673e-01     83
  2     39075840        117225648       33aa673e-02     83
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
device ide 0:1
** File not found /boot/uImage **
device ide 1:1
1 bytes read in 946 ms (0 Bytes/s)
Found bootable drive on ide 1
loading uImage ...
5435888 bytes read in 2050 ms (2.5 MiB/s)
loading uInitrd ...
9671091 bytes read in 2874 ms (3.2 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14014 bytes read in 3266 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 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 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cd000, end 1f1d36bd ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc                                                                                                              (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT S                                                                                                             at Jul 31 22:10:39 PDT 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 NSA325
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001f                                                                                                             ffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 13                                                                                                             0048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=root                                                                                                             fs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x8                                                                                                             0000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1                                                                                                             ),0xA00000(kernel_2),0x2FC0000(rootfs2)
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144                                                                                                              bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 b                                                                                                             ytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490944K/524288K available (11264K kernel code, 15                                                                                                             53K rwdata, 4272K rodata, 1024K init, 309K bss, 33344K reserved, 0K cma-reserved                                                                                                             )
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/                                                                                                             0x7b4 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 i                                                                                                             s 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycl                                                                                                             es: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps eve                                                                                                             ry 10737418237ns
[    0.000050][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000761][    T0] Console: colour dummy device 80x30
[    0.000825][    T0] Calibrating delay loop (skipped), value calculated using                                                                                                              timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000862][    T0] pid_max: default: 32768 minimum: 301
[    0.001193][    T0] LSM: Security Framework initializing
[    0.001342][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 byte                                                                                                             s, linear)
[    0.001380][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096                                                                                                              bytes, linear)
[    0.002573][    T0] CPU: Testing write buffer coherency: ok
[    0.004610][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.004882][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.005174][    T1] rcu: Hierarchical SRCU implementation.
[    0.006378][    T1] devtmpfs: initialized
[    0.012328][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffff                                                                                                             ffff, max_idle_ns: 19112604462750000 ns
[    0.012376][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, lin                                                                                                             ear)
[    0.040388][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.040425][    T1] prandom: seed boundary self test passed
[    0.043568][    T1] prandom: 100 self tests passed
[    0.043584][    T1] pinctrl core: initialized pinctrl subsystem
[    0.044965][    T1] NET: Registered protocol family 16
[    0.045584][    T1] DMA: preallocated 256 KiB pool for atomic coherent alloca                                                                                                             tions
[    0.046369][    T1] audit: initializing netlink subsys (disabled)
[    0.047552][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.047870][   T16] audit: type=2000 audit(0.040:1): state=initialized audit_                                                                                                             enabled=0 res=1
[    0.048025][    T1] cpuidle: using governor ladder
[    0.048109][    T1] cpuidle: using governor menu
[    0.048532][    T1] Feroceon L2: Enabling L2
[    0.048576][    T1] Feroceon L2: Cache support initialised.
[    0.057290][    T1] No ATAGs?
[    2.560055][    C0] random: fast init done
[    3.684422][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.703997][   T59] wait_for_initramfs() called before rootfs_initcalls
[    3.890253][    T1] raid6: int32x8  gen()   151 MB/s
[    4.060171][    T1] raid6: int32x8  xor()    92 MB/s
[    4.230085][    T1] raid6: int32x4  gen()   146 MB/s
[    4.400074][    T1] raid6: int32x4  xor()    96 MB/s
[    4.570173][    T1] raid6: int32x2  gen()   189 MB/s
[    4.740103][    T1] raid6: int32x2  xor()   114 MB/s
[    4.910219][    T1] raid6: int32x1  gen()   131 MB/s
[    5.080073][    T1] raid6: int32x1  xor()    78 MB/s
[    5.080086][    T1] raid6: using algorithm int32x2 gen() 189 MB/s
[    5.080097][    T1] raid6: .... xor() 114 MB/s, rmw enabled
[    5.080106][    T1] raid6: using intx1 recovery algorithm
[    5.080336][    T1] vgaarb: loaded
[    5.080802][    T1] SCSI subsystem initialized
[    5.081236][    T1] usbcore: registered new interface driver usbfs
[    5.081295][    T1] usbcore: registered new interface driver hub
[    5.081341][    T1] usbcore: registered new device driver usb
[    5.081514][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.081527][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodol                                                                                                             fo Giometti <giometti@linux.it>
[    5.081556][    T1] PTP clock support registered
[    5.083041][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.163595][    T1] VFS: Disk quotas dquot_6.6.0
[    5.163689][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096                                                                                                              bytes)
[    5.176718][    T1] NET: Registered protocol family 2
[    5.176887][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes                                                                                                             , linear)
[    5.177930][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:                                                                                                              0, 4096 bytes, linear)
[    5.177982][    T1] TCP established hash table entries: 4096 (order: 2, 16384                                                                                                              bytes, linear)
[    5.178052][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes,                                                                                                              linear)
[    5.178111][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.178308][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes                                                                                                             , linear)
[    5.178372][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear                                                                                                             )
[    5.178406][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, l                                                                                                             inear)
[    5.178608][    T1] NET: Registered protocol family 1
[    5.183552][    T1] RPC: Registered named UNIX socket transport module.
[    5.183573][    T1] RPC: Registered udp transport module.
[    5.183583][    T1] RPC: Registered tcp transport module.
[    5.183592][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.183606][    T1] PCI: CLS 0 bytes, default 32
[    5.183749][    T1] NetWinder Floating Point Emulator V0.97 (double precision                                                                                                             )
[    5.184225][   T58] Trying to unpack rootfs image as initramfs...
[    6.505878][   T58] Freeing initrd memory: 9448K
[    6.952054][    T1] Initialise system trusted keyrings
[    6.952116][    T1] Key type blacklist registered
[    6.952347][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    6.952451][    T1] zbud: loaded
[    6.953733][    T1] NFS: Registering the id_resolver key type
[    6.953771][    T1] Key type id_resolver registered
[    6.953783][    T1] Key type id_legacy registered
[    6.953820][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering                                                                                                             ...
[    6.953841][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Reg                                                                                                             istering...
[    6.953852][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.954089][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat                                                                                                             , Inc.
[    6.954477][    T1] fuse: init (API version 7.34)
[    6.954832][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.955001][    T1] orangefs_init: module version upstream loaded
[    6.955017][    T1] SGI XFS with ACLs, security attributes, realtime, scrub,                                                                                                              quota, no debug enabled
[    7.030452][    T1] xor: measuring software checksum speed
[    7.037101][    T1]    arm4regs        :  1493 MB/sec
[    7.048145][    T1]    8regs           :   895 MB/sec
[    7.055766][    T1]    32regs          :  1302 MB/sec
[    7.055781][    T1] xor: using function: arm4regs (1493 MB/sec)
[    7.055800][    T1] async_tx: api initialized (async)
[    7.055816][    T1] Key type asymmetric registered
[    7.055826][    T1] Asymmetric key parser 'x509' registered
[    7.055877][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded                                                                                                              (major 246)
[    7.055947][    T1] io scheduler bfq registered
[    7.204930][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinc                                                                                                             trl driver
[    7.206492][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus                                                                                                             @f1000000/pcie@82000000 ranges:
[    7.206564][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f104                                                                                                             0000..0x00f1041fff -> 0x0000040000
[    7.206600][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f104                                                                                                             4000..0x00f1045fff -> 0x0000044000
[    7.206635][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f108                                                                                                             0000..0x00f1081fff -> 0x0000080000
[    7.206669][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffff                                                                                                             ffffffffff..0x00fffffffe -> 0x0100000000
[    7.206701][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffff                                                                                                             ffffffffff..0x00fffffffe -> 0x0100000000
[    7.206733][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffff                                                                                                             ffffffffff..0x00fffffffe -> 0x0200000000
[    7.206758][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffff                                                                                                             ffffffffff..0x00fffffffe -> 0x0200000000
[    7.207019][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge t                                                                                                             o bus 0000:00
[    7.207038][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.207058][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf104                                                                                                             1fff] (bus address [0x00040000-0x00041fff])
[    7.207077][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf104                                                                                                             5fff] (bus address [0x00044000-0x00045fff])
[    7.207094][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf108                                                                                                             1fff] (bus address [0x00080000-0x00081fff])
[    7.207110][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefff                                                                                                             ffff]
[    7.207125][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.207239][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.207272][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pr                                                                                                             ef]
[    7.208469][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.208499][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-0                                                                                                             0]), reconfiguring
[    7.208685][    T1] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330
[    7.208725][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64                                                                                                             bit]
[    7.208876][    T1] pci 0000:01:00.0: PME# supported from D0 D3hot
[    7.208955][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, li                                                                                                             mited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 G                                                                                                             T/s PCIe x1 link)
[    7.234097][    T1] PCI: bus1: Fast back to back transfers disabled
[    7.234123][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to                                                                                                              01
[    7.234304][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00f                                                                                                             ffff]
[    7.234329][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe0100                                                                                                             7ff pref]
[    7.234351][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001                                                                                                             fff 64bit]
[    7.234380][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    7.234398][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00ff                                                                                                             fff]
[    7.234502][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    7.234584][    T1] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    7.235070][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    7.293917][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor                                                                                                              cpy intr )
[    7.295929][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    7.353889][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor                                                                                                              cpy intr )
[    7.356150][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    7.357343][    T1] printk: console [ttyS0] disabled
[    7.357423][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base                                                                                                             _baud = 12500000) is a 16550A
[    8.491807][    T1] printk: console [ttyS0] enabled
[    8.503697][    T1] loop: module loaded
[    8.508266][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.517000][    T1] scsi host0: sata_mv
[    8.521394][    T1] scsi host1: sata_mv
[    8.525506][    T1] ata1: SATA max UDMA/133 irq 32
[    8.530324][    T1] ata2: SATA max UDMA/133 irq 32
[    8.535960][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    8.543114][    T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[    8.548451][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048,                                                                                                              OOB size: 64
[    8.556991][    T1] Scanning device for bad blocks
[    8.585250][    T1] Bad eraseblock 226 at 0x000001c40000
[    8.614749][    T1] Bad eraseblock 460 at 0x000003980000
[    8.653457][    T1] Bad eraseblock 783 at 0x0000061e0000
[    8.663926][    T1] Bad eraseblock 833 at 0x000006820000
[    8.688972][    T1] 9 cmdlinepart partitions found on MTD device orion_nand
[    8.695983][    T1] Creating 9 MTD partitions on "orion_nand":
[    8.701849][    T1] 0x000000000000-0x000000100000 : "uboot"
[    8.708722][    T1] 0x000000100000-0x000000180000 : "stock_uboot_env"
[    8.716349][    T1] 0x000000180000-0x000000200000 : "key_store"
[    8.723446][    T1] 0x000000200000-0x000000280000 : "info"
[    8.730062][    T1] 0x000000280000-0x000000c80000 : "etc"
[    8.736687][    T1] 0x000000c80000-0x000001680000 : "kernel_1"
[    8.743754][    T1] 0x000001680000-0x000004640000 : "rootfs1"
[    8.750794][    T1] 0x000004640000-0x000005040000 : "kernel_2"
[    8.757845][    T1] 0x000005040000-0x000008000000 : "rootfs2"
[    8.765415][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com                                                                                                              for information.
[    8.774048][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Ja                                                                                                             son@zx2c4.com>. All Rights Reserved.
[    8.785360][    T1] libphy: Fixed MDIO Bus: probed
[    8.791402][    T1] libphy: orion_mdio_bus: probed
[    8.809690][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version                                                                                                              1.4
[    8.818832][    T1] mv643xx_eth: Set the PHY to fix link down
[    8.819386][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC                                                                                                              address 52:3b:20:9c:11:51
[    8.834868][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drive                                                                                                             r
[    8.842194][    T1] ehci-pci: EHCI PCI platform driver
[    8.847519][    T1] ehci-orion: EHCI orion driver
[    8.852412][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.858720][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigne                                                                                                             d bus number 1
[    8.867320][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    8.903069][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.910074][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=                                                                                                             0002, bcdDevice= 5.13
[    8.919101][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seria                                                                                                             lNumber=1
[    8.927072][    T1] usb usb1: Product: EHCI Host Controller
[    8.932673][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_                                                                                                             hcd
[    8.940116][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.946106][    T1] hub 1-0:1.0: USB hub found
[    8.950609][    T1] hub 1-0:1.0: 1 port detected
[    8.956006][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    8.961972][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned b                                                                                                             us number 2
[    8.970452][    T1] xhci_hcd 0000:01:00.0: hcc params 0x014042c3 hci version                                                                                                              0x96 quirks 0x0000000000000004
[    8.980747][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=                                                                                                             0002, bcdDevice= 5.13
[    8.989875][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, Seria                                                                                                             lNumber=1
[    8.997857][    T1] usb usb2: Product: xHCI Host Controller
[    9.003478][    T1] usb usb2: Manufacturer: Linux 5.13.6-kirkwood-tld-1 xhci-                                                                                                             hcd
[    9.010909][    T1] usb usb2: SerialNumber: 0000:01:00.0
[    9.016787][    T1] hub 2-0:1.0: USB hub found
[    9.021308][    T1] hub 2-0:1.0: 2 ports detected
[    9.026626][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    9.032588][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned b                                                                                                             us number 3
[    9.040784][    T1] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    9.047835][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.055090][    T1] usb usb3: We don't know the algorithms for LPM for this h                                                                                                             ost, disabling LPM.
[    9.064227][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=                                                                                                             0003, bcdDevice= 5.13
[    9.073499][   T94] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/                                                                                                             133
[    9.080938][   T94] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31                                                                                                             /32)
[    9.088491][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, Seria                                                                                                             lNumber=1
[    9.096577][    T1] usb usb3: Product: xHCI Host Controller
[    9.102181][    T1] usb usb3: Manufacturer: Linux 5.13.6-kirkwood-tld-1 xhci-                                                                                                             hcd
[    9.110038][    T1] usb usb3: SerialNumber: 0000:01:00.0
[    9.115629][   T94] ata1.00: configured for UDMA/133
[    9.121207][    T1] hub 3-0:1.0: USB hub found
[    9.125786][    T1] hub 3-0:1.0: 2 ports detected
[    9.131078][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D                                                                                                              0A80 PQ: 0 ANSI: 5
[    9.140517][    T1] usbcore: registered new interface driver usb-storage
[    9.148275][   T81] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.                                                                                                             00 TB/1.82 TiB)
[    9.157513][    T1] mousedev: PS/2 mouse device common for all mice
[    9.164129][   T81] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    9.170405][    T1] i2c /dev entries driver
[    9.175239][   T81] sd 0:0:0:0: [sda] Write Protect is off
[    9.181335][   T81] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabl                                                                                                             ed, doesn't support DPO or FUA
[    9.196770][    T1] rtc-pcf8563 0-0051: registered as rtc0
[    9.203536][    T1] rtc-pcf8563 0-0051: setting system clock to 2022-04-13T04                                                                                                             :41:11 UTC (1649824871)
[    9.214338][    T1] device-mapper: uevent: version 1.0.3
[    9.219929][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialis                                                                                                             ed: dm-devel@redhat.com
[    9.229482][    T1] device-mapper: multipath round-robin: version 1.2.0 loade                                                                                                             d
[    9.236804][    T1] device-mapper: multipath queue-length: version 0.2.0 load                                                                                                             ed
[    9.244196][   T17] usb 1-1: new high-speed USB device number 2 using orion-e                                                                                                             hci
[    9.251684][    T1] device-mapper: multipath service-time: version 0.3.0 load                                                                                                             ed
[    9.259177][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.266036][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.274765][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.281159][    T1] drop_monitor: Initializing network drop monitor service
[    9.288572][    T1] NET: Registered protocol family 10
[    9.294881][    T1] Segment Routing with IPv6
[    9.299270][    T1] RPL Segment Routing with IPv6
[    9.304153][    T1] NET: Registered protocol family 17
[    9.309527][    T1] Key type dns_resolver registered
[    9.315040][    T1] registered taskstats version 1
[    9.319862][    T1] Loading compiled-in X.509 certificates
[    9.325751][    T1] zswap: loaded using pool lzo/zbud
[    9.331101][    T1] Key type ._fscrypt registered
[    9.336009][    T1] Key type .fscrypt registered
[    9.340655][    T1] Key type fscrypt-provisioning registered
[    9.347937][    T1] Key type big_key registered
[    9.376794][    T1] Key type encrypted registered
[    9.454829][   T17] usb 1-1: New USB device found, idVendor=05e3, idProduct=0                                                                                                             608, bcdDevice=85.32
[    9.463799][   T17] usb 1-1: New USB device strings: Mfr=0, Product=1, Serial                                                                                                             Number=0
[    9.471709][   T17] usb 1-1: Product: USB2.0 Hub
[    9.477124][   T17] hub 1-1:1.0: USB hub found
[    9.481952][   T17] hub 1-1:1.0: 4 ports detected
[    9.663075][   T96] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    9.672391][   T96] ata2.00: ATA-7: Hitachi HTS541680J9SA00, SB2OC7BP, max UD                                                                                                             MA/100
[    9.680109][   T96] ata2.00: 156301488 sectors, multi 0: LBA48
[    9.690581][   T96] ata2.00: configured for UDMA/100
[    9.706042][   T58] scsi 1:0:0:0: Direct-Access     ATA      Hitachi HTS54168                                                                                                              C7BP PQ: 0 ANSI: 5
[    9.715896][    T7] sd 1:0:0:0: [sdb] 156301488 512-byte logical blocks: (80.                                                                                                             0 GB/74.5 GiB)
[    9.724659][    T7] sd 1:0:0:0: [sdb] Write Protect is off
[    9.730287][    T7] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabl                                                                                                             ed, doesn't support DPO or FUA
[    9.807703][   T81]  sda: sda1 sda2
[    9.812637][   T81] sd 0:0:0:0: [sda] Attached SCSI disk
[   10.135443][    T7]  sdb: sdb1 sdb2
[   10.140346][    T7] sd 1:0:0:0: [sdb] Attached SCSI disk
[   10.148874][    T1] Freeing unused kernel memory: 1024K
[   10.154878][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.161281][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   10.882118][  T143] input: gpio_keys as /devices/platform/gpio_keys/input/inp                                                                                                             ut0
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.ext3 (1) -- /dev/sdb1] fsck.ext3 -a -C0 /dev/sdb1
rootfs: recovering journal
rootfs: clean, 22413/1221600 files, 713194/4884224 blocks
done.
[   23.771980][  T167] EXT4-fs (sdb1): mounting ext3 file system using the ext4                                                                                                              subsystem
[   24.004276][  T167] 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...[   28.495278][    C0] random: crng ini                                                                                                             t done
[   29.930814][  T355] orion_wdt: Initial timeout 21 sec
[   30.296328][  T352] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   30.379754][  T352] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   30.581906][  T350] marvell-cesa f1030000.crypto: CESA device successfully re                                                                                                             gistered
[   31.247713][  T404] md0: detected capacity change from 0 to 3905993857
done.
Not activating swap on swapfile. ... (warning).
[   32.833443][  T513] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro. Quot                                                                                                             a mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
/tmp.
[   34.923926][  T771] EXT4-fs (md0): recovery complete
[   34.928949][  T771] EXT4-fs (md0): mounted filesystem with ordered data mode.                                                                                                              Opts: (null). Quota mode: none.
[   34.952131][  T771] EXT4-fs (sdb2): mounting ext3 file system using the ext4                                                                                                              subsystem
[   35.705004][  T771] EXT4-fs (sdb2): recovery complete
[   35.710111][  T771] EXT4-fs (sdb2): mounted filesystem with ordered data mode                                                                                                             . Opts: (null). Quota mode: none.
[   36.135479][  T806] Adding 1048572k swap on /swapfile.  Priority:-2 extents:1                                                                                                             3 across:10359620k FS
Will now mount local filesystems:.
Will now activate swapfile swap, if any:swapon: /swapfile: found signature [page                                                                                                             size=4096, signature=swap]
swapon: /swapfile: pagesize=4096, swapsize=1073741824, devsize=1073741824
swapon /swapfile
done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing rrrdom number generator...done.
[   37.900722][  T935] mv643xx_eth: Set the PHY back to auto-negotiation mode
[   39.817518][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb                                                                                                             /s, full duplex, flow control disabled
[   39.835106][  T106] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: 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/eth0/ec:xx:xx:xx.xx
Sending on   LPF/eth0/ec:xx:xx:xx.xx
Sending on   Socket/fallback
DHCPREQUEST for 192.168.1.5 on eth0 to 255.255.255.255 port 67
DHCPREQUEST for 192.168.1.5 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.5 from 192.168.1.1
invoke-rc.d: could not determine current runlevel
Reloading /etc/samba/smb.conf: smbd.
invoke-rc.d: could not determine current runlevel
bound to 192.168.1.5 -- renewal in 41375 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...
1102 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting MD monitoring service: mdadm --monitor.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1133 (klogd)
.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting NetBIOS name server: nmbd.
Starting SMB/CIFS daemon: smbd.
Running local boot scripts (/etc/rc.local)
rmmod: ERROR: Module gpio_keys_polled is not currently loaded
failed!
startpar: service(s) returned failure: rc.local ... failed!

Debian GNU/Linux 11 debian ttyS0

debian login:

This is the lsblk of the SATA roots boot
lsblk -f
NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda
|-sda1
|    ext2   1.0         0f1b4806-89db-4c26-8eae-ab98b5a023a9
`-sda2
     linux_ 1.2   NSA325:0
                        20f70310-7a8f-ddcd-bce5-e6f194937a3c
  `-md0
     ext4   1.0         304a4dce-e926-4081-a5f7-a308c5d320cf    1.2T    34% /srv/nsa32
sdb
|-sdb1
|    ext3   1.0   rootfs
|                       a60272b7-8ee4-4fb0-b181-f0ede8e1d163     15G    12% /
`-sdb2
     ext3   1.0         1745eae2-4df9-43a1-9ab5-ddf319735811   51.9G     0% /srv/sdb2
mtdblock0

mtdblock1

mtdblock2

mtdblock3

mtdblock4

mtdblock5

mtdblock6

mtdblock7

mtdblock8

root@debian:~#


This is the lsblk of the working USB roots (I have rebooted just inserting the USB and it works even with two rootf).
root@debian:~# lsblk -f
NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda
|-sda1
|    ext2   1.0         0f1b4806-89db-4c26-8eae-ab98b5a023a9
`-sda2
     linux_ 1.2   NSA325:0
                        20f70310-7a8f-ddcd-bce5-e6f194937a3c
  `-md0
     ext4   1.0         304a4dce-e926-4081-a5f7-a308c5d320cf    1.2T    34% /srv/nsa32
sdb
|-sdb1
|    ext3   1.0   rootfs
|                       a60272b7-8ee4-4fb0-b181-f0ede8e1d163     15G    12% /
`-sdb2
     ext3   1.0         1745eae2-4df9-43a1-9ab5-ddf319735811   51.9G     0% /srv/sdb2
sdc
`-sdc1
     ext3   1.0   rootfs
                        ff3347e4-3f9e-455b-8617-18b75b021477
mtdblock0

mtdblock1

mtdblock2

mtdblock3

mtdblock4

mtdblock5

mtdblock6

mtdblock7

mtdblock8

root@debian:~#


Thanks for help.



Edited 2 time(s). Last edit at 04/13/2022 01:20AM by miazza.
Re: Kernel errors after change rootf from USB to SATA.
April 13, 2022 02:05AM
miazza,

Boot with SATA rootfs only. Don't plug in USB rootfs. And then log into Debian

mount
df -h
uname -a
cat /etc/fstab
cat /proc/cmdline
ps -deaf | grep mbd

And post the entire serial boot log here from uboot banner (U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)). Until the last line of output on the terminal.

Also, your boot log is bad (text got cut off on the right side). Make sure we can see the entire log.

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



Edited 1 time(s). Last edit at 04/13/2022 02:06AM by bodhi.
Re: Kernel errors after change rootf from USB to SATA.
April 13, 2022 02:21AM
This is the full log:

pi@Raspberrypy-4:~ $ sudo su
root@Raspberrypy-4:/home/pi# kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa325.mtd0.kwb -p
Sending boot message. Please reboot the target...|
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  128 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
## 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

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **

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

Part    Start Sector    Num Sectors     UUID            Type
  1     63              1028097         5e75971a-01     08
  2     1028160         3905995905      5e75971a-02     20


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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            39073792        33aa673e-01     83
  2     39075840        117225648       33aa673e-02     83
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
device ide 0:1
** File not found /boot/uImage **
device ide 1:1
1 bytes read in 946 ms (0 Bytes/s)
Found bootable drive on ide 1
loading uImage ...
5435888 bytes read in 2050 ms (2.5 MiB/s)
loading uInitrd ...
9671091 bytes read in 2852 ms (3.2 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14014 bytes read in 3254 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 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 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cd000, end 1f1d36bd ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: ZyXEL NSA325
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490944K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33344K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 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.000050][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000762][    T0] Console: colour dummy device 80x30
[    0.000826][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000862][    T0] pid_max: default: 32768 minimum: 301
[    0.001194][    T0] LSM: Security Framework initializing
[    0.001342][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001380][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002574][    T0] CPU: Testing write buffer coherency: ok
[    0.004609][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.004882][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.005174][    T1] rcu: Hierarchical SRCU implementation.
[    0.006379][    T1] devtmpfs: initialized
[    0.012329][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012376][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.040389][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.040428][    T1] prandom: seed boundary self test passed
[    0.043569][    T1] prandom: 100 self tests passed
[    0.043584][    T1] pinctrl core: initialized pinctrl subsystem
[    0.044970][    T1] NET: Registered protocol family 16
[    0.045589][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.046368][    T1] audit: initializing netlink subsys (disabled)
[    0.047556][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.047878][   T16] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.048032][    T1] cpuidle: using governor ladder
[    0.048115][    T1] cpuidle: using governor menu
[    0.048539][    T1] Feroceon L2: Enabling L2
[    0.048583][    T1] Feroceon L2: Cache support initialised.
[    0.057293][    T1] No ATAGs?
[    2.560055][    C0] random: fast init done
[    3.684435][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.703989][   T59] wait_for_initramfs() called before rootfs_initcalls
[    3.890181][    T1] raid6: int32x8  gen()   151 MB/s
[    4.060151][    T1] raid6: int32x8  xor()    92 MB/s
[    4.230156][    T1] raid6: int32x4  gen()   146 MB/s
[    4.400123][    T1] raid6: int32x4  xor()    96 MB/s
[    4.570081][    T1] raid6: int32x2  gen()   187 MB/s
[    4.740151][    T1] raid6: int32x2  xor()   113 MB/s
[    4.910188][    T1] raid6: int32x1  gen()   131 MB/s
[    5.080133][    T1] raid6: int32x1  xor()    79 MB/s
[    5.080147][    T1] raid6: using algorithm int32x2 gen() 187 MB/s
[    5.080157][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.080167][    T1] raid6: using intx1 recovery algorithm
[    5.080393][    T1] vgaarb: loaded
[    5.080860][    T1] SCSI subsystem initialized
[    5.081297][    T1] usbcore: registered new interface driver usbfs
[    5.081356][    T1] usbcore: registered new interface driver hub
[    5.081403][    T1] usbcore: registered new device driver usb
[    5.081576][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.081589][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.081617][    T1] PTP clock support registered
[    5.083100][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.163650][    T1] VFS: Disk quotas dquot_6.6.0
[    5.163746][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.176868][    T1] NET: Registered protocol family 2
[    5.177040][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.178087][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.178139][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.178209][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.178267][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.178463][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.178528][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.178561][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.178764][    T1] NET: Registered protocol family 1
[    5.183607][    T1] RPC: Registered named UNIX socket transport module.
[    5.183628][    T1] RPC: Registered udp transport module.
[    5.183638][    T1] RPC: Registered tcp transport module.
[    5.183647][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.183661][    T1] PCI: CLS 0 bytes, default 32
[    5.183804][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.184281][   T58] Trying to unpack rootfs image as initramfs...
[    6.505796][   T58] Freeing initrd memory: 9448K
[    6.952020][    T1] Initialise system trusted keyrings
[    6.952087][    T1] Key type blacklist registered
[    6.952318][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    6.952421][    T1] zbud: loaded
[    6.953697][    T1] NFS: Registering the id_resolver key type
[    6.953733][    T1] Key type id_resolver registered
[    6.953745][    T1] Key type id_legacy registered
[    6.953781][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.953801][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    6.953813][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.954048][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.954438][    T1] fuse: init (API version 7.34)
[    6.954796][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.954964][    T1] orangefs_init: module version upstream loaded
[    6.954980][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.033434][    T1] xor: measuring software checksum speed
[    7.040129][    T1]    arm4regs        :  1476 MB/sec
[    7.051180][    T1]    8regs           :   895 MB/sec
[    7.058764][    T1]    32regs          :  1302 MB/sec
[    7.058778][    T1] xor: using function: arm4regs (1476 MB/sec)
[    7.058797][    T1] async_tx: api initialized (async)
[    7.058813][    T1] Key type asymmetric registered
[    7.058824][    T1] Asymmetric key parser 'x509' registered
[    7.058876][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.058945][    T1] io scheduler bfq registered
[    7.207987][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.209556][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.209628][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.209664][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.209699][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.209732][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.209765][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.209797][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.209821][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.210082][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.210101][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.210121][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.210139][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.210157][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.210173][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.210188][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.210305][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.210338][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.211534][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.211564][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.211749][    T1] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330
[    7.211789][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    7.211940][    T1] pci 0000:01:00.0: PME# supported from D0 D3hot
[    7.212018][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    7.234158][    T1] PCI: bus1: Fast back to back transfers disabled
[    7.234186][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.234366][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    7.234391][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    7.234413][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    7.234441][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    7.234458][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    7.234563][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    7.234646][    T1] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    7.235131][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    7.293973][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.295981][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    7.353950][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.356230][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    7.357428][    T1] printk: console [ttyS0] disabled
[    7.357509][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    8.491883][    T1] printk: console [ttyS0] enabled
[    8.503783][    T1] loop: module loaded
[    8.508357][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.517084][    T1] scsi host0: sata_mv
[    8.521481][    T1] scsi host1: sata_mv
[    8.525589][    T1] ata1: SATA max UDMA/133 irq 32
[    8.530410][    T1] ata2: SATA max UDMA/133 irq 32
[    8.536047][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    8.543199][    T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[    8.548537][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    8.557077][    T1] Scanning device for bad blocks
[    8.585354][    T1] Bad eraseblock 226 at 0x000001c40000
[    8.614847][    T1] Bad eraseblock 460 at 0x000003980000
[    8.653542][    T1] Bad eraseblock 783 at 0x0000061e0000
[    8.663998][    T1] Bad eraseblock 833 at 0x000006820000
[    8.689033][    T1] 9 cmdlinepart partitions found on MTD device orion_nand
[    8.696042][    T1] Creating 9 MTD partitions on "orion_nand":
[    8.701907][    T1] 0x000000000000-0x000000100000 : "uboot"
[    8.708774][    T1] 0x000000100000-0x000000180000 : "stock_uboot_env"
[    8.716405][    T1] 0x000000180000-0x000000200000 : "key_store"
[    8.723514][    T1] 0x000000200000-0x000000280000 : "info"
[    8.730124][    T1] 0x000000280000-0x000000c80000 : "etc"
[    8.736738][    T1] 0x000000c80000-0x000001680000 : "kernel_1"
[    8.743808][    T1] 0x000001680000-0x000004640000 : "rootfs1"
[    8.750850][    T1] 0x000004640000-0x000005040000 : "kernel_2"
[    8.757901][    T1] 0x000005040000-0x000008000000 : "rootfs2"
[    8.765470][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.774109][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.785421][    T1] libphy: Fixed MDIO Bus: probed
[    8.791468][    T1] libphy: orion_mdio_bus: probed
[    8.809806][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.818947][    T1] mv643xx_eth: Set the PHY to fix link down
[    8.819503][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.834988][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.842304][    T1] ehci-pci: EHCI PCI platform driver
[    8.847627][    T1] ehci-orion: EHCI orion driver
[    8.852523][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.858825][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.867426][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    8.903127][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.910138][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.919171][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.927141][    T1] usb usb1: Product: EHCI Host Controller
[    8.932741][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.940185][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.946179][    T1] hub 1-0:1.0: USB hub found
[    8.950686][    T1] hub 1-0:1.0: 1 port detected
[    8.956079][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    8.962049][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    8.970529][    T1] xhci_hcd 0000:01:00.0: hcc params 0x014042c3 hci version 0x96 quirks 0x0000000000000004
[    8.980825][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.989956][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.997935][    T1] usb usb2: Product: xHCI Host Controller
[    9.003556][    T1] usb usb2: Manufacturer: Linux 5.13.6-kirkwood-tld-1 xhci-hcd
[    9.010986][    T1] usb usb2: SerialNumber: 0000:01:00.0
[    9.016869][    T1] hub 2-0:1.0: USB hub found
[    9.021393][    T1] hub 2-0:1.0: 2 ports detected
[    9.026715][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    9.032682][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    9.040868][    T1] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    9.047912][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.055166][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.064305][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    9.073567][   T94] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    9.081007][   T94] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.088559][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.096647][    T1] usb usb3: Product: xHCI Host Controller
[    9.102249][    T1] usb usb3: Manufacturer: Linux 5.13.6-kirkwood-tld-1 xhci-hcd
[    9.110110][    T1] usb usb3: SerialNumber: 0000:01:00.0
[    9.115699][   T94] ata1.00: configured for UDMA/133
[    9.121279][    T1] hub 3-0:1.0: USB hub found
[    9.125853][    T1] hub 3-0:1.0: 2 ports detected
[    9.131142][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    9.140577][    T1] usbcore: registered new interface driver usb-storage
[    9.148328][   T81] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    9.157562][    T1] mousedev: PS/2 mouse device common for all mice
[    9.164180][   T81] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    9.170458][    T1] i2c /dev entries driver
[    9.175302][   T81] sd 0:0:0:0: [sda] Write Protect is off
[    9.181409][   T81] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.196842][    T1] rtc-pcf8563 0-0051: registered as rtc0
[    9.203603][    T1] rtc-pcf8563 0-0051: setting system clock to 2022-04-13T07:14:18 UTC (1649834058)
[    9.214407][    T1] device-mapper: uevent: version 1.0.3
[    9.219996][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    9.229549][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    9.236864][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    9.244257][   T17] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.251745][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    9.259238][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.266100][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.274838][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.281229][    T1] drop_monitor: Initializing network drop monitor service
[    9.288642][    T1] NET: Registered protocol family 10
[    9.294945][    T1] Segment Routing with IPv6
[    9.299330][    T1] RPL Segment Routing with IPv6
[    9.304210][    T1] NET: Registered protocol family 17
[    9.309579][    T1] Key type dns_resolver registered
[    9.315085][    T1] registered taskstats version 1
[    9.319913][    T1] Loading compiled-in X.509 certificates
[    9.325791][    T1] zswap: loaded using pool lzo/zbud
[    9.331147][    T1] Key type ._fscrypt registered
[    9.336051][    T1] Key type .fscrypt registered
[    9.340698][    T1] Key type fscrypt-provisioning registered
[    9.347979][    T1] Key type big_key registered
[    9.376833][    T1] Key type encrypted registered
[    9.454810][   T17] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.463782][   T17] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.471691][   T17] usb 1-1: Product: USB2.0 Hub
[    9.477102][   T17] hub 1-1:1.0: USB hub found
[    9.481932][   T17] hub 1-1:1.0: 4 ports detected
[    9.663134][   T96] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    9.672441][   T96] ata2.00: ATA-7: Hitachi HTS541680J9SA00, SB2OC7BP, max UDMA/100
[    9.680161][   T96] ata2.00: 156301488 sectors, multi 0: LBA48
[    9.690632][   T96] ata2.00: configured for UDMA/100
[    9.706094][   T58] scsi 1:0:0:0: Direct-Access     ATA      Hitachi HTS54168 C7BP PQ: 0 ANSI: 5
[    9.715957][    T7] sd 1:0:0:0: [sdb] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[    9.724718][    T7] sd 1:0:0:0: [sdb] Write Protect is off
[    9.730347][    T7] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.802869][   T81]  sda: sda1 sda2
[    9.807830][   T81] sd 0:0:0:0: [sda] Attached SCSI disk
[   10.124342][    T7]  sdb: sdb1 sdb2
[   10.129239][    T7] sd 1:0:0:0: [sdb] Attached SCSI disk
[   10.137757][    T1] Freeing unused kernel memory: 1024K
[   10.143754][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.150153][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   10.859523][  T141] input: gpio_keys as /devices/platform/gpio_keys/input/input0
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.ext3 (1) -- /dev/sdb1] fsck.ext3 -a -C0 /dev/sdb1
rootfs: clean, 22423/1221600 files, 713201/4884224 blocks
done.
[   22.668272][  T167] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[   22.870774][  T167] 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...[   29.169385][  T355] orion_wdt: Initial timeout 21 sec
[   29.391220][  T351] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   29.441150][    C0] random: crng init done
[   29.447544][  T351] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   29.839740][  T350] marvell-cesa f1030000.crypto: CESA device successfully registered
[   30.495609][  T406] md0: detected capacity change from 0 to 3905993857
done.
Not activating swap on swapfile. ... (warning).
[   32.073367][  T512] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
[   34.021407][  T770] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   34.051960][  T770] EXT4-fs (sdb2): mounting ext3 file system using the ext4 subsystem
[   34.793730][  T770] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   35.263125][  T805] Adding 1048572k swap on /swapfile.  Priority:-2 extents:13 across:10359620k FS
Will now mount local filesystems:.
Will now activate swapfile swap, if any:swapon: /swapfile: found signature [pagesize=4096, signature=swap]
swapon: /swapfile: pagesize=4096, swapsize=1073741824, devsize=1073741824
swapon /swapfile
done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
[   36.735982][  T934] mv643xx_eth: Set the PHY back to auto-negotiation mode
[   38.396273][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[   38.413807][  T106] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: 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/eth0/ec:xx:xx:xx:xx:xx
Sending on   LPF/eth0/ec:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPOFFER of 192.168.1.5 from 192.168.1.1
DHCPREQUEST for 192.168.1.5 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.5 from 192.168.1.1
invoke-rc.d: could not determine current runlevel
Reloading /etc/samba/smb.conf: smbd.
invoke-rc.d: could not determine current runlevel
bound to 192.168.1.5 -- renewal in 32850 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...
1092 (syslogd)
.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting MD monitoring service: mdadm --monitor.
Starting NFS common utilities: statd idmapd.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1113 (klogd)
.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting NetBIOS name server: nmbd.
Starting SMB/CIFS daemon: smbd.
Running local boot scripts (/etc/rc.local)
rmmod: ERROR: Module gpio_keys_polled is not currently loaded
 failed!
startpar: service(s) returned failure: rc.local ... failed!

Debian GNU/Linux 11 debian ttyS0

debian login: root
Password:
Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Apr 13 08:34:21 CEST 2022 from 10.8.0.2 on pts/0
debian
192.168.1.5
ZyXEL NSA325
Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
Debian 11.3
Wed Apr 13 09:15:20 CEST 2022 up 1 minute
root@debian:~#

root@debian:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=245472k,nr_inodes=61368,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=50144k,mode=755)
/dev/sdb1 on / type ext3 (rw,noatime,errors=remount-ro)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
securityfs on /sys/kernel/security type securityfs (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=100280k)
tmpfs on /tmp type tmpfs (rw,relatime)
/dev/md0 on /srv/nsa325 type ext4 (rw,relatime)
/dev/sdb2 on /srv/sdb2 type ext3 (rw,relatime)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
root@debian:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            240M     0  240M   0% /dev
tmpfs            49M  1.4M   48M   3% /run
/dev/sdb1        19G  2.3G   15G  14% /
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            98M     0   98M   0% /dev/shm
tmpfs           245M     0  245M   0% /tmp
/dev/md0        1.8T  628G  1.2T  35% /srv/nsa325
/dev/sdb2        55G  284K   52G   1% /srv/sdb2
root@debian:~# uname -a
Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel GNU/Linux
root@debian:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
LABEL=rootfs    /               ext3    noatime,errors=remount-ro 0 1
tmpfs          /tmp            tmpfs   defaults          0       0
/swapfile swap swap defaults 0 0
/dev/md0 /srv/nsa325 ext4 defaults 0 0
/dev/sdb2 /srv/sdb2 ext3 defaults 0 0
root@debian:~# cat /proc/cmdline
console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
root@debian:~# ps -deaf | grep mbd
root      1236     1  0 09:15 ?        00:00:00 /usr/sbin/nmbd -D
root      1250     1  0 09:15 ?        00:00:00 /usr/sbin/smbd -D
root      1262  1250  0 09:15 ?        00:00:00 /usr/sbin/smbd -D
root      1263  1250  0 09:15 ?        00:00:00 /usr/sbin/smbd -D
root      1285  1250  0 09:15 ?        00:00:00 /usr/sbin/smbd -D
root      1313  1291  0 09:20 ttyS0    00:00:00 grep mbd
root@debian:~#

Re: Kernel errors after change rootf from USB to SATA.
April 13, 2022 03:20PM
miazza,

Quote

No start of systemd , samba and push button is not anymore working and I really do not know what else is not loaded.

When you say "not anymore working", did you set it up with the USB rootfs?

- systemd must be explicitly activated. The rootfs by default is sysvinit.

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

Quote

Note 5 (Optional):

To boot with systemd, add parameter init=/bin/systemd to your u-boot env bootargs (beware that in later Debian distribution, the location of systemd binary might have changed).

- This is a very basic rootfs (intentionally so). Push button needs to be set up with esekeyd

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

Quote

Key daemon (button control)

Multimedia keyboard daemon for Linux
How to use set up button to reboot or shutdown with Key Daemon (esekeyd)

- Try restarting samba

/etc/init.d/samba-ad-dc restart

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

This rootfs is a very small rootfs, with only necessary packages installed. It's a learning vehicle for beginners, and a minimal rootfs for advanced users to configure as they like. It is not a full and heavy system like Ubuntu. If you don't like getting your hands dirty then you can install and run Ubuntu server (there is a version without GUI).

There is nothing wrong with avoiding doing too much works to get to the full system as you want it to be. It's all depending what's your goal is in trying to run this box with the latest Debian kernel.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Kernel errors after change rootf from USB to SATA.
April 13, 2022 03:37PM
Hello bodhi, when booting from USB rootf is perfectly working with systemd installed according to intruction from the forum and everything works smooth, buttons, led, samba , systemd.
See attached log.
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  128 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)

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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            61406080        c3072e18-01     83

## 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

## Unknown partition table type 0
loading envs from usb 0 ...
125 bytes read in 753 ms (0 Bytes/s)

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

Part    Start Sector    Num Sectors     UUID            Type
  1     63              1028097         5e75971a-01     08
  2     1028160         3905995905      5e75971a-02     20


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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            39073792        33aa673e-01     83
  2     39075840        117225648       33aa673e-02     83
importing envs ...

Warning: egiga0 MAC addresses don't match:
Address in SROM is         ec:43:f6:40:84:91
Address in environment is  52:3b:20:9c:11:51
running scan_disk ...
Scan device mmc
Unknown command 'mmc' - try 'help'
device mmc 0:1
** Bad device mmc 0 **
device mmc 1:1
** Bad device mmc 1 **
device mmc 2:1
** Bad device mmc 2 **
device mmc 3:1
** Bad device mmc 3 **
device mmc 4:1
** Bad device mmc 4 **
device mmc 5:1
** Bad device mmc 5 **
device mmc 6:1
** Bad device mmc 6 **
device mmc 7:1
** Bad device mmc 7 **
Scan device usb
device usb 0:1
1 bytes read in 722 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 1142 ms (4.5 MiB/s)
loading uInitrd ...
9671091 bytes read in 1227 ms (7.5 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14014 bytes read in 1646 ms (7.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02c00000
   Booting using the fdt blob at 0x2c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cd000, end 1f1d36bd ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: ZyXEL NSA325
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) init=/bin/systemd
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490944K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33344K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 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.000050][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000761][    T0] Console: colour dummy device 80x30
[    0.000824][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000859][    T0] pid_max: default: 32768 minimum: 301
[    0.001190][    T0] LSM: Security Framework initializing
[    0.001341][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001381][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002573][    T0] CPU: Testing write buffer coherency: ok
[    0.004586][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.004858][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.005141][    T1] rcu: Hierarchical SRCU implementation.
[    0.006335][    T1] devtmpfs: initialized
[    0.012329][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012376][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.040392][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.040429][    T1] prandom: seed boundary self test passed
[    0.043571][    T1] prandom: 100 self tests passed
[    0.043587][    T1] pinctrl core: initialized pinctrl subsystem
[    0.044980][    T1] NET: Registered protocol family 16
[    0.045620][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.046407][    T1] audit: initializing netlink subsys (disabled)
[    0.047589][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.047912][   T16] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.048070][    T1] cpuidle: using governor ladder
[    0.048157][    T1] cpuidle: using governor menu
[    0.048605][    T1] Feroceon L2: Enabling L2
[    0.048647][    T1] Feroceon L2: Cache support initialised.
[    0.056992][    T1] No ATAGs?
[    2.560054][    C0] random: fast init done
[    3.683141][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.701840][   T59] wait_for_initramfs() called before rootfs_initcalls
[    3.890229][    T1] raid6: int32x8  gen()   151 MB/s
[    4.060105][    T1] raid6: int32x8  xor()    93 MB/s
[    4.230206][    T1] raid6: int32x4  gen()   153 MB/s
[    4.400071][    T1] raid6: int32x4  xor()    98 MB/s
[    4.570145][    T1] raid6: int32x2  gen()   201 MB/s
[    4.740097][    T1] raid6: int32x2  xor()   120 MB/s
[    4.910082][    T1] raid6: int32x1  gen()   152 MB/s
[    5.080100][    T1] raid6: int32x1  xor()    86 MB/s
[    5.080113][    T1] raid6: using algorithm int32x2 gen() 201 MB/s
[    5.080123][    T1] raid6: .... xor() 120 MB/s, rmw enabled
[    5.080132][    T1] raid6: using intx1 recovery algorithm
[    5.080347][    T1] vgaarb: loaded
[    5.080796][    T1] SCSI subsystem initialized
[    5.081202][    T1] usbcore: registered new interface driver usbfs
[    5.081258][    T1] usbcore: registered new interface driver hub
[    5.081301][    T1] usbcore: registered new device driver usb
[    5.081463][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.081475][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.081501][    T1] PTP clock support registered
[    5.082943][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.163458][    T1] VFS: Disk quotas dquot_6.6.0
[    5.163550][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.171407][    T1] NET: Registered protocol family 2
[    5.171571][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.172590][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.172640][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.172709][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.172767][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.172996][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.173063][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.173096][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.173287][    T1] NET: Registered protocol family 1
[    5.183428][    T1] RPC: Registered named UNIX socket transport module.
[    5.183447][    T1] RPC: Registered udp transport module.
[    5.183457][    T1] RPC: Registered tcp transport module.
[    5.183465][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.183480][    T1] PCI: CLS 0 bytes, default 32
[    5.183751][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.185066][   T58] Trying to unpack rootfs image as initramfs...
[    6.457522][   T58] Freeing initrd memory: 9448K
[    6.926593][    T1] Initialise system trusted keyrings
[    6.926658][    T1] Key type blacklist registered
[    6.926874][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    6.926972][    T1] zbud: loaded
[    6.928117][    T1] NFS: Registering the id_resolver key type
[    6.928151][    T1] Key type id_resolver registered
[    6.928162][    T1] Key type id_legacy registered
[    6.928197][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.928216][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    6.928227][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.928454][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.928832][    T1] fuse: init (API version 7.34)
[    6.929173][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.929333][    T1] orangefs_init: module version upstream loaded
[    6.929348][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.006661][    T1] xor: measuring software checksum speed
[    7.013339][    T1]    arm4regs        :  1493 MB/sec
[    7.024392][    T1]    8regs           :   895 MB/sec
[    7.031954][    T1]    32regs          :  1302 MB/sec
[    7.031964][    T1] xor: using function: arm4regs (1493 MB/sec)
[    7.031982][    T1] async_tx: api initialized (async)
[    7.031997][    T1] Key type asymmetric registered
[    7.032007][    T1] Asymmetric key parser 'x509' registered
[    7.032056][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.032125][    T1] io scheduler bfq registered
[    7.181023][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.182527][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.182597][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.182633][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.182666][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.182699][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.182730][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.182761][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.182785][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.183079][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.183099][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.183118][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.183136][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.183154][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.183169][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.183184][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.183298][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.183330][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.184483][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.184512][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.184689][    T1] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330
[    7.184728][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    7.184877][    T1] pci 0000:01:00.0: PME# supported from D0 D3hot
[    7.184952][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    7.213949][    T1] PCI: bus1: Fast back to back transfers disabled
[    7.213975][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.214148][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    7.214170][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    7.214191][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    7.214218][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    7.214235][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    7.214335][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    7.214414][    T1] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    7.214881][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    7.273790][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.275778][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    7.333786][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.336022][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    7.337167][    T1] printk: console [ttyS0] disabled
[    7.337247][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    8.472641][    T1] printk: console [ttyS0] enabled
[    8.484213][    T1] loop: module loaded
[    8.488757][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.497330][    T1] scsi host0: sata_mv
[    8.501686][    T1] scsi host1: sata_mv
[    8.505780][    T1] ata1: SATA max UDMA/133 irq 32
[    8.510601][    T1] ata2: SATA max UDMA/133 irq 32
[    8.516211][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    8.523360][    T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[    8.528703][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    8.537242][    T1] Scanning device for bad blocks
[    8.565508][    T1] Bad eraseblock 226 at 0x000001c40000
[    8.594992][    T1] Bad eraseblock 460 at 0x000003980000
[    8.633682][    T1] Bad eraseblock 783 at 0x0000061e0000
[    8.644150][    T1] Bad eraseblock 833 at 0x000006820000
[    8.669168][    T1] 9 cmdlinepart partitions found on MTD device orion_nand
[    8.676180][    T1] Creating 9 MTD partitions on "orion_nand":
[    8.682048][    T1] 0x000000000000-0x000000100000 : "uboot"
[    8.688850][    T1] 0x000000100000-0x000000180000 : "stock_uboot_env"
[    8.696419][    T1] 0x000000180000-0x000000200000 : "key_store"
[    8.703456][    T1] 0x000000200000-0x000000280000 : "info"
[    8.710015][    T1] 0x000000280000-0x000000c80000 : "etc"
[    8.716576][    T1] 0x000000c80000-0x000001680000 : "kernel_1"
[    8.723577][    T1] 0x000001680000-0x000004640000 : "rootfs1"
[    8.730564][    T1] 0x000004640000-0x000005040000 : "kernel_2"
[    8.737549][    T1] 0x000005040000-0x000008000000 : "rootfs2"
[    8.745031][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.753661][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.764931][    T1] libphy: Fixed MDIO Bus: probed
[    8.770936][    T1] libphy: orion_mdio_bus: probed
[    8.788680][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.797787][    T1] mv643xx_eth: Set the PHY to fix link down
[    8.798328][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.813777][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.821089][    T1] ehci-pci: EHCI PCI platform driver
[    8.826424][    T1] ehci-orion: EHCI orion driver
[    8.831314][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.837616][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.846200][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    8.872963][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.879951][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.888983][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.896954][    T1] usb usb1: Product: EHCI Host Controller
[    8.902557][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.909998][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.915964][    T1] hub 1-0:1.0: USB hub found
[    8.920463][    T1] hub 1-0:1.0: 1 port detected
[    8.925818][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    8.931784][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    8.940252][    T1] xhci_hcd 0000:01:00.0: hcc params 0x014042c3 hci version 0x96 quirks 0x0000000000000004
[    8.950511][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.959628][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.967607][    T1] usb usb2: Product: xHCI Host Controller
[    8.973218][    T1] usb usb2: Manufacturer: Linux 5.13.6-kirkwood-tld-1 xhci-hcd
[    8.980653][    T1] usb usb2: SerialNumber: 0000:01:00.0
[    8.986501][    T1] hub 2-0:1.0: USB hub found
[    8.991013][    T1] hub 2-0:1.0: 2 ports detected
[    8.996298][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    9.002263][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    9.010445][    T1] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    9.017544][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.026441][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.033702][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    9.042713][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.050835][    T1] usb usb3: Product: xHCI Host Controller
[    9.056678][   T94] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    9.064231][    T1] usb usb3: Manufacturer: Linux 5.13.6-kirkwood-tld-1 xhci-hcd
[    9.071664][    T1] usb usb3: SerialNumber: 0000:01:00.0
[    9.077025][   T94] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.085283][    T1] hub 3-0:1.0: USB hub found
[    9.089996][    T1] hub 3-0:1.0: 2 ports detected
[    9.095009][   T94] ata1.00: configured for UDMA/133
[    9.100686][    T1] usbcore: registered new interface driver usb-storage
[    9.107783][    T1] mousedev: PS/2 mouse device common for all mice
[    9.114490][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    9.123880][    T1] i2c /dev entries driver
[    9.129923][   T80] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    9.138880][   T80] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    9.145064][   T80] sd 0:0:0:0: [sda] Write Protect is off
[    9.150689][   T80] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.164613][    T1] rtc-pcf8563 0-0051: registered as rtc0
[    9.171370][    T1] rtc-pcf8563 0-0051: setting system clock to 2022-04-13T20:29:44 UTC (1649881784)
[    9.182171][    T1] device-mapper: uevent: version 1.0.3
[    9.187792][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    9.197317][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    9.204625][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    9.211968][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    9.219347][   T17] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.226856][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.233748][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.242401][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.248799][    T1] drop_monitor: Initializing network drop monitor service
[    9.256197][    T1] NET: Registered protocol family 10
[    9.262451][    T1] Segment Routing with IPv6
[    9.266914][    T1] RPL Segment Routing with IPv6
[    9.271718][    T1] NET: Registered protocol family 17
[    9.277092][    T1] Key type dns_resolver registered
[    9.282536][    T1] registered taskstats version 1
[    9.287410][    T1] Loading compiled-in X.509 certificates
[    9.293273][    T1] zswap: loaded using pool lzo/zbud
[    9.298640][    T1] Key type ._fscrypt registered
[    9.303429][    T1] Key type .fscrypt registered
[    9.308071][    T1] Key type fscrypt-provisioning registered
[    9.315406][    T1] Key type big_key registered
[    9.343317][    T1] Key type encrypted registered
[    9.434708][   T17] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.443681][   T17] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.451582][   T17] usb 1-1: Product: USB2.0 Hub
[    9.456993][   T17] hub 1-1:1.0: USB hub found
[    9.461830][   T17] hub 1-1:1.0: 4 ports detected
[    9.642971][   T96] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    9.652278][   T96] ata2.00: ATA-7: Hitachi HTS541680J9SA00, SB2OC7BP, max UDMA/100
[    9.659994][   T96] ata2.00: 156301488 sectors, multi 0: LBA48
[    9.670454][   T96] ata2.00: configured for UDMA/100
[    9.685880][   T58] scsi 1:0:0:0: Direct-Access     ATA      Hitachi HTS54168 C7BP PQ: 0 ANSI: 5
[    9.695680][    T7] sd 1:0:0:0: [sdb] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[    9.704445][    T7] sd 1:0:0:0: [sdb] Write Protect is off
[    9.710057][    T7] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.776260][   T80]  sda: sda1 sda2
[    9.781119][   T80] sd 0:0:0:0: [sda] Attached SCSI disk
[    9.786530][   T17] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    9.947329][   T17] usb 1-1.2: New USB device found, idVendor=0951, idProduct=1643, bcdDevice= 1.00
[    9.956458][   T17] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    9.964530][   T17] usb 1-1.2: Product: DataTraveler G3
[    9.969780][   T17] usb 1-1.2: Manufacturer: Kingston
[    9.974870][   T17] usb 1-1.2: SerialNumber: 001CC0EC349FBC51F70A00AF
[    9.981989][   T17] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    9.989483][   T17] scsi host2: usb-storage 1-1.2:1.0
[   10.105527][    T7]  sdb: sdb1 sdb2
[   10.110372][    T7] sd 1:0:0:0: [sdb] Attached SCSI disk
[   10.118897][    T1] Freeing unused kernel memory: 1024K
[   10.124899][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.131305][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   10.817266][  T146] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[   11.046685][    T7] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler G3  PMAP PQ: 0 ANSI: 0 CCS
[   11.060104][  T146] usbcore: registered new interface driver uas
[   11.068138][   T80] sd 2:0:0:0: [sdc] 61408128 512-byte logical blocks: (31.4 GB/29.3 GiB)
[   11.083511][   T80] sd 2:0:0:0: [sdc] Write Protect is off
[   11.096681][   T80] sd 2:0:0:0: [sdc] No Caching mode page found
[   11.102781][   T80] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[   11.126232][   T80]  sdc: sdc1
[   11.138882][   T80] sd 2: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.ext3 (1) -- /dev/sdc1] fsck.ext3 -a -C0 /dev/sdc1
rootfs: clean, 22425/1921360 files, 668759/7675760 blocks
done.
[   24.351382][  T171] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   24.546919][  T171] 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.
[   25.580732][    T1] systemd[1]: Inserted module 'autofs4'
[   25.676216][    T1] systemd[1]: systemd 247.3-7 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[   25.700155][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

[   25.757345][    T1] systemd[1]: Set hostname to <debian>.
[   27.909611][    C0] random: crng init done
[   28.765821][    T1] systemd[1]: Queued start job for default target Graphical Interface.
[   28.776563][    T1] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[   28.789825][    T1] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[   28.800701][    T1] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[   28.844137][    T1] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[   28.884105][    T1] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   28.923861][    T1] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   28.963585][    T1] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[   29.003501][    T1] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[   29.044176][    T1] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[   29.083568][    T1] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[   29.123726][    T1] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[   29.163398][    T1] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   29.194909][    T1] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   29.233888][    T1] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[   29.273603][    T1] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   29.314344][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   29.353906][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   29.394019][    T1] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   29.434082][    T1] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   29.473814][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   29.514034][    T1] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[   29.526828][    T1] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   29.566618][    T1] systemd[1]: Mounting NFSD configuration filesystem...
         Mounting NFSD configuration filesystem...
[   29.607132][    T1] systemd[1]: Mounting RPC Pipe File System...
         Mounting RPC Pipe File System...
[   29.647728][    T1] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   29.687521][    T1] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[   29.723602][    T1] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[   29.739461][    T1] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st…odes for the current kernel...
[   29.820920][    T1] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   29.877358][    T1] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   29.927247][    T1] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   29.988191][    T1] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   29.998467][    T1] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   30.012592][    T1] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   30.063962][    T1] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   30.096382][    T1] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   30.157169][    T1] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   30.240794][    T1] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   30.314220][    T1] systemd[1]: Mounted NFSD configuration filesystem.
[  OK  ] Mounted NFSD configuration filesystem.
[   30.383921][    T1] systemd[1]: Mounted RPC Pipe File System.
[  OK     30.390274][  T212] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
0m] Mounted RPC Pipe File System.
[   30.439283][    T1] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   30.503869][    T1] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[   30.525082][    T1] systemd[1]: Finished Create list of static device nodes for the current kernel.
[  OK  ] Finished Create list of st… nodes for the current kernel.
[   30.575122][    T1] systemd[1]: modprobe@configfs.service: Succeeded.
[   30.593155][    T1] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   30.615229][    T1] systemd[1]: modprobe@drm.service: Succeeded.
[   30.622274][    T1] systemd[1]: Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module drm.
[   30.674005][    T1] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Activating swap /swapfile...
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting pNFS block layout mapping daemon...
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started pNFS block layout mapping daemon.
         Starting Helper to synchronize[   31.775946][  T208] systemd-journald[208]: Received client request to flush runtime journal.
 boot up for ifupdown...
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[   33.382991][  T215] Adding 1048572k swap on /swapfile.  Priority:-2 extents:19 across:26898248k FS
[  OK  ] Activated swap /swapfile.
[  OK  ] Reached target Swap.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Mounted /tmp.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Found device /dev/ttyS0.
[   37.986499][  T235] orion_wdt: Initial timeout 21 sec
[   38.050934][  T232] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   38.083444][  T232] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   38.103143][  T232] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   38.347604][  T238] marvell-cesa f1030000.crypto: CESA device successfully registered
[   38.680104][  T280] md0: detected capacity change from 0 to 3905993857
[  OK  ] Found device Hitachi_HTS541680J9SA00 2.
         Mounting /srv/sdb2...
[   39.633455][  T285] EXT4-fs (sdb2): mounting ext3 file system using the ext4 subsystem
[  OK  ] Found device /dev/md0.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
         Mounting /srv/nsa325...
[   40.305447][  T288] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[  OK  ] Mounted /srv/nsa325.
[   40.420135][  T285] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[  OK  ] Mounted /srv/sdb2.
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Preprocess NFS configuration...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Preprocess NFS configuration.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Reached target NFS client services.
         Starting RPC bind portmap service...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting User Login Management...
[  OK  ] Started RPC bind portmap service.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Started User Login Management.
[ ***  ] A start job is running for Raise network interfaces (16s / 5min 11s)
[   43.910153][  T342] mv643xx_eth: Set the PHY back to auto-negotiation mode
[   45.590291][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting NFS Mount Daemon...
         Starting Samba NMB Daemon...
         Starting Network Time Service...
         Starting /etc/rc.local Compatibility...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started NFS Mount Daemon.
         Starting NFS server and services...
[   51.571776] rc.local[408]: /etc/rc.local: 116: cannot create /sys/class/leds/zyxel:blue:status/trigger: Directory nonexistent
[FAILED] Failed to start /etc/rc.local Compatibility.
See 'systemctl status rc-local.service' for details.
[  OK  ] Started Network Time Service.
[  OK  ] Started OpenBSD Secure Shell server.
[   52.776256][  T417] NFSD: Using UMH upcall client tracking operations.
[   52.782868][  T417] NFSD: starting 90-second grace period (net f000001c)
[  OK  ] Finished NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Starts syslogd...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Starts syslogd.
         Starting LSB: Starts klogd...
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Started Samba NMB Daemon.
         Starting Samba SMB Daemon...
[  OK  ] Started Samba SMB Daemon.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.

Debian GNU/Linux 11 debian ttyS0

debian login: root
rootPassword:

Login incorrect
debian login: root
Password:
Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Apr 13 17:07:38 CEST 2022 on ttyS0
debian
192.168.1.5
ZyXEL NSA325
Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
Debian 11.3
Wed Apr 13 22:31:04 CEST 2022 up 1 minute
root@debian:~#

After that, I made a tar backup and installed the tar on SATA disk without changing anything else.
systemd is not anymore working.
Swapfile non mounted
samba not working
... etc

I tried to reinstall systemd and activate it according to note 5 (as done for USB) but nothing change, systemd does not work.
I tried to remake swap file but ... still nothing (I used parameter in uEnv.txt
custom_params=init=/bin/systemd


I tried to restart samba but no luck.

Shall I start again from the beginning with a fresh new rootfs ?
With USB rootf it is still perfect (almost :))



Edited 1 time(s). Last edit at 04/13/2022 03:40PM by miazza.
Re: Kernel errors after change rootf from USB to SATA.
April 13, 2022 03:45PM
bodhi Wrote:
-------------------------------------------------------
> ===============
>
> This rootfs is a very small rootfs, with only
> necessary packages installed. It's a learning
> vehicle for beginners, and a minimal rootfs for
> advanced users to configure as they like. It is
> not a full and heavy system like Ubuntu. If you
> don't like getting your hands dirty then you can
> install and run Ubuntu server (there is a version
> without GUI).
>
> There is nothing wrong with avoiding doing too
> much works to get to the full system as you want
> it to be. It's all depending what's your goal is
> in trying to run this box with the latest Debian
> kernel.


This is clear and this is the part I like as a beginner ... I like to try and to learn something.
Re: Kernel errors after change rootf from USB to SATA.
April 13, 2022 04:43PM
miazza,

About systemd, that's what the cat /proc/cmdline is for.

root@debian:~# cat /proc/cmdline
console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)

If you look closely, there is no systemd in the bootargs. So what you did in the USB rootfs was correct, and need to be repeated with the HDD rootfs.

USB rootfs log
loading envs from usb 0 ...
<snip>
importing envs ...

And HDD rootfs log:
loading envs from usb 0 ...
** Bad device usb 0 **
Not sure why it choked on this, usually it would just skip the USB part if there is no USB drive plugged in. I'll have to look at the envs later

For now, to make the boot log less noisy and booting faster, after you kwboot,

setenv devices 'ide usb'

And continue booting
boot

> I tried to restart samba but no luck.

Look at the smb.conf at the end, are the shares name and path still applicable to the HDD ? usually in fstab, you need to use the label of HDD or USB to ensure they will always be the same drive. Drive letter will change each time you remove some storage drive, and during boot it is unpredictable which HDD drive Linux wil assign which drive letter /dev/sd{a,b,c,d,....} to.

Similar to the rootfs, in fstab, the HDD partitions should use label.

:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
LABEL=rootfs    /               ext3    noatime,errors=remount-ro 0 1
tmpfs          /tmp            tmpfs   defaults          0       0
/swapfile swap swap defaults 0 0
/dev/md0 /srv/nsa325 ext4 defaults 0 0
/dev/sdb2 /srv/sdb2 ext3 defaults 0 0

If /dev/sdb2 is where the Samba share is, and let's assume its label is DATA

LABEL=DATA /srv/DATA ext3 defaults 0 0

then in /etc/samba/smb.conf, it must be (MUSIC is an example of the share name, so name it to whatever appropriate)

[MUSIC]
	comment = shared media for xxxx  
	path = /srv/DATA
	browseable = yes
	writeable = yes
	guest ok = yes

> This is clear and this is the part I like as a beginner ... I like to try and to learn something.

Cool!

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



Edited 3 time(s). Last edit at 04/13/2022 04:47PM by bodhi.
Re: Kernel errors after change rootf from USB to SATA.
April 14, 2022 04:56AM
Thank you bodhi... also for your patience :)

Now I have no access to the NAS (I'll be away few days for Easer).
I will apply all your advise when come back.

The tricky point is the systemd initialization.

For the USB rootfs I relied in the uEnv.txt that is loaded during UART Boot :
custom_params=init=/bin/systemd

The same uEnv. txt is saved in the SATA rootfs (it is a back-up but I will check it again anyhow).
Is there any reason why this is not found during UART Boot on the SATA rootfs partition ?
It seems this is looking only to usb 0 while the file is on IDE Device 1:

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  128 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
## 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

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **
.
.
.
.
.
Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
device ide 0:1
** File not found /boot/uImage **
device ide 1:1
1 bytes read in 946 ms (0 Bytes/s)
Found bootable drive on ide 1



Edited 1 time(s). Last edit at 04/14/2022 05:10AM by miazza.
Re: Kernel errors after change rootf from USB to SATA.
April 14, 2022 10:34AM
And finally I found the trick:
It seems that the u-boot is not automatically loading the uEnv.txt from the IDE drive.
I made:
setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts init=/bin/systemd'

and now systemd is back working as well as all the other stuff.

Now the question is why uEnv.txt is not loaded automaticcally from u-boot on IDE 1.
root@debian:~# cat /boot/uEnv.txt
devices=mmc usb ide
disks=0 1 2 3 4 5 6 7
ethaddr=EC:43:F6:40:84:91
custom_params=init=/bin/systemd
load_dtb_addr=0x2c00000


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  128 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
NSA325> setenv devices 'ide usb'
NSA325> setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts init=/bin/systemd'
NSA325> boot

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

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

Part    Start Sector    Num Sectors     UUID            Type
  1     63              1028097         5e75971a-01     08
  2     1028160         3905995905      5e75971a-02     20


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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            39073792        33aa673e-01     83
  2     39075840        117225648       33aa673e-02     83
## 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

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **
running scan_disk ...
Scan device ide

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
device ide 0:1
** File not found /boot/uImage **
device ide 1:1
1 bytes read in 934 ms (0 Bytes/s)
Found bootable drive on ide 1
loading uImage ...
5435888 bytes read in 2039 ms (2.5 MiB/s)
loading uInitrd ...
9671091 bytes read in 2863 ms (3.2 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14014 bytes read in 3244 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 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 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cd000, end 1f1d36bd ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: ZyXEL NSA325
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) init=/bin/systemd
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490944K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33344K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 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.000050][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000760][    T0] Console: colour dummy device 80x30
[    0.000824][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000859][    T0] pid_max: default: 32768 minimum: 301
[    0.001190][    T0] LSM: Security Framework initializing
[    0.001338][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001376][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002558][    T0] CPU: Testing write buffer coherency: ok
[    0.004577][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.004850][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.005136][    T1] rcu: Hierarchical SRCU implementation.
[    0.006328][    T1] devtmpfs: initialized
[    0.012317][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012364][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.040378][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.040415][    T1] prandom: seed boundary self test passed
[    0.043557][    T1] prandom: 100 self tests passed
[    0.043572][    T1] pinctrl core: initialized pinctrl subsystem
[    0.044967][    T1] NET: Registered protocol family 16
[    0.045607][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.046393][    T1] audit: initializing netlink subsys (disabled)
[    0.047580][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.047904][   T16] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.048058][    T1] cpuidle: using governor ladder
[    0.048144][    T1] cpuidle: using governor menu
[    0.048591][    T1] Feroceon L2: Enabling L2
[    0.048635][    T1] Feroceon L2: Cache support initialised.
[    0.057338][    T1] No ATAGs?
[    2.560055][    C0] random: fast init done
[    3.684610][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.704196][   T59] wait_for_initramfs() called before rootfs_initcalls
[    3.890273][    T1] raid6: int32x8  gen()   151 MB/s
[    4.060145][    T1] raid6: int32x8  xor()    92 MB/s
[    4.230186][    T1] raid6: int32x4  gen()   146 MB/s
[    4.400151][    T1] raid6: int32x4  xor()    96 MB/s
[    4.570067][    T1] raid6: int32x2  gen()   190 MB/s
[    4.740144][    T1] raid6: int32x2  xor()   114 MB/s
[    4.910198][    T1] raid6: int32x1  gen()   133 MB/s
[    5.080132][    T1] raid6: int32x1  xor()    81 MB/s
[    5.080145][    T1] raid6: using algorithm int32x2 gen() 190 MB/s
[    5.080156][    T1] raid6: .... xor() 114 MB/s, rmw enabled
[    5.080165][    T1] raid6: using intx1 recovery algorithm
[    5.080390][    T1] vgaarb: loaded
[    5.080861][    T1] SCSI subsystem initialized
[    5.081300][    T1] usbcore: registered new interface driver usbfs
[    5.081359][    T1] usbcore: registered new interface driver hub
[    5.081406][    T1] usbcore: registered new device driver usb
[    5.081580][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.081593][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.081621][    T1] PTP clock support registered
[    5.083129][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.163683][    T1] VFS: Disk quotas dquot_6.6.0
[    5.163777][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.176794][    T1] NET: Registered protocol family 2
[    5.176966][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.178018][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.178069][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.178139][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.178198][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.178396][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.178460][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.178495][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.178698][    T1] NET: Registered protocol family 1
[    5.183643][    T1] RPC: Registered named UNIX socket transport module.
[    5.183663][    T1] RPC: Registered udp transport module.
[    5.183673][    T1] RPC: Registered tcp transport module.
[    5.183682][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.183697][    T1] PCI: CLS 0 bytes, default 32
[    5.183859][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.184338][   T58] Trying to unpack rootfs image as initramfs...
[    6.505794][   T58] Freeing initrd memory: 9448K
[    6.952098][    T1] Initialise system trusted keyrings
[    6.952159][    T1] Key type blacklist registered
[    6.952390][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    6.952492][    T1] zbud: loaded
[    6.953772][    T1] NFS: Registering the id_resolver key type
[    6.953809][    T1] Key type id_resolver registered
[    6.953821][    T1] Key type id_legacy registered
[    6.953859][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.953880][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    6.953892][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.954130][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.954519][    T1] fuse: init (API version 7.34)
[    6.954877][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.955043][    T1] orangefs_init: module version upstream loaded
[    6.955059][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.033346][    T1] xor: measuring software checksum speed
[    7.039969][    T1]    arm4regs        :  1493 MB/sec
[    7.051018][    T1]    8regs           :   895 MB/sec
[    7.058602][    T1]    32regs          :  1302 MB/sec
[    7.058616][    T1] xor: using function: arm4regs (1493 MB/sec)
[    7.058634][    T1] async_tx: api initialized (async)
[    7.058650][    T1] Key type asymmetric registered
[    7.058662][    T1] Asymmetric key parser 'x509' registered
[    7.058715][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.058785][    T1] io scheduler bfq registered
[    7.207835][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.209396][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.209469][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.209504][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.209539][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.209573][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.209605][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.209637][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.209661][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.209921][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.209940][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.209960][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.209978][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.209996][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.210012][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.210027][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.210143][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.210175][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.211369][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.211399][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.211585][    T1] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330
[    7.211624][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    7.211775][    T1] pci 0000:01:00.0: PME# supported from D0 D3hot
[    7.211853][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    7.234186][    T1] PCI: bus1: Fast back to back transfers disabled
[    7.234214][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.234395][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    7.234420][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    7.234442][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    7.234470][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    7.234488][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    7.234593][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    7.234675][    T1] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    7.235159][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    7.294009][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.296023][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    7.353976][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.356238][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    7.357439][    T1] printk: console [ttyS0] disabled
[    7.357521][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    8.493512][    T1] printk: console [ttyS0] enabled
[    8.505411][    T1] loop: module loaded
[    8.509981][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.518713][    T1] scsi host0: sata_mv
[    8.523103][    T1] scsi host1: sata_mv
[    8.527210][    T1] ata1: SATA max UDMA/133 irq 32
[    8.532029][    T1] ata2: SATA max UDMA/133 irq 32
[    8.537667][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    8.544818][    T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[    8.550156][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    8.558696][    T1] Scanning device for bad blocks
[    8.586971][    T1] Bad eraseblock 226 at 0x000001c40000
[    8.616494][    T1] Bad eraseblock 460 at 0x000003980000
[    8.655209][    T1] Bad eraseblock 783 at 0x0000061e0000
[    8.665682][    T1] Bad eraseblock 833 at 0x000006820000
[    8.690703][    T1] 9 cmdlinepart partitions found on MTD device orion_nand
[    8.697714][    T1] Creating 9 MTD partitions on "orion_nand":
[    8.703593][    T1] 0x000000000000-0x000000100000 : "uboot"
[    8.710443][    T1] 0x000000100000-0x000000180000 : "stock_uboot_env"
[    8.718070][    T1] 0x000000180000-0x000000200000 : "key_store"
[    8.725166][    T1] 0x000000200000-0x000000280000 : "info"
[    8.731773][    T1] 0x000000280000-0x000000c80000 : "etc"
[    8.738401][    T1] 0x000000c80000-0x000001680000 : "kernel_1"
[    8.745467][    T1] 0x000001680000-0x000004640000 : "rootfs1"
[    8.752504][    T1] 0x000004640000-0x000005040000 : "kernel_2"
[    8.759556][    T1] 0x000005040000-0x000008000000 : "rootfs2"
[    8.767123][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.775762][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.787073][    T1] libphy: Fixed MDIO Bus: probed
[    8.793117][    T1] libphy: orion_mdio_bus: probed
[    8.811424][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.820567][    T1] mv643xx_eth: Set the PHY to fix link down
[    8.821120][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.836597][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.843984][    T1] ehci-pci: EHCI PCI platform driver
[    8.849235][    T1] ehci-orion: EHCI orion driver
[    8.854172][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.860442][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.869046][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    8.903158][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.910164][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.919193][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.927165][    T1] usb usb1: Product: EHCI Host Controller
[    8.932765][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.940208][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.946199][    T1] hub 1-0:1.0: USB hub found
[    8.950710][    T1] hub 1-0:1.0: 1 port detected
[    8.956111][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    8.962081][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    8.970560][    T1] xhci_hcd 0000:01:00.0: hcc params 0x014042c3 hci version 0x96 quirks 0x0000000000000004
[    8.980848][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.989979][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.997958][    T1] usb usb2: Product: xHCI Host Controller
[    9.003579][    T1] usb usb2: Manufacturer: Linux 5.13.6-kirkwood-tld-1 xhci-hcd
[    9.011009][    T1] usb usb2: SerialNumber: 0000:01:00.0
[    9.016884][    T1] hub 2-0:1.0: USB hub found
[    9.021409][    T1] hub 2-0:1.0: 2 ports detected
[    9.026727][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    9.032688][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    9.040883][    T1] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    9.047935][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.055189][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.064328][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    9.073601][   T94] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    9.081039][   T94] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.088590][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.096678][    T1] usb usb3: Product: xHCI Host Controller
[    9.102282][    T1] usb usb3: Manufacturer: Linux 5.13.6-kirkwood-tld-1 xhci-hcd
[    9.110142][    T1] usb usb3: SerialNumber: 0000:01:00.0
[    9.115732][   T94] ata1.00: configured for UDMA/133
[    9.121304][    T1] hub 3-0:1.0: USB hub found
[    9.125875][    T1] hub 3-0:1.0: 2 ports detected
[    9.131185][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    9.140606][    T1] usbcore: registered new interface driver usb-storage
[    9.148359][   T81] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    9.157595][    T1] mousedev: PS/2 mouse device common for all mice
[    9.164213][   T81] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    9.170488][    T1] i2c /dev entries driver
[    9.175326][   T81] sd 0:0:0:0: [sda] Write Protect is off
[    9.181427][   T81] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.196849][    T1] rtc-pcf8563 0-0051: registered as rtc0
[    9.203609][    T1] rtc-pcf8563 0-0051: setting system clock to 2022-04-14T15:26:58 UTC (1649950018)
[    9.214428][    T1] device-mapper: uevent: version 1.0.3
[    9.220019][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    9.229578][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    9.236895][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    9.244283][   T17] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.251778][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    9.259277][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.266140][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.274868][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.281258][    T1] drop_monitor: Initializing network drop monitor service
[    9.288674][    T1] NET: Registered protocol family 10
[    9.294980][    T1] Segment Routing with IPv6
[    9.299361][    T1] RPL Segment Routing with IPv6
[    9.304241][    T1] NET: Registered protocol family 17
[    9.309611][    T1] Key type dns_resolver registered
[    9.315139][    T1] registered taskstats version 1
[    9.319962][    T1] Loading compiled-in X.509 certificates
[    9.325840][    T1] zswap: loaded using pool lzo/zbud
[    9.331195][    T1] Key type ._fscrypt registered
[    9.336100][    T1] Key type .fscrypt registered
[    9.340746][    T1] Key type fscrypt-provisioning registered
[    9.348023][    T1] Key type big_key registered
[    9.376842][    T1] Key type encrypted registered
[    9.454931][   T17] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.463911][   T17] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.471819][   T17] usb 1-1: Product: USB2.0 Hub
[    9.477226][   T17] hub 1-1:1.0: USB hub found
[    9.482054][   T17] hub 1-1:1.0: 4 ports detected
[    9.663164][   T96] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    9.672472][   T96] ata2.00: ATA-7: Hitachi HTS541680J9SA00, SB2OC7BP, max UDMA/100
[    9.680193][   T96] ata2.00: 156301488 sectors, multi 0: LBA48
[    9.690664][   T96] ata2.00: configured for UDMA/100
[    9.706125][   T58] scsi 1:0:0:0: Direct-Access     ATA      Hitachi HTS54168 C7BP PQ: 0 ANSI: 5
[    9.715988][    T7] sd 1:0:0:0: [sdb] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[    9.724751][    T7] sd 1:0:0:0: [sdb] Write Protect is off
[    9.730380][    T7] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.814778][   T81]  sda: sda1 sda2
[    9.819715][   T81] sd 0:0:0:0: [sda] Attached SCSI disk
[   10.135362][    T7]  sdb: sdb1 sdb2
[   10.140264][    T7] sd 1:0:0:0: [sdb] Attached SCSI disk
[   10.148794][    T1] Freeing unused kernel memory: 1024K
[   10.154798][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.161200][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   10.866781][  T141] input: gpio_keys as /devices/platform/gpio_keys/input/input0
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.ext3 (1) -- /dev/sdb1] fsck.ext3 -a -C0 /dev/sdb1
rootfs: clean, 22409/1221600 files, 685495/4884224 blocks
done.
[   22.768164][  T167] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[   22.970759][  T167] 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.
[   26.749945][    T1] systemd[1]: Inserted module 'autofs4'
[   27.013744][    T1] systemd[1]: systemd 247.3-7 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[   27.037655][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

[   27.128368][    T1] systemd[1]: Set hostname to <debian>.
[   29.477634][    T1] systemd[1]: Queued start job for default target Graphical Interface.
[   29.488080][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[   29.495820][    T1] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[   29.509039][    T1] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[   29.519985][    T1] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[   29.553396][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[   29.561749][    T1] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[   29.603390][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[   29.611717][    T1] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   29.654164][    T1] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   29.693833][    T1] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[   29.733772][    T1] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[   29.774474][    T1] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[   29.813845][    T1] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[   29.853891][    T1] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[   29.893644][    T1] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   29.924907][    T1] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   29.964111][    T1] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[   30.003825][    T1] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   30.044539][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   30.084255][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   30.124257][    T1] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   30.164364][    T1] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   30.204062][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   30.244187][    T1] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[   30.257105][    T1] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   30.302834][    T1] systemd[1]: Mounting NFSD configuration filesystem...
         Mounting NFSD configuration filesystem...
[   30.356748][    T1] systemd[1]: Mounting RPC Pipe File System...
         Mounting RPC Pipe File System...
[   30.407545][    T1] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   30.457221][    T1] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[   30.503671][    T1] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[   30.519130][    T1] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st…odes for the current kernel...
[   30.556730][    C0] random: crng init done
[   30.560868][    C0] random: 7 urandom warning(s) missed due to ratelimiting
[   30.572414][    T1] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   30.627798][    T1] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   30.677571][    T1] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   30.765118][    T1] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   30.775377][    T1] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   30.789640][    T1] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   30.864268][    T1] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   30.904544][    T1] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   30.954458][    T1] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   31.030975][    T1] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   31.104099][    T1] systemd[1]: Mounted NFSD configuration filesystem.
[  OK  ] Mounted NFSD configuration filesystem.
[   31.154963][    T1] systemd[1]: Mounted RPC Pipe File System.
[  OK  ] Mounted RPC Pipe File System.
[   31.193412][  T208] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[   31.209485][    T1] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   31.244430][    T1] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[   31.273697][    T1] systemd[1]: Finished Create list of static device nodes for the current kernel.
[  OK  ] Finished Create list of st… nodes for the current kernel.
[   31.305483][    T1] systemd[1]: modprobe@configfs.service: Succeeded.
[   31.333389][    T1] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   31.375308][    T1] systemd[1]: modprobe@drm.service: Succeeded.
[   31.393351][    T1] systemd[1]: Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module drm.
[   31.425463][    T1] systemd[1]: modprobe@fuse.service: Succeeded.
[   31.453510][    T1] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[   31.494521][    T1] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Activating swap /swapfile...
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting pNFS block layout mapping daemon...
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started pNFS block layout mapping daemon.
[  OK  ] Finished Coldplug All udev Devices.
[   32.299591][  T204] systemd-journald[204]: Received client request to flush runtime journal.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[   34.473301][  T211] Adding 1048572k swap on /swapfile.  Priority:-2 extents:18 across:11426500k FS
[  OK  ] Activated swap /swapfile.
[  OK  ] Reached target Swap.
         Mounting /tmp...
[  OK  ] Mounted /tmp.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Found device /dev/ttyS0.
[   35.592589][  T229] orion_wdt: Initial timeout 21 sec
[   35.919583][  T226] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   35.999593][  T226] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   36.064500][  T231] marvell-cesa f1030000.crypto: CESA device successfully registered
[   36.960272][  T277] md0: detected capacity change from 0 to 3905993857
[  OK  ] Found device Hitachi_HTS541680J9SA00 2.
         Mounting /srv/sdb2...
[   37.130327][  T280] EXT4-fs (sdb2): mounting ext3 file system using the ext4 subsystem
[  OK  ] Found device /dev/md0.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
         Mounting /srv/nsa325...
[   37.943350][  T280] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[  OK  ] Mounted /srv/sdb2.
[   38.314084][  T283] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[  OK  ] Mounted /srv/nsa325.
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Preprocess NFS configuration...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Preprocess NFS configuration.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Reached target NFS client services.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting RPC bind portmap service...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting User Login Management...
[  OK  ] Started NFSv4 ID-name mapping service.
         Starting Daily man-db regeneration...
[  OK  ] Started RPC bind portmap service.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Started User Login Management.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[***   ] (1 of 2) A start job is running for…network interfaces (18s / 5min 8s)
[   46.442035][  T334] mv643xx_eth: Set the PHY back to auto-negotiation mode
[   48.080308][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[  OK  ] Finished Daily man-db regeneration.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting NFS Mount Daemon...
         Starting Samba NMB Daemon...
         Starting Network Time Service...
         Starting /etc/rc.local Compatibility...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started NFS Mount Daemon.
         Starting NFS server and services...
[   55.564439] rc.local[401]: /etc/rc.local: 116: cannot create /sys/class/leds/zyxel:blue:status/trigger: Directory nonexistent
[FAILED] Failed to start /etc/rc.local Compatibility.
See 'systemctl status rc-local.service' for details.
[  OK  ] Started Network Time Service.
[  OK  ] Started OpenBSD Secure Shell server.
[   56.757987][  T411] NFSD: Using UMH upcall client tracking operations.
[   56.764641][  T411] NFSD: starting 90-second grace period (net f000001c)
[  OK  ] Finished NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Starts syslogd...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Starts syslogd.
         Starting LSB: Starts klogd...
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Started Samba NMB Daemon.
         Starting Samba SMB Daemon...
[  OK  ] Started Samba SMB Daemon.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.

Debian GNU/Linux 11 debian ttyS0

debian login: root
Password:
Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Apr 13 22:27:21 CEST 2022 from 192.168.1.115 on pts/0
debian
192.168.1.5
ZyXEL NSA325
Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
Debian 11.3
Thu Apr 14 17:27:57 CEST 2022 up 1 minute
root@debian:~#

Re: Kernel errors after change rootf from USB to SATA.
April 14, 2022 03:54PM
miazza,

No need to set bootargs explicitly.

Change the uEnv.txt

devices=ide usb
disks=0 1 2 3 4 5 6 7
ethaddr=EC:43:F6:40:84:91
custom_params=init=/bin/systemd
load_dtb_addr=0x2c00000

kwboot, interrupt the countdown and,

setenv devices 'ide usb'
printenv
boot

=========

If you had installed u-boot to NAND, you would not have this problem.

I think it is time to flash it for real. Just make sure you save the stock mtd0 as instructed, so you can restore back to stock when and if you decide to do that..

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Kernel errors after change rootf from USB to SATA.
April 18, 2022 08:07AM
Hello bodhi,

I have tried to modify uEnv.txt as from you suggested:

root@debian:~# cat /boot/uEnv.txt
devices=ide usb
disks=0 1 2 3 4 5 6 7
ethaddr=EC:43:F6:40:84:91
custom_params=init=/bin/systemd
load_dtb_addr=0x2c00000

But it seems u-boot still looks only at USB for loading uEnv.txt

loading envs from usb 0 ...
** Bad device usb 0 **

Here the full boot log:

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  128 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
NSA325> setenv devices 'ide usb'
NSA325> printenv
arcNumber=4495
baudrate=115200
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
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
console=console=ttyS0,115200
device=0:1
devices=ide usb
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-nsa325.dtb
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
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(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
partition=nand0,2
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
serverip=192.168.0.220
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_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: 3016/131068 bytes
NSA325> boot

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

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

Part    Start Sector    Num Sectors     UUID            Type
  1     63              1028097         5e75971a-01     08
  2     1028160         3905995905      5e75971a-02     20


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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            39073792        33aa673e-01     83
  2     39075840        117225648       33aa673e-02     83
## 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

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **
running scan_disk ...
Scan device ide

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
device ide 0:1
** File not found /boot/uImage **
device ide 1:1
1 bytes read in 945 ms (0 Bytes/s)
Found bootable drive on ide 1
loading uImage ...
5435888 bytes read in 2049 ms (2.5 MiB/s)
loading uInitrd ...
9671091 bytes read in 2863 ms (3.2 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14014 bytes read in 3265 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 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 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cd000, end 1f1d36bd ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: ZyXEL NSA325
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490944K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33344K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 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.000050][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000762][    T0] Console: colour dummy device 80x30
[    0.000826][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000862][    T0] pid_max: default: 32768 minimum: 301
[    0.001193][    T0] LSM: Security Framework initializing
[    0.001342][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001382][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002572][    T0] CPU: Testing write buffer coherency: ok
[    0.004607][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.004879][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.005171][    T1] rcu: Hierarchical SRCU implementation.
[    0.006374][    T1] devtmpfs: initialized
[    0.012339][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012388][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.040400][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.040436][    T1] prandom: seed boundary self test passed
[    0.043578][    T1] prandom: 100 self tests passed
[    0.043595][    T1] pinctrl core: initialized pinctrl subsystem
[    0.044971][    T1] NET: Registered protocol family 16
[    0.045589][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.046368][    T1] audit: initializing netlink subsys (disabled)
[    0.047556][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.047878][   T16] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.048032][    T1] cpuidle: using governor ladder
[    0.048115][    T1] cpuidle: using governor menu
[    0.048539][    T1] Feroceon L2: Enabling L2
[    0.048580][    T1] Feroceon L2: Cache support initialised.
[    0.056941][    T1] No ATAGs?
[    2.560054][    C0] random: fast init done
[    3.682993][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.701700][   T59] wait_for_initramfs() called before rootfs_initcalls
[    3.890186][    T1] raid6: int32x8  gen()   151 MB/s
[    4.060140][    T1] raid6: int32x8  xor()    93 MB/s
[    4.230185][    T1] raid6: int32x4  gen()   153 MB/s
[    4.400185][    T1] raid6: int32x4  xor()    98 MB/s
[    4.570076][    T1] raid6: int32x2  gen()   197 MB/s
[    4.740092][    T1] raid6: int32x2  xor()   120 MB/s
[    4.910093][    T1] raid6: int32x1  gen()   149 MB/s
[    5.080128][    T1] raid6: int32x1  xor()    86 MB/s
[    5.080140][    T1] raid6: using algorithm int32x2 gen() 197 MB/s
[    5.080151][    T1] raid6: .... xor() 120 MB/s, rmw enabled
[    5.080160][    T1] raid6: using intx1 recovery algorithm
[    5.080374][    T1] vgaarb: loaded
[    5.080823][    T1] SCSI subsystem initialized
[    5.081229][    T1] usbcore: registered new interface driver usbfs
[    5.081285][    T1] usbcore: registered new interface driver hub
[    5.081327][    T1] usbcore: registered new device driver usb
[    5.081489][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.081501][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.081527][    T1] PTP clock support registered
[    5.082943][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.163463][    T1] VFS: Disk quotas dquot_6.6.0
[    5.163555][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.171440][    T1] NET: Registered protocol family 2
[    5.171603][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.172622][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.172670][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.172739][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.172798][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.173023][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.173090][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.173122][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.173313][    T1] NET: Registered protocol family 1
[    5.183429][    T1] RPC: Registered named UNIX socket transport module.
[    5.183448][    T1] RPC: Registered udp transport module.
[    5.183458][    T1] RPC: Registered tcp transport module.
[    5.183467][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.183481][    T1] PCI: CLS 0 bytes, default 32
[    5.183733][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.185046][   T58] Trying to unpack rootfs image as initramfs...
[    6.457395][   T58] Freeing initrd memory: 9448K
[    6.926377][    T1] Initialise system trusted keyrings
[    6.926432][    T1] Key type blacklist registered
[    6.926650][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    6.926749][    T1] zbud: loaded
[    6.927897][    T1] NFS: Registering the id_resolver key type
[    6.927933][    T1] Key type id_resolver registered
[    6.927945][    T1] Key type id_legacy registered
[    6.927980][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.928000][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    6.928012][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.928239][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.928619][    T1] fuse: init (API version 7.34)
[    6.928961][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.929122][    T1] orangefs_init: module version upstream loaded
[    6.929137][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.006410][    T1] xor: measuring software checksum speed
[    7.013088][    T1]    arm4regs        :  1493 MB/sec
[    7.024139][    T1]    8regs           :   895 MB/sec
[    7.031702][    T1]    32regs          :  1302 MB/sec
[    7.031712][    T1] xor: using function: arm4regs (1493 MB/sec)
[    7.031730][    T1] async_tx: api initialized (async)
[    7.031746][    T1] Key type asymmetric registered
[    7.031756][    T1] Asymmetric key parser 'x509' registered
[    7.031804][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.031871][    T1] io scheduler bfq registered
[    7.180764][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.182260][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.182329][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.182364][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.182397][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.182430][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.182461][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.182492][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.182516][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.182771][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.182790][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.182809][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.182826][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.182844][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.182860][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.182874][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.183031][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.183064][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.184225][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.184254][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.184434][    T1] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330
[    7.184473][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    7.184624][    T1] pci 0000:01:00.0: PME# supported from D0 D3hot
[    7.184700][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    7.213955][    T1] PCI: bus1: Fast back to back transfers disabled
[    7.213981][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.214155][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    7.214179][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    7.214201][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    7.214228][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    7.214245][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    7.214344][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    7.214423][    T1] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    7.214891][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    7.273784][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.275772][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    7.333785][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.336029][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    7.337168][    T1] printk: console [ttyS0] disabled
[    7.337246][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    8.471020][    T1] printk: console [ttyS0] enabled
[    8.482560][    T1] loop: module loaded
[    8.487163][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.495713][    T1] scsi host0: sata_mv
[    8.500076][    T1] scsi host1: sata_mv
[    8.504167][    T1] ata1: SATA max UDMA/133 irq 32
[    8.508990][    T1] ata2: SATA max UDMA/133 irq 32
[    8.514601][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    8.521736][    T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[    8.527094][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    8.535635][    T1] Scanning device for bad blocks
[    8.563905][    T1] Bad eraseblock 226 at 0x000001c40000
[    8.593389][    T1] Bad eraseblock 460 at 0x000003980000
[    8.632068][    T1] Bad eraseblock 783 at 0x0000061e0000
[    8.642537][    T1] Bad eraseblock 833 at 0x000006820000
[    8.667565][    T1] 9 cmdlinepart partitions found on MTD device orion_nand
[    8.674578][    T1] Creating 9 MTD partitions on "orion_nand":
[    8.680445][    T1] 0x000000000000-0x000000100000 : "uboot"
[    8.687252][    T1] 0x000000100000-0x000000180000 : "stock_uboot_env"
[    8.694823][    T1] 0x000000180000-0x000000200000 : "key_store"
[    8.701827][    T1] 0x000000200000-0x000000280000 : "info"
[    8.708417][    T1] 0x000000280000-0x000000c80000 : "etc"
[    8.714973][    T1] 0x000000c80000-0x000001680000 : "kernel_1"
[    8.721941][    T1] 0x000001680000-0x000004640000 : "rootfs1"
[    8.728967][    T1] 0x000004640000-0x000005040000 : "kernel_2"
[    8.736003][    T1] 0x000005040000-0x000008000000 : "rootfs2"
[    8.743492][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.752105][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.763413][    T1] libphy: Fixed MDIO Bus: probed
[    8.769409][    T1] libphy: orion_mdio_bus: probed
[    8.787068][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.796175][    T1] mv643xx_eth: Set the PHY to fix link down
[    8.796717][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.812152][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.819533][    T1] ehci-pci: EHCI PCI platform driver
[    8.824822][    T1] ehci-orion: EHCI orion driver
[    8.829711][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.836013][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.844637][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    8.872973][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.879962][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.888994][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.896965][    T1] usb usb1: Product: EHCI Host Controller
[    8.902567][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.910010][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.915973][    T1] hub 1-0:1.0: USB hub found
[    8.920473][    T1] hub 1-0:1.0: 1 port detected
[    8.925832][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    8.931794][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    8.940265][    T1] xhci_hcd 0000:01:00.0: hcc params 0x014042c3 hci version 0x96 quirks 0x0000000000000004
[    8.950523][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.959648][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.967627][    T1] usb usb2: Product: xHCI Host Controller
[    8.973238][    T1] usb usb2: Manufacturer: Linux 5.13.6-kirkwood-tld-1 xhci-hcd
[    8.980672][    T1] usb usb2: SerialNumber: 0000:01:00.0
[    8.986523][    T1] hub 2-0:1.0: USB hub found
[    8.991041][    T1] hub 2-0:1.0: 2 ports detected
[    8.996320][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    9.002281][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    9.010466][    T1] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    9.017507][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.024741][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.033863][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    9.043132][   T94] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    9.050571][   T94] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.058113][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.066182][    T1] usb usb3: Product: xHCI Host Controller
[    9.071788][    T1] usb usb3: Manufacturer: Linux 5.13.6-kirkwood-tld-1 xhci-hcd
[    9.079634][    T1] usb usb3: SerialNumber: 0000:01:00.0
[    9.085223][   T94] ata1.00: configured for UDMA/133
[    9.090767][    T1] hub 3-0:1.0: USB hub found
[    9.095333][    T1] hub 3-0:1.0: 2 ports detected
[    9.100653][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    9.109986][    T1] usbcore: registered new interface driver usb-storage
[    9.117663][   T80] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    9.126855][    T1] mousedev: PS/2 mouse device common for all mice
[    9.133451][   T80] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    9.139708][    T1] i2c /dev entries driver
[    9.144521][   T80] sd 0:0:0:0: [sda] Write Protect is off
[    9.150591][   T80] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.165989][    T1] rtc-pcf8563 0-0051: registered as rtc0
[    9.172741][    T1] rtc-pcf8563 0-0051: setting system clock to 2022-04-18T13:01:52 UTC (1650286912)
[    9.183547][    T1] device-mapper: uevent: version 1.0.3
[    9.189121][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    9.198647][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    9.205960][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    9.213341][   T17] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.220826][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    9.228311][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.235163][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.243790][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.250144][    T1] drop_monitor: Initializing network drop monitor service
[    9.257549][    T1] NET: Registered protocol family 10
[    9.263814][    T1] Segment Routing with IPv6
[    9.268196][    T1] RPL Segment Routing with IPv6
[    9.273072][    T1] NET: Registered protocol family 17
[    9.278441][    T1] Key type dns_resolver registered
[    9.283920][    T1] registered taskstats version 1
[    9.288745][    T1] Loading compiled-in X.509 certificates
[    9.294611][    T1] zswap: loaded using pool lzo/zbud
[    9.299950][    T1] Key type ._fscrypt registered
[    9.304843][    T1] Key type .fscrypt registered
[    9.309484][    T1] Key type fscrypt-provisioning registered
[    9.316724][    T1] Key type big_key registered
[    9.344674][    T1] Key type encrypted registered
[    9.424644][   T17] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.433610][   T17] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.441512][   T17] usb 1-1: Product: USB2.0 Hub
[    9.446929][   T17] hub 1-1:1.0: USB hub found
[    9.451766][   T17] hub 1-1:1.0: 4 ports detected
[    9.632973][   T96] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    9.642276][   T96] ata2.00: ATA-7: Hitachi HTS541680J9SA00, SB2OC7BP, max UDMA/100
[    9.649994][   T96] ata2.00: 156301488 sectors, multi 0: LBA48
[    9.660453][   T96] ata2.00: configured for UDMA/100
[    9.675885][   T58] scsi 1:0:0:0: Direct-Access     ATA      Hitachi HTS54168 C7BP PQ: 0 ANSI: 5
[    9.685666][    T7] sd 1:0:0:0: [sdb] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[    9.694414][    T7] sd 1:0:0:0: [sdb] Write Protect is off
[    9.700031][    T7] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.776527][   T80]  sda: sda1 sda2
[    9.781373][   T80] sd 0:0:0:0: [sda] Attached SCSI disk
[   10.102021][    T7]  sdb: sdb1 sdb2
[   10.106950][    T7] sd 1:0:0:0: [sdb] Attached SCSI disk
[   10.115386][    T1] Freeing unused kernel memory: 1024K
[   10.121331][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.127774][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   10.801020][  T145] input: gpio_keys as /devices/platform/gpio_keys/input/input0
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.ext3 (1) -- /dev/sdb1] fsck.ext3 -a -C0 /dev/sdb1
rootfs: clean, 22418/1221600 files, 685498/4884224 blocks
done.
[   22.468156][  T167] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[   22.681842][  T167] 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...[   27.263078][  T349] orion_wdt: Initial timeout 21 sec
[   27.868922][  T353] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   27.881741][  T353] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   27.887898][    C0] random: crng init done
[   28.143335][  T356] marvell-cesa f1030000.crypto: CESA device successfully registered
[   29.939159][  T405] md0: detected capacity change from 0 to 3905993857
done.
Not activating swap on swapfile. ... (warning).
[   31.573200][  T512] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
[   33.402857][  T770] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   33.429735][  T770] EXT4-fs (sdb2): mounting ext3 file system using the ext4 subsystem
[   34.171476][  T770] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   34.612965][  T805] Adding 1048572k swap on /swapfile.  Priority:-2 extents:18 across:11426500k FS
Will now mount local filesystems:.
Will now activate swapfile swap, if any:swapon: /swapfile: found signature [pagesize=4096, signature=swap]
swapon: /swapfile: pagesize=4096, swapsize=1073741824, devsize=1073741824
swapon /swapfile
done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
[   36.036994][  T934] mv643xx_eth: Set the PHY back to auto-negotiation mode
[   37.623389][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[   37.640938][   T17] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: 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/eth0/ec:43:f6:40:84:91
Sending on   LPF/eth0/ec:43:f6:40:84:91
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPOFFER of 192.168.1.5 from 192.168.1.1
DHCPREQUEST for 192.168.1.5 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.5 from 192.168.1.1
invoke-rc.d: could not determine current runlevel
Reloading /etc/samba/smb.conf: smbd.
invoke-rc.d: could not determine current runlevel
bound to 192.168.1.5 -- renewal in 33812 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...
1097 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting MD monitoring service: mdadm --monitor.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1132 (klogd)
.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting NetBIOS name server: nmbd.
Starting SMB/CIFS daemon: smbd.
Running local boot scripts (/etc/rc.local)
/etc/rc.local: 116:
cannot create /sys/class/leds/zyxel:blue:status/trigger: Directory nonexistent

 failed!
startpar: service(s) returned failure: rc.local ... failed!

Debian GNU/Linux 11 debian ttyS0

debian login: root
Password:
Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Apr 18 14:58:00 CEST 2022 from 192.168.1.115 on pts/0
debian
192.168.1.5
ZyXEL NSA325
Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
Debian 11.3
Mon Apr 18 15:03:49 CEST 2022 up 2 minutes
root@debian:~# cat /boot/uEnv.txt
devices=ide usb
disks=0 1 2 3 4 5 6 7
ethaddr=EC:43:F6:40:84:91
custom_params=init=/bin/systemd
load_dtb_addr=0x2c00000

root@debian:~#

So no systemd is loaded.



Edited 1 time(s). Last edit at 04/18/2022 08:13AM by miazza.
Re: Kernel errors after change rootf from USB to SATA.
April 18, 2022 04:40PM
miazza,

As I mentioned,

> If you had installed u-boot to NAND, you would not
> have this problem.
>
> I think it is time to flash it for real. Just make
> sure you save the stock mtd0 as instructed, so you
> can restore back to stock when and if you decide
> to do that..

Or just set bootargs like you did and continue.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Kernel errors after change rootf from USB to SATA.
April 19, 2022 12:49AM
bodhi Wrote:
-------------------------------------------------------
> miazza,

>
> As I mentioned,
>
> > If you had installed u-boot to NAND, you would not have this problem.
> > I think it is time to flash it for real. Just make sure you save the stock mtd0 as instructed, so you can restore back to stock when and if you
> > decide to do that..

Yes , I'ts time to that :) ... and now I have done that :)
Everything OK at the first try.
The only point I did not get (and therefore I did not) is :
fw_setenv mtdparts 'xxxxxxxxx'
I have not understood what should be the xxxxxx

Also, I did not set arcNumber and machid.

I'm happy to see that also WOL is working, this is quite important for me.


So, now, only for my reference, what would be the procedure to restore the stock firmware ?

Anyhow now I have to play with this and I'm not planning to restore the stock in the near future.

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

SoC:   Kirkwood 88F6282_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
Initializing devices...
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
Unknown command 'mmc' - try 'help'
Loading envs from usb 0...
** Bad device usb 0 **
Loading envs from usb 1...
** Bad device usb 1 **
Loading envs from usb 2...
** Bad device usb 2 **
Loading envs from usb 3...
** Bad device usb 3 **
Loading envs from ide 0...
** File not found /boot/uEnv.txt **
Loading envs from ide 1...
121 bytes read in 1067 ms (0 Bytes/s)
... envs loaded
importing envs ...
running scan_disk ...
Scan device ide

Reset IDE: Bus 0: OK Bus 1: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M3352905
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
  Device 1: Model: Hitachi HTS541680J9SA00  Firm: SB2OC7BP Ser#: SB2281KGDP5BJE
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
device ide 0:1
** File not found /boot/uImage **
device ide 1:1
1 bytes read in 946 ms (0 Bytes/s)
Found bootable drive on ide 1
loading uImage ...
5435888 bytes read in 2050 ms (2.5 MiB/s)
loading uInitrd ...
9671091 bytes read in 2874 ms (3.2 MiB/s)
loading DTB /boot/dts/kirkwood-nsa325.dtb ...
14014 bytes read in 3255 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02c00000
   Booting using the fdt blob at 0x2c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cd000, end 1f1d36bd ... OK
Using machid 0x831 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: ZyXEL NSA325
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) init=/bin/systemd
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490944K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33344K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 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.000051][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000762][    T0] Console: colour dummy device 80x30
[    0.000826][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000861][    T0] pid_max: default: 32768 minimum: 301
[    0.001193][    T0] LSM: Security Framework initializing
[    0.001342][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001383][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002576][    T0] CPU: Testing write buffer coherency: ok
[    0.004607][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.004880][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.005164][    T1] rcu: Hierarchical SRCU implementation.
[    0.006372][    T1] devtmpfs: initialized
[    0.012364][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012411][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.040428][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.040465][    T1] prandom: seed boundary self test passed
[    0.043608][    T1] prandom: 100 self tests passed
[    0.043623][    T1] pinctrl core: initialized pinctrl subsystem
[    0.045011][    T1] NET: Registered protocol family 16
[    0.045647][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.046440][    T1] audit: initializing netlink subsys (disabled)
[    0.047616][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.047941][   T16] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.048097][    T1] cpuidle: using governor ladder
[    0.048182][    T1] cpuidle: using governor menu
[    0.048625][    T1] Feroceon L2: Enabling L2
[    0.048669][    T1] Feroceon L2: Cache support initialised.
[    0.057396][    T1] No ATAGs?
[    2.560056][    C0] random: fast init done
[    3.684648][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.704242][   T59] wait_for_initramfs() called before rootfs_initcalls
[    3.890279][    T1] raid6: int32x8  gen()   151 MB/s
[    4.060167][    T1] raid6: int32x8  xor()    92 MB/s
[    4.230146][    T1] raid6: int32x4  gen()   146 MB/s
[    4.400098][    T1] raid6: int32x4  xor()    96 MB/s
[    4.570179][    T1] raid6: int32x2  gen()   188 MB/s
[    4.740130][    T1] raid6: int32x2  xor()   114 MB/s
[    4.910193][    T1] raid6: int32x1  gen()   131 MB/s
[    5.080060][    T1] raid6: int32x1  xor()    78 MB/s
[    5.080073][    T1] raid6: using algorithm int32x2 gen() 188 MB/s
[    5.080084][    T1] raid6: .... xor() 114 MB/s, rmw enabled
[    5.080093][    T1] raid6: using intx1 recovery algorithm
[    5.080321][    T1] vgaarb: loaded
[    5.080792][    T1] SCSI subsystem initialized
[    5.081235][    T1] usbcore: registered new interface driver usbfs
[    5.081294][    T1] usbcore: registered new interface driver hub
[    5.081339][    T1] usbcore: registered new device driver usb
[    5.081514][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.081528][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.081555][    T1] PTP clock support registered
[    5.083055][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.163610][    T1] VFS: Disk quotas dquot_6.6.0
[    5.163705][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.176815][    T1] NET: Registered protocol family 2
[    5.176985][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.178026][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.178078][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.178149][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.178208][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.178403][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.178467][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.178502][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.178704][    T1] NET: Registered protocol family 1
[    5.183567][    T1] RPC: Registered named UNIX socket transport module.
[    5.183589][    T1] RPC: Registered udp transport module.
[    5.183598][    T1] RPC: Registered tcp transport module.
[    5.183607][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.183622][    T1] PCI: CLS 0 bytes, default 32
[    5.183780][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.184256][   T58] Trying to unpack rootfs image as initramfs...
[    6.506123][   T58] Freeing initrd memory: 9448K
[    6.952283][    T1] Initialise system trusted keyrings
[    6.952341][    T1] Key type blacklist registered
[    6.952568][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    6.952670][    T1] zbud: loaded
[    6.953939][    T1] NFS: Registering the id_resolver key type
[    6.953981][    T1] Key type id_resolver registered
[    6.953993][    T1] Key type id_legacy registered
[    6.954029][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.954051][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    6.954063][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.954299][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.954688][    T1] fuse: init (API version 7.34)
[    6.955048][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.955214][    T1] orangefs_init: module version upstream loaded
[    6.955230][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.031015][    T1] xor: measuring software checksum speed
[    7.037715][    T1]    arm4regs        :  1476 MB/sec
[    7.048757][    T1]    8regs           :   895 MB/sec
[    7.056377][    T1]    32regs          :  1302 MB/sec
[    7.056392][    T1] xor: using function: arm4regs (1476 MB/sec)
[    7.056411][    T1] async_tx: api initialized (async)
[    7.056426][    T1] Key type asymmetric registered
[    7.056437][    T1] Asymmetric key parser 'x509' registered
[    7.056488][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.056557][    T1] io scheduler bfq registered
[    7.205545][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.207105][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.207176][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.207212][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.207246][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.207280][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.207312][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.207344][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.207369][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.207629][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.207649][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.207668][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.207686][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.207704][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.207720][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.207735][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.207849][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.207882][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.209078][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.209108][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.209292][    T1] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330
[    7.209332][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    7.209484][    T1] pci 0000:01:00.0: PME# supported from D0 D3hot
[    7.209563][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    7.234112][    T1] PCI: bus1: Fast back to back transfers disabled
[    7.234139][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.234310][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    7.234334][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    7.234356][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    7.234384][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    7.234401][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    7.234506][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    7.234588][    T1] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    7.235084][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    7.293935][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.295948][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    7.353909][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    7.356176][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    7.357369][    T1] printk: console [ttyS0] disabled
[    7.357451][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    8.482785][    T1] printk: console [ttyS0] enabled
[    8.494673][    T1] loop: module loaded
[    8.499244][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.507979][    T1] scsi host0: sata_mv
[    8.512377][    T1] scsi host1: sata_mv
[    8.516487][    T1] ata1: SATA max UDMA/133 irq 32
[    8.521305][    T1] ata2: SATA max UDMA/133 irq 32
[    8.526933][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    8.534088][    T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[    8.539424][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    8.547963][    T1] Scanning device for bad blocks
[    8.576225][    T1] Bad eraseblock 226 at 0x000001c40000
[    8.605723][    T1] Bad eraseblock 460 at 0x000003980000
[    8.644416][    T1] Bad eraseblock 783 at 0x0000061e0000
[    8.654884][    T1] Bad eraseblock 833 at 0x000006820000
[    8.679898][    T1] 4 cmdlinepart partitions found on MTD device orion_nand
[    8.686912][    T1] Creating 4 MTD partitions on "orion_nand":
[    8.692778][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.699728][    T1] 0x000000100000-0x000000500000 : "uImage"
[    8.706591][    T1] 0x000000500000-0x000002500000 : "rootfs"
[    8.713542][    T1] 0x000002500000-0x000008000000 : "data"
[    8.720891][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.729504][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.740773][    T1] libphy: Fixed MDIO Bus: probed
[    8.746817][    T1] libphy: orion_mdio_bus: probed
[    8.765182][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.774323][    T1] mv643xx_eth: Set the PHY to fix link down
[    8.774889][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address ec:43:f6:40:84:91
[    8.790369][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.797719][    T1] ehci-pci: EHCI PCI platform driver
[    8.802968][    T1] ehci-orion: EHCI orion driver
[    8.807920][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.814218][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.822786][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    8.853075][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.860085][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.869184][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.877160][    T1] usb usb1: Product: EHCI Host Controller
[    8.882758][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.890202][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.896208][    T1] hub 1-0:1.0: USB hub found
[    8.900712][    T1] hub 1-0:1.0: 1 port detected
[    8.906119][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    8.912092][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    8.920573][    T1] xhci_hcd 0000:01:00.0: hcc params 0x014042c3 hci version 0x96 quirks 0x0000000000000004
[    8.930880][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.940016][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.947995][    T1] usb usb2: Product: xHCI Host Controller
[    8.953614][    T1] usb usb2: Manufacturer: Linux 5.13.6-kirkwood-tld-1 xhci-hcd
[    8.961046][    T1] usb usb2: SerialNumber: 0000:01:00.0
[    8.966903][    T1] hub 2-0:1.0: USB hub found
[    8.971407][    T1] hub 2-0:1.0: 2 ports detected
[    8.976733][    T1] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    8.982700][    T1] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[    8.990894][    T1] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    8.997998][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.007137][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    9.016170][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.024141][    T1] usb usb3: Product: xHCI Host Controller
[    9.029742][    T1] usb usb3: Manufacturer: Linux 5.13.6-kirkwood-tld-1 xhci-hcd
[    9.037213][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.044353][    T1] usb usb3: SerialNumber: 0000:01:00.0
[    9.050573][   T94] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
[    9.058202][    T1] hub 3-0:1.0: USB hub found
[    9.062719][    T1] hub 3-0:1.0: 2 ports detected
[    9.067491][   T94] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.075702][    T1] usbcore: registered new interface driver usb-storage
[    9.083043][    T1] mousedev: PS/2 mouse device common for all mice
[    9.089633][   T94] ata1.00: configured for UDMA/133
[    9.094926][    T1] i2c /dev entries driver
[    9.105939][    T1] rtc-pcf8563 0-0051: registered as rtc0
[    9.111842][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EZRX-00D 0A80 PQ: 0 ANSI: 5
[    9.121793][   T81] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    9.130418][    T1] rtc-pcf8563 0-0051: setting system clock to 2022-04-19T20:46:52 UTC (1650401212)
[    9.140014][   T81] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    9.146133][   T81] sd 0:0:0:0: [sda] Write Protect is off
[    9.151772][   T81] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.163692][    T1] device-mapper: uevent: version 1.0.3
[    9.169282][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    9.178842][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    9.186156][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    9.193527][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    9.200924][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.207781][   T17] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.215241][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.224162][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.230545][    T1] drop_monitor: Initializing network drop monitor service
[    9.237952][    T1] NET: Registered protocol family 10
[    9.244277][    T1] Segment Routing with IPv6
[    9.248685][    T1] RPL Segment Routing with IPv6
[    9.253544][    T1] NET: Registered protocol family 17
[    9.258903][    T1] Key type dns_resolver registered
[    9.264402][    T1] registered taskstats version 1
[    9.269223][    T1] Loading compiled-in X.509 certificates
[    9.275103][    T1] zswap: loaded using pool lzo/zbud
[    9.280491][    T1] Key type ._fscrypt registered
[    9.285302][    T1] Key type .fscrypt registered
[    9.289947][    T1] Key type fscrypt-provisioning registered
[    9.297206][    T1] Key type big_key registered
[    9.326216][    T1] Key type encrypted registered
[    9.424793][   T17] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.433779][   T17] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.441685][   T17] usb 1-1: Product: USB2.0 Hub
[    9.447087][   T17] hub 1-1:1.0: USB hub found
[    9.451917][   T17] hub 1-1:1.0: 4 ports detected
[    9.643090][   T96] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    9.652401][   T96] ata2.00: ATA-7: Hitachi HTS541680J9SA00, SB2OC7BP, max UDMA/100
[    9.660122][   T96] ata2.00: 156301488 sectors, multi 0: LBA48
[    9.670601][   T96] ata2.00: configured for UDMA/100
[    9.686059][   T58] scsi 1:0:0:0: Direct-Access     ATA      Hitachi HTS54168 C7BP PQ: 0 ANSI: 5
[    9.695903][    T7] sd 1:0:0:0: [sdb] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[    9.704694][    T7] sd 1:0:0:0: [sdb] Write Protect is off
[    9.710325][    T7] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.777152][   T81]  sda: sda1 sda2
[    9.782091][   T81] sd 0:0:0:0: [sda] Attached SCSI disk
[   10.109966][    T7]  sdb: sdb1 sdb2
[   10.115002][    T7] sd 1:0:0:0: [sdb] Attached SCSI disk
[   10.123446][    T1] Freeing unused kernel memory: 1024K
[   10.129395][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.135834][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   10.836722][  T138] input: gpio_keys as /devices/platform/gpio_keys/input/input0
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.ext3 (1) -- /dev/sdb1] fsck.ext3 -a -C0 /dev/sdb1
rootfs: clean, 22421/1221600 files, 685505/4884224 blocks
done.
[   22.598416][  T167] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[   22.812013][  T167] 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.
[   26.502385][    T1] systemd[1]: Inserted module 'autofs4'
[   26.766060][    T1] systemd[1]: systemd 247.3-7 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[   26.789958][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

[   26.880749][    T1] systemd[1]: Set hostname to <debian>.
[   29.234850][    T1] systemd[1]: Queued start job for default target Graphical Interface.
[   29.245286][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[   29.252928][    T1] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[   29.266175][    T1] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[   29.277121][    T1] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[   29.313344][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[   29.321698][    T1] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[   29.363316][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[   29.371664][    T1] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   29.414055][    T1] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   29.453744][    T1] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[   29.493711][    T1] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[   29.534350][    T1] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[   29.573754][    T1] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[   29.613774][    T1] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[   29.653588][    T1] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   29.684919][    T1] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   29.705914][    C0] random: crng init done
[   29.710042][    C0] random: 7 urandom warning(s) missed due to ratelimiting
[   29.724051][    T1] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[   29.763725][    T1] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   29.804465][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   29.844076][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   29.884193][    T1] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   29.924269][    T1] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   29.963974][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   30.004154][    T1] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[   30.017044][    T1] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   30.056569][    T1] systemd[1]: Mounting NFSD configuration filesystem...
         Mounting NFSD configuration filesystem...
[   30.106723][    T1] systemd[1]: Mounting RPC Pipe File System...
         Mounting RPC Pipe File System...
[   30.157448][    T1] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   30.207086][    T1] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[   30.253593][    T1] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[   30.268943][    T1] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st…odes for the current kernel...
[   30.317398][    T1] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   30.367644][    T1] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   30.417479][    T1] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   30.495266][    T1] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   30.505497][    T1] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   30.519578][    T1] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   30.597562][    T1] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   30.657170][    T1] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   30.727314][    T1] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   30.806097][    T1] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   30.874027][    T1] systemd[1]: Mounted NFSD configuration filesystem.
[  OK  ] Mounted NFSD configuration filesystem.
[   30.894254][    T1] systemd[1]: Mounted RPC Pipe File System.
[  OK  ] Mounted RPC Pipe File System.
[   30.954119][    T1] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debu[   30.963428][  T208] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
g File System.
[   30.999443][    T1] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[   31.055250][    T1] systemd[1]: Finished Create list of static device nodes for the current kernel.
[  OK  ] Finished Create list of st… nodes for the current kernel.
[   31.115344][    T1] systemd[1]: modprobe@configfs.service: Succeeded.
[   31.133277][    T1] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   31.175453][    T1] systemd[1]: modprobe@drm.service: Succeeded.
[   31.193270][    T1] systemd[1]: Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module drm.
[   31.234132][    T1] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Activating swap /swapfile...
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting pNFS block layout mapping daemon...
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started pNFS block layout mapping daemon.
[  OK  ] Finished Coldplug All udev Devices.
[   32.040953][  T204] systemd-journald[204]: Received client request to flush runtime journal.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[   34.193169][  T211] Adding 1048572k swap on /swapfile.  Priority:-2 extents:18 across:11426500k FS
[  OK  ] Activated swap /swapfile.
[  OK  ] Reached target Swap.
         Mounting /tmp...
[  OK  ] Mounted /tmp.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Found device /dev/ttyS0.
[   35.261871][  T227] orion_wdt: Initial timeout 21 sec
[   35.511534][  T234] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   35.602926][  T234] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   35.727121][  T229] marvell-cesa f1030000.crypto: CESA device successfully registered
[  OK  ] Found device Hitach[   36.548972][  T272] md0: detected capacity change from 0 to 3905993857
i_HTS541680J9SA00 2.
         Mounting /srv/sdb2...
[   36.606278][  T275] EXT4-fs (sdb2): mounting ext3 file system using the ext4 subsystem
[  OK  ] Found device /dev/md0.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[   37.368953][  T275] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[  OK  ] Mounted /srv/sdb2.
         Mounting /srv/nsa325...
[   37.923902][  T279] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[  OK  ] Mounted /srv/nsa325.
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Preprocess NFS configuration...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Preprocess NFS configuration.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Reached target NFS client services.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting RPC bind portmap service...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting User Login Management...
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Started RPC bind portmap service.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Started User Login Management.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[***   ] A start job is running for Raise network interfaces (16s / 5min 8s)
[   44.546805][  T327] mv643xx_eth: Set the PHY back to auto-negotiation mode
[   46.285167][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting NFS Mount Daemon...
         Starting Samba NMB Daemon...
         Starting Network Time Service...
         Starting /etc/rc.local Compatibility...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started NFS Mount Daemon.
         Starting NFS server and services...
[   55.240920] rc.local[393]: /etc/rc.local: 116: cannot create /sys/class/leds/zyxel:blue:status/trigger: Directory nonexistent
[FAILED] Failed to start /etc/rc.local Compatibility.
See 'systemctl status rc-local.service' for details.
[  OK  ] Started Network Time Service.
[  OK  ] Started OpenBSD Secure Shell server.
[   56.321578][  T403] NFSD: Using UMH upcall client tracking operations.
[   56.328233][  T403] NFSD: starting 90-second grace period (net f000001c)
[  OK  ] Finished NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Starts syslogd...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Starts syslogd.
         Starting LSB: Starts klogd...
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Started Samba NMB Daemon.
         Starting Samba SMB Daemon...
[  OK  ] Started Samba SMB Daemon.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.

Debian GNU/Linux 11 debian ttyS0

debian login: root
Password:
Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Apr 19 22:40:18 CEST 2022 on ttyS0
debian
192.168.1.5
ZyXEL NSA325
Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
Debian 11.3
Tue Apr 19 22:48:01 CEST 2022 up 1 minute
root@debian:~#

Thanks very much bodhi for the assistance.



Edited 2 time(s). Last edit at 04/19/2022 04:00PM by miazza.
Re: Kernel errors after change rootf from USB to SATA.
April 20, 2022 03:46PM
miazza,

>
> fw_setenv mtdparts 'xxxxxxxxx'
>
> I have not understood what should be the xxxxxx

Here in the stock envs that you've post the log above:

Quote

console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)

So,

fw_setenv mtdparts 'orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)'

> Also, I did not set arcNumber and machid.

No longer need to.

> So, now, only for my reference, what would be the
> procedure to restore the stock firmware ?

I've already post that in the u-boot thread:

https://forum.doozan.com/read.php?3,128769,132035#msg-132035

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

Your Email:


Subject:


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