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.
This is the lsblk of the SATA roots boot
This is the lsblk of the working USB roots (I have rebooted just inserting the USB and it works even with two rootf).
Thanks for help.
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.