The story started about that I bought a second hand Zyxel 326 NAS which is good enough for fast file transfers, but quickly turned out that the internal NAND memory is faulty and losing the settings after each reboot cycle.
- Activate SSH in the Zyxel NAS 326 Web menu
- SSH to the NAS’s IP, login name: root / password your actual NAS password.
- issue the ‘dmesg’ command, to see about how the kernel booted.
Booting Linux on physical CPU 0x0
Linux version 3.10.39 (root@SDD2SVR2) (gcc version 4.8.5 20150209 (prerelease) (crosstool-NG 1.21.0) ) #1 Thu Nov 10 14:18:33 CST 2016
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Marvell Armada 380/381/382/385/388 (Device Tree), model: Marvell Armada 380 STG-328
Memory policy: ECC disabled, Data cache writealloc
On node 0 totalpages: 131072
free_area_init_node: node 0, pgdat c0ea8024, node_mem_map c0ef7000
Normal zone: 1024 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 131072 pages, LIFO batch:31
CPU: All CPU(s) started in SVC mode.
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: console=ttyS0,115200 ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs1 rw rootdelay=2
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: 512MB = 512MB total
Memory: 504376k/504376k available, 19912k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xe0800000 - 0xfff00000 ( 503 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc081c8a8 (8275 kB)
.init : 0xc081d000 - 0xc0e5075c (6350 kB)
.data : 0xc0e52000 - 0xc0ea90e0 ( 349 kB)
.bss : 0xc0ea90e0 - 0xc0ef6c70 ( 311 kB)
NR_IRQS:16 nr_irqs:16 16
LSP version: linux-3.10.39-2014_T3.0p7
sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
Console: colour dummy device 80x30
Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc063c518 - 0xc063c570
mvebu-pmsu: Initializing Power Management Service Unit
Initializing CPU Reset module
devtmpfs: initialized
mvebu-soc-id: MVEBU SoC ID=0x6810, Rev=0x4
xor: measuring software checksum speed
arm4regs : 2368.000 MB/sec
8regs : 1458.800 MB/sec
32regs : 1408.000 MB/sec
xor: using function: arm4regs (2368.000 MB/sec)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
irq: Cannot allocate irq_descs @ IRQ194, assuming pre-allocated
irq: Cannot allocate irq_descs @ IRQ226, assuming pre-allocated
bio: create slab <bio-0> at 0
raid6: int32x1 203 MB/s
raid6: int32x2 270 MB/s
raid6: int32x4 283 MB/s
raid6: int32x8 323 MB/s
raid6: using algorithm int32x8 (323 MB/s)
raid6: using intx1 recovery algorithm
gpio-ms: gpio_dev = fe00000 (M: 254, m: 0)
[kernel] gpio_request for GPIO[24] failed with error number: -517
[kernel] gpio_request for GPIO[31] failed with error number: -517
[kernel] gpio_request for GPIO[44] failed with error number: -517
mvebu-pcie pcie-controller.3: PCIe0.0: link down
mvebu-pcie pcie-controller.3: PCIe1.0: link down
mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x1000-0xfffff]
pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe8000000]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci 0000:00:01.0: [11ab:7846] type 01 class 0x060400
pci 0000:00:02.0: [11ab:7846] type 01 class 0x060400
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus1: Fast back to back transfers enabled
pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
PCI: bus2: Fast back to back transfers enabled
pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
pci 0000:00:01.0: PCI bridge to [bus 01]
pci 0000:00:02.0: PCI bridge to [bus 02]
PCI: enabling device 0000:00:01.0 (0140 -> 0143)
PCI: enabling device 0000:00:02.0 (0140 -> 0143)
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource armada_370_xp_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
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 named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 64 bytes, default 64
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
fuse init (API version 7.22)
bio: create slab <bio-1> at 1
Btrfs loaded
msgmni has been set to 985
async_tx: api initialized (async)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
****** turn off all LEDs that turned on in u-boot ******
****** blink SYS LED ******
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060800.xor: freeing 1 in use descriptors!
mv_xor f1060800.xor: Marvell XOR: ( crc32c )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060900.xor: freeing 1 in use descriptors!
mv_xor f1060900.xor: Marvell XOR: ( crc32c )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
scsi0 : ahci_mv_platform
scsi1 : ahci_mv_platform
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
armada-nand f10d0000.nand: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
NAND device: Manufacturer ID: 0xc2, Chip ID: 0xda (Macronix NAND 256MiB 3,3V 8-bit), 256MiB, page size: 2048, OOB size: 64
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
nand_read_bbt: bad block at 0x0000003e0000
nand_read_bbt: bad block at 0x000000580000
nand_read_bbt: bad block at 0x000001240000
nand_read_bbt: bad block at 0x000001ac0000
nand_read_bbt: bad block at 0x000001de0000
nand_read_bbt: bad block at 0x000001e00000
nand_read_bbt: bad block at 0x000002b80000
nand_read_bbt: bad block at 0x000003e00000
nand_read_bbt: bad block at 0x0000044c0000
nand_read_bbt: bad block at 0x000005f60000
nand_read_bbt: bad block at 0x000006280000
nand_read_bbt: bad block at 0x000007fa0000
nand_read_bbt: bad block at 0x000008760000
nand_read_bbt: bad block at 0x000008ca0000
nand_read_bbt: bad block at 0x000009960000
nand_read_bbt: bad block at 0x000009c80000
nand_read_bbt: bad block at 0x00000a340000
nand_read_bbt: bad block at 0x00000d900000
nand_read_bbt: bad block at 0x00000ef40000
nand_read_bbt: bad block at 0x00000fe80000
7 ofpart partitions found on MTD device armada-nand
Creating 7 MTD partitions on "armada-nand":
0x000000000000-0x000000200000 : "U-Boot"
0x000000200000-0x000000400000 : "U-Boot env"
0x000000400000-0x000000e00000 : "Config"
0x000000e00000-0x000001d00000 : "Kernel-1"
0x000001d00000-0x000008700000 : "RootFS-1"
0x000008700000-0x000009600000 : "Kernel-2"
0x000009600000-0x000010000000 : "RootFS-2"
m25p80 spi0.0: unrecognized JEDEC id ffffff
SoC: model = 0x6810, revision = 0x4
o 3 Giga ports supported
o SKB recycle supported for SWF (Disabled)
o NETA acceleration mode 1
o RX Queue support: 8 Queues * 256 Descriptors
o TX Queue support: 8 Queues * 532 Descriptors
o GSO supported
o GRO supported
o Receive checksum offload supported
o Transmit checksum offload supported
o Driver ERROR statistics enabled
o Driver INFO statistics enabled
o Driver DEBUG statistics enabled
port #0: is_sgmii=0, is_rgmii=1, phy_addr=1
o Loading network interface(s) for port #0: cpu_mask=0x1, tx_csum_limit=9800
o Port 0 is connected to Linux netdevice
o eth0, ifindex = 2, GbE port = 0
giga p=0: mtu=1500, mac=00:50:43:02:02:01 (platform)
libphy: orion_mdio_bus: probed
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd: block sizes: qh 64 qtd 96 itd 160 sitd 96
ehci-pci: EHCI PCI platform driver
ehci-orion: EHCI orion driver
Initializing Orion-SoC USB Host Controller
orion-ehci f1058000.usb: EHCI Host Controller
orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
orion-ehci f1058000.usb: reset hcs_params 0x10011 dbg=0 ind cc=0 pcc=0 ordered ports=1
orion-ehci f1058000.usb: reset hcc_params 0006 thresh 0 uframes 256/512/1024 park
orion-ehci f1058000.usb: park 0
orion-ehci f1058000.usb: reset command 0080b02 park=3 ithresh=8 period=1024 Reset HALT
orion-ehci f1058000.usb: irq 50, io mem 0xf1058000
orion-ehci f1058000.usb: init command 0010005 (park)=0 ithresh=1 period=512 RUN
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
usb usb1: default language 0x0409
usb usb1: udev 1, busnum 1, minor = 0
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: EHCI Host Controller
usb usb1: Manufacturer: Linux 3.10.39 ehci_hcd
usb usb1: SerialNumber: f1058000.usb
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: individual port power switching
hub 1-0:1.0: individual port over-current protection
hub 1-0:1.0: Single TT
hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
hub 1-0:1.0: power on to power good time: 20ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: enabling power on all ports
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
usb usb2: default language 0x0409
usb usb2: udev 1, busnum 2, minor = 128
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: xHCI Host Controller
usb usb2: Manufacturer: Linux 3.10.39 xhci-hcd
usb usb2: SerialNumber: f10f0000.usb3
ata2: SATA link down (SStatus 0 SControl 300)
ata1: SATA link down (SStatus 0 SControl 300)
usb usb2: usb_probe_device
usb usb2: configuration #1 chosen from 1 choice
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
usb usb2: adding 2-0:1.0 (config #1, interface 0)
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: no power switching (usb 1.0)
hub 2-0:1.0: individual port over-current protection
hub 2-0:1.0: Single TT
hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
hub 2-0:1.0: power on to power good time: 20ms
hub 2-0:1.0: local power source is good
hub 2-0:1.0: trying to enable port power on non-switchable hub
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
usb usb3: skipped 1 descriptor after endpoint
usb usb3: default language 0x0409
usb usb3: udev 1, busnum 3, minor = 256
usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: xHCI Host Controller
usb usb3: Manufacturer: Linux 3.10.39 xhci-hcd
usb usb3: SerialNumber: f10f0000.usb3
usb usb3: usb_probe_device
usb usb3: configuration #1 chosen from 1 choice
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
usb usb3: adding 3-0:1.0 (config #1, interface 0)
hub 3-0:1.0: usb_probe_interface
hub 3-0:1.0: usb_probe_interface - got id
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
hub 3-0:1.0: standalone hub
hub 3-0:1.0: no power switching (usb 1.0)
hub 3-0:1.0: individual port over-current protection
hub 3-0:1.0: TT requires at most 8 FS bit times (666 ns)
hub 3-0:1.0: power on to power good time: 20ms
hub 3-0:1.0: local power source is good
hub 3-0:1.0: trying to enable port power on non-switchable hub
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
usb usb4: default language 0x0409
usb usb4: udev 1, busnum 4, minor = 384
usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: xHCI Host Controller
usb usb4: Manufacturer: Linux 3.10.39 xhci-hcd
usb usb4: SerialNumber: f10f8000.usb3
hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
usb usb4: usb_probe_device
usb usb4: configuration #1 chosen from 1 choice
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
usb usb4: adding 4-0:1.0 (config #1, interface 0)
hub 4-0:1.0: usb_probe_interface
hub 4-0:1.0: usb_probe_interface - got id
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
hub 4-0:1.0: standalone hub
hub 4-0:1.0: no power switching (usb 1.0)
hub 4-0:1.0: individual port over-current protection
hub 4-0:1.0: Single TT
hub 4-0:1.0: TT requires at most 8 FS bit times (666 ns)
hub 4-0:1.0: power on to power good time: 20ms
hub 4-0:1.0: local power source is good
hub 4-0:1.0: trying to enable port power on non-switchable hub
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
usb usb5: skipped 1 descriptor after endpoint
usb usb5: default language 0x0409
usb usb5: udev 1, busnum 5, minor = 512
usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: xHCI Host Controller
usb usb5: Manufacturer: Linux 3.10.39 xhci-hcd
usb usb5: SerialNumber: f10f8000.usb3
hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
usb usb5: usb_probe_device
usb usb5: configuration #1 chosen from 1 choice
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
usb usb5: adding 5-0:1.0 (config #1, interface 0)
hub 5-0:1.0: usb_probe_interface
hub 5-0:1.0: usb_probe_interface - got id
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
hub 5-0:1.0: standalone hub
hub 5-0:1.0: no power switching (usb 1.0)
hub 5-0:1.0: individual port over-current protection
hub 5-0:1.0: TT requires at most 8 FS bit times (666 ns)
hub 5-0:1.0: power on to power good time: 20ms
hub 5-0:1.0: local power source is good
hub 5-0:1.0: trying to enable port power on non-switchable hub
usbcore: registered new interface driver usblp
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
hub 3-0:1.0: state 7 ports 1 chg 0000 evt 0000
mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
hub 4-0:1.0: state 7 ports 1 chg 0000 evt 0000
device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
cpuidle: using governor ladder
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
hub 5-0:1.0: state 7 ports 1 chg 0000 evt 0000
mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using ADMA
sdhci-pltfm: SDHCI platform and OF driver helper
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: int_coalescing(1)
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources threshold 0x2, threshold_time 0xff
mvCesaInit: channels=2, session=640, queue=256
armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
cesadev_init(c0836b3c)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
UBI: attaching mtd4 to ubi0
UBI: scanning is finished
UBI: attached mtd4 (name "RootFS-1", size 106 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 840, bad PEBs: 8, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1370374302
UBI: available PEBs: 0, total reserved PEBs: 840, PEBs reserved for bad PEB handling: 32
mvebu-rtc f10a3800.rtc: setting system clock to 1970-01-02 01:29:34 UTC (91774)
Freeing unused kernel memory: 6348K (c081d000 - c0e50000)
UBI: background thread "ubi_bgt0d" started, PID 1158
eth0: mac address changed
bmPoolId = 0 has unknown buf_size
pool #0: pkt_size=1536, buf_size=1600 - 4096 of 4096 buffers added
egiga0: link up
egiga0: started
egiga0: link down
egiga0: link up, full duplex, speed 1 Gbps
egiga0: link down
egiga0: link up, full duplex, speed 1 Gbps
UBI: detaching mtd4 from ubi0
UBI: mtd4 is detached from ubi0
UBI: attaching mtd4 to ubi4
UBI: scanning is finished
UBI: attached mtd4 (name "RootFS-1", size 106 MiB) to ubi4
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 840, bad PEBs: 8, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1370374302
UBI: available PEBs: 0, total reserved PEBs: 840, PEBs reserved for bad PEB handling: 32
UBI: background thread "ubi_bgt4d" started, PID 1307
UBIFS: mounted UBI device 4, volume 0, name "ubi_rootfs1", R/O mode
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 100691968 bytes (96 MiB, 793 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
UBIFS: reserved for root: 0 bytes (0 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 63A41213-EF4B-4C0C-8047-00F9368D1EC6, small LPT model
EXT4-fs (loop0): mounting ext2 file system using the ext4 subsystem
EXT4-fs (loop0): mounted filesystem without journal. Opts: (null)
UBI: attaching mtd2 to ubi2
UBI: scanning is finished
UBI: attached mtd2 (name "Config", size 10 MiB) to ubi2
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 79, bad PEBs: 1, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 589070624
UBI: available PEBs: 0, total reserved PEBs: 79, PEBs reserved for bad PEB handling: 39
UBI: background thread "ubi_bgt2d" started, PID 1393
UBIFS error (pid 1395): ubifs_read_node: bad node type (255 but expected 6)
UBIFS error (pid 1395): ubifs_read_node: bad node at LEB 0:0, LEB mapping status 0
Not a node, first 24 bytes:
00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ........................
CPU: 0 PID: 1395 Comm: mount Not tainted 3.10.39 #1
[<c0013d8c>] (unwind_backtrace+0x0/0xf4) from [<c0011008>] (show_stack+0x10/0x14)
[<c0011008>] (show_stack+0x10/0x14) from [<c01cfb34>] (ubifs_read_node+0x224/0x290)
[<c01cfb34>] (ubifs_read_node+0x224/0x290) from [<c01ccac8>] (ubifs_read_sb_node+0x54/0x78)
[<c01ccac8>] (ubifs_read_sb_node+0x54/0x78) from [<c01cd2a0>] (ubifs_read_superblock+0x774/0xee4)
[<c01cd2a0>] (ubifs_read_superblock+0x774/0xee4) from [<c01cba54>] (ubifs_mount+0x77c/0x15d0)
[<c01cba54>] (ubifs_mount+0x77c/0x15d0) from [<c008b88c>] (mount_fs+0x14/0xcc)
[<c008b88c>] (mount_fs+0x14/0xcc) from [<c00a0270>] (vfs_kern_mount+0x48/0xc8)
[<c00a0270>] (vfs_kern_mount+0x48/0xc8) from [<c00a23d0>] (do_mount+0x190/0x870)
[<c00a23d0>] (do_mount+0x190/0x870) from [<c00a2b34>] (SyS_mount+0x84/0xb8)
[<c00a2b34>] (SyS_mount+0x84/0xb8) from [<c000dd00>] (ret_fast_syscall+0x0/0x30)
UBI: detaching mtd2 from ubi2
UBI: mtd2 is detached from ubi2
UBI: attaching mtd2 to ubi2
UBI: scanning is finished
UBI: empty MTD device detected
UBI: attached mtd2 (name "Config", size 10 MiB) to ubi2
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 79, bad PEBs: 1, corrupted PEBs: 0
UBI: user volume: 0, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 3239766107
UBI: available PEBs: 36, total reserved PEBs: 43, PEBs reserved for bad PEB handling: 39
UBI: background thread "ubi_bgt2d" started, PID 1415
UBIFS: default file-system created
UBIFS: background thread "ubifs_bgt2_0" started, PID 1420
UBIFS: mounted UBI device 2, volume 0, name "ubi_config"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 3301376 bytes (3 MiB, 26 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 155931 bytes (152 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 6F302790-D967-4FC9-BEFD-41CADC0A2307, small LPT model
NTFS driver 2.1.30 [Flags: R/O MODULE].
tntfs: module license 'Commercial. For support email ntfs-support@tuxera.com.' taints kernel.
Disabling lock debugging due to kernel taint
Tuxera NTFS driver 3015.1.29 [Flags: R/W MODULE].
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
PPP Deflate Compression module registered
NET: Registered protocol family 24
PPP BSD Compression module registered
IPv6: ADDRCONF(NETDEV_CHANGE): egiga0: link becomes ready
Rounding down aligned max_sectors from 4294967295 to 4294967288
We have couple of blad blocks:
NAND device: Manufacturer ID: 0xc2, Chip ID: 0xda (Macronix NAND 256MiB 3,3V 8-bit), 256MiB, page size: 2048, OOB size: 64
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
nand_read_bbt: bad block at 0x0000003e0000
nand_read_bbt: bad block at 0x000000580000
nand_read_bbt: bad block at 0x000001240000
nand_read_bbt: bad block at 0x000001ac0000
nand_read_bbt: bad block at 0x000001de0000
nand_read_bbt: bad block at 0x000001e00000
nand_read_bbt: bad block at 0x000002b80000
nand_read_bbt: bad block at 0x000003e00000
nand_read_bbt: bad block at 0x0000044c0000
nand_read_bbt: bad block at 0x000005f60000
nand_read_bbt: bad block at 0x000006280000
nand_read_bbt: bad block at 0x000007fa0000
nand_read_bbt: bad block at 0x000008760000
nand_read_bbt: bad block at 0x000008ca0000
nand_read_bbt: bad block at 0x000009960000
nand_read_bbt: bad block at 0x000009c80000
nand_read_bbt: bad block at 0x00000a340000
nand_read_bbt: bad block at 0x00000d900000
nand_read_bbt: bad block at 0x00000ef40000
nand_read_bbt: bad block at 0x00000fe80000
Replacing CR2032 battery
Found strange scratches on the board
Battery Replacement did not solve the problem, next is to connect to Serial Console. The Bord can only be connected to TTL console, not directly to serial console
TTL Console adaptor was not able to communicate with my RS232 – USB adaptor, so I had to loop in FTDI-USB adaptor instead of
Zyxel NAS326 Serial Pinouts (same as NSA325 and NSA310S/320S)
GND
RX
TX
+----+----+
| | |
+----+----+----+----+----+
|3.3V| TX | RX | | GND|
+----+----+----+ +----+
- Setup the FTDI-USB adaptor to 3.3V
- Wire the NAS 326’s TX pin to FTDI’s RX pin
- Wire the NAS 326’s RX pin to FTDI’s TX pin.
- Wire the NAS 326’s GND pin to FTDI’s GND pin.
- Open Serial Terminal with portspeed 115200
BootROM - 1.73
Booting from NAND flash
General initialization - Version: 1.0.0
Detected Device ID 6810
High speed PHY - Version: 2.0
Init RD NAS topology board SerDes lanes topology details:
| Lane # | Speed | Type |
--------------------------------
| 0 | 06 | SATA0 |
| 1 | 05 | USB3 HOST0 |
| 2 | 06 | SATA1 |
| 5 | 05 | USB3 HOST1 |
--------------------------------
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
DDR3 Training Sequence - Ended Successfully
Not detected suspend to RAM indication
BootROM: Image checksum verification PASSED
l
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** LOADER **
U-Boot 2013.01-svn48206 (Dec 03 2015 - 02:50:37) Marvell version: 2014_T3.0p6
Board: RD-NAS-88F6820-DDR3
SoC: MV88F6810 Rev A0
running 1 CPUs
CPU: ARM Cortex A9 MPCore (Rev 1) LE
CPU 0
CPU @ 1332 [MHz]
L2 @ 666 [MHz]
TClock @ 200 [MHz]
DDR @ 666 [MHz]
DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM: 512 MiB
Map: Code: 0x1fed0000:0x1ff95e28
BSS: 0x1ffef2b4
Stack: 0x1f9cff20
Heap: 0x1f9d0000:0x1fed0000
U-Boot Environment: 0x00200000:0x00280000 (NAND)
NAND: 256 MiB
MMC: mv_sdh: 0
*** Warning - bad CRC, using default environment
Erasing Nand...
Writing to Nand... done
*** Booting kernel from kernel 1 @0x00E00000 ***
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Net:
| port | Interface | PHY address |
|--------|-----------|--------------|
| egiga0 | RGMII | 0x01 |
egiga0 [PRIME]
Hit any key to stop autoboot: 0
You can see the error message:
*** Warning – bad CRC, using default environment
Erasing Nand…
Writing to Nand… done
This means each time if you reboot/restart/power cycle the NAS it is re-writing the NAND memory, like a factory new system. It looks the bad blocks are poisoning the system and integrity.
So we will install debian to a pendrive based on the following guide:
https://forum.doozan.com/read.php?2,88619,91734
Prepare a Pendrive on an existing Linux:
Download
Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2
Re-partition the pendrive with gparted, partition type ext3 and the label must be ‘rootfs’
mkdir /media/sdb1
mount /dev/sdb1 /media/sdb1
cp ./Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2 /media/sdb1/
cd /media/sdb1
tar -xjf Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2
cd /media/sdb1/boot
cp -a zImage-4.12.4-mvebu-tld-1 zImage
Validate /media/sdb1/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
LABEL=rootfs / ext3 noatime,errors=remount-ro 0 1
Before removing the pendrive sync
sync
umount /dev/sdb1
Plug the pendrive into the Zyxel 326 NAS’s frontend USB port
Reach the NAS through serial console with portspeed 115200.
You can use either kwboot or microcom or putty, whatever useful for you.
setenv curr_bootfrom 1
setenv next_bootfrom 1
setenv load_dtb_addr 0x1000000
setenv load_initrd_addr 0x2900000
setenv load_image_addr 0x02000000
setenv usb_init 'mw.l f1018100 20420000; mw.l f1018140 003E8800; sleep 3; usb start'
setenv set_bootargs_stock 'setenv bootargs "console=ttyS0,115200 ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs1 rw rootdelay=2"'
setenv bootcmd_stock_1 'run set_bootargs_stock; echo Booting from NAND kernel 1 ...; nand read 0x2000000 0x00E00000 0xF00000 && bootz 0x2000000'
setenv bootcmd_stock_2 'run set_bootargs_stock; echo Booting from NAND kernel 2 ...; nand read 0x2000000 0x08700000 0xF00000 && bootz 0x2000000'
setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial"'
setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; run usb_init; ext2load usb 0:1 $load_image_addr /boot/zImage; ext2load usb 0:1 $load_dtb_addr /boot/dts/armada-380-zyxel-nas326.dtb; ext2load usb 0:1 $load_initrd_addr /boot/uInitrd; run usb_set_bootargs; bootz $load_image_addr $load_initrd_addr $load_dtb_addr'
setenv bootcmd_custom 'if run usb_bootcmd; then; else if run bootcmd_stock_1; then; else run bootcmd_stock_2; reset; fi; fi'
setenv kernel_addr_1 '0x00000000; run bootcmd_custom; '
saveenv
Reset the NAS
reset
After the NAS’s uboot became healthy, BAD crc gone and booting from the Pendrive (hopefully the attached pendrive compatible with your machine (for mine only Sandisk Cruzer Blade USB 2.0 Pendrives were working, newer USB 3.0 did not)
Then you will have a Debian Linux that you can access as root/root.
BootROM - 1.73
Booting from NAND flash
General initialization - Version: 1.0.0
Detected Device ID 6810
High speed PHY - Version: 2.0
Init RD NAS topology board SerDes lanes topology details:
| Lane # | Speed | Type |
--------------------------------
| 0 | 06 | SATA0 |
| 1 | 05 | USB3 HOST0 |
| 2 | 06 | SATA1 |
| 5 | 05 | USB3 HOST1 |
--------------------------------
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
DDR3 Training Sequence - Ended Successfully
Not detected suspend to RAM indication
BootROM: Image checksum verification PASSED
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** LOADER **
U-Boot 2013.01-svn48206 (Dec 03 2015 - 02:50:37) Marvell version: 2014_T3.0p6
Board: RD-NAS-88F6820-DDR3
SoC: MV88F6810 Rev A0
running 1 CPUs
CPU: ARM Cortex A9 MPCore (Rev 1) LE
CPU 0
CPU @ 1332 [MHz]
L2 @ 666 [MHz]
TClock @ 200 [MHz]
DDR @ 666 [MHz]
DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM: 512 MiB
Map: Code: 0x1fed0000:0x1ff95e28
BSS: 0x1ffef2b4
Stack: 0x1f9cff20
Heap: 0x1f9d0000:0x1fed0000
U-Boot Environment: 0x00200000:0x00280000 (NAND)
NAND: 256 MiB
MMC: mv_sdh: 0
*** Booting kernel from kernel 1 @0x00000000; run bootcmd_custom; ***
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Net:
| port | Interface | PHY address |
|--------|-----------|--------------|
| egiga0 | RGMII | 0x01 |
egiga0 [PRIME]
Hit any key to stop autoboot: 0
NAND read: device 0 whole chip
Attempt to read outside the flash area
0 bytes read: ERROR
Booting from USB ...
(Re)start USB...
USB0: Port (usbActive) : 0 Interface (usbType = 2) : USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
scanning usb for ethernet devices... 0 Ethernet Device(s) found
4021296 bytes read in 320 ms (12 MiB/s)
18589 bytes read in 614 ms (29.3 KiB/s)
7070236 bytes read in 471 ms (14.3 MiB/s)
* kernel: cmdline image address = 0x02000000
## Loading init Ramdisk from Legacy Image at 02900000 ...
Image Name: initramfs-4.12.4-mvebu-tld-1
Created: 2017-08-22 11:10:43 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 7070172 Bytes = 6.7 MiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 01000000
Booting using the fdt blob at 0x01000000
Loading Ramdisk to 1f310000, end 1f9ce1dc ... OK
Loading Device Tree to 00ff8000, end 00fff89c ... OK
Skipping Device Tree update ('fdt_skip_update' = yes)
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Zyxel NAS326
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 17 pages/cpu @dfbd7000 s40460 r8192 d20980 u69632
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=armada-nand:2m(u-boot),2m(env),2m(config),15m(kernel1),110m(rootfs1),15m(kernel2),-(rootfs2) earlyprintk=serial
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 499324K/524288K available (8192K kernel code, 712K rwdata, 2080K rodata, 1024K init, 331K bss, 24964K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
[ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
[ 0.000000] .data : 0xc0d00000 - 0xc0db2308 ( 713 kB)
[ 0.000000] .bss : 0xc0db9a84 - 0xc0e0ca58 ( 332 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 D prefetch enabled, offset 1 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[ 0.000000] Switching to timer-based delay loop, resolution 40ns
[ 0.000004] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[ 0.007883] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[ 0.019127] Console: colour dummy device 80x30
[ 0.023642] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[ 0.034035] pid_max: default: 32768 minimum: 301
[ 0.038790] Security Framework initialized
[ 0.042988] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.049664] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.057166] CPU: Testing write buffer coherency: ok
[ 0.062241] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.103752] Setting up static identity map for 0x100000 - 0x100060
[ 0.110069] mvebu-soc-id: MVEBU SoC ID=0x6810, Rev=0x4
[ 0.115373] mvebu-pmsu: Initializing Power Management Service Unit
[ 0.173659] smp: Bringing up secondary CPUs ...
[ 0.178254] smp: Brought up 1 node, 1 CPU
[ 0.182330] SMP: Total of 1 processors activated (50.00 BogoMIPS).
[ 0.188577] CPU: All CPU(s) started in SVC mode.
[ 0.193723] devtmpfs: initialized
[ 0.203727] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.211630] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.221552] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.227889] prandom: seed boundary self test passed
[ 0.234872] prandom: 100 self tests passed
[ 0.239033] pinctrl core: initialized pinctrl subsystem
[ 0.244998] NET: Registered protocol family 16
[ 0.250055] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.263604] cpuidle: using governor ladder
[ 0.267783] cpuidle: using governor menu
[ 0.271876] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.279949] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.286062] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[ 0.294225] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[ 0.374658] vgaarb: loaded
[ 0.377680] SCSI subsystem initialized
[ 0.383891] usbcore: registered new interface driver usbfs
[ 0.389753] usbcore: registered new interface driver hub
[ 0.395228] usbcore: registered new device driver usb
[ 0.400735] media: Linux media interface: v0.10
[ 0.405613] Linux video capture interface: v2.00
[ 0.411432] clocksource: Switched to clocksource armada_370_xp_clocksource
[ 0.458984] VFS: Disk quotas dquot_6.6.0
[ 0.463053] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.479595] NET: Registered protocol family 2
[ 0.484829] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.491987] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.498515] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.505357] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.511257] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.517729] NET: Registered protocol family 1
[ 0.542466] RPC: Registered named UNIX socket transport module.
[ 0.548442] RPC: Registered udp transport module.
[ 0.553239] RPC: Registered tcp transport module.
[ 0.558004] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.564619] Unpacking initramfs...
[ 0.842466] Freeing initrd memory: 6908K
[ 0.846581] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.853382] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 0.862602] audit: initializing netlink subsys (disabled)
[ 0.868422] audit: type=2000 audit(0.846:1): state=initialized audit_enabled=0 res=1
[ 0.876682] Initialise system trusted keyrings
[ 0.876703] Key type blacklist registered
[ 0.876810] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.876868] zbud: loaded
[ 0.905372] NFS: Registering the id_resolver key type
[ 0.910491] Key type id_resolver registered
[ 0.914779] Key type id_legacy registered
[ 0.918861] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.925630] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.932163] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.939562] orangefs_debugfs_init: called with debug mask: :none: :0:
[ 0.946244] orangefs_init: module version upstream loaded
[ 0.954510] Key type asymmetric registered
[ 0.958674] Asymmetric key parser 'x509' registered
[ 0.963728] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.971174] io scheduler noop registered
[ 0.975235] io scheduler deadline registered
[ 0.979599] io scheduler cfq registered (default)
[ 0.985441] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[ 0.994332] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[ 1.001264] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff]
[ 1.007989] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[ 1.014947] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.020874] PCI: bus0: Fast back to back transfers disabled
[ 1.026700] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.034788] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.043003] PCI: bus1: Fast back to back transfers enabled
[ 1.048718] PCI: bus2: Fast back to back transfers enabled
[ 1.054337] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 1.059367] pci 0000:00:02.0: PCI bridge to [bus 02]
[ 1.064944] mv_xor f1060800.xor: Marvell shared XOR driver
[ 1.131928] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[ 1.139801] mv_xor f1060900.xor: Marvell shared XOR driver
[ 1.201911] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[ 1.273411] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.282085] console [ttyS0] disabled
[ 1.306250] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[ 1.315371] console [ttyS0] enabled
[ 1.315371] console [ttyS0] enabled
[ 1.322485] bootconsole [earlycon0] disabled
[ 1.322485] bootconsole [earlycon0] disabled
[ 1.332178] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 1.341268] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 1.361305] scsi host0: ahci-mvebu
[ 1.375144] scsi host1: ahci-mvebu
[ 1.378818] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[ 1.386860] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[ 1.395451] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[ 1.403410] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[ 1.409792] nand: Macronix MX30LF2G18AC
[ 1.413749] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.421382] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[ 1.428590] Bad block table found at page 131008, version 0x01
[ 1.434950] Bad block table found at page 130944, version 0x01
[ 1.441024] nand_read_bbt: bad block at 0x0000003e0000
[ 1.446210] nand_read_bbt: bad block at 0x000000580000
[ 1.451370] nand_read_bbt: bad block at 0x000001240000
[ 1.456551] nand_read_bbt: bad block at 0x000001ac0000
[ 1.461778] nand_read_bbt: bad block at 0x000001de0000
[ 1.466937] nand_read_bbt: bad block at 0x000001e00000
[ 1.472118] nand_read_bbt: bad block at 0x000002b80000
[ 1.477278] nand_read_bbt: bad block at 0x000003e00000
[ 1.482458] nand_read_bbt: bad block at 0x0000044c0000
[ 1.487619] nand_read_bbt: bad block at 0x000005f60000
[ 1.492786] nand_read_bbt: bad block at 0x000006280000
[ 1.497947] nand_read_bbt: bad block at 0x000007fa0000
[ 1.503114] nand_read_bbt: bad block at 0x000008760000
[ 1.508273] nand_read_bbt: bad block at 0x000008ca0000
[ 1.513439] nand_read_bbt: bad block at 0x000009960000
[ 1.518597] nand_read_bbt: bad block at 0x000009c80000
[ 1.523763] nand_read_bbt: bad block at 0x00000a340000
[ 1.528924] nand_read_bbt: bad block at 0x00000d900000
[ 1.534092] nand_read_bbt: bad block at 0x00000ef40000
[ 1.539251] nand_read_bbt: bad block at 0x00000fe80000
[ 1.544472] 7 ofpart partitions found on MTD device pxa3xx_nand-0
[ 1.550592] Creating 7 MTD partitions on "pxa3xx_nand-0":
[ 1.556025] 0x000000000000-0x000000200000 : "U-Boot"
[ 1.571894] 0x000000200000-0x000000400000 : "U-Boot env"
[ 1.588077] 0x000000400000-0x000000e00000 : "Config"
[ 1.603933] 0x000000e00000-0x000001d00000 : "Kernel-1"
[ 1.619954] 0x000001d00000-0x000008700000 : "RootFS-1"
[ 1.636435] 0x000008700000-0x000009600000 : "Kernel-2"
[ 1.652537] 0x000009600000-0x000010000000 : "RootFS-2"
[ 1.670474] libphy: Fixed MDIO Bus: probed
[ 1.676235] libphy: orion_mdio_bus: probed
[ 1.685021] mvneta f1070000.ethernet eth0: Using random mac address 16:3f:6c:14:4f:72
[ 1.694259] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.700939] ehci-pci: EHCI PCI platform driver
[ 1.705737] ehci-orion: EHCI orion driver
[ 1.709950] orion-ehci f1058000.usb: EHCI Host Controller
[ 1.715589] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[ 1.723298] orion-ehci f1058000.usb: irq 37, io mem 0xf1058000
[ 1.734241] ata1: SATA link down (SStatus 0 SControl 300)
[ 1.744756] ata2: SATA link down (SStatus 0 SControl 300)
[ 1.751441] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[ 1.757519] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.764363] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.771627] usb usb1: Product: EHCI Host Controller
[ 1.776525] usb usb1: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[ 1.783002] usb usb1: SerialNumber: f1058000.usb
[ 1.788028] hub 1-0:1.0: USB hub found
[ 1.791913] hub 1-0:1.0: 1 port detected
[ 1.796410] xhci-hcd f10f0000.usb3: xHCI Host Controller
[ 1.801861] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[ 1.809458] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[ 1.818073] xhci-hcd f10f0000.usb3: irq 44, io mem 0xf10f0000
[ 1.823991] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.830810] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.838088] usb usb2: Product: xHCI Host Controller
[ 1.843008] usb usb2: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[ 1.849476] usb usb2: SerialNumber: f10f0000.usb3
[ 1.854582] hub 2-0:1.0: USB hub found
[ 1.858432] hub 2-0:1.0: 1 port detected
[ 1.862573] xhci-hcd f10f0000.usb3: xHCI Host Controller
[ 1.867917] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[ 1.875504] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.883744] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[ 1.890563] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.897840] usb usb3: Product: xHCI Host Controller
[ 1.902804] usb usb3: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[ 1.909272] usb usb3: SerialNumber: f10f0000.usb3
[ 1.914369] hub 3-0:1.0: USB hub found
[ 1.918220] hub 3-0:1.0: 1 port detected
[ 1.922449] xhci-hcd f10f8000.usb3: xHCI Host Controller
[ 1.927797] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[ 1.935408] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[ 1.944042] xhci-hcd f10f8000.usb3: irq 45, io mem 0xf10f8000
[ 1.949898] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.956741] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.964015] usb usb4: Product: xHCI Host Controller
[ 1.968913] usb usb4: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[ 1.975448] usb usb4: SerialNumber: f10f8000.usb3
[ 1.980547] hub 4-0:1.0: USB hub found
[ 1.984426] hub 4-0:1.0: 1 port detected
[ 1.988545] xhci-hcd f10f8000.usb3: xHCI Host Controller
[ 1.993915] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[ 2.001502] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.009698] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[ 2.016616] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.023896] usb usb5: Product: xHCI Host Controller
[ 2.028796] usb usb5: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[ 2.035323] usb usb5: SerialNumber: f10f8000.usb3
[ 2.040440] hub 5-0:1.0: USB hub found
[ 2.044319] hub 5-0:1.0: 1 port detected
[ 2.048620] usbcore: registered new interface driver usblp
[ 2.054467] usbcore: registered new interface driver usb-storage
[ 2.060762] mousedev: PS/2 mouse device common for all mice
[ 2.067261] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[ 2.075304] i2c /dev entries driver
[ 2.090497] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[ 2.103399] orion_wdt: Initial timeout 171 sec
[ 2.111142] marvell-cesa f1090000.crypto: CESA device successfully registered
[ 2.118646] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.124615] usbcore: registered new interface driver usbhid
[ 2.130212] usbhid: USB HID core driver
[ 2.134422] drop_monitor: Initializing network drop monitor service
[ 2.140747] Netfilter messages via NETLINK v0.30.
[ 2.145628] ip_set: protocol 6
[ 2.148886] NET: Registered protocol family 10
[ 2.153392] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 2.170839] Segment Routing with IPv6
[ 2.174598] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.181554] NET: Registered protocol family 17
[ 2.186054] 8021q: 802.1Q VLAN Support v1.8
[ 2.190278] Key type dns_resolver registered
[ 2.194849] ThumbEE CPU extension supported.
[ 2.199141] Registering SWP/SWPB emulation handler
[ 2.204427] registered taskstats version 1
[ 2.208542] Loading compiled-in X.509 certificates
[ 2.213544] zswap: loaded using pool lzo/zbud
[ 2.270664] Key type big_key registered
[ 2.278177] Key type encrypted registered
[ 2.283672] v5.0-sata0: supplied by pwr_en_sata0
[ 2.288350] v12.0-sata0: supplied by pwr_en_sata0
[ 2.294165] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 2.301414] armada38x-rtc f10a3800.rtc: setting system clock to 2019-10-09 19:05:10 UTC (1570647910)
[ 2.310892] v5.0-sata1: supplied by pwr_en_sata1
[ 2.315622] v12.0-sata1: supplied by pwr_en_sata1
[ 2.320369] v5.0-sata0: disabling
[ 2.323775] v12.0-sata0: disabling
[ 2.327191] v5.0-sata1: disabling
[ 2.330519] v12.0-sata1: disabling
[ 2.334973] Freeing unused kernel memory: 1024K
[ 2.342426] usb 1-1: New USB device found, idVendor=0781, idProduct=5567
[ 2.349170] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.362982] usb 1-1: Product: Cruzer Blade
[ 2.367102] usb 1-1: Manufacturer: SanDisk
[ 2.371224] usb 1-1: SerialNumber: 2006077413052DF00EE8
Loading, please wait...
[ 2.386413] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 2.414374] scsi host2: usb-storage 1-1:1.0
starting version 232
[ 2.429584] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.437757] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.438042] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.438094] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.462814] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.469499] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.476606] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.483532] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.490422] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.497365] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.791865] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
[ 3.472338] scsi 2:0:0:0: Direct-Access SanDisk Cruzer Blade 2.01 PQ: 0 ANSI: 6
[ 3.493945] sd 2:0:0:0: [sda] 7821312 512-byte logical blocks: (4.00 GB/3.73 GiB)
[ 3.509567] sd 2:0:0:0: [sda] Write Protect is off
[ 3.515053] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 3.532084] sda: sda1
[ 3.544058] sd 2:0:0:0: [sda] Attached SCSI removable disk
[ 3.570900] random: fast init done
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so sk[ 13.396076] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
ipping root file system
[ 13.423510] 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.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Setting hostname to 'debian'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[ 15.047279] sd 2:0:0:0: Attached scsi generic sg0 type 0
done.
[ ok ] Activating swap:.
[ 16.068805] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 22564/244800 files, 321838/977408 blocks
. ok
[ 16.196843] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that 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 ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[ 17.672645] m88e1318_get_wol: phy_id = 0x1410dd1 OK
[ 17.677683] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/16:3f:6c:14:4f:72
Sending on LPF/eth0/16:3f:6c:14:4f:72
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
[ 20.821890] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 20.829773] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPREQUEST of 192.168.2.187 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.2.187 from 192.168.2.1
DHCPACK of 192.168.2.187 from 192.168.2.1
bound to 192.168.2.187 -- renewal in 1394 seconds.
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.
[ 32.242359] random: crng init done
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2579 (syslogd)
. ok
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2578 (klogd)
. ok
[ ok ] Starting NTP server: ntpd.
[ ok ] Running local boot scripts (/etc/rc.local).
Debian GNU/Linux 9 debian ttyS0
debian login: root
Password:
Last login: Wed Oct 9 12:00:02 PDT 2019 on ttyS0
Linux debian 4.12.4-mvebu-tld-1 #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017 armv7l
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.
debian
192.168.2.187
Zyxel NAS326
Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
Debian 9.1
Wed Oct 9 12:14:48 PDT 2019 up 9 minutes
Some diagnostics
Debian GNU/Linux 9 debian ttyS0
debian login: root
Password:
Last login: Wed Oct 9 07:38:00 PDT 2019 on ttyS0
Linux debian 4.12.4-mvebu-tld-1 #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017 armv7l
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.
debian
192.168.2.187
Zyxel NAS326
Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
Debian 9.1
Wed Oct 9 08:04:55 PDT 2019 up
root@debian:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 249660 0 249660 0% /dev
tmpfs 50728 1224 49504 3% /run
/dev/sda1 3782592 840100 2747012 24% /
tmpfs 5120 0 5120 0% /run/lock
tmpfs 101440 0 101440 0% /run/shm
tmpfs 253628 0 253628 0% /tmp
root@debian:~# uname -a
Linux debian 4.12.4-mvebu-tld-1 #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017 armv7l GNU/Linux
root@debian:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00200000 00020000 "U-Boot"
mtd1: 00200000 00020000 "U-Boot env"
mtd2: 00a00000 00020000 "Config"
mtd3: 00f00000 00020000 "Kernel-1"
mtd4: 06a00000 00020000 "RootFS-1"
mtd5: 00f00000 00020000 "Kernel-2"
mtd6: 06a00000 00020000 "RootFS-2"
root@debian:~# cat /etc/fw_env.config
# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd1 0x0000 0x80000 0x20000 4
root@debian:~# ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 532
link/ether a6:ea:04:65:ff:7e brd ff:ff:ff:ff:ff:ff
inet 192.168.2.187/24 brd 192.168.2.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::a4ea:4ff:fe65:ff7e/64 scope link
valid_lft forever preferred_lft forever
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
4: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN group default qlen 1000
link/tunnel6 :: brd ::
root@debian:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=55 time=11.7 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=55 time=6.81 ms
^C
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 2 received, 33% packet loss, time 2070ms
rtt min/avg/max/mdev = 6.819/9.290/11.761/2.471 ms
root@debian:~# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 50.00
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1
Hardware : Marvell Armada 380/385 (Device Tree)
Revision : 0000
Serial : 0000000000000000