Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 21, 2021 07:51PM
Tried the 2021 uboot twice.

First time, about 20 seconds after stuck.

2nd time, about 10 minutes or more.
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 21, 2021 08:01PM
David,

OK. So suggested plan B:

kwboot with 2017.07 Sheevaplug u-boot.

1. But put the real MAC address hardcoded in /etc/network/interfaces. If it does not give dynamic IP then

2. kwboot again with static IP in /etc/network/interfaces.

The reason I think we should try those workarounds to see what will happen: before u-boot starting the Linux kernel, it shuts down Ethernet completely. So what really relevant for network card is specified in the DTS. It is like starting from scratch, except for the MAC address that is passed from u-boot to kernel.

In addition, if the PHY address were wrong, then we would not have seen the network link up like we did.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 21, 2021 08:43PM
root@debian:~# cat /etc/network/interfaces
auto lo eth0
iface lo inet loopback
iface eth0 inet static
        address 192.168.7.222
        netmask 255.255.255.0
        gateway 192.168.7.1
        hwaddress ether 00:25:25:00:8C:54


root@debian:~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.222  netmask 255.255.255.0  broadcast 192.168.7.255
        ether 00:25:25:00:8c:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 17  bytes 1254 (1.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 35

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 16  bytes 1564 (1.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 16  bytes 1564 (1.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


root@debian:~# ping 192.168.7.222
PING 192.168.7.222 (192.168.7.222) 56(84) bytes of data.
64 bytes from 192.168.7.222: icmp_seq=1 ttl=64 time=0.134 ms
64 bytes from 192.168.7.222: icmp_seq=2 ttl=64 time=0.097 ms
^C
--- 192.168.7.222 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 40ms
rtt min/avg/max/mdev = 0.097/0.115/0.134/0.021 ms

root@debian:~# ping 192.168.7.1
PING 192.168.7.1 (192.168.7.1) 56(84) bytes of data.
From 192.168.7.222 icmp_seq=1 Destination Host Unreachable
From 192.168.7.222 icmp_seq=2 Destination Host Unreachable
From 192.168.7.222 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.7.1 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 173ms
pipe 4

Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 21, 2021 08:45PM
I actually tried to use ifconfig and set eth0 to a static IP address before, about the same results as above.
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 21, 2021 11:25PM
Is the C200 connected to a switch in the network or directly to the router (.1)? IOW, if the C200 is connected to a switch, can you ping another box on the same switch?

And, wondering out loud, if you boot from stock u-boot and use appended DTB uImage, would the network behavior be different?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 22, 2021 08:27AM
C200 is connected to a switch. There's a PC on the same switch. PC and c200 can not ping each other. PC can ping other things, including the devices on other switches / router.

I tried to replace the ethernet cable (used another cable on the same switch), same result. However, this showed up on the console

root@debian:~# [   93.218601][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[  101.006112][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled

It is not possible to stop the stock u-boot. So I can not try the embeded dtb method.



Edited 1 time(s). Last edit at 12/22/2021 08:30AM by daviddyer.
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 22, 2021 02:57PM
> It is not possible to stop the stock u-boot. So I
> can not try the embeded dtb method.

Do you have the stock boot log you can post?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 22, 2021 03:26PM
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 22, 2021 08:12PM
Maybe there's hardware error on the box's ethernet. But the LEDs did flash... :-(

However, when I booted the original firmware, I was NOT able to find an IP address of the box in my router's DHCP list

Anyway, I reported this to the seller and seller told me he would send me a replacement.

Now back to step 0..... waiting for the new shipment.



Edited 2 time(s). Last edit at 12/22/2021 08:13PM by daviddyer.
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 22, 2021 09:18PM
> However, when I booted the original firmware, I
> was NOT able to find an IP address of the box in
> my router's DHCP list

That's good to hear. We should have done this at the first sign of trouble, though :))

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 23, 2021 11:12AM
The most common problem for these boxes is the power supply. I experienced 3 failed power supply for goflexhome / dreamplug / external HD power supply. This is the first one to have a failed Ethernet.
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 27, 2021 09:54PM
Well, since this box supports kwboot, I don't need to fear of bricking it. I just flashed the sheevaplug uboot / ubootenv to it. And it booted debian as expected.... Of course, network is still not OK. I added an usb-ethernet adapter to it and I can access the network now. This confirms the original ethernet error.

Continue to wait for the replacement...
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 30, 2021 09:05PM
Still waiting for the replacement...

Meanwhile, I added two SATA hard drives to the system and both worked. One is the 16GB SSD from Dell Kace M300, the other is an old mechanical drive (250GB). Seems both of them worked.



U-Boot 2017.07-tld-2 (Dec 04 2017 - 02:00:45 -0800)
Marvell-Sheevaplug

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

Reset IDE: Bus 0: ......OK Bus 1: OK
  Device 0: Model: WDC WD2500AAKX-75U6AA0 Firm: 19.01H19 Ser#:  WD-WMC2F0015169
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
  Device 1: Model: TS16GSSD25H-M  Firm: 20100712 Ser#: 20110509426532054727
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 15272.0 MB = 14.9 GB (31277056 x 512)
Loading envs from usb 0...
** File not found /boot/uEnv.txt **
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...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Loading envs from ide 1...
reading /boot/uEnv.txt
** Unable to read file /boot/uEnv.txt **
Loading envs from ide 2...
** Bad device ide 2 **
Loading envs from ide 3...
** Bad device ide 3 **
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 507 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5576016 bytes read in 959 ms (5.5 MiB/s)
loading uInitrd ...
10882298 bytes read in 1483 ms (7 MiB/s)
loading DTB /boot/dts/kirkwood-sheevaplug.dtb ...
12173 bytes read in 2722 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.9.12-kirkwood-tld-1
   Created:      2021-11-11  15:06:18 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5575952 Bytes = 5.3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.9.12-kirkwood-tld-1
   Created:      2021-12-30   2:28:40 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10882234 Bytes = 10.4 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 0f59f000, end 0ffffcba ... OK
   Loading Device Tree to 0f599000, end 0f59ef8c ... 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.9.12-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 Dec 5 14:05:39 PST 2020
[    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: Ctera C200 V1
[    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) net.ifnames=0
[    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: 491248K/524288K available (10240K kernel code, 1096K rwdata, 4144K rodata, 1024K init, 316K bss, 33040K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x404/0x790 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Rude 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.000009][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000054][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000846][    T0] Console: colour dummy device 80x30
[    0.000900][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000929][    T0] pid_max: default: 32768 minimum: 301
[    0.001351][    T0] LSM: Security Framework initializing
[    0.001503][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001533][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002907][    T0] CPU: Testing write buffer coherency: ok
[    0.004775][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.005083][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.005402][    T1] rcu: Hierarchical SRCU implementation.
[    0.006715][    T1] devtmpfs: initialized
[    0.013757][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013799][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.014070][    T1] xor: measuring software checksum speed
[    0.110121][    T1]    arm4regs  :  1088.800 MB/sec
[    0.210079][    T1]    8regs     :   654.000 MB/sec
[    0.310078][    T1]    32regs    :   950.400 MB/sec
[    0.310099][    T1] xor: using function: arm4regs (1088.800 MB/sec)
[    0.310124][    T1] prandom: seed boundary self test passed
[    0.314304][    T1] prandom: 100 self tests passed
[    0.314317][    T1] pinctrl core: initialized pinctrl subsystem
[    0.315861][    T1] NET: Registered protocol family 16
[    0.316705][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.317762][    T1] audit: initializing netlink subsys (disabled)
[    0.319177][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.319538][   T16] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.319675][    T1] cpuidle: using governor ladder
[    0.319758][    T1] cpuidle: using governor menu
[    0.320350][    T1] Feroceon L2: Enabling L2
[    0.320401][    T1] Feroceon L2: Cache support initialised.
[    0.336681][    T1] No ATAGs?
[    2.560060][    C0] random: fast init done
[    5.410448][    T1] raid6: int32x8  gen()   109 MB/s
[    5.580200][    T1] raid6: int32x8  xor()    69 MB/s
[    5.750205][    T1] raid6: int32x4  gen()   109 MB/s
[    5.920149][    T1] raid6: int32x4  xor()    72 MB/s
[    6.090104][    T1] raid6: int32x2  gen()   141 MB/s
[    6.260071][    T1] raid6: int32x2  xor()    85 MB/s
[    6.430280][    T1] raid6: int32x1  gen()    98 MB/s
[    6.600281][    T1] raid6: int32x1  xor()    60 MB/s
[    6.600293][    T1] raid6: using algorithm int32x2 gen() 141 MB/s
[    6.600302][    T1] raid6: .... xor() 85 MB/s, rmw enabled
[    6.600312][    T1] raid6: using intx1 recovery algorithm
[    6.600572][    T1] vgaarb: loaded
[    6.601147][    T1] SCSI subsystem initialized
[    6.601677][    T1] usbcore: registered new interface driver usbfs
[    6.601760][    T1] usbcore: registered new interface driver hub
[    6.601851][    T1] usbcore: registered new device driver usb
[    6.602082][    T1] pps_core: LinuxPPS API ver. 1 registered
[    6.602094][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    6.602124][    T1] PTP clock support registered
[    6.603798][    T1] clocksource: Switched to clocksource orion_clocksource
[    8.143152][    T1] VFS: Disk quotas dquot_6.6.0
[    8.143259][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    8.154318][    T1] NET: Registered protocol family 2
[    8.155197][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    8.155246][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    8.155316][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    8.155370][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    8.155599][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    8.155667][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    8.155699][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    8.155920][    T1] NET: Registered protocol family 1
[    8.156684][    T1] RPC: Registered named UNIX socket transport module.
[    8.156698][    T1] RPC: Registered udp transport module.
[    8.156707][    T1] RPC: Registered tcp transport module.
[    8.156716][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    8.156732][    T1] PCI: CLS 0 bytes, default 32
[    8.157049][    T1] Trying to unpack rootfs image as initramfs...
[    9.072147][    T1] Freeing initrd memory: 10628K
[    9.072361][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    9.083163][    T1] Initialise system trusted keyrings
[    9.083222][    T1] Key type blacklist registered
[    9.083455][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    9.083564][    T1] zbud: loaded
[    9.085130][    T1] NFS: Registering the id_resolver key type
[    9.085166][    T1] Key type id_resolver registered
[    9.085178][    T1] Key type id_legacy registered
[    9.085224][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    9.085243][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.085538][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    9.086062][    T1] fuse: init (API version 7.31)
[    9.086462][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    9.086676][    T1] orangefs_init: module version upstream loaded
[    9.086690][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    9.189943][    T1] async_tx: api initialized (async)
[    9.189970][    T1] Key type asymmetric registered
[    9.189981][    T1] Asymmetric key parser 'x509' registered
[    9.190041][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    9.190154][    T1] io scheduler bfq registered
[    9.388852][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    9.390848][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    9.390915][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    9.390956][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    9.390984][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    9.391285][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    9.391308][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    9.391329][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    9.391345][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    9.391360][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    9.391496][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    9.391531][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    9.393067][    T1] PCI: bus0: Fast back to back transfers disabled
[    9.393098][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    9.394420][    T1] PCI: bus1: Fast back to back transfers enabled
[    9.394449][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    9.394659][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    9.394679][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    9.395371][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    9.454859][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.457534][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    9.514846][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.517771][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    9.519217][    T1] printk: console [ttyS0] disabled
[    9.519311][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[   10.471334][    T1] printk: console [ttyS0] enabled
[   10.485106][    T1] loop: module loaded
[   10.489769][    T1] sata_mv f1080000.sata: slots 32 ports 2
[   10.499348][    T1] scsi host0: sata_mv
[   10.503939][    T1] scsi host1: sata_mv
[   10.508069][    T1] ata1: SATA max UDMA/133 irq 32
[   10.512886][    T1] ata2: SATA max UDMA/133 irq 32
[   10.519006][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[   10.526181][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit
[   10.531520][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   10.539900][    T1] Scanning device for bad blocks
[   10.577462][    T1] Bad eraseblock 306 at 0x000002640000
[   10.608772][    T1] Bad eraseblock 550 at 0x0000044c0000
[   10.642442][    T1] Bad eraseblock 816 at 0x000006600000
[   10.661389][    T1] Bad eraseblock 944 at 0x000007600000
[   10.742908][    T1] Bad eraseblock 1658 at 0x00000cf40000
[   10.784472][    T1] Bad eraseblock 1996 at 0x00000f980000
[   10.795401][    T1] 4 cmdlinepart partitions found on MTD device orion_nand
[   10.802425][    T1] Creating 4 MTD partitions on "orion_nand":
[   10.808336][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   10.815540][    T1] 0x000000100000-0x000000500000 : "uImage"
[   10.822731][    T1] 0x000000500000-0x000002500000 : "rootfs"
[   10.830034][    T1] 0x000002500000-0x000010000000 : "data"
[   10.838564][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   10.847253][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   10.859084][    T1] libphy: Fixed MDIO Bus: probed
[   10.865267][    T1] libphy: orion_mdio_bus: probed
[   10.886980][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   11.013851][   T88] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   11.053880][   T88] ata1.00: ATA-8: WDC WD2500AAKX-75U6AA0, 19.01H19, max UDMA/133
[   11.061488][   T88] ata1.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   11.075712][   T88] ata1.00: configured for UDMA/133
[   11.091247][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD2500AAKX-7 1H19 PQ: 0 ANSI: 5
[   11.101373][   T92] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/233 GiB)
[   11.110211][   T92] sd 0:0:0:0: [sda] Write Protect is off
[   11.115951][   T92] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   11.143388][   T92]  sda: sda1 sda2 sda3
[   11.149329][   T92] sd 0:0:0:0: [sda] Attached SCSI disk
[   11.574717][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:25:00:8c:54
[   11.584361][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.591641][    T1] ehci-pci: EHCI PCI platform driver
[   11.596894][    T1] ehci-orion: EHCI orion driver
[   11.601842][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   11.608134][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   11.616588][   T90] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   11.623961][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   11.632984][   T90] ata2.00: ATA-7: TS16GSSD25H-M, 20100712, max UDMA/133
[   11.639832][   T90] ata2.00: 31277056 sectors, multi 0: LBA48
[   11.652460][   T90] ata2.00: configured for UDMA/133
[   11.657498][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   11.664598][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[   11.673607][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   11.682013][   T58] scsi 1:0:0:0: Direct-Access     ATA      TS16GSSD25H-M    0712 PQ: 0 ANSI: 5
[   11.690889][    T1] usb usb1: Product: EHCI Host Controller
[   11.696512][    T1] usb usb1: Manufacturer: Linux 5.9.12-kirkwood-tld-1 ehci_hcd
[   11.705361][   T92] sd 1:0:0:0: [sdb] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB)
[   11.714091][   T92] sd 1:0:0:0: [sdb] Write Protect is off
[   11.719715][    T1] usb usb1: SerialNumber: f1050000.ehci
[   11.725249][   T92] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   11.735762][    T1] hub 1-0:1.0: USB hub found
[   11.740277][    T1] hub 1-0:1.0: 1 port detected
[   11.746362][    T1] usbcore: registered new interface driver usb-storage
[   11.755569][    T1] mousedev: PS/2 mouse device common for all mice
[   11.763935][    T1] i2c /dev entries driver
[   11.771008][   T92]  sdb: sdb1 sdb2
[   11.778125][   T92] sd 1:0:0:0: [sdb] Attached SCSI disk
[   11.786260][    T1] rtc-s35390a 0-0030: registered as rtc0
[   11.792849][    T1] rtc-s35390a 0-0030: setting system clock to 2021-12-31T02:47:49 UTC (1640918869)
[   11.803375][    T1] device-mapper: uevent: version 1.0.3
[   11.809154][    T1] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com
[   11.818866][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   11.826217][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   11.833563][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   11.841031][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   11.847885][    T1] device-mapper: raid: Loading target version 1.15.1
[   11.857676][    T1] hid: raw HID events driver (C) Jiri Kosina
[   11.863991][    T1] drop_monitor: Initializing network drop monitor service
[   11.871447][    T1] NET: Registered protocol family 10
[   11.877953][    T1] Segment Routing with IPv6
[   11.882333][    T1] RPL Segment Routing with IPv6
[   11.887206][    T1] NET: Registered protocol family 17
[   11.892616][    T1] Key type dns_resolver registered
[   11.898174][    T1] registered taskstats version 1
[   11.902993][    T1] Loading compiled-in X.509 certificates
[   11.908666][    T1] zswap: loaded using pool lzo/zbud
[   11.914187][    T1] Key type ._fscrypt registered
[   11.918914][    T1] Key type .fscrypt registered
[   11.923551][    T1] Key type fscrypt-provisioning registered
[   11.931490][    T1] Key type big_key registered
[   11.967092][    T1] Key type encrypted registered
[   11.978086][    T1] Freeing unused kernel memory: 1024K
[   12.004753][    T1] Checked W+X mappings: passed, no W+X pages found
[   12.011160][    T1] Run /init as init process
Loading, please wait...
[   12.114190][  T100] usb 1-1: new high-speed USB device number 2 using orion-ehci
Starting version 241
[   12.324502][  T100] usb 1-1: New USB device found, idVendor=0409, idProduct=005a, bcdDevice= 1.00
[   12.333443][  T100] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   12.376174][  T100] hub 1-1:1.0: USB hub found
[   12.385863][  T100] hub 1-1:1.0: 4 ports detected
[   12.723903][  T100] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[   12.896996][  T100] usb 1-1.1: New USB device found, idVendor=0951, idProduct=1603, bcdDevice= 2.00
[   12.913957][  T100] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.922005][  T100] usb 1-1.1: Product: DataTraveler 2.0
[   12.928120][  T139] input: keys as /devices/platform/keys/input/input0
[   12.956743][  T100] usb 1-1.1: Manufacturer: Kingston
[   12.961830][  T100] usb 1-1.1: SerialNumber: 01200000000000000001C1BC
[   12.994207][  T100] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[   13.018384][  T100] scsi host2: usb-storage 1-1.1:1.0
[   13.133892][  T100] usb 1-1.2: new high-speed USB device number 4 using orion-ehci
[   13.305385][  T100] usb 1-1.2: New USB device found, idVendor=148f, idProduct=7601, bcdDevice= 0.00
[   13.321947][  T100] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   13.338411][  T100] usb 1-1.2: Product: 802.11 n WLAN
[   13.343496][  T100] usb 1-1.2: Manufacturer: MediaTek
[   13.359549][  T100] usb 1-1.2: SerialNumber: 1.0
[   13.717443][  T139] usbcore: registered new interface driver uas
[   14.084945][   T92] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
[   14.100167][   T58] sd 2:0:0:0: [sdc] 1952768 512-byte logical blocks: (1000 MB/954 MiB)
[   14.114415][   T58] sd 2:0:0:0: [sdc] Write Protect is off
[   14.122269][   T58] sd 2:0:0:0: [sdc] No Caching mode page found
[   14.128420][   T58] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[   14.220887][   T58]  sdc: sdc1
[   14.233968][   T58] 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.
[   25.647175][  T153] process '/usr/bin/fstype' started with executable stack
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sdc1] fsck.ext3 -a -C0 /dev/sdc1
rootfs: clean, 18946/61056 files, 168528/243840 blocks
done.
[   25.936297][  T163] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   26.014721][  T163] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting hotplug events dispatcher: systemd-udevd[   28.045751][  T327] systemd-udevd[327]: Network interface NamePolicy= disabled on kernel command line, ignoring.
. ok
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[ ok ] Synthesizing the initial hotplug events (devices)...done.
[   29.259433][  T373] systemd-udevd[373]: Using default interface naming scheme 'v240'.
[....] Waiting for /dev to be fully populated...[   29.434509][  T373] systemd-udevd[373]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   29.524192][    C0] random: crng init done
[   29.698880][  T352] orion_wdt: Initial timeout 21 sec
[   29.851545][  T350] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   29.926334][  T350] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   30.014142][  T350] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   30.304275][  T372] marvell-cesa f1030000.crypto: CESA device successfully registered
[   30.458463][  T371] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   30.633644][  T372] systemd-udevd[372]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   31.423324][  T371] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   31.465440][    T5] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   31.482517][    T5] cfg80211: failed to load regulatory.db
[   31.683839][  T371] usb 1-1.2: reset high-speed USB device number 4 using orion-ehci
[   31.836969][  T371] mt7601u 1-1.2:1.0: ASIC revision: 76010001 MAC revision: 76010500
[   31.858836][  T371] mt7601u 1-1.2:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
[   32.301847][  T371] mt7601u 1-1.2:1.0: EEPROM ver:0d fae:00
[   32.538948][  T371] usbcore: registered new interface driver mt7601u
[   32.552933][  T351] systemd-udevd[351]: Using default interface naming scheme 'v240'.
[   32.579662][  T351] systemd-udevd[351]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
done.
[ ok ] Setting hostname to 'debian'...done.
[ ok ] Activating swap:.
[   34.651786][  T603] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro
[   34.986991][  T448] wlan0: authenticate with ac:9e:17:6c:89:40
[   35.060287][  T448] wlan0: send auth to ac:9e:17:6c:89:40 (try 1/3)
[   35.069653][   T58] wlan0: authenticated
[   35.083946][   T58] wlan0: associate with ac:9e:17:6c:89:40 (try 1/3)
[   35.094860][   T92] wlan0: RX AssocResp from ac:9e:17:6c:89:40 (capab=0x1011 status=0 aid=4)
[   35.157751][   T92] wlan0: associated
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs[ ok hat location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[....] Will now mount local filesystems[   36.714822][  T448] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[.ok
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[ ok ] Initializing random number generator...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:25:00:8c:54
Sending on   LPF/eth0/00:25:25:00:8c:54
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
[   42.327640][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
ifup: interface wlan0 already configured
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1417 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1444 (klogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 debian ttyS0


Login with root

root@debian:~# mount /dev/sda2 /mnt
[  132.239195][ T1677] ntfs: driver 2.1.32 [Flags: R/W MODULE].
[  132.315364][ T1676] ntfs: volume version 3.1.
root@debian:~# mount /dev/sdb2 /mnt1
[  163.918556][ T1681] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
root@debian:~# df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev              245624        0    245624   0% /dev
tmpfs              50292      216     50076   1% /run
/dev/sdc1         943608   642372    301236  69% /
tmpfs               5120        0      5120   0% /run/lock
tmpfs             100580        0    100580   0% /dev/shm
tmpfs             251448        0    251448   0% /tmp
/dev/sda2      243626308 28469636 215156672  12% /mnt
/dev/sdb2       15124892  8243060   6865448  55% /mnt1



Edited 1 time(s). Last edit at 12/30/2021 09:13PM by daviddyer.
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 30, 2021 09:08PM
Raw reading speed. The 16GB "SSD" is slower than the rusty drive.

root@debian:~# dd if=/dev/sda of=/dev/null bs=4M count=512
512+0 records in
512+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 16.4944 s, 130 MB/s
root@debian:~# dd if=/dev/sdb of=/dev/null bs=4M count=512
512+0 records in
512+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 23.641 s, 90.8 MB/s



Edited 1 time(s). Last edit at 12/30/2021 09:11PM by daviddyer.
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 30, 2021 09:23PM
David,

> Meanwhile, I added two SATA hard drives to the
> system and both worked. One is the 16GB SSD from
> Dell Kace M300, the other is an old mechanical
> drive (250GB). Seems both of them worked.

Fantastic! you're are inspiring me to roll a new u-boot for this box :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
December 30, 2021 10:35PM
Go ahead. This box can do uart booting. We don't need to worry about bricking it.
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 05, 2022 09:09PM
Well, got another one from another seller. The original seller forgot to ship the replacement during the holidays... He refunded me instead.

This one definitely has a working ethnet port. I can see the IP address of the Mac from the C200

Boot with the original firmware (It seems we can not stop the original u-boot)

Bootlog below. It did get an ipaddress from DHCP. 192.168.7.248

I can see this IP with the matching Mac from router's web interface.




root@raspberrypi:~/c200# picocom -b 115200 -r -l /dev/ttyAMA0
picocom v1.7

port is        : /dev/ttyAMA0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : yes
nolock is      : yes
send_cmd is    : sz -vv
receive_cmd is : rz -vv
imap is        :
omap is        :
emap is        : crcrlf,delbs,

Terminal ready
▒
         ____ ____
        /  __|_  _|_  _ _ __ _
        | |    | / _ \ '_/ _` |
        | |__  ||  __/ | |(_| |
 _   _  \____| |_\___|_| \__,_|
| | | |  | __ )  ___   ___ | |_
| | | |__|  _ \ / _ \ / _ \| __|
| |_| |__| |_) | (_) | (_) | |_
 \___/   |____/ \___/ \___/ \__|

   ** CTera BootCode: 14, CTera Board: 2Drive_K **

 ** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Jul  8 2012 - 10:52:36) Marvell version: 3.4.18

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006D0420

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
using default environment


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
CTera device parameters:
------------------------
mac = 00:25:25:00:6d:f2
board_id = 2Drive_K
product_id = C200
vendor_id = <not set>
sn = S124502001169
extra = <not set>

Net:   egiga0 [PRIME], egiga1
CTera starting up ...
Loading "bank2" ...

........................................
........................................
........................................
........................................
........................................
...................................
    ** image (1/2) **
Type:          kernel
Arch:          Kirkwood
Board          Any
Date:          Mon Nov 20 18:59:25 IST 2017
Version:       5.6.314.32739
Run address:   0x0
Kernel cmd:    console=ttyS0,115200 root=/dev/ram0 user_debug=31
Image Offset:  0x600
Image Size:    0x32d17c
Firm Offset:   0x0
Firm Size:     0x32dc00
MD5:           868d1fdf15e95bfb805675e7b40bb588
    ** image (2/2) **
Type:          romdisk
InitRD:        Yes
Arch:          Kirkwood
Board          Any
Date:          Mon Nov 20 18:59:26 IST 2017
Version:       5.6.314.32739
Image Offset:  0x32e200
Image Size:    0x1a1e040
Firm Offset:   0x32dc00
Firm Size:     0x1a1ec00
MD5:           8168b000bf4cc502e7bb52913dc50918

Running kernel from 0x2000600, size 0x32d17c ...
Setting romdisk at 0x232e200, size 0x1a1e040 ...
## Booting image at 02000600 ...
   Image Name:   CTera_kernel
   Created:      2017-11-20  16:21:17 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3330364 Bytes =  3.2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 0232e200 ...
   Image Name:   CTera_romdisk
   Created:      2017-11-20  16:59:25 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    27385856 Bytes = 26.1 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.35-an_kirkwood-g8318366-dirty (build@zoozi-14-build) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #1 Mon Nov 20 14:57:41 IST 2017
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Ctera 2Bay K
Ignoring unrecognised tag 0x41000403
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: console=ttyS0,115200 root=/dev/ram0 user_debug=31
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256MB 256MB = 512MB total
Memory: 486832k/486832k available, 37456k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xe0800000 - 0xfe800000   ( 480 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc002d000   ( 148 kB)
      .text : 0xc002d000 - 0xc05ad000   (5632 kB)
      .data : 0xc05ca000 - 0xc05f6b40   ( 179 kB)
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:114
Console: colour dummy device 80x30
Calibrating delay loop... 1199.30 BogoMIPS (lpj=5996544)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
xor: measuring software checksum speed
   arm4regs  :  1059.200 MB/sec
   8regs     :   744.400 MB/sec
   32regs    :   827.200 MB/sec
xor: using function: arm4regs (1059.200 MB/sec)
NET: Registered protocol family 16
Kirkwood: MV88F6281-A1, TCLK=200000000.
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
PCI: bus0: Fast back to back transfers disabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
raid6: int32x1    116 MB/s
raid6: int32x2    127 MB/s
raid6: int32x4    145 MB/s
raid6: int32x8    114 MB/s
raid6: using algorithm int32x4 (145 MB/s)
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (junk in compressed archive); looks like an initrd
Freeing initrd memory: 26744K
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.4 (2008/08/26) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Slow work thread pool: Starting up
Slow work thread pool: Ready
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.14)
msgmni has been set to 1003
alg: No test for stdrng (krng)
async_tx: api initialized (async)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
CTera driver version: 1.1
sata_mv sata_mv.0: version 1.28
sata_mv multiplex active and presence indication on the same LED
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 21
ata2: SATA max UDMA/133 irq 21
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 490 at 0x000003d40000
Bad eraseblock 565 at 0x0000046a0000
Bad eraseblock 787 at 0x000006260000
Bad eraseblock 852 at 0x000006a80000
Bad eraseblock 1016 at 0x000007f00000
Bad eraseblock 1595 at 0x00000c760000
Bad eraseblock 1800 at 0x00000e100000
Bad eraseblock 1819 at 0x00000e360000
Bad eraseblock 1855 at 0x00000e7e0000
Creating 10 MTD partitions on "orion_nand":
0x000000700000-0x000002f00000 : "romdisk"
0x000000000000-0x000000200000 : "u-boot"
0x000000200000-0x000000300000 : "certificate"
0x000000300000-0x000000400000 : "preset_cfg"
0x000000400000-0x000000500000 : "dev_params"
0x000000500000-0x000000600000 : "active_bank"
0x000000600000-0x000000700000 : "magic"
0x000000700000-0x000002f00000 : "bank1"
0x000002f00000-0x000005700000 : "bank2"
Setup romdisk MTD parition (0x00000322e240-0x000005700000)
0x000005a00000-0x000007a00000 : "ubi"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:25:25:00:6d:f2
Fusion MPT base driver 3.04.15
Copyright (c) 1999-2008 LSI Corporation
Fusion MPT SPI Host driver 3.04.15
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Marvell Orion EHCI
usb usb1: Manufacturer: Linux 2.6.35-an_kirkwood-g8318366-dirty ehci_hcd
usb usb1: SerialNumber: orion-ehci.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-alauda
usbcore: registered new interface driver ums-cypress
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-isd200
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-karma
usbcore: registered new interface driver ums-onetouch
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
input: gpio-keys as /class/input/input0
ata1: SATA link down (SStatus 0 SControl F300)
usb 1-1: new high speed USB device using orion-ehci and address 2
usb 1-1: New USB device found, idVendor=0409, idProduct=005a
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
ata2: SATA link down (SStatus 0 SControl F300)
usb 1-1.2: new high speed USB device using orion-ehci and address 3
usb 1-1.2: New USB device found, idVendor=0951, idProduct=1603
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: DataTraveler 2.0
usb 1-1.2: Manufacturer: Kingston
usb 1-1.2: SerialNumber: 01200000000000000001C1BC
scsi2 : usb-storage 1-1.2:1.0
rtc-mv rtc-mv: internal RTC not ticking
rtc-s35390a 0-0030: rtc core: registered rtc-s35390a as rtc0
Orion Watchdog Timer: Initial timeout 21 sec, nowayout
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md: faulty personality registered for level -5
device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel@redhat.com
cpuidle: using governor ladder
cpuidle: using governor menu
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
rtc-s35390a 0-0030: setting system clock to 2022-01-06 01:40:54 UTC (1641433254)
md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
RAMDISK: squashfs(lzma) filesystem found at block 0
RAMDISK: Loading 26744KiB [1 disk] into ram disk... /
scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
/
sd 2:0:0:0: Attached scsi generic sg0 type 0
scsi_softirq_done err=1 done=1 req=1
|
sd 2:0:0:0: [sda] 1952768 512-byte logical blocks: (999 MB/953 MiB)
scsi_softirq_done err=1 done=1 req=1
scsi_softirq_done err=1 done=1 req=1
sd 2:0:0:0: [sda] Write Protect is off
scsi_softirq_done err=1 done=1 req=1
sd 2:0:0:0: [sda] Assuming drive cache: write through
scsi_softirq_done err=1 done=1 req=1
scsi_softirq_done err=1 done=1 req=1
scsi_softirq_done err=1 done=1 req=1
scsi_softirq_done err=1 done=6 req=6
-
sd 2:0:0:0: [sda] Assuming drive cache: write through
 sda:done.
 sda1
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Attached SCSI removable disk
VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
Freeing init memory: 148K
init started: BusyBox v1.13.4 (2017-11-20 14:58:20 IST)
starting pid 715, tty '': '/etc/init.d/rcS'
libc-2.10.1.so
Kirkwood Platform-specific init - started
ssldev: Crypto device
ssldev: (C) 2010 CTERA Networks Ltd.
64+0 records in
64+0 records out
64 bytes (64 B) copied, 0.000313005 s, 204 kB/s
1+0 records in
1+0 records out
9 bytes (9 B) copied, 0.00498418 s, 1.8 kB/s
FLASH_MAGIC is "CTERAFLSH"
UBI: attaching mtd9 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd9 to ubi0
UBI: MTD device name:            "ubi"
UBI: MTD device size:            32 MiB
UBI: number of good PEBs:        254
UBI: number of bad PEBs:         2
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             198
UBI: total number of reserved PEBs: 56
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 213/199
UBI: image sequence number: 0
UBI: background thread "ubi_bgt0d" started, PID 809
UBI device number 0, total 254 LEBs (32251904 bytes, 30.8 MiB), available 198 LEBs (25141248 bytes, 24.0 MiB), LEB size 126976 bytes (124.0 KiB)
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "settings"
UBIFS: file system size:   5206016 bytes (5084 KiB, 4 MiB, 41 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  245892 bytes (240 KiB)
Starting button event daemon (/dev/event0,/sbin/button_event) ...
Kirkwood Platform-specific init - end
fand: could not open PID file ("/var/run/fand.pid") - No such file or directory
5+0 records in
5+0 records out
5 bytes (5 B) copied, 0.00499812 s, 1.0 kB/s
ACTIVE_BANK is "bank2"
starting pid 840, tty '': '/sbivm.min_free_kbytes = 10240
Starting CTERA NAS ...

(none) login:

Info :  Time: Thu, 06 Jan 2022 01:40:58 +0000
22-01-06 01:40:58 Debug:        Timestamp: Mon Nov 20 13:05:08 2017, Compiled: Nov 20 2017 18:49:11
22-01-06 01:40:58 Debug:        gcc 4.4.1, libc 2.10, glibc++ 20090722
22-01-06 01:40:58 Debug:        Starting Up Version 5.6.314.0
22-01-06 01:40:59 Debug:        Starting Logger
22-01-06 01:40:59 Debug:        Task will run in 506050388 seconds
22-01-06 01:40:59 Debug:        Task will run in 506050388 seconds
22-01-06 01:40:59 Debug:        ProductProp.cpp:308 ProductProp mBoardId.c_str()="2Drive_K"
22-01-06 01:40:59 Debug:        ProductProp.cpp:309 ProductProp mProductId.c_str()="C200"
22-01-06 01:40:59 Debug:        HardwareMonitor.cpp:124 HardwareMonitor_init GetProductProps()->mHardwareMonDev.c_str()="lm63-i2c-0-4c"
22-01-06 01:40:59 Debug:        Probing LEDs ...
22-01-06 01:40:59 Debug:        Found Linux LED "ctera:green:ready"
22-01-06 01:40:59 Debug:        Found Linux LED "ctera:red:status"
22-01-06 01:40:59 Debug:        Found Linux LED "ctera:green:cloud"
22-01-06 01:40:59 Debug:        Found Linux LED "ctera:red:disk_err"
22-01-06 01:40:59 Debug:        Found Linux LED "ctera:red:disk1_err"
22-01-06 01:40:59 Debug:        Found Linux LED "ctera:red:disk2_err"
/bin/sh: led_ctl: not found
/bin/sh: led_ctl: not found
/bin/sh: led_ctl: not found
/bin/sh: led_ctl: not found
/bin/sh: led_ctl: not found
/bin/sh: led_ctl: not found
22-01-06 01:40:59 Debug:        Found Linux LED "ctera:green:usb1"
22-01-06 01:40:59 Debug:        Found Linux LED "ctera:green:usb2"
iSCSI Enterprise Target Software - version trunk
iscsi_trgt: Registered io type fileio
iscsi_trgt: Registered io type blockio
iscsi_trgt: Registered io type nullio
22-01-06 01:40:59 Debug:        1 psu. Not running PSUMonitor
22-01-06 01:40:59 Debug:        Firmware details from boot params: version=5.6.314.32739 MD5=8168b000bf4cc502e7bb52913dc50918
22-01-06 01:40:59 Debug:        Max firmare size is 2200000 max tmp size 2f00000
22-01-06 01:40:59 Debug:        Task will run in 80401 seconds
22-01-06 01:40:59 Debug:        Task will run in 80641 seconds
22-01-06 01:41:00 Debug:        Product type C200 is enforced with 20 device licenses
22-01-06 01:41:00 Debug:        Starting the backup thread...
22-01-06 01:41:00 Debug:        Starting the syncsnapshots thread...
22-01-06 01:41:00 Debug:        Starting the snapshot mount thread...
22-01-06 01:41:00 Debug:        Starting invites (0) mount thread...
22-01-06 01:41:00 Debug:        Asked to create backups
22-01-06 01:41:00 Error:        /home/build/5.5/App/Products/nas/AutoShares.cpp, 75 Could not find a volume
22-01-06 01:41:00 Debug:        Asked to create backups
22-01-06 01:41:00 Error:        /home/build/5.5/App/Products/nas/AutoShares.cpp, 75 Could not find a volume
22-01-06 01:41:00 Debug:        Asked to create backups
22-01-06 01:41:00 Error:        /home/build/5.5/App/Products/nas/AutoShares.cpp, 75 Could not find a volume
22-01-06 01:41:00 Debug:        Asked to create backups
22-01-06 01:41:00 Error:        /home/build/5.5/App/Products/nas/AutoShares.cpp, 75 Could not find a volume
22-01-06 01:41:00 Debug:        Asked to create backups
22-01-06 01:41:00 Error:        /home/build/5.5/App/Products/nas/AutoShares.cpp, 75 Could not find a volume
22-01-06 01:41:00 Debug:        Async Logger Switch: start
22-01-06 01:41:00 Debug:        Async Logger Switch: performRequest
22-01-06 01:41:00 Debug:        Async Logger Switch: end
22-01-06 01:41:00 Debug:        Task will run in 170340 seconds
22-01-06 01:41:00 Debug:        Task will run in 64177 seconds
ADDRCONF(NETDEV_UP): eth0: link is not ready
22-01-06 01:41:00 Debug:        NetworkModule.cpp:999 apply net_top_if.c_str()="eth0"
22-01-06 01:41:00 Debug:        Task will run in 170340 seconds
22-01-06 01:41:00 Debug:        triggered task will run in 64177 seconds
22-01-06 01:41:00 Debug:        triggered task will run in -1 seconds
22-01-06 01:41:00 Debug:        Task will run in 80640 seconds
22-01-06 01:41:00 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:41:00 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:41:00 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:41:00 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:41:00 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:41:00 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:41:00 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:41:00 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:41:00 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:41:00 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:41:01 Debug:        Restarting rsyncd
22-01-06 01:41:01 Debug:        Asked to create cloud
22-01-06 01:41:01 Error:        /home/build/5.5/App/Products/nas/AutoShares.cpp, 75 Could not find a volume
22-01-06 01:41:01 Debug:        Term cloud sync
22-01-06 01:41:01 Debug:        Sync Terminated : Cloud Drive Sync folder list has changed
22-01-06 01:41:01 Error:        Sync Error : Cloud Drive Sync folder list has changed
22-01-06 01:41:01 Debug:        FileChangeListenerLinux::stopListener called (mInotifyFD=-1)
22-01-06 01:41:01 Debug:        Term cloud sync finished
22-01-06 01:41:02 Error:        BUG: Unexpected application exception in apply by listener Cloud Sync module. Message:"Null value access"
22-01-06 01:41:02 Info :        Device started up  (20000)
22-01-06 01:41:03 Debug:        Task will run in 80397 seconds
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
udhcpc (v1.13.4) started
22-01-06 01:41:04 Debug:        Got DHCP message - params eth0 down
Sending discover...
22-01-06 01:41:04 Warn :        NetworkModule: Ignoring link down message from DHCP client. keeping current IP
Sending select for 192.168.7.248...
Lease of 192.168.7.248 obtained, lease time 86400
22-01-06 01:41:04 Debug:        Got DHCP message - params eth0 up ip 192.168.7.248 netmask 255.255.255.0 gateway 192.168.7.1 lease 86400 dns 192.168.7.1
22-01-06 01:41:04 Debug:        Bringing interface 0 up
22-01-06 01:41:04 Info :        Connected to network port:LAN address:192.168.7.248 (20031)
22-01-06 01:41:07 Debug:        Migrating machine SID into the database - this should happen only once
22-01-06 01:41:08 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
Info :  Time: Thu, 06 Jan 2022 01:42:18 +0000
22-01-06 01:42:18 Debug:        Task will run in 170262 seconds
22-01-06 01:42:18 Debug:        triggered task will run in 64169 seconds
22-01-06 01:42:18 Debug:        Task will run in 80322 seconds
22-01-06 01:42:18 Debug:        Task will run in 80562 seconds
22-01-06 01:42:18 Info :        System time was updated by the NTP server newTime:2022-01-06 01:42:18 oldTime:2022-01-06 01:41:08 (20009)
22-01-06 01:42:18 Debug:        NTP.cpp:596 HandleNTPPacket time(0) - prev=70
22-01-06 01:42:18 Debug:        HotplugHandler
No device found
22-01-06 01:42:19 Debug:        scanner_rc=1
Can't open /var/etc//ups.conf: Can't open /var/etc//ups.conf: No such file or directory
Network UPS Tools - UPS driver controller 2.6.3-Unversioned directory
22-01-06 01:42:20 Debug:        Storage.cpp:1229 HotplugHandler oldNumDisks=0
22-01-06 01:42:20 Debug:        Storage.cpp:1230 HotplugHandler __TIME__="18:50:27"
22-01-06 01:42:20 Debug:        Storage.cpp:1145 DiscoveryVirtIoDisks mNumDisks=0
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
22-01-06 01:42:22 Debug:        Couldn't enable SMART support on dev /dev/sda
22-01-06 01:42:22 Debug:        Slot USB2 Disk /dev/sda 0 GB 999817216
64+0 records in
0+1 records out
64 bytes (64 B) copied, 0.00271382 s, 23.6 kB/s
22-01-06 01:42:22 Debug:        Disk.cpp:949 Partition /dev/sda1 start = 1 MB + 0 Bytes, size = 952 MB + 524288 Bytes
scsi_softirq_done err=2 done=33 req=33
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
22-01-06 01:42:22 Debug:        Storage.cpp:1239 HotplugHandler mNumDisks-oldNumDisks=1
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
mdadm: No md superblock detected on /dev/sda1.
mdadm: No md superblock detected on /dev/sda1.
mdadm: No md superblock detected on /dev/sda1.
mdadm: No md superblock detected on /dev/sda1.
mdadm: No md superblock detected on /dev/sda1.
mdadm: No md superblock detected on /dev/sda1.
mdadm: No md superblock detected on /dev/sda1.
mdadm: No md superblock detected on /dev/sda1.
mdadm: No md superblock detected on /dev/sda1.
mdadm: No md superblock detected on /dev/sda1.
mdadm: No md superblock detected on /dev/sda1.
22-01-06 01:42:23 Debug:        RAID: stoping
22-01-06 01:42:23 Debug:        mdadm: No devices given.

  No physical volume label read from /dev/sda1
  Failed to read physical volume "/dev/sda1"
22-01-06 01:42:23 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  No physical volume label read from /dev/sda1
  Failed to read physical volume "/dev/sda1"
22-01-06 01:42:23 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  No physical volume label read from /dev/sda1
  Failed to read physical volume "/dev/sda1"
22-01-06 01:42:23 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  No physical volume label read from /dev/sda1
  Failed to read physical volume "/dev/sda1"
22-01-06 01:42:23 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  No physical volume label read from /dev/sda1
  Failed to read physical volume "/dev/sda1"
22-01-06 01:42:23 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  No physical volume label read from /dev/sda1
  Failed to read physical volume "/dev/sda1"
22-01-06 01:42:23 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  No physical volume label read from /dev/sda1
  Failed to read physical volume "/dev/sda1"
22-01-06 01:42:23 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  No physical volume label read from /dev/sda1
  Failed to read physical volume "/dev/sda1"
22-01-06 01:42:23 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  No physical volume label read from /dev/sda1
  Failed to read physical volume "/dev/sda1"
22-01-06 01:42:23 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  No physical volume label read from /dev/sda1
  Failed to read physical volume "/dev/sda1"
22-01-06 01:42:23 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  No physical volume label read from /dev/sda1
  Failed to read physical volume "/dev/sda1"
22-01-06 01:42:23 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
Device /dev/sda1 is not a valid LUKS device.
Device /dev/sda1 is not a valid LUKS device.
  Path required for Logical Volume "sda1"
  Please provide a volume group name
  Run `lvresize --help' for more information.
  Volume group "4b057ea5-ae8c-4178-84b8-0f4010d77793" not found
  Skipping volume group 4b057ea5-ae8c-4178-84b8-0f4010d77793
22-01-06 01:42:24 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  Volume group "4b057ea5-ae8c-4178-84b8-0f4010d77793" not found
  Skipping volume group 4b057ea5-ae8c-4178-84b8-0f4010d77793
22-01-06 01:42:24 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  Volume group "4b057ea5-ae8c-4178-84b8-0f4010d77793" not found
  Skipping volume group 4b057ea5-ae8c-4178-84b8-0f4010d77793
22-01-06 01:42:24 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  Volume group "4b057ea5-ae8c-4178-84b8-0f4010d77793" not found
  Skipping volume group 4b057ea5-ae8c-4178-84b8-0f4010d77793
22-01-06 01:42:24 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  Volume group "4b057ea5-ae8c-4178-84b8-0f4010d77793" not found
  Skipping volume group 4b057ea5-ae8c-4178-84b8-0f4010d77793
22-01-06 01:42:24 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  Volume group "4b057ea5-ae8c-4178-84b8-0f4010d77793" not found
  Skipping volume group 4b057ea5-ae8c-4178-84b8-0f4010d77793
22-01-06 01:42:24 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  Volume group "4b057ea5-ae8c-4178-84b8-0f4010d77793" not found
  Skipping volume group 4b057ea5-ae8c-4178-84b8-0f4010d77793
22-01-06 01:42:25 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  Volume group "4b057ea5-ae8c-4178-84b8-0f4010d77793" not found
  Skipping volume group 4b057ea5-ae8c-4178-84b8-0f4010d77793
22-01-06 01:42:25 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  Volume group "4b057ea5-ae8c-4178-84b8-0f4010d77793" not found
  Skipping volume group 4b057ea5-ae8c-4178-84b8-0f4010d77793
22-01-06 01:42:25 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  Volume group "4b057ea5-ae8c-4178-84b8-0f4010d77793" not found
  Skipping volume group 4b057ea5-ae8c-4178-84b8-0f4010d77793
22-01-06 01:42:25 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
  Volume group "4b057ea5-ae8c-4178-84b8-0f4010d77793" not found
  Skipping volume group 4b057ea5-ae8c-4178-84b8-0f4010d77793
22-01-06 01:42:25 Debug:        LVM.cpp:83 popen_read_params WEXITSTATUS(ret)=5
22-01-06 01:42:25 Debug:        popen_read_params spent 1691 ms. details: timeout --signal=SIGKILL 30 lvm vgdisplay -c '4b057ea5-ae8c-4178-84b8-0f4010d77793'.
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): mounted filesystem with ordered data mode
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
22-01-06 01:42:26 Debug:
22-01-06 01:42:26 Debug:        Disks (1):
22-01-06 01:42:26 Debug:        USB2: /dev/sda 0 953M none -1
22-01-06 01:42:26 Debug:           /dev/sda1 952 ext3 1
22-01-06 01:42:26 Debug:        Arrays (0):
22-01-06 01:42:26 Debug:        Volumes (1 groups):
22-01-06 01:42:26 Debug:        rootfs: /var/vol/2 ext3 952/0
22-01-06 01:42:26 Debug:        GetSMARTTestStatus: SMART test ended with status 0
22-01-06 01:42:26 Debug:        FileSystem.cpp:578 terminated (time(0)-mStartTime)=1
22-01-06 01:42:26 Debug:        FileSystem.cpp:579 terminated mEstimatedDuration=30
tune2fs 1.41.14-next3-1.0.13-7 (23-Jun-2011)
Setting time filesystem last checked to Thu Jan  6 01:42:26 2022

22-01-06 01:42:26 Info :        Configuration Changed Setting:Volumes Action:added Name:rootfs (20011)
22-01-06 01:42:26 Info :        Disk plugged in port:USB2 (20015)
22-01-06 01:42:26 Debug:        Asked to create backups
22-01-06 01:42:27 Debug:        Asked to create backups
22-01-06 01:42:27 Info :        Configuration Changed Setting:Shares Action:added Name:backups (20011)
22-01-06 01:42:27 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:42:27 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:42:27 Info :        Configuration Changed Setting:CIFS Settings Action:modified (20011)
22-01-06 01:42:28 Info :        Configuration Changed Setting:CTERA Agent Settings Action:modified (20011)

C200-6df2 login:
C200-6df2 login:
C200-6df2 login:
C200-6df2 login:

Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 05, 2022 09:19PM
To save the kwboot trouble, I actually flashed uboot.2017.07-tld-2.sheevaplug.mtd0.kwb to the box and also flashed / adjusted the environment parameters. Debian booted fine, but still no network connection.


U-Boot 2017.07-tld-2 (Dec 04 2017 - 02:00:45 -0800)
Marvell-Sheevaplug

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  256 MiB
MMC:   MVEBU_MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
Sheevaplug>


Environment of U-boot

printenv
arcNumber=2097
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-sheevaplug.dtb
ethact=egiga0
ethaddr=00:25:25:00:6d:f2
if_netconsole=ping $serverip
ipaddr=192.168.7.73
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
machid=0x831
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0x100000@0x0(u-boot),-@0x100000(ubi)
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.7.4
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type  $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
usb_ready_retry=15

Environment size: 2869/131068 bytes

Boot it...

Sheevaplug> boot
Initializing devices...
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed
Loading envs from usb 0...
** File not found /boot/uEnv.txt **
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...
** Bad device ide 0 **
Loading envs from ide 1...
** Bad device ide 1 **
Loading envs from ide 2...
** Bad device ide 2 **
Loading envs from ide 3...
** Bad device ide 3 **
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 569 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5576016 bytes read in 1006 ms (5.3 MiB/s)
loading uInitrd ...
9582895 bytes read in 1174 ms (7.8 MiB/s)
loading DTB /boot/dts/kirkwood-sheevaplug.dtb ...
12173 bytes read in 1507 ms (7.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.9.12-kirkwood-tld-1
   Created:      2021-11-11  15:06:18 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5575952 Bytes = 5.3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.9.12-kirkwood-tld-1
   Created:      2021-11-11  15:06:26 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9582831 Bytes = 9.1 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 0f6dc000, end 0ffff8ef ... OK
   Loading Device Tree to 0f6d6000, end 0f6dbf8c ... 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.9.12-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 Dec 5 14:05:39 PST 2020
[    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: Ctera C200 V1
[    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@0x0(u-boot),-@0x100000(ubi)
[    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: 492516K/524288K available (10240K kernel code, 1096K rwdata, 4144K rodata, 1024K init, 316K bss, 31772K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x404/0x790 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Rude 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.000010][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000054][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000852][    T0] Console: colour dummy device 80x30
[    0.000907][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000937][    T0] pid_max: default: 32768 minimum: 301
[    0.001364][    T0] LSM: Security Framework initializing
[    0.001514][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001544][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002925][    T0] CPU: Testing write buffer coherency: ok
[    0.004786][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.005094][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.005415][    T1] rcu: Hierarchical SRCU implementation.
[    0.006724][    T1] devtmpfs: initialized
[    0.013722][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013763][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.014034][    T1] xor: measuring software checksum speed
[    0.110119][    T1]    arm4regs  :  1088.800 MB/sec
[    0.210082][    T1]    8regs     :   654.000 MB/sec
[    0.310082][    T1]    32regs    :   950.400 MB/sec
[    0.310103][    T1] xor: using function: arm4regs (1088.800 MB/sec)
[    0.310127][    T1] prandom: seed boundary self test passed
[    0.314307][    T1] prandom: 100 self tests passed
[    0.314320][    T1] pinctrl core: initialized pinctrl subsystem
[    0.315866][    T1] NET: Registered protocol family 16
[    0.316676][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.317730][    T1] audit: initializing netlink subsys (disabled)
[    0.319130][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.319494][   T16] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.319634][    T1] cpuidle: using governor ladder
[    0.319719][    T1] cpuidle: using governor menu
[    0.320274][    T1] Feroceon L2: Enabling L2
[    0.320325][    T1] Feroceon L2: Cache support initialised.
[    0.336610][    T1] No ATAGs?
[    2.560060][    C0] random: fast init done
[    5.410325][    T1] raid6: int32x8  gen()   109 MB/s
[    5.580131][    T1] raid6: int32x8  xor()    69 MB/s
[    5.750189][    T1] raid6: int32x4  gen()   109 MB/s
[    5.920216][    T1] raid6: int32x4  xor()    72 MB/s
[    6.090232][    T1] raid6: int32x2  gen()   141 MB/s
[    6.260147][    T1] raid6: int32x2  xor()    85 MB/s
[    6.430272][    T1] raid6: int32x1  gen()    97 MB/s
[    6.600115][    T1] raid6: int32x1  xor()    59 MB/s
[    6.600127][    T1] raid6: using algorithm int32x2 gen() 141 MB/s
[    6.600137][    T1] raid6: .... xor() 85 MB/s, rmw enabled
[    6.600146][    T1] raid6: using intx1 recovery algorithm
[    6.600407][    T1] vgaarb: loaded
[    6.600981][    T1] SCSI subsystem initialized
[    6.601508][    T1] usbcore: registered new interface driver usbfs
[    6.601590][    T1] usbcore: registered new interface driver hub
[    6.601682][    T1] usbcore: registered new device driver usb
[    6.601913][    T1] pps_core: LinuxPPS API ver. 1 registered
[    6.601925][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    6.601956][    T1] PTP clock support registered
[    6.603596][    T1] clocksource: Switched to clocksource orion_clocksource
[    8.142993][    T1] VFS: Disk quotas dquot_6.6.0
[    8.143099][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    8.154148][    T1] NET: Registered protocol family 2
[    8.155019][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    8.155070][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    8.155140][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    8.155194][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    8.155421][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    8.155491][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    8.155523][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    8.155742][    T1] NET: Registered protocol family 1
[    8.156505][    T1] RPC: Registered named UNIX socket transport module.
[    8.156519][    T1] RPC: Registered udp transport module.
[    8.156528][    T1] RPC: Registered tcp transport module.
[    8.156538][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    8.156553][    T1] PCI: CLS 0 bytes, default 32
[    8.156875][    T1] Trying to unpack rootfs image as initramfs...
[    8.994076][    T1] Freeing initrd memory: 9360K
[    8.994255][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    9.005059][    T1] Initialise system trusted keyrings
[    9.005120][    T1] Key type blacklist registered
[    9.005358][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    9.005468][    T1] zbud: loaded
[    9.006933][    T1] NFS: Registering the id_resolver key type
[    9.006968][    T1] Key type id_resolver registered
[    9.006979][    T1] Key type id_legacy registered
[    9.007022][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    9.007041][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.007340][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    9.007861][    T1] fuse: init (API version 7.31)
[    9.008260][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    9.008474][    T1] orangefs_init: module version upstream loaded
[    9.008488][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    9.112270][    T1] async_tx: api initialized (async)
[    9.112296][    T1] Key type asymmetric registered
[    9.112307][    T1] Asymmetric key parser 'x509' registered
[    9.112366][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    9.112481][    T1] io scheduler bfq registered
[    9.311195][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    9.313182][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    9.313250][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    9.313290][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    9.313318][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    9.313665][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    9.313688][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    9.313709][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    9.313724][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    9.313739][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    9.313878][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    9.313913][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    9.315452][    T1] PCI: bus0: Fast back to back transfers disabled
[    9.315482][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    9.316748][    T1] PCI: bus1: Fast back to back transfers enabled
[    9.316777][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    9.316986][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    9.317005][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    9.317702][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    9.374649][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.377316][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    9.434641][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.437555][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    9.438983][    T1] printk: console [ttyS0] disabled
[    9.439075][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[   10.389374][    T1] printk: console [ttyS0] enabled
[   10.403039][    T1] loop: module loaded
[   10.407754][    T1] sata_mv f1080000.sata: slots 32 ports 2
[   10.417314][    T1] scsi host0: sata_mv
[   10.421867][    T1] scsi host1: sata_mv
[   10.426061][    T1] ata1: SATA max UDMA/133 irq 32
[   10.430883][    T1] ata2: SATA max UDMA/133 irq 32
[   10.437031][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[   10.444206][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit
[   10.449543][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   10.457926][    T1] Scanning device for bad blocks
[   10.515128][    T1] Bad eraseblock 490 at 0x000003d40000
[   10.528411][    T1] Bad eraseblock 565 at 0x0000046a0000
[   10.557389][    T1] Bad eraseblock 787 at 0x000006260000
[   10.569604][    T1] Bad eraseblock 852 at 0x000006a80000
[   10.592409][    T1] Bad eraseblock 1016 at 0x000007f00000
[   10.659561][    T1] Bad eraseblock 1595 at 0x00000c760000
[   10.686908][    T1] Bad eraseblock 1800 at 0x00000e100000
[   10.694353][    T1] Bad eraseblock 1819 at 0x00000e360000
[   10.703610][    T1] Bad eraseblock 1855 at 0x00000e7e0000
[   10.729569][    T1] 2 cmdlinepart partitions found on MTD device orion_nand
[   10.736600][    T1] Creating 2 MTD partitions on "orion_nand":
[   10.742508][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   10.749721][    T1] 0x000000100000-0x000010000000 : "ubi"
[   10.758352][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   10.767001][   T88] ata1: SATA link down (SStatus 0 SControl F300)
[   10.773257][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   10.785113][    T1] libphy: Fixed MDIO Bus: probed
[   10.791252][    T1] libphy: orion_mdio_bus: probed
[   10.812914][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   11.125233][   T90] ata2: SATA link down (SStatus 0 SControl F300)
[   11.494491][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:25:00:6d:f2
[   11.504120][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.511402][    T1] ehci-pci: EHCI PCI platform driver
[   11.516677][    T1] ehci-orion: EHCI orion driver
[   11.521607][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   11.527885][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   11.536480][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   11.563645][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   11.570690][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[   11.579723][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   11.587698][    T1] usb usb1: Product: EHCI Host Controller
[   11.593303][    T1] usb usb1: Manufacturer: Linux 5.9.12-kirkwood-tld-1 ehci_hcd
[   11.600751][    T1] usb usb1: SerialNumber: f1050000.ehci
[   11.606899][    T1] hub 1-0:1.0: USB hub found
[   11.611423][    T1] hub 1-0:1.0: 1 port detected
[   11.616969][    T1] usbcore: registered new interface driver usb-storage
[   11.624179][    T1] mousedev: PS/2 mouse device common for all mice
[   11.630781][    T1] i2c /dev entries driver
[   11.640941][    T1] rtc-s35390a 0-0030: registered as rtc0
[   11.647601][    T1] rtc-s35390a 0-0030: setting system clock to 2022-01-06T03:16:02 UTC (1641438962)
[   11.658112][    T1] device-mapper: uevent: version 1.0.3
[   11.663818][    T1] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com
[   11.673421][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   11.680792][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   11.688192][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   11.695658][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   11.702485][    T1] device-mapper: raid: Loading target version 1.15.1
[   11.712180][    T1] hid: raw HID events driver (C) Jiri Kosina
[   11.718518][    T1] drop_monitor: Initializing network drop monitor service
[   11.726150][    T1] NET: Registered protocol family 10
[   11.732600][    T1] Segment Routing with IPv6
[   11.737044][    T1] RPL Segment Routing with IPv6
[   11.741862][    T1] NET: Registered protocol family 17
[   11.747342][    T1] Key type dns_resolver registered
[   11.752804][    T1] registered taskstats version 1
[   11.757694][    T1] Loading compiled-in X.509 certificates
[   11.763332][    T1] zswap: loaded using pool lzo/zbud
[   11.768837][    T1] Key type ._fscrypt registered
[   11.773568][    T1] Key type .fscrypt registered
[   11.778284][    T1] Key type fscrypt-provisioning registered
[   11.786202][    T1] Key type big_key registered
[   11.821684][    T1] Key type encrypted registered
[   11.832623][    T1] Freeing unused kernel memory: 1024K
[   11.854540][    T1] Checked W+X mappings: passed, no W+X pages found
[   11.860948][    T1] Run /init as init process
Loading, please wait...
[   11.983722][   T98] usb 1-1: new high-speed USB device number 2 using orion-ehci
Starting version 241
[   12.204397][   T98] usb 1-1: New USB device found, idVendor=0409, idProduct=005a, bcdDevice= 1.00
[   12.213343][   T98] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   12.256795][   T98] hub 1-1:1.0: USB hub found
[   12.275805][   T98] hub 1-1:1.0: 2 ports detected
[   12.603699][   T98] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   12.718339][  T132] input: keys as /devices/platform/keys/input/input0
[   12.764884][   T98] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5530, bcdDevice= 1.00
[   12.791234][   T98] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.814327][   T98] usb 1-1.2: Product: Cruzer
[   12.818805][   T98] usb 1-1.2: Manufacturer: SanDisk
[   12.843055][   T98] usb 1-1.2: SerialNumber: 2005244411190D22FC1E
[   12.856780][   T98] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   12.887959][   T98] scsi host2: usb-storage 1-1.2:1.0
[   13.299453][  T128] usbcore: registered new interface driver uas
[   13.924847][   T58] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer           1.02 PQ: 0 ANSI: 2
[   13.939433][    T7] sd 2:0:0:0: [sda] 7813120 512-byte logical blocks: (4.00 GB/3.73 GiB)
[   13.953922][    T7] sd 2:0:0:0: [sda] Write Protect is off
[   13.960149][    T7] sd 2:0:0:0: [sda] No Caching mode page found
[   13.966329][    T7] sd 2:0:0:0: [sda] Assuming drive cache: write through
[   13.987466][    T7]  sda: sda1
[   14.007039][    T7] sd 2:0:0:0: [sda] 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.
[   25.326009][  T151] process '/usr/bin/fstype' started with executable stack
Begin: Will now check root file system ... fsck from util-linux 2.33.1
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   30.507434][  T160] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   30.545989][  T160] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[ ok ] Synthesizing the initial hotplug events (devices)...done.
[....] Waiting for /dev to be fully populated...[   33.711261][  T347] systemd-udevd[347]: Using default interface naming scheme 'v240'.
[   33.866072][  T347] systemd-udevd[347]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   33.953942][  T369] orion_wdt: Initial timeout 21 sec
[   34.384019][  T377] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   34.532909][  T368] marvell-cesa f1030000.crypto: CESA device successfully registered
[   34.563703][    C0] random: crng init done
[   34.610526][  T347] systemd-udevd[347]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
done.
[ ok ] Setting hostname to 'debian'...done.
[ ok ] Activating swap:.
[   37.059791][  T567] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1
e2fsck 1.44.5 (15-Dec-2018)
rootfs: clean, 17840/244320 files, 513324/976384 blocks
. ok
[   37.379305][  T593] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs [ ok at location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[ ok ] Initializing random number generator...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:25:00:6d:f2
Sending on   LPF/eth0/00:25:25:00:6d:f2
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
[   44.823824][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1326 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1353 (klogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 debian ttyS0

debian login: root
Password:
Last login: Wed Jan  5 19:00:48 PST 2022 on ttyS0
Linux debian 5.9.12-kirkwood-tld-1 #1.0 PREEMPT Sat Dec 5 14:05:39 PST 2020 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.
root@debian:~#

Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 05, 2022 09:21PM
Status....

root@debian:~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 00:25:25:00:6d:f2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5  bytes 1710 (1.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 35

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 2  bytes 140 (140.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 140 (140.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@debian:~# ifdown eth0
Killed old client process
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/00:25:25:00:6d:f2
Sending on   LPF/eth0/00:25:25:00:6d:f2
Sending on   Socket/fallback
DHCPRELEASE of 192.168.7.6 on eth0 to 192.168.7.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
dhclient.c:2878: Failed to send 300 byte long packet over fallback interface.
root@debian:~# ifup eth0
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/00:25:25:00:6d:f2
Sending on   LPF/eth0/00:25:25:00:6d:f2
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
[  237.773481][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
root@debian:~# cat /etc/network/interfaces
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
root@debian:~#

Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 06, 2022 02:38AM
1. Try static IP.

2. Does this box has an installation page at OpenWrt site? or is it still a work in progress? The DTS seems complete, but it's good to confirm that it is working with stock u-boot (how they usually start with).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 06, 2022 05:15AM
OK so it looks like it is fully supported at OpenWrt.

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=3843c641d83b621e07f03753a5617ab27e55e262

I'll roll new u-boot for this box.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 06, 2022 11:03AM
Static IP seems not working either.

root@debian:/etc/network# cat interfaces
auto lo eth0
iface lo inet loopback
iface eth0 inet static
        address 192.168.7.222
        netmask 255.255.255.0
        gateway 192.168.7.1
        hwaddress ether 00:25:25:00:6d:f2

reboot it... printenv first


U-Boot 2017.07-tld-2 (Dec 04 2017 - 02:00:45 -0800)
Marvell-Sheevaplug

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  256 MiB
MMC:   MVEBU_MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
Sheevaplug> printenv
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-sheevaplug.dtb
ethact=egiga0
ethaddr=00:25:25:00:6d:f2
if_netconsole=ping $serverip
ipaddr=192.168.7.73
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@0x0(u-boot),-@0x100000(ubi)
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.7.4
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type  $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
usb_ready_retry=15

Environment size: 2837/131068 bytes
Sheevaplug>

now boot

Sheevaplug> boot
Initializing devices...
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed
Loading envs from usb 0...
** File not found /boot/uEnv.txt **
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...
** Bad device ide 0 **
Loading envs from ide 1...
** Bad device ide 1 **
Loading envs from ide 2...
** Bad device ide 2 **
Loading envs from ide 3...
** Bad device ide 3 **
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 569 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5576016 bytes read in 1006 ms (5.3 MiB/s)
loading uInitrd ...
9582895 bytes read in 1176 ms (7.8 MiB/s)
loading DTB /boot/dts/kirkwood-sheevaplug.dtb ...
12173 bytes read in 1507 ms (7.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.9.12-kirkwood-tld-1
   Created:      2021-11-11  15:06:18 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5575952 Bytes = 5.3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.9.12-kirkwood-tld-1
   Created:      2021-11-11  15:06:26 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9582831 Bytes = 9.1 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 0f6dc000, end 0ffff8ef ... OK
   Loading Device Tree to 0f6d6000, end 0f6dbf8c ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.9.12-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 Dec 5 14:05:39 PST 2020
[    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: Ctera C200 V1
[    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@0x0(u-boot),-@0x100000(ubi)
[    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: 492516K/524288K available (10240K kernel code, 1096K rwdata, 4144K rodata, 1024K init, 316K bss, 31772K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x404/0x790 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Rude 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.000010][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000054][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000852][    T0] Console: colour dummy device 80x30
[    0.000907][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000937][    T0] pid_max: default: 32768 minimum: 301
[    0.001362][    T0] LSM: Security Framework initializing
[    0.001515][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001545][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002925][    T0] CPU: Testing write buffer coherency: ok
[    0.004784][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.005092][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.005414][    T1] rcu: Hierarchical SRCU implementation.
[    0.006724][    T1] devtmpfs: initialized
[    0.013747][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013788][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.014060][    T1] xor: measuring software checksum speed
[    0.110122][    T1]    arm4regs  :  1088.800 MB/sec
[    0.210077][    T1]    8regs     :   654.000 MB/sec
[    0.310076][    T1]    32regs    :   950.400 MB/sec
[    0.310097][    T1] xor: using function: arm4regs (1088.800 MB/sec)
[    0.310121][    T1] prandom: seed boundary self test passed
[    0.314301][    T1] prandom: 100 self tests passed
[    0.314313][    T1] pinctrl core: initialized pinctrl subsystem
[    0.315857][    T1] NET: Registered protocol family 16
[    0.316666][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.317720][    T1] audit: initializing netlink subsys (disabled)
[    0.319121][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.319484][   T16] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.319625][    T1] cpuidle: using governor ladder
[    0.319711][    T1] cpuidle: using governor menu
[    0.320263][    T1] Feroceon L2: Enabling L2
[    0.320315][    T1] Feroceon L2: Cache support initialised.
[    0.336595][    T1] No ATAGs?
[    2.560060][    C0] random: fast init done
[    5.410208][    T1] raid6: int32x8  gen()   109 MB/s
[    5.580108][    T1] raid6: int32x8  xor()    69 MB/s
[    5.750203][    T1] raid6: int32x4  gen()   109 MB/s
[    5.920176][    T1] raid6: int32x4  xor()    72 MB/s
[    6.090146][    T1] raid6: int32x2  gen()   139 MB/s
[    6.260071][    T1] raid6: int32x2  xor()    85 MB/s
[    6.430105][    T1] raid6: int32x1  gen()    98 MB/s
[    6.600260][    T1] raid6: int32x1  xor()    59 MB/s
[    6.600272][    T1] raid6: using algorithm int32x2 gen() 139 MB/s
[    6.600282][    T1] raid6: .... xor() 85 MB/s, rmw enabled
[    6.600291][    T1] raid6: using intx1 recovery algorithm
[    6.600554][    T1] vgaarb: loaded
[    6.601137][    T1] SCSI subsystem initialized
[    6.601659][    T1] usbcore: registered new interface driver usbfs
[    6.601741][    T1] usbcore: registered new interface driver hub
[    6.601831][    T1] usbcore: registered new device driver usb
[    6.602064][    T1] pps_core: LinuxPPS API ver. 1 registered
[    6.602076][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    6.602106][    T1] PTP clock support registered
[    6.603747][    T1] clocksource: Switched to clocksource orion_clocksource
[    8.143080][    T1] VFS: Disk quotas dquot_6.6.0
[    8.143187][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    8.154229][    T1] NET: Registered protocol family 2
[    8.155110][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    8.155160][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    8.155230][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    8.155284][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    8.155506][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    8.155574][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    8.155606][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    8.155831][    T1] NET: Registered protocol family 1
[    8.156599][    T1] RPC: Registered named UNIX socket transport module.
[    8.156613][    T1] RPC: Registered udp transport module.
[    8.156623][    T1] RPC: Registered tcp transport module.
[    8.156632][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    8.156647][    T1] PCI: CLS 0 bytes, default 32
[    8.156966][    T1] Trying to unpack rootfs image as initramfs...
[    8.994312][    T1] Freeing initrd memory: 9360K
[    8.994489][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    9.005298][    T1] Initialise system trusted keyrings
[    9.005364][    T1] Key type blacklist registered
[    9.005591][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    9.005701][    T1] zbud: loaded
[    9.007175][    T1] NFS: Registering the id_resolver key type
[    9.007212][    T1] Key type id_resolver registered
[    9.007222][    T1] Key type id_legacy registered
[    9.007266][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    9.007286][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.007587][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    9.008110][    T1] fuse: init (API version 7.31)
[    9.008509][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    9.008723][    T1] orangefs_init: module version upstream loaded
[    9.008736][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    9.109987][    T1] async_tx: api initialized (async)
[    9.110014][    T1] Key type asymmetric registered
[    9.110025][    T1] Asymmetric key parser 'x509' registered
[    9.110083][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    9.110201][    T1] io scheduler bfq registered
[    9.308907][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    9.310879][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    9.310947][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    9.310988][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    9.311015][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    9.311320][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    9.311342][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    9.311363][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    9.311379][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    9.311394][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    9.311531][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    9.311565][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    9.313099][    T1] PCI: bus0: Fast back to back transfers disabled
[    9.313129][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    9.314457][    T1] PCI: bus1: Fast back to back transfers enabled
[    9.314485][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    9.314695][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    9.314715][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    9.315416][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    9.374797][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.377465][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    9.434790][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.437700][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    9.439126][    T1] printk: console [ttyS0] disabled
[    9.439218][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[   10.389536][    T1] printk: console [ttyS0] enabled
[   10.403194][    T1] loop: module loaded
[   10.407909][    T1] sata_mv f1080000.sata: slots 32 ports 2
[   10.417473][    T1] scsi host0: sata_mv
[   10.422018][    T1] scsi host1: sata_mv
[   10.426205][    T1] ata1: SATA max UDMA/133 irq 32
[   10.431018][    T1] ata2: SATA max UDMA/133 irq 32
[   10.437171][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[   10.444344][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit
[   10.449688][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   10.458070][    T1] Scanning device for bad blocks
[   10.515275][    T1] Bad eraseblock 490 at 0x000003d40000
[   10.528564][    T1] Bad eraseblock 565 at 0x0000046a0000
[   10.557561][    T1] Bad eraseblock 787 at 0x000006260000
[   10.569788][    T1] Bad eraseblock 852 at 0x000006a80000
[   10.592566][    T1] Bad eraseblock 1016 at 0x000007f00000
[   10.659711][    T1] Bad eraseblock 1595 at 0x00000c760000
[   10.687061][    T1] Bad eraseblock 1800 at 0x00000e100000
[   10.694507][    T1] Bad eraseblock 1819 at 0x00000e360000
[   10.703762][    T1] Bad eraseblock 1855 at 0x00000e7e0000
[   10.729724][    T1] 2 cmdlinepart partitions found on MTD device orion_nand
[   10.736763][    T1] Creating 2 MTD partitions on "orion_nand":
[   10.742669][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   10.749897][    T1] 0x000000100000-0x000010000000 : "ubi"
[   10.758530][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   10.767181][   T88] ata1: SATA link down (SStatus 0 SControl F300)
[   10.773437][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   10.785276][    T1] libphy: Fixed MDIO Bus: probed
[   10.791412][    T1] libphy: orion_mdio_bus: probed
[   10.813085][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   11.125388][   T90] ata2: SATA link down (SStatus 0 SControl F300)
[   11.494658][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:25:00:6d:f2
[   11.504294][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.511583][    T1] ehci-pci: EHCI PCI platform driver
[   11.516849][    T1] ehci-orion: EHCI orion driver
[   11.521778][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   11.528059][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   11.536660][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   11.563796][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   11.570840][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[   11.579874][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   11.587851][    T1] usb usb1: Product: EHCI Host Controller
[   11.593456][    T1] usb usb1: Manufacturer: Linux 5.9.12-kirkwood-tld-1 ehci_hcd
[   11.600904][    T1] usb usb1: SerialNumber: f1050000.ehci
[   11.607057][    T1] hub 1-0:1.0: USB hub found
[   11.611585][    T1] hub 1-0:1.0: 1 port detected
[   11.617132][    T1] usbcore: registered new interface driver usb-storage
[   11.624338][    T1] mousedev: PS/2 mouse device common for all mice
[   11.630934][    T1] i2c /dev entries driver
[   11.641083][    T1] rtc-s35390a 0-0030: registered as rtc0
[   11.647743][    T1] rtc-s35390a 0-0030: setting system clock to 2022-01-06T17:00:02 UTC (1641488402)
[   11.658250][    T1] device-mapper: uevent: version 1.0.3
[   11.663968][    T1] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com
[   11.673597][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   11.680965][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   11.688362][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   11.695830][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   11.702656][    T1] device-mapper: raid: Loading target version 1.15.1
[   11.712345][    T1] hid: raw HID events driver (C) Jiri Kosina
[   11.718678][    T1] drop_monitor: Initializing network drop monitor service
[   11.726313][    T1] NET: Registered protocol family 10
[   11.732769][    T1] Segment Routing with IPv6
[   11.737214][    T1] RPL Segment Routing with IPv6
[   11.742033][    T1] NET: Registered protocol family 17
[   11.747502][    T1] Key type dns_resolver registered
[   11.752962][    T1] registered taskstats version 1
[   11.757854][    T1] Loading compiled-in X.509 certificates
[   11.763493][    T1] zswap: loaded using pool lzo/zbud
[   11.769001][    T1] Key type ._fscrypt registered
[   11.773731][    T1] Key type .fscrypt registered
[   11.778447][    T1] Key type fscrypt-provisioning registered
[   11.786365][    T1] Key type big_key registered
[   11.821908][    T1] Key type encrypted registered
[   11.832851][    T1] Freeing unused kernel memory: 1024K
[   11.854692][    T1] Checked W+X mappings: passed, no W+X pages found
[   11.861092][    T1] Run /init as init process
Loading, please wait...
[   11.983863][   T98] usb 1-1: new high-speed USB device number 2 using orion-ehci
Starting version 241
[   12.194566][   T98] usb 1-1: New USB device found, idVendor=0409, idProduct=005a, bcdDevice= 1.00
[   12.203512][   T98] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   12.238236][   T98] hub 1-1:1.0: USB hub found
[   12.247869][   T98] hub 1-1:1.0: 2 ports detected
[   12.583858][   T98] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   12.745058][   T98] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5530, bcdDevice= 1.00
[   12.755105][  T135] input: keys as /devices/platform/keys/input/input0
[   12.762326][   T98] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.785472][   T98] usb 1-1.2: Product: Cruzer
[   12.789947][   T98] usb 1-1.2: Manufacturer: SanDisk
[   12.813847][   T98] usb 1-1.2: SerialNumber: 2005244411190D22FC1E
[   12.838230][   T98] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   12.862125][   T98] scsi host2: usb-storage 1-1.2:1.0
[   13.286233][  T131] usbcore: registered new interface driver uas
[   13.925023][   T58] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer           1.02 PQ: 0 ANSI: 2
[   13.939569][    T7] sd 2:0:0:0: [sda] 7813120 512-byte logical blocks: (4.00 GB/3.73 GiB)
[   13.953973][    T7] sd 2:0:0:0: [sda] Write Protect is off
[   13.960204][    T7] sd 2:0:0:0: [sda] No Caching mode page found
[   13.966391][    T7] sd 2:0:0:0: [sda] Assuming drive cache: write through
[   13.987952][    T7]  sda: sda1
[   14.007341][    T7] sd 2:0:0:0: [sda] 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.
[   25.326827][  T151] process '/usr/bin/fstype' started with executable stack
Begin: Will now check root file system ... fsck from util-linux 2.33.1
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   30.507487][  T160] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   30.545294][  T160] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[ ok ] Synthesizing the initial hotplug events (devices)...done.
[....] Waiting for /dev to be fully populated...[   33.775269][  T348] systemd-udevd[348]: Using default interface naming scheme 'v240'.
[   33.914488][  T348] systemd-udevd[348]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   33.978003][  T377] orion_wdt: Initial timeout 21 sec
[   34.361164][  T348] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   34.478664][    C0] random: crng init done
[   34.589301][  T368] marvell-cesa f1030000.crypto: CESA device successfully registered
[   34.621676][  T349] systemd-udevd[349]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
done.
[ ok ] Setting hostname to 'debian'...done.
[ ok ] Activating swap:.
[   36.936706][  T567] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1
e2fsck 1.44.5 (15-Dec-2018)
rootfs: clean, 17847/244320 files, 519826/976384 blocks
. ok
[   37.260356][  T593] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs [ ok at location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[ ok ] Initializing random number generator...done.
[ ok ] Configuring network interfaces...done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1321 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
[   44.474963][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
1348 (klogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 debian ttyS0

debian login: root
Password:
Last login: Thu Jan  6 08:57:41 PST 2022 on ttyS0
Linux debian 5.9.12-kirkwood-tld-1 #1.0 PREEMPT Sat Dec 5 14:05:39 PST 2020 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.
root@debian:~#


status

root@debian:~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.222  netmask 255.255.255.0  broadcast 192.168.7.255
        ether 00:25:25:00:6d:f2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 11  bytes 1002 (1002.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 35

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 6  bytes 556 (556.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6  bytes 556 (556.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@debian:~# ping 192.168.7.222
PING 192.168.7.222 (192.168.7.222) 56(84) bytes of data.
64 bytes from 192.168.7.222: icmp_seq=1 ttl=64 time=0.139 ms
64 bytes from 192.168.7.222: icmp_seq=2 ttl=64 time=0.103 ms
^C
--- 192.168.7.222 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 15ms
rtt min/avg/max/mdev = 0.103/0.121/0.139/0.018 ms

root@debian:~# ping 192.168.7.1
PING 192.168.7.1 (192.168.7.1) 56(84) bytes of data.
From 192.168.7.222 icmp_seq=1 Destination Host Unreachable
From 192.168.7.222 icmp_seq=2 Destination Host Unreachable
From 192.168.7.222 icmp_seq=3 Destination Host Unreachable
From 192.168.7.222 icmp_seq=4 Destination Host Unreachable
From 192.168.7.222 icmp_seq=5 Destination Host Unreachable
From 192.168.7.222 icmp_seq=6 Destination Host Unreachable
^C
--- 192.168.7.1 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 216ms
pipe 4

Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 06, 2022 11:15AM
Now time to try openwrt route....

As I flashed flashed uboot.2017.07-tld-2.sheevaplug.mtd0.kwb to the box, I don't have the original uboot/firmware. So I did this way

1 Grab openwrt-kirkwood-ctera_c200-v1-initramfs-factory.firm from compiled file.
2 7zip it, got a kernel file from it. File size 4,446,109 bytes.
3 load the file, boot it.

Looks like we still don't have network access.

Here is the procedure.

Start uboot and printenv


U-Boot 2017.07-tld-2 (Dec 04 2017 - 02:00:45 -0800)
Marvell-Sheevaplug

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  256 MiB
MMC:   MVEBU_MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
Sheevaplug> printenv
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-sheevaplug.dtb
ethact=egiga0
ethaddr=00:25:25:00:6d:f2
if_netconsole=ping $serverip
ipaddr=192.168.7.73
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@0x0(u-boot),-@0x100000(ubi)
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.7.4
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type  $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
usb_ready_retry=15

Environment size: 2837/131068 bytes
Sheevaplug>


now load kernel and boot it.
Sheevaplug> usb reset
resetting 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
Sheevaplug> ext2load usb 0 0x800000 kernel
4446109 bytes read in 1189 ms (3.6 MiB/s)
Sheevaplug> bootm 0x800000
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   ARM OpenWrt Linux-5.10.82
   Created:      2021-12-04   0:39:11 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4446045 Bytes = 4.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.82 (pi@Lubuntu7010) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r18283-3843c641d8) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Sat Dec 4 00:39:11 2021
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Ctera C200 V1
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 504040K/524288K available (5668K kernel code, 589K rwdata, 1456K rodata, 6144K init, 206K bss, 20248K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x330/0x560 with crng_init=0
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000041] Switching to timer-based delay loop, resolution 5ns
[    0.000128] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000154] pid_max: default: 32768 minimum: 301
[    0.000335] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000360] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001255] CPU: Testing write buffer coherency: ok
[    0.002152] Setting up static identity map for 0x100000 - 0x10003c
[    0.002410] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.002590] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.005695] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.005727] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.005846] pinctrl core: initialized pinctrl subsystem
[    0.006773] NET: Registered protocol family 16
[    0.007188] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.008152] thermal_sys: Registered thermal governor 'step_wise'
[    0.008253] cpuidle: using governor ladder
[    0.008565] Feroceon L2: Enabling L2
[    0.008614] Feroceon L2: Cache support initialised.
[    0.019703] No ATAGs?
[    0.063892] SCSI subsystem initialized
[    0.065305] usbcore: registered new interface driver usbfs
[    0.065361] usbcore: registered new interface driver hub
[    0.065413] usbcore: registered new device driver usb
[    0.070834] clocksource: Switched to clocksource orion_clocksource
[    0.071589] NET: Registered protocol family 2
[    0.071749] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.072400] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.072449] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.072505] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.072556] TCP: Hash tables configured (established 4096 bind 4096)
[    0.072650] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.072676] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.072846] NET: Registered protocol family 1
[    0.072878] PCI: CLS 0 bytes, default 32
[    0.145055] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.148825] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.148844] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.151786] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.153008] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    0.153053] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    0.153082] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.153102] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.153286] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    0.153306] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.153322] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    0.153335] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.153347] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    0.153449] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    0.153477] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    0.154722] PCI: bus0: Fast back to back transfers disabled
[    0.154740] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.155795] PCI: bus1: Fast back to back transfers enabled
[    0.155814] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.156006] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    0.156024] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.156472] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.157041] printk: console [ttyS0] disabled
[    0.157135] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    0.703058] printk: console [ttyS0] enabled
[    0.708321] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[    0.714734] nand: Samsung NAND 256MiB 3,3V 8-bit
[    0.719373] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.727000] Scanning device for bad blocks
[    0.783117] Bad eraseblock 490 at 0x000003d40000
[    0.795655] Bad eraseblock 565 at 0x0000046a0000
[    0.823764] Bad eraseblock 787 at 0x000006260000
[    0.835244] Bad eraseblock 852 at 0x000006a80000
[    0.857215] Bad eraseblock 1016 at 0x000007f00000
[    0.923246] Bad eraseblock 1595 at 0x00000c760000
[    0.949643] Bad eraseblock 1800 at 0x00000e100000
[    0.956340] Bad eraseblock 1819 at 0x00000e360000
[    0.964835] Bad eraseblock 1855 at 0x00000e7e0000
[    0.989948] 10 fixed-partitions partitions found on MTD device orion_nand
[    0.996774] Creating 10 MTD partitions on "orion_nand":
[    1.002037] 0x000000000000-0x000000200000 : "uboot"
[    1.010619] 0x000000200000-0x000000300000 : "certificate"
[    1.016586] 0x000000300000-0x000000400000 : "preset_cfg"
[    1.023708] 0x000000400000-0x000000500000 : "dev_params"
[    1.029504] 0x000000500000-0x000000600000 : "active_bank"
[    1.036670] 0x000000600000-0x000000700000 : "magic"
[    1.042089] 0x000000700000-0x000002f00000 : "bank1"
[    1.048813] 0x000002f00000-0x000005700000 : "bank2"
[    1.054348] 0x000005a00000-0x000007a00000 : "reserved"
[    1.061397] 0x000007a00000-0x000010000000 : "ubi"
[    1.070456] libphy: Fixed MDIO Bus: probed
[    1.075640] libphy: orion_mdio_bus: probed
[    1.100165] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.861619] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:25:00:6d:f2
[    1.870598] i2c /dev entries driver
[    1.875499] orion_wdt: Initial timeout 21 sec
[    1.892615] marvell-cesa f1030000.crypto: CESA device successfully registered
[    1.900557] NET: Registered protocol family 10
[    1.906827] Segment Routing with IPv6
[    1.910590] NET: Registered protocol family 17
[    1.915250] 8021q: 802.1Q VLAN Support v1.8
[    1.923470] UBI error: no valid UBI magic found inside mtd9
[    1.946814] Freeing unused kernel memory: 6144K
[    1.951931] Run /init as init process
[    2.173199] init: Console is alive
[    2.176818] init: - watchdog -
[    2.187774] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.202921] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.215958] ehci-fsl: Freescale EHCI Host controller driver
[    2.226585] ehci-orion: EHCI orion driver
[    2.230791] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.236358] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.244198] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    2.270865] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.277447] hub 1-0:1.0: USB hub found
[    2.281905] hub 1-0:1.0: 1 port detected
[    2.291407] random: fast init done
[    2.294910] ehci-platform: EHCI generic platform driver
[    2.313343] sata_mv f1080000.sata: slots 32 ports 2
[    2.323603] scsi host0: sata_mv
[    2.327921] scsi host1: sata_mv
[    2.331401] ata1: SATA max UDMA/133 irq 32
[    2.335520] ata2: SATA max UDMA/133 irq 32
[    2.580851] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.673604] ata1: SATA link down (SStatus 0 SControl F300)
[    2.781832] hub 1-1:1.0: USB hub found
[    2.785920] hub 1-1:1.0: 4 ports detected
[    3.002120] ata2: SATA link down (SStatus 0 SControl F300)
[    3.017568] rtc-s35390a 0-0030: registered as rtc0
[    3.023571] rtc-s35390a 0-0030: setting system clock to 2022-01-06T17:09:56 UTC (1641488996)
[    3.033001] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.050602] init: - preinit -
[    3.110907] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    3.236230] random: jshn: uninitialized urandom read (4 bytes read)
[    3.272415] random: procd: uninitialized urandom read (4 bytes read)
[    3.292225] random: jshn: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    7.195044] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[    7.204988] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.329882] procd: - early -
[    8.333452] procd: - watchdog -
[    8.907674] procd: - watchdog -
[    8.911137] procd: - ubus -
[    8.967135] procd: - init -
Please press Enter to activate this console.
[    9.357877] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.450067] urngd: v1.0.2 started.
[    9.475673] xt_time: kernel timezone is -0000
[    9.523574] PPP generic driver version 2.4.2
[    9.541611] NET: Registered protocol family 24
[    9.582143] kmodloader: done loading kernel modules from /etc/modules.d/*
[    9.626675] random: crng init done
[    9.630106] random: 7 urandom warning(s) missed due to ratelimiting



BusyBox v1.34.1 (2021-12-04 00:39:11 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r18283-3843c641d8
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# [   22.171825] br-lan: port 1(eth0) entered blocking state
[   22.177089] br-lan: port 1(eth0) entered disabled state
[   22.182590] device eth0 entered promiscuous mode
[   25.144774] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control enabled
[   25.154624] br-lan: port 1(eth0) entered blocking state
[   25.159879] br-lan: port 1(eth0) entered forwarding state
[   25.167358] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready


status (my router did not enabled ipv6)

root@OpenWrt:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:25:25:00:6D:F2
          inet6 addr: fe80::225:25ff:fe00:6df2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:6548 (6.3 KiB)

eth0      Link encap:Ethernet  HWaddr 00:25:25:00:6D:F2
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:2 dropped:2 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:714 (714.0 B)  TX bytes:6814 (6.6 KiB)
          Interrupt:33

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:128 errors:0 dropped:0 overruns:0 frame:0
          TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9984 (9.7 KiB)  TX bytes:9984 (9.7 KiB)

142.250.68.174 was one of the IPs for google.com

root@OpenWrt:/# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: seq=0 ttl=64 time=0.211 ms
64 bytes from 127.0.0.1: seq=1 ttl=64 time=0.147 ms
64 bytes from 127.0.0.1: seq=2 ttl=64 time=0.125 ms
^C
--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.125/0.161/0.211 ms
root@OpenWrt:/# ping 142.250.68.174
PING 142.250.68.174 (142.250.68.174): 56 data bytes
ping: sendto: Network unreachable

Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 06, 2022 03:27PM
Here is the new u-boot. It has not been tested with any Kirkwood box (only spent a coupe hours to rolll it). So kwboot it, but please do not flash.

Interrupt serial console countdown, and test the Ethernet connection (assuming your router is 192.168.0.1, and you want this box to be 192.168.0.100):

printenv
setenv ipaddr 192.168.0.100
ping 192.168.0.1

and then boot all the way into Debian

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - uboot.2021.10-tld-0.1.c200v1.mtd0.kwb (512 KB)
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 06, 2022 05:20PM
Great news... Looks like everything is working with the new u-boot

root@raspberrypi:~/c200# kwboot -t -B 115200 /dev/ttyAMA0 -b uboot.2021.10-tld-0.1.c200v1.mtd0.kwb -p
Sending boot message. Please reboot the target...\
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
             2%--->98%
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2021.10-tld-0.1 (Jan 06 2022 - 13:10:13 -0800)Ctera C200 V1

SoC:   Kirkwood 88F6281_A1
Model: Ctera C200 V1
DRAM:  512 MiB
NAND:  256 MiB
MMC:
Loading Environment from NAND... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet-controller@72000
88E1116 Initialized on ethernet-controller@72000
Hit any key to stop autoboot:  0
C200_V1>printenv ipaddr
C200_V1>setenv ipaddr "192.168.7.100"
C200_V1>ping 192.168.7.1
ethernet-controller@72000 Waiting for PHY auto negotiation to complete....... done
Using ethernet-controller@72000 device
host 192.168.7.1 is alive

Now printenv

C200_V1>printenv
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-sheevaplug.dtb
ethact=ethernet-controller@72000
ethaddr=00:25:25:00:6d:f2
fdtcontroladdr=1fb53f00
if_netconsole=ping $serverip
ipaddr=192.168.7.100
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@0x0(u-boot),-@0x100000(ubi)
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.7.4
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type  $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
usb_ready_retry=15
ver=U-Boot 2021.10-tld-0.1 (Jan 06 2022 - 13:10:13 -0800)Ctera C200 V1

Environment size: 2872/131068 bytes

Now boot

C200_V1>boot
Initializing devices...
starting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices...
Use USB retry period from the environment: 15 second(s)
3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Unknown command 'ide' - try 'help'
Loading envs from usb 0...
Failed to load '/boot/uEnv.txt'
Loading envs from usb 1...
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
Couldn't find partition usb 3:1
Can't set block device
Loading envs from ide 0...
Couldn't find partition ide 0:1
Can't set block device
Loading envs from ide 1...
Couldn't find partition ide 1:1
Can't set block device
Loading envs from ide 2...
Couldn't find partition ide 2:1
Can't set block device
Loading envs from ide 3...
Couldn't find partition ide 3:1
Can't set block device
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 9 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5576016 bytes read in 312 ms (17 MiB/s)
loading uInitrd ...
9582895 bytes read in 526 ms (17.4 MiB/s)
loading DTB /boot/dts/kirkwood-sheevaplug.dtb ...
12173 bytes read in 15 ms (792 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.9.12-kirkwood-tld-1
   Created:      2021-11-11  15:06:18 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5575952 Bytes = 5.3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.9.12-kirkwood-tld-1
   Created:      2021-11-11  15:06:26 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9582831 Bytes = 9.1 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
   Loading Ramdisk to 1f22e000, end 1fb518ef ... OK
   Loading Device Tree to 1f228000, end 1f22df8c ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.9.12-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 Dec 5 14:05:39 PST 2020
[    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: Ctera C200 V1
[    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@0x0(u-boot),-@0x100000(ubi)
[    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: 492516K/524288K available (10240K kernel code, 1096K rwdata, 4144K rodata, 1024K init, 316K bss, 31772K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x404/0x790 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Rude 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.000010][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000054][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000848][    T0] Console: colour dummy device 80x30
[    0.000904][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000933][    T0] pid_max: default: 32768 minimum: 301
[    0.001356][    T0] LSM: Security Framework initializing
[    0.001511][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001543][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002927][    T0] CPU: Testing write buffer coherency: ok
[    0.004787][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.005096][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.005413][    T1] rcu: Hierarchical SRCU implementation.
[    0.006722][    T1] devtmpfs: initialized
[    0.013705][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013745][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.014017][    T1] xor: measuring software checksum speed
[    0.110120][    T1]    arm4regs  :  1088.800 MB/sec
[    0.210083][    T1]    8regs     :   654.000 MB/sec
[    0.310078][    T1]    32regs    :   950.400 MB/sec
[    0.310100][    T1] xor: using function: arm4regs (1088.800 MB/sec)
[    0.310125][    T1] prandom: seed boundary self test passed
[    0.314305][    T1] prandom: 100 self tests passed
[    0.314317][    T1] pinctrl core: initialized pinctrl subsystem
[    0.315856][    T1] NET: Registered protocol family 16
[    0.316666][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.317719][    T1] audit: initializing netlink subsys (disabled)
[    0.319129][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.319488][   T16] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.319627][    T1] cpuidle: using governor ladder
[    0.319712][    T1] cpuidle: using governor menu
[    0.320263][    T1] Feroceon L2: Enabling L2
[    0.320315][    T1] Feroceon L2: Cache support initialised.
[    0.336586][    T1] No ATAGs?
[    2.560059][    C0] random: fast init done
[    5.410422][    T1] raid6: int32x8  gen()   109 MB/s
[    5.580188][    T1] raid6: int32x8  xor()    69 MB/s
[    5.750157][    T1] raid6: int32x4  gen()   109 MB/s
[    5.920191][    T1] raid6: int32x4  xor()    72 MB/s
[    6.090148][    T1] raid6: int32x2  gen()   142 MB/s
[    6.260147][    T1] raid6: int32x2  xor()    85 MB/s
[    6.430201][    T1] raid6: int32x1  gen()    98 MB/s
[    6.600169][    T1] raid6: int32x1  xor()    60 MB/s
[    6.600181][    T1] raid6: using algorithm int32x2 gen() 142 MB/s
[    6.600190][    T1] raid6: .... xor() 85 MB/s, rmw enabled
[    6.600200][    T1] raid6: using intx1 recovery algorithm
[    6.600462][    T1] vgaarb: loaded
[    6.601035][    T1] SCSI subsystem initialized
[    6.601558][    T1] usbcore: registered new interface driver usbfs
[    6.601639][    T1] usbcore: registered new interface driver hub
[    6.601730][    T1] usbcore: registered new device driver usb
[    6.601961][    T1] pps_core: LinuxPPS API ver. 1 registered
[    6.601974][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    6.602004][    T1] PTP clock support registered
[    6.603643][    T1] clocksource: Switched to clocksource orion_clocksource
[    8.142963][    T1] VFS: Disk quotas dquot_6.6.0
[    8.143070][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    8.154104][    T1] NET: Registered protocol family 2
[    8.154982][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    8.155033][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    8.155103][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    8.155157][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    8.155385][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    8.155454][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    8.155487][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    8.155706][    T1] NET: Registered protocol family 1
[    8.156471][    T1] RPC: Registered named UNIX socket transport module.
[    8.156485][    T1] RPC: Registered udp transport module.
[    8.156495][    T1] RPC: Registered tcp transport module.
[    8.156504][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    8.156520][    T1] PCI: CLS 0 bytes, default 32
[    8.156840][    T1] Trying to unpack rootfs image as initramfs...
[    8.996264][    T1] Freeing initrd memory: 9360K
[    8.996439][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    9.007246][    T1] Initialise system trusted keyrings
[    9.007305][    T1] Key type blacklist registered
[    9.007531][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    9.007641][    T1] zbud: loaded
[    9.009112][    T1] NFS: Registering the id_resolver key type
[    9.009144][    T1] Key type id_resolver registered
[    9.009155][    T1] Key type id_legacy registered
[    9.009198][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    9.009218][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.009510][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    9.010031][    T1] fuse: init (API version 7.31)
[    9.010427][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    9.010640][    T1] orangefs_init: module version upstream loaded
[    9.010654][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    9.108509][    T1] async_tx: api initialized (async)
[    9.108535][    T1] Key type asymmetric registered
[    9.108545][    T1] Asymmetric key parser 'x509' registered
[    9.108605][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    9.108717][    T1] io scheduler bfq registered
[    9.307418][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    9.309393][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    9.309461][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    9.309502][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    9.309530][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    9.309831][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    9.309853][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    9.309874][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    9.309890][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    9.309904][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    9.310043][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    9.310077][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    9.311617][    T1] PCI: bus0: Fast back to back transfers disabled
[    9.311646][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    9.312914][    T1] PCI: bus1: Fast back to back transfers enabled
[    9.312942][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    9.313151][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    9.313170][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    9.313929][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    9.374702][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.377360][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    9.434686][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.437595][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    9.439023][    T1] printk: console [ttyS0] disabled
[    9.439118][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[   10.389415][    T1] printk: console [ttyS0] enabled
[   10.403055][    T1] loop: module loaded
[   10.407766][    T1] sata_mv f1080000.sata: slots 32 ports 2
[   10.417331][    T1] scsi host0: sata_mv
[   10.421877][    T1] scsi host1: sata_mv
[   10.426068][    T1] ata1: SATA max UDMA/133 irq 32
[   10.430888][    T1] ata2: SATA max UDMA/133 irq 32
[   10.437034][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[   10.444211][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit
[   10.449550][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   10.457930][    T1] Scanning device for bad blocks
[   10.515064][    T1] Bad eraseblock 490 at 0x000003d40000
[   10.528353][    T1] Bad eraseblock 565 at 0x0000046a0000
[   10.557309][    T1] Bad eraseblock 787 at 0x000006260000
[   10.569524][    T1] Bad eraseblock 852 at 0x000006a80000
[   10.592304][    T1] Bad eraseblock 1016 at 0x000007f00000
[   10.659446][    T1] Bad eraseblock 1595 at 0x00000c760000
[   10.686793][    T1] Bad eraseblock 1800 at 0x00000e100000
[   10.694219][    T1] Bad eraseblock 1819 at 0x00000e360000
[   10.703457][    T1] Bad eraseblock 1855 at 0x00000e7e0000
[   10.729436][    T1] 2 cmdlinepart partitions found on MTD device orion_nand
[   10.736476][    T1] Creating 2 MTD partitions on "orion_nand":
[   10.742382][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   10.749587][    T1] 0x000000100000-0x000010000000 : "ubi"
[   10.758232][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   10.766874][   T88] ata1: SATA link down (SStatus 0 SControl F300)
[   10.773131][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   10.785004][    T1] libphy: Fixed MDIO Bus: probed
[   10.791136][    T1] libphy: orion_mdio_bus: probed
[   10.812952][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   11.125284][   T90] ata2: SATA link down (SStatus 0 SControl F300)
[   11.494571][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:25:00:6d:f2
[   11.504206][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.511495][    T1] ehci-pci: EHCI PCI platform driver
[   11.516763][    T1] ehci-orion: EHCI orion driver
[   11.521691][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   11.527970][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   11.536573][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   11.563692][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   11.570734][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[   11.579770][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   11.587747][    T1] usb usb1: Product: EHCI Host Controller
[   11.593352][    T1] usb usb1: Manufacturer: Linux 5.9.12-kirkwood-tld-1 ehci_hcd
[   11.600800][    T1] usb usb1: SerialNumber: f1050000.ehci
[   11.606944][    T1] hub 1-0:1.0: USB hub found
[   11.611472][    T1] hub 1-0:1.0: 1 port detected
[   11.617010][    T1] usbcore: registered new interface driver usb-storage
[   11.624218][    T1] mousedev: PS/2 mouse device common for all mice
[   11.630809][    T1] i2c /dev entries driver
[   11.640959][    T1] rtc-s35390a 0-0030: registered as rtc0
[   11.647612][    T1] rtc-s35390a 0-0030: setting system clock to 2022-01-06T23:12:18 UTC (1641510738)
[   11.658125][    T1] device-mapper: uevent: version 1.0.3
[   11.663816][    T1] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com
[   11.673420][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   11.680787][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   11.688188][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   11.695655][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   11.702483][    T1] device-mapper: raid: Loading target version 1.15.1
[   11.712172][    T1] hid: raw HID events driver (C) Jiri Kosina
[   11.718498][    T1] drop_monitor: Initializing network drop monitor service
[   11.726141][    T1] NET: Registered protocol family 10
[   11.732584][    T1] Segment Routing with IPv6
[   11.737030][    T1] RPL Segment Routing with IPv6
[   11.741841][    T1] NET: Registered protocol family 17
[   11.747305][    T1] Key type dns_resolver registered
[   11.752761][    T1] registered taskstats version 1
[   11.757655][    T1] Loading compiled-in X.509 certificates
[   11.763292][    T1] zswap: loaded using pool lzo/zbud
[   11.768800][    T1] Key type ._fscrypt registered
[   11.773531][    T1] Key type .fscrypt registered
[   11.778248][    T1] Key type fscrypt-provisioning registered
[   11.786163][    T1] Key type big_key registered
[   11.821544][    T1] Key type encrypted registered
[   11.832473][    T1] Freeing unused kernel memory: 1024K
[   11.854587][    T1] Checked W+X mappings: passed, no W+X pages found
[   11.860987][    T1] Run /init as init process
Loading, please wait...
[   11.983758][   T98] usb 1-1: new high-speed USB device number 2 using orion-ehci
Starting version 241
[   12.204356][   T98] usb 1-1: New USB device found, idVendor=0409, idProduct=005a, bcdDevice= 1.00
[   12.213304][   T98] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   12.256152][   T98] hub 1-1:1.0: USB hub found
[   12.265653][   T98] hub 1-1:1.0: 4 ports detected
[   12.603746][   T98] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   12.720505][  T136] input: keys as /devices/platform/keys/input/input0
[   12.764847][   T98] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5530, bcdDevice= 1.00
[   12.781860][   T98] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.810647][   T98] usb 1-1.2: Product: Cruzer
[   12.817652][   T98] usb 1-1.2: Manufacturer: SanDisk
[   12.822646][   T98] usb 1-1.2: SerialNumber: 2005244411190D22FC1E
[   12.845120][   T98] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   12.868026][   T98] scsi host2: usb-storage 1-1.2:1.0
[   13.291453][  T130] usbcore: registered new interface driver uas
[   13.924940][   T58] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer           1.02 PQ: 0 ANSI: 2
[   13.939524][    T7] sd 2:0:0:0: [sda] 7813120 512-byte logical blocks: (4.00 GB/3.73 GiB)
[   13.954011][    T7] sd 2:0:0:0: [sda] Write Protect is off
[   13.960241][    T7] sd 2:0:0:0: [sda] No Caching mode page found
[   13.966423][    T7] sd 2:0:0:0: [sda] Assuming drive cache: write through
[   13.987867][    T7]  sda: sda1
[   14.007632][    T7] sd 2:0:0:0: [sda] 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.
[   25.325917][  T151] process '/usr/bin/fstype' started with executable stack
Begin: Will now check root file system ... fsck from util-linux 2.33.1
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   30.507274][  T160] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   30.545086][  T160] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[ ok ] Synthesizing the initial hotplug events (devices)...done.
[....] Waiting for /dev to be fully populated...[   33.667128][  T378] systemd-udevd[378]: Using default interface naming scheme 'v240'.
[   33.843873][  T378] systemd-udevd[378]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   34.084769][  T379] orion_wdt: Initial timeout 21 sec
[   34.370436][  T368] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   34.538906][    C0] random: crng init done
[   34.546404][  T367] marvell-cesa f1030000.crypto: CESA device successfully registered
[   34.640457][  T378] systemd-udevd[378]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
done.
[ ok ] Setting hostname to 'debian'...done.
[ ok ] Activating swap:.
[   36.941080][  T567] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1
e2fsck 1.44.5 (15-Dec-2018)
rootfs: clean, 17847/244320 files, 519829/976384 blocks
. ok
[   37.264272][  T593] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs [ ok at location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[ ok ] Initializing random number generator...done.
[ ok ] Configuring network interfaces...done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1321 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
[   44.547767][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
1348 (klogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 debian ttyS0

debian login: root
Password:
Last login: Thu Jan  6 12:02:13 PST 2022 on ttyS0
Linux debian 5.9.12-kirkwood-tld-1 #1.0 PREEMPT Sat Dec 5 14:05:39 PST 2020 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.


Hello! Network!

root@debian:~# ping 192.168.7.1
PING 192.168.7.1 (192.168.7.1) 56(84) bytes of data.
64 bytes from 192.168.7.1: icmp_seq=1 ttl=64 time=0.507 ms
64 bytes from 192.168.7.1: icmp_seq=2 ttl=64 time=0.393 ms
^C
--- 192.168.7.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 74ms
rtt min/avg/max/mdev = 0.393/0.450/0.507/0.057 ms
root@debian:~# ping www.google.com
PING www.google.com (142.251.32.228) 56(84) bytes of data.
64 bytes from dfw25s43-in-f4.1e100.net (142.251.32.228): icmp_seq=1 ttl=114 time= 17.5 ms
64 bytes from dfw25s43-in-f4.1e100.net (142.251.32.228): icmp_seq=2 ttl=114 time= 24.1 ms
64 bytes from dfw25s43-in-f4.1e100.net (142.251.32.228): icmp_seq=3 ttl=114 time= 17.1 ms
64 bytes from dfw25s43-in-f4.1e100.net (142.251.32.228): icmp_seq=4 ttl=114 time= 20.3 ms
64 bytes from dfw25s43-in-f4.1e100.net (142.251.32.228): icmp_seq=5 ttl=114 time= 16.5 ms
^C
--- www.google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 9ms
rtt min/avg/max/mdev = 16.496/19.088/24.077/2.815 ms
root@debian:~#

Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 06, 2022 05:30PM
> Great news... Looks like everything is working
> with the new u-boot

Fantastic!

> Hello! Network!

Yes!!!

Ok. I'll check a few things and see if I need to polish it a bit.

In the meantime, please test some peripherals like USB, SATA, at the u-boot prompt. Note that the ide command is no longer used in new u-boot. The new command is sata.

sata init
sata info
....


Also, you can change the DTB name to it's proper name.

dtb_file=/boot/dts/kirkwood-sheevaplug.dtb

And in Debian, check if the LEDs work (/sys/class/leds/*). See if you can control them.


I'll be back with the new set of default envs.

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



Edited 1 time(s). Last edit at 01/06/2022 05:32PM by bodhi.
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 06, 2022 05:32PM
Set debian to DHCP, kwboot again, also worked. Router gave the good old 192.168.7.248 to it. :-)


Debian GNU/Linux 10 debian ttyS0

debian login: root
Password:
Last login: Thu Jan  6 15:13:08 PST 2022 on ttyS0
Linux debian 5.9.12-kirkwood-tld-1 #1.0 PREEMPT Sat Dec 5 14:05:39 PST 2020 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.
root@debian:~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.248  netmask 255.255.255.0  broadcast 192.168.7.255
        ether 00:25:25:00:6d:f2  txqueuelen 1000  (Ethernet)
        RX packets 24  bytes 3165 (3.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 16  bytes 2004 (1.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 35

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 2  bytes 140 (140.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 140 (140.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@debian:~# ping www.google.com
PING www.google.com (142.251.32.196) 56(84) bytes of data.
64 bytes from dfw25s42-in-f4.1e100.net (142.251.32.196): icmp_seq=1 ttl=115 time=16.4 ms
64 bytes from dfw25s42-in-f4.1e100.net (142.251.32.196): icmp_seq=2 ttl=115 time=16.4 ms
^C
--- www.google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 2ms
rtt min/avg/max/mdev = 16.388/16.407/16.426/0.019 ms
root@debian:~#

Iperf is not bad.

root@debian:~# iperf -c 192.168.7.87
------------------------------------------------------------
Client connecting to 192.168.7.87, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[  3] local 192.168.7.248 port 37436 connected with 192.168.7.87 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.09 GBytes   935 Mbits/sec
root@debian:~# iperf -c 192.168.7.87
------------------------------------------------------------
Client connecting to 192.168.7.87, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[  3] local 192.168.7.248 port 37438 connected with 192.168.7.87 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.09 GBytes   940 Mbits/sec

Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 06, 2022 05:33PM
>
> Iperf is not bad.
>
>
> root@debian:~# iperf -c 192.168.7.87
> ------------------------------------------------------------
> Client connecting to 192.168.7.87, TCP port 5001
> TCP window size: 43.8 KByte (default)
> ------------------------------------------------------------
> [  3] local 192.168.7.248 port 37436 connected
> with 192.168.7.87 port 5001
> [ ID] Interval       Transfer     Bandwidth
> [  3]  0.0-10.0 sec  1.09 GBytes   935 Mbits/sec
> root@debian:~# iperf -c 192.168.7.87
> ------------------------------------------------------------
> Client connecting to 192.168.7.87, TCP port 5001
> TCP window size: 43.8 KByte (default)
> ------------------------------------------------------------
> [  3] local 192.168.7.248 port 37438 connected
> with 192.168.7.87 port 5001
> [ ID] Interval       Transfer     Bandwidth
> [  3]  0.0-10.0 sec  1.09 GBytes   940 Mbits/sec
> 
>

Cool!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 06, 2022 05:55PM
Will test the LEDs later... currently the box was disassembled and it is difficult to match the LED with its name. :P

I guess we can name the dtb file kirkwood-c200-v1.dtb

Will test the sata command in u-boot later.
Re: Ctera C200 : This looks like a Kirkwood device 512MB mem 2 SATA
January 06, 2022 06:34PM
David,

Use the DTB name that the OpenWrt author uses. Less confusion later.

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