Re: Debian on WD MyCloud EX2 Ultra May 09, 2020 05:18PM |
Admin Registered: 12 years ago Posts: 17,890 |
wood
Re: Debian on WD MyCloud EX2 Ultra May 09, 2020 05:27PM |
Re: Debian on WD MyCloud EX2 Ultra May 10, 2020 06:42AM |
Registered: 3 years ago Posts: 4 |
Re: Debian on WD MyCloud EX2 Ultra May 21, 2020 10:02AM |
Registered: 3 years ago Posts: 8 |
Re: Debian on WD MyCloud EX2 Ultra May 21, 2020 05:06PM |
Admin Registered: 12 years ago Posts: 17,890 |
Re: Debian on WD MyCloud EX2 Ultra May 21, 2020 07:37PM |
Admin Registered: 12 years ago Posts: 17,890 |
mcmg2
Re: Debian on WD MyCloud EX2 Ultra June 27, 2020 09:04PM |
Re: Debian on WD MyCloud EX2 Ultra June 27, 2020 10:39PM |
Admin Registered: 12 years ago Posts: 17,890 |
mcmg2
Re: Debian on WD MyCloud EX2 Ultra June 28, 2020 06:04AM |
root@mario:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.6.9-mvebu-tld-1 (root@tldDebianVM) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1.0 SMP PREEMPT Sat May 2 20:48:16 PDT 2020 [ 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: WD MyCloud Ex2 Ultra [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] Normal zone: 1024 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] percpu: Embedded 20 pages/cpu s52108 r8192 d21620 u81920 [ 0.000000] pcpu-alloc: s52108 r8192 d21620 u81920 alloc=20*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) [ 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:on, heap free:off [ 0.000000] Memory: 493204K/524288K available (10240K kernel code, 987K rwdata, 2996K rodata, 1024K init, 341K bss, 31084K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] random: get_random_u32 called from ____cache_alloc+0x338/0x794 with crng_init=0 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 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.000008] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns [ 0.008679] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns [ 0.020380] Switching to timer-based delay loop, resolution 1ns [ 0.027198] Ignoring duplicate/late registration of read_current_timer delay [ 0.034914] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns [ 0.047035] Console: colour dummy device 80x30 [ 0.052167] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000) [ 0.063435] pid_max: default: 32768 minimum: 301 [ 0.068887] LSM: Security Framework initializing [ 0.074229] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.082211] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.090684] *** VALIDATE tmpfs *** [ 0.095143] *** VALIDATE proc *** [ 0.099260] *** VALIDATE cgroup *** [ 0.103428] *** VALIDATE cgroup2 *** [ 0.107731] CPU: Testing write buffer coherency: ok [ 0.113295] CPU0: Spectre v2: using BPIALL workaround [ 0.119187] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.177063] Setting up static identity map for 0x100000 - 0x100060 [ 0.184008] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4 [ 0.189955] mvebu-pmsu: Initializing Power Management Service Unit [ 0.207031] rcu: Hierarchical SRCU implementation. [ 0.247031] smp: Bringing up secondary CPUs ... [ 0.307135] Booting CPU 1 [ 0.310619] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.310623] CPU1: Spectre v2: using BPIALL workaround [ 0.322767] smp: Brought up 1 node, 2 CPUs [ 0.327565] SMP: Total of 2 processors activated (2664.00 BogoMIPS). [ 0.334585] CPU: All CPU(s) started in SVC mode. [ 0.340232] devtmpfs: initialized [ 0.346999] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.355742] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.366267] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.373859] xor: measuring software checksum speed [ 0.477024] arm4regs : 2096.800 MB/sec [ 0.577022] 8regs : 1584.400 MB/sec [ 0.677023] 32regs : 1676.400 MB/sec [ 0.681881] xor: using function: arm4regs (2096.800 MB/sec) [ 0.688133] prandom: seed boundary self test passed [ 0.695244] prandom: 100 self tests passed [ 0.700023] pinctrl core: initialized pinctrl subsystem [ 0.706661] thermal_sys: Registered thermal governor 'step_wise' [ 0.707099] NET: Registered protocol family 16 [ 0.719636] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.727684] audit: initializing netlink subsys (disabled) [ 0.734713] audit: type=2000 audit(0.700:1): state=initialized audit_enabled=0 res=1 [ 0.743189] cpuidle: using governor ladder [ 0.747992] cpuidle: using governor menu [ 0.752790] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.761468] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.768124] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling [ 0.776878] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling [ 0.977051] raid6: int32x8 gen() 244 MB/s [ 1.147071] raid6: int32x8 xor() 166 MB/s [ 1.317079] raid6: int32x4 gen() 280 MB/s [ 1.487033] raid6: int32x4 xor() 181 MB/s [ 1.657034] raid6: int32x2 gen() 450 MB/s [ 1.827063] raid6: int32x2 xor() 258 MB/s [ 1.997028] raid6: int32x1 gen() 514 MB/s [ 2.167054] raid6: int32x1 xor() 205 MB/s [ 2.172007] raid6: using algorithm int32x1 gen() 514 MB/s [ 2.178075] raid6: .... xor() 205 MB/s, rmw enabled [ 2.183629] raid6: using intx1 recovery algorithm [ 2.189795] vgaarb: loaded [ 2.193727] SCSI subsystem initialized [ 2.210670] libata version 3.00 loaded. [ 2.210816] usbcore: registered new interface driver usbfs [ 2.217012] usbcore: registered new interface driver hub [ 2.223079] usbcore: registered new device driver usb [ 2.229131] mc: Linux media interface: v0.10 [ 2.234115] videodev: Linux video capture interface: v2.00 [ 2.240361] pps_core: LinuxPPS API ver. 1 registered [ 2.246009] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 2.255816] PTP clock support registered [ 2.261514] clocksource: Switched to clocksource arm_global_timer [ 3.132512] *** VALIDATE bpf *** [ 3.136602] VFS: Disk quotas dquot_6.6.0 [ 3.141267] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 3.148980] *** VALIDATE ramfs *** [ 3.158680] NET: Registered protocol family 2 [ 3.164217] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 3.173275] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 3.181732] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 3.189567] TCP: Hash tables configured (established 4096 bind 4096) [ 3.196721] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 3.203947] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 3.211708] NET: Registered protocol family 1 [ 3.217108] RPC: Registered named UNIX socket transport module. [ 3.223718] RPC: Registered udp transport module. [ 3.229095] RPC: Registered tcp transport module. [ 3.234497] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.241621] PCI: CLS 0 bytes, default 64 [ 3.246374] Trying to unpack rootfs image as initramfs... [ 3.630283] Freeing initrd memory: 9636K [ 3.635228] NetWinder Floating Point Emulator V0.97 (double precision) [ 3.642659] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 3.662569] Initialise system trusted keyrings [ 3.667712] Key type blacklist registered [ 3.672576] workingset: timestamp_bits=30 max_order=17 bucket_order=0 [ 3.679770] zbud: loaded [ 3.683748] *** VALIDATE nfs *** [ 3.687684] *** VALIDATE nfs4 *** [ 3.691754] NFS: Registering the id_resolver key type [ 3.697487] Key type id_resolver registered [ 3.702394] Key type id_legacy registered [ 3.707086] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.714484] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 3.721777] jffs2: version 2.2. (NAND) (SUMMARY) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc. [ 3.729672] *** VALIDATE jffs2 *** [ 3.734047] orangefs_debugfs_init: called with debug mask: :none: :0: [ 3.741262] orangefs_init: module version upstream loaded [ 3.771829] async_tx: api initialized (async) [ 3.776868] Key type asymmetric registered [ 3.781677] Asymmetric key parser 'x509' registered [ 3.787268] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 3.796860] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver [ 3.806544] mv_xor f1060800.xor: Marvell shared XOR driver [ 3.872094] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 3.881688] mv_xor f1060900.xor: Marvell shared XOR driver [ 3.942079] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 3.988890] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 3.997210] printk: console [ttyS0] disabled [ 4.022948] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A [ 4.032619] printk: console [ttyS0] enabled [ 4.042454] printk: bootconsole [earlycon0] disabled [ 4.074758] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A [ 4.085490] ahci-mvebu f10a8000.sata: f10a8000.sata supply ahci not found, using dummy regulator [ 4.095094] ahci-mvebu f10a8000.sata: f10a8000.sata supply phy not found, using dummy regulator [ 4.104596] ahci-mvebu f10a8000.sata: f10a8000.sata supply target not found, using dummy regulator [ 4.114438] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode [ 4.124251] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs [ 4.134486] scsi host0: ahci-mvebu [ 4.138951] scsi host1: ahci-mvebu [ 4.143273] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 44 [ 4.151948] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 44 [ 4.161887] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda [ 4.168977] nand: Hynix H27U2G8F2CTR-BC [ 4.173557] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 4.182293] Bad block table found at page 131008, version 0x01 [ 4.189503] Bad block table found at page 130944, version 0x01 [ 4.196478] 8 fixed-partitions partitions found on MTD device pxa3xx_nand-0 [ 4.204207] Creating 8 MTD partitions on "pxa3xx_nand-0": [ 4.210341] 0x000000000000-0x000000500000 : "U-Boot" [ 4.217146] 0x000000500000-0x000000a00000 : "uImage" [ 4.223862] 0x000000a00000-0x000000f00000 : "uRamdisk" [ 4.230711] 0x000000f00000-0x00000c800000 : "image.cfs" [ 4.238049] 0x00000c800000-0x00000d700000 : "rescue fw" [ 4.245044] 0x00000d700000-0x00000eb00000 : "config" [ 4.251816] 0x00000eb00000-0x00000f500000 : "reserve1" [ 4.258691] 0x00000f500000-0x00000ff00000 : "reserve2" [ 4.266326] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 4.274933] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 4.286955] libphy: Fixed MDIO Bus: probed [ 4.293150] libphy: orion_mdio_bus: probed [ 4.301907] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled [ 4.314599] mvneta f1034000.ethernet eth0: Using random mac address 42:6a:50:9a:29:4b [ 4.323716] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.330995] ehci-pci: EHCI PCI platform driver [ 4.336270] ehci-orion: EHCI orion driver [ 4.341158] orion-ehci f1058000.usb: EHCI Host Controller [ 4.347332] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1 [ 4.355740] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000 [ 4.391535] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00 [ 4.398347] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06 [ 4.407371] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.415340] usb usb1: Product: EHCI Host Controller [ 4.420944] usb usb1: Manufacturer: Linux 5.6.9-mvebu-tld-1 ehci_hcd [ 4.428037] usb usb1: SerialNumber: f1058000.usb [ 4.433866] hub 1-0:1.0: USB hub found [ 4.438359] hub 1-0:1.0: 1 port detected [ 4.444211] usbcore: registered new interface driver usblp [ 4.450519] usbcore: registered new interface driver usb-storage [ 4.457602] mousedev: PS/2 mouse device common for all mice [ 4.465129] armada38x-rtc f10a3800.rtc: registered as rtc0 [ 4.471884] i2c /dev entries driver [ 4.479494] watchdog: f1020300.watchdog: driver supplied timeout (4294967295) out of range [ 4.488526] watchdog: f1020300.watchdog: falling back to default timeout (171) [ 4.496832] orion_wdt: Initial timeout 171 sec [ 4.502467] device-mapper: uevent: version 1.0.3 [ 4.508005] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com [ 4.517407] device-mapper: multipath round-robin: version 1.2.0 loaded [ 4.524697] device-mapper: multipath queue-length: version 0.2.0 loaded [ 4.532056] device-mapper: multipath service-time: version 0.3.0 loaded [ 4.539431] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 4.546282] device-mapper: raid: Loading target version 1.15.1 [ 4.582443] marvell-cesa f1090000.crypto: CESA device successfully registered [ 4.590677] hid: raw HID events driver (C) Jiri Kosina [ 4.596973] usbcore: registered new interface driver usbhid [ 4.603308] usbhid: USB HID core driver [ 4.607863] exFAT: Version 1.3.0 [ 4.612251] drop_monitor: Initializing network drop monitor service [ 4.619562] NET: Registered protocol family 10 [ 4.625468] Segment Routing with IPv6 [ 4.629903] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 4.637692] NET: Registered protocol family 17 [ 4.643019] 8021q: 802.1Q VLAN Support v1.8 [ 4.647958] Key type dns_resolver registered [ 4.653136] ThumbEE CPU extension supported. [ 4.658131] Registering SWP/SWPB emulation handler [ 4.661542] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 4.663867] registered taskstats version 1 [ 4.670582] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 4.675422] Loading compiled-in X.509 certificates [ 4.682522] ata2.00: ATA-9: WDC WD20EFRX-68EUZN0, 82.00A82, max UDMA/133 [ 4.687939] zswap: loaded using pool lzo/zbud [ 4.695336] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 32) [ 4.707776] ata1.00: ATA-9: WDC WD20EFRX-68EUZN0, 82.00A82, max UDMA/133 [ 4.710607] Key type ._fscrypt registered [ 4.715236] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 32) [ 4.719956] Key type .fscrypt registered [ 4.727332] ata2.00: configured for UDMA/133 [ 4.731873] Key type fscrypt-provisioning registered [ 4.742824] ata1.00: configured for UDMA/133 [ 4.746217] Key type big_key registered [ 4.758315] scsi 0:0:0:0: Direct-Access ATA WDC WD20EFRX-68E 0A82 PQ: 0 ANSI: 5 [ 4.767231] Key type encrypted registered [ 4.772304] scsi 1:0:0:0: Direct-Access ATA WDC WD20EFRX-68E 0A82 PQ: 0 ANSI: 5 [ 4.772486] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB) [ 4.782001] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB) [ 4.792220] xhci-hcd f10f0000.usb3: xHCI Host Controller [ 4.798418] sd 1:0:0:0: [sdb] 4096-byte physical blocks [ 4.804469] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2 [ 4.810522] sd 1:0:0:0: [sdb] Write Protect is off [ 4.818421] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 4.823973] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 4.829950] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.830307] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 [ 4.841583] sd 0:0:0:0: [sda] Write Protect is off [ 4.849855] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000 [ 4.855764] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 4.861946] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.862084] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06 [ 4.880887] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.888865] usb usb2: Product: xHCI Host Controller [ 4.894478] usb usb2: Manufacturer: Linux 5.6.9-mvebu-tld-1 xhci-hcd [ 4.901572] usb usb2: SerialNumber: f10f0000.usb3 [ 4.907482] hub 2-0:1.0: USB hub found [ 4.909907] sdb: sdb1 sdb2 sdb3 sdb4 [ 4.911997] hub 2-0:1.0: 1 port detected [ 4.919630] sda: sda1 sda2 sda3 sda4 [ 4.921363] xhci-hcd f10f0000.usb3: xHCI Host Controller [ 4.931520] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3 [ 4.939800] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed [ 4.946984] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. [ 4.947849] sd 1:0:0:0: [sdb] Attached SCSI removable disk [ 4.956122] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06 [ 4.962869] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 4.971465] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.985278] usb usb3: Product: xHCI Host Controller [ 4.990883] usb usb3: Manufacturer: Linux 5.6.9-mvebu-tld-1 xhci-hcd [ 4.997985] usb usb3: SerialNumber: f10f0000.usb3 [ 5.003869] hub 3-0:1.0: USB hub found [ 5.008362] hub 3-0:1.0: 1 port detected [ 5.013662] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 5.019716] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4 [ 5.028061] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 [ 5.038080] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000 [ 5.044791] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06 [ 5.053814] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.061784] usb usb4: Product: xHCI Host Controller [ 5.067387] usb usb4: Manufacturer: Linux 5.6.9-mvebu-tld-1 xhci-hcd [ 5.074485] usb usb4: SerialNumber: f10f8000.usb3 [ 5.080358] hub 4-0:1.0: USB hub found [ 5.084864] hub 4-0:1.0: 1 port detected [ 5.089824] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 5.095897] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5 [ 5.104145] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed [ 5.111281] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM. [ 5.120210] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06 [ 5.129232] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.137199] usb usb5: Product: xHCI Host Controller [ 5.142809] usb usb5: Manufacturer: Linux 5.6.9-mvebu-tld-1 xhci-hcd [ 5.149896] usb usb5: SerialNumber: f10f8000.usb3 [ 5.155765] hub 5-0:1.0: USB hub found [ 5.160257] hub 5-0:1.0: 1 port detected [ 5.165847] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 5.173823] armada38x-rtc f10a3800.rtc: setting system clock to 2020-06-27T03:59:07 UTC (1593230347) [ 5.186073] Freeing unused kernel memory: 1024K [ 5.211997] Checked W+X mappings: passed, no W+X pages found [ 5.218388] Run /init as init process [ 5.222787] with arguments: [ 5.222791] /init [ 5.222793] with environment: [ 5.222796] HOME=/ [ 5.222798] TERM=linux [ 5.278524] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 5.282937] random: udevadm: uninitialized urandom read (16 bytes read) [ 5.286807] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 5.451575] usb 2-1: new high-speed USB device number 2 using xhci-hcd [ 5.655928] usb 2-1: New USB device found, idVendor=05e3, idProduct=0723, bcdDevice=94.51 [ 5.667399] usb 2-1: New USB device strings: Mfr=3, Product=4, SerialNumber=2 [ 5.675454] usb 2-1: Product: USB Storage [ 5.680188] usb 2-1: Manufacturer: Generic [ 5.685143] usb 2-1: SerialNumber: 000000009451 [ 5.692050] usb-storage 2-1:1.0: USB Mass Storage device detected [ 5.709688] usb-storage 2-1:1.0: Quirks match for vid 05e3 pid 0723: 8000 [ 5.717904] scsi host2: usb-storage 2-1:1.0 [ 5.895511] md/raid1:md126: active with 2 out of 2 mirrors [ 5.960983] random: fast init done [ 6.097971] usbcore: registered new interface driver uas [ 6.104286] md126: detected capacity change from 0 to 2147418112 [ 6.752853] scsi 2:0:0:0: Direct-Access Generic STORAGE DEVICE 9451 PQ: 0 ANSI: 0 [ 6.905644] sd 2:0:0:0: [sdc] 7959552 512-byte logical blocks: (4.08 GB/3.79 GiB) [ 6.914637] sd 2:0:0:0: [sdc] Write Protect is off [ 6.920156] sd 2:0:0:0: [sdc] Mode Sense: 03 00 00 00 [ 6.920885] sd 2:0:0:0: [sdc] No Caching mode page found [ 6.926947] sd 2:0:0:0: [sdc] Assuming drive cache: write through [ 6.939254] sdc: sdc1 [ 6.944928] sd 2:0:0:0: [sdc] Attached SCSI removable disk [ 16.882316] Btrfs loaded, crc32c=crc32c-generic [ 17.507707] process '/bin/fstype' started with executable stack [ 17.645715] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem [ 17.687440] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null) [ 18.443055] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 18.462160] systemd[1]: Detected architecture arm. [ 18.512527] systemd[1]: Set hostname to <mario>. [ 19.591144] systemd[1]: Listening on Journal Audit Socket. [ 19.631741] systemd[1]: Listening on udev Kernel Socket. [ 19.672618] systemd[1]: Created slice System Slice. [ 19.703958] systemd[1]: Mounting RPC Pipe File System... [ 19.741701] systemd[1]: Reached target Swap. [ 19.774120] systemd[1]: Mounting POSIX Message Queue File System... [ 19.811807] systemd[1]: Listening on fsck to fsckd communication Socket. [ 20.111747] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro [ 20.955005] random: crng init done [ 20.959140] random: 7 urandom warning(s) missed due to ratelimiting [ 21.383091] systemd-journald[1710]: Received request to flush runtime journal from PID 1 [ 22.086968] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 22.105103] sd 1:0:0:0: Attached scsi generic sg1 type 0 [ 22.126621] sd 2:0:0:0: Attached scsi generic sg2 type 0 [ 22.450294] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 22.480120] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 26.999294] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl [ 27.138348] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl [ 27.977124] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL) [ 27.987982] mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode [ 33.231890] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 45.959991] NFSD: Using UMH upcall client tracking operations. [ 45.966718] NFSD: starting 90-second grace period (net f0000039) [ 51.382693] fbcon: Taking over console [ 53.361819] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 53.378468] Bridge firewalling registered [ 53.750496] Initializing XFRM netlink socket [ 57.623119] eth0: renamed from vethd94b3ce [ 57.672539] device eth0 entered promiscuous mode [ 60.207312] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0) [ 1059.671093] systemd[1]: apt-daily.timer: Adding 9h 34min 12.288856s random time. [ 1060.862133] systemd[1]: apt-daily.timer: Adding 19min 25.111120s random time. [ 1061.861351] systemd[1]: apt-daily.timer: Adding 10h 33min 27.960080s random time. [ 1063.735346] systemd[1]: apt-daily.timer: Adding 1h 51min 15.098213s random time. [ 1065.123945] systemd[1]: apt-daily.timer: Adding 27min 24.942059s random time. [ 1066.007728] systemd[1]: apt-daily.timer: Adding 7h 56min 11.582675s random time. [ 1067.174714] systemd[1]: apt-daily.timer: Adding 5h 33min 23.997972s random time. [ 1068.181270] systemd[1]: apt-daily.timer: Adding 8h 13min 46.274569s random time. [ 1071.655538] systemd[1]: apt-daily.timer: Adding 4h 46min 2.948159s random time. [ 1082.427831] systemd[1]: apt-daily.timer: Adding 9h 21min 13.644869s random time. [ 1083.576612] systemd[1]: apt-daily.timer: Adding 10h 22min 34.361114s random time. [ 1084.453932] systemd[1]: apt-daily.timer: Adding 2h 29min 26.235582s random time. [ 1085.650840] systemd[1]: apt-daily.timer: Adding 8h 23min 53.289267s random time. [ 1086.892150] systemd[1]: apt-daily.timer: Adding 8h 49min 27.475059s random time. [ 1087.838633] systemd[1]: apt-daily.timer: Adding 9h 1min 15.575984s random time. [ 1088.829102] systemd[1]: apt-daily.timer: Adding 4h 2min 55.349844s random time. [ 1089.790336] systemd[1]: apt-daily.timer: Adding 11h 48min 39.833931s random time. [ 1094.096328] systemd[1]: apt-daily.timer: Adding 8h 59min 2.604592s random time. [ 1095.419407] systemd[1]: apt-daily.timer: Adding 1h 28min 24.077947s random time. [ 1096.309946] systemd[1]: apt-daily.timer: Adding 8h 44min 25.236255s random time. [ 1099.033595] systemd[1]: apt-daily.timer: Adding 9h 26min 13.145403s random time. [ 1100.419810] systemd[1]: apt-daily.timer: Adding 3h 12min 17.186252s random time. [ 1101.377074] systemd[1]: apt-daily.timer: Adding 5h 56min 3.697819s random time. [ 1102.587983] systemd[1]: apt-daily.timer: Adding 2h 6min 37.460742s random time. [ 1103.822407] systemd[1]: apt-daily.timer: Adding 7h 52min 34.278844s random time. root@mario:~#
Re: Debian on WD MyCloud EX2 Ultra June 28, 2020 04:19PM |
Admin Registered: 12 years ago Posts: 17,890 |
Quote
https://forum.doozan.com/read.php?2,32146
Note3:
To enable the network dynamic IP to stay consistent after each reboot, and also for faster boot. In this rootfs, a script is executed during kernel booting (in /etc/rc.local), to detect if a local MAC address was assigned during boot, and then set the persistent MAC address to what is currently defined in u-boot env ethaddr.
/root/set_persistent_mac_address
mcmg2
Re: Debian on WD MyCloud EX2 Ultra June 28, 2020 07:12PM |
root@mario:~# fw_printenv Warning: Bad CRC, using default environment bootargs= bootcmd= bootdelay=2 baudrate=115200 arch=sandbox cpu=sandbox board=sandbox board_name=sandbox stdin=serial,cros-ec-keyb,usbkbd stdout=serial,vidconsole stderr=serial,vidconsole ethaddr=00:00:11:22:33:44 eth1addr=00:00:11:22:33:45 eth3addr=00:00:11:22:33:46 eth5addr=00:00:11:22:33:47 ipaddr=1.2.3.4 host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi boot_net_pci_enum=pci enum boot_net_usb_start=usb start usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi boot_prefixes=/ /boot/ boot_scripts=boot.scr.uimg boot.scr boot_script_dhcp=boot.scr.uimg boot_targets=host1 host0 boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done bootcmd_host1=setenv devnum 1; run host_boot bootcmd_host0=setenv devnum 0; run host_boot distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done bootm_size=0x10000000 kernel_addr_r=0x1000000 fdt_addr_r=0xc00000 ramdisk_addr_r=0x2000000 scriptaddr=0x1000 pxefile_addr_r=0x2000 root@mario:~#
Re: Debian on WD MyCloud EX2 Ultra June 28, 2020 09:50PM |
Admin Registered: 12 years ago Posts: 17,890 |
mcmg2
Re: Debian on WD MyCloud EX2 Ultra June 29, 2020 09:46PM |
▒!e▒- Version: 2.0 Load WD GrandTeton Serdes Config: board SerDes lanes topology details: | Lane # | Speed | Type | -------------------------------- | 0 | 06 | SATA0 | | 1 | 05 | PCIe0 | | 2 | 06 DDR3 Training Sequence - Switching XBAR Window to FastPath Win dow DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2013.01-g7c1da33-dirty_v1.04 (Jul 17 2017 - 18:43:06) Marvell version: 20 14_T3.0p6 mvBoardIdIndexGet(boardId) = 1 Board: GrandTeton DB6820 SoC: MV88F6820 Rev A0 running 2 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: 0x1fece000:0x1ff96010 BSS: 0x1ffef654 Stack: 0x1f9cdf20 Heap: 0x1f9ce000:0x1fece000 raise: Signal # 8 caught raise: Signal # 8 caught U-Boot Environment: 0x00000000:0x00080000 (NAND) NAND: ID: daad ,256 MiB MMC: mv_sdh: 0 PCI-e 0: Detected No Link. USB2.0 0: Host Mode USB3.0 0: Host Mode USB3.0 1: Host Mode Board configuration detected: Creating 1 MTD partitions on "nand0": 0x00000f500000-0x00000ff00000 : "mtd=7" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 126976 bytes UBI: smallest flash I/O unit: 2048 UBI: VID header offset: 2048 (aligned 2048) UBI: data offset: 4096 UBI: attached mtd1 to ubi0 UBI: MTD device name: "mtd=7" UBI: MTD device size: 10 MiB UBI: number of good PEBs: 80 UBI: number of bad PEBs: 0 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: 32 UBI: total number of reserved PEBs: 48 UBI: number of PEBs reserved for bad PEB handling: 2 UBI: max/mean erase counter: 3/1 UBIFS: mounted UBI device 0, volume 0, name "reserve2" UBIFS: mounted read-only UBIFS: file system size: 4063232 bytes (3968 KiB, 3 MiB, 32 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: 200807 bytes (196 KiB) Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)... Done Set lan 2 WakeOnLan ok Enable HD1 Enable HD2 Net: | port | Interface | PHY address | |--------|-----------|--------------| | egiga0 | RGMII | In-Band | | egiga1 | RGMII | In-Band | | egiga2 | SGMII | 0x00 | egiga0, egiga1, egiga2 [PRIME] Hit any key to stop autoboot: 0 Booting from USB ... (Re)start USB... USB0: Port (usbActive) : 0 Interface (usbType = 3) : USB XHCI 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 (Re)start USB... USB0: Port (usbActive) : 0 Interface (usbType = 3) : USB XHCI 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 loading Image ... 5305366 bytes read in 577 ms (8.8 MiB/s) loading uInitrd ... 9864958 bytes read in 731 ms (12.9 MiB/s) ## Booting image at 02000000 ... ## Booting kernel from Legacy Image at 02000000 ... Image Name: Linux-5.6.9-mvebu-tld-1 Created: 2020-06-27 3:15:24 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5305302 Bytes = 5.1 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 02900000 ... Image Name: initramfs-5.6.9-mvebu-tld-1 Created: 2020-06-27 3:15:48 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9864894 Bytes = 9.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.6.9-mvebu-tld-1 (root@tldDebianVM) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1.0 SMP PREEMPT Sat May 2 20:48:16 PDT 2020 [ 0.000000][ T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d [ 0.000000][ T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000][ T0] OF: fdt: Machine model: WD MyCloud Ex2 Ultra [ 0.000000][ T0] printk: bootconsole [earlycon0] enabled [ 0.000000][ T0] Memory policy: Data cache writealloc [ 0.000000][ T0] percpu: Embedded 20 pages/cpu s52108 r8192 d21620 u81920 [ 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 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) [ 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: 493204K/524288K available (10240K kernel code, 987K rwdata, 2996K rodata, 1024K init, 341K bss, 31084K reserved, 0K cma-reserved, 0K highmem) [ 0.000000][ T0] random: get_random_u32 called from ____cache_alloc+0x338/0x794 with crng_init=0 [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000][ T0] Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000][ T0] L2C-310 full line of zeros enabled for Cortex-A9 [ 0.000000][ T0] L2C-310 D prefetch enabled, offset 1 lines [ 0.000000][ T0] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000][ T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB [ 0.000000][ T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001 [ 0.000008][ T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns [ 0.008679][ T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns [ 0.020380][ T0] Switching to timer-based delay loop, resolution 1ns [ 0.027198][ T0] Ignoring duplicate/late registration of read_current_timer delay [ 0.034915][ T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns [ 0.047035][ T0] Console: colour dummy device 80x30 [ 0.052167][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000) [ 0.063435][ T0] pid_max: default: 32768 minimum: 301 [ 0.068888][ T0] LSM: Security Framework initializing [ 0.074230][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.082212][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.090685][ T0] *** VALIDATE tmpfs *** [ 0.095143][ T0] *** VALIDATE proc *** [ 0.099260][ T0] *** VALIDATE cgroup *** [ 0.103428][ T0] *** VALIDATE cgroup2 *** [ 0.107729][ T0] CPU: Testing write buffer coherency: ok [ 0.113293][ T0] CPU0: Spectre v2: using BPIALL workaround [ 0.119185][ T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.177064][ T1] Setting up static identity map for 0x100000 - 0x100060 [ 0.184008][ T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4 [ 0.189956][ T1] mvebu-pmsu: Initializing Power Management Service Unit [ 0.207032][ T1] rcu: Hierarchical SRCU implementation. [ 0.247033][ T1] smp: Bringing up secondary CPUs ... [ 0.307135][ T1] Booting CPU 1 [ 0.310618][ T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.310623][ T0] CPU1: Spectre v2: using BPIALL workaround [ 0.322764][ T1] smp: Brought up 1 node, 2 CPUs [ 0.327562][ T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS). [ 0.334582][ T1] CPU: All CPU(s) started in SVC mode. [ 0.340228][ T1] devtmpfs: initialized [ 0.347000][ T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.355742][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.366267][ T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.373860][ T1] xor: measuring software checksum speed [ 0.477025][ T1] arm4regs : 2096.800 MB/sec [ 0.577023][ T1] 8regs : 1584.400 MB/sec [ 0.677024][ T1] 32regs : 1676.400 MB/sec [ 0.681882][ T1] xor: using function: arm4regs (2096.800 MB/sec) [ 0.688135][ T1] prandom: seed boundary self test passed [ 0.695244][ T1] prandom: 100 self tests passed [ 0.700023][ T1] pinctrl core: initialized pinctrl subsystem [ 0.706666][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 0.707106][ T1] NET: Registered protocol family 16 [ 0.719646][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.727700][ T1] audit: initializing netlink subsys (disabled) [ 0.734721][ T34] audit: type=2000 audit(0.700:1): state=initialized audit_enabled=0 res=1 [ 0.743197][ T1] cpuidle: using governor ladder [ 0.748000][ T1] cpuidle: using governor menu [ 0.752799][ T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.761477][ T1] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.768131][ T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling [ 0.776884][ T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling [ 0.977058][ T1] raid6: int32x8 gen() 244 MB/s [ 1.147072][ T1] raid6: int32x8 xor() 168 MB/s [ 1.317074][ T1] raid6: int32x4 gen() 280 MB/s [ 1.487064][ T1] raid6: int32x4 xor() 179 MB/s [ 1.657055][ T1] raid6: int32x2 gen() 449 MB/s [ 1.827034][ T1] raid6: int32x2 xor() 258 MB/s [ 1.997059][ T1] raid6: int32x1 gen() 513 MB/s [ 2.167050][ T1] raid6: int32x1 xor() 220 MB/s [ 2.171996][ T1] raid6: using algorithm int32x1 gen() 513 MB/s [ 2.178074][ T1] raid6: .... xor() 220 MB/s, rmw enabled [ 2.183623][ T1] raid6: using intx1 recovery algorithm [ 2.189733][ T1] vgaarb: loaded [ 2.193624][ T1] SCSI subsystem initialized [ 2.198703][ T1] usbcore: registered new interface driver usbfs [ 2.204934][ T1] usbcore: registered new interface driver hub [ 2.211034][ T1] usbcore: registered new device driver usb [ 2.217426][ T1] mc: Linux media interface: v0.10 [ 2.222458][ T1] videodev: Linux video capture interface: v2.00 [ 2.228884][ T1] pps_core: LinuxPPS API ver. 1 registered [ 2.234521][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 2.244396][ T1] PTP clock support registered [ 2.250377][ T1] clocksource: Switched to clocksource arm_global_timer [ 3.121573][ T1] *** VALIDATE bpf *** [ 3.125666][ T1] VFS: Disk quotas dquot_6.6.0 [ 3.130332][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 3.138052][ T1] *** VALIDATE ramfs *** [ 3.151616][ T1] NET: Registered protocol family 2 [ 3.157119][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 3.166169][ T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 3.174617][ T1] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 3.182476][ T1] TCP: Hash tables configured (established 4096 bind 4096) [ 3.189596][ T1] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 3.196821][ T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 3.204587][ T1] NET: Registered protocol family 1 [ 3.210000][ T1] RPC: Registered named UNIX socket transport module. [ 3.216606][ T1] RPC: Registered udp transport module. [ 3.222007][ T1] RPC: Registered tcp transport module. [ 3.227383][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.234504][ T1] PCI: CLS 0 bytes, default 64 [ 3.239248][ T1] Trying to unpack rootfs image as initramfs... [ 3.620985][ T1] Freeing initrd memory: 9636K [ 3.625742][ T1] NetWinder Floating Point Emulator V0.97 (double precision) [ 3.633265][ T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 3.653905][ T1] Initialise system trusted keyrings [ 3.659047][ T1] Key type blacklist registered [ 3.663864][ T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0 [ 3.671096][ T1] zbud: loaded [ 3.675084][ T1] *** VALIDATE nfs *** [ 3.679020][ T1] *** VALIDATE nfs4 *** [ 3.683074][ T1] NFS: Registering the id_resolver key type [ 3.688809][ T1] Key type id_resolver registered [ 3.693699][ T1] Key type id_legacy registered [ 3.698392][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.705818][ T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 3.713110][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 3.721040][ T1] *** VALIDATE jffs2 *** [ 3.725427][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 3.732663][ T1] orangefs_init: module version upstream loaded [ 3.762748][ T1] async_tx: api initialized (async) [ 3.767787][ T1] Key type asymmetric registered [ 3.772598][ T1] Asymmetric key parser 'x509' registered [ 3.778251][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 3.788343][ T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver [ 3.798908][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 3.860967][ T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 3.870692][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 3.930951][ T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 3.998683][ T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 4.007431][ T1] printk: console [ttyS0] disabled [ 4.032688][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A [ 4.042363][ T1] printk: console [ttyS0] enabled [ 4.042363][ T1] printk: console [ttyS0] enabled [ 4.052198][ T1] printk: bootconsole [earlycon0] disabled [ 4.052198][ T1] printk: bootconsole [earlycon0] disabled [ 4.084587][ T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A [ 4.095648][ T1] ahci-mvebu f10a8000.sata: f10a8000.sata supply ahci not found, using dummy regulator [ 4.105279][ T1] ahci-mvebu f10a8000.sata: f10a8000.sata supply phy not found, using dummy regulator [ 4.114785][ T1] ahci-mvebu f10a8000.sata: f10a8000.sata supply target not found, using dummy regulator [ 4.124607][ T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode [ 4.134417][ T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs [ 4.144861][ T1] scsi host0: ahci-mvebu [ 4.149388][ T1] scsi host1: ahci-mvebu [ 4.153803][ T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 44 [ 4.162494][ T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 44 [ 4.172167][ T1] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda [ 4.179272][ T1] nand: Hynix H27U2G8F2CTR-BC [ 4.183843][ T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 4.192555][ T1] Bad block table found at page 131008, version 0x01 [ 4.199766][ T1] Bad block table found at page 130944, version 0x01 [ 4.206736][ T1] 8 fixed-partitions partitions found on MTD device pxa3xx_nand-0 [ 4.214443][ T1] Creating 8 MTD partitions on "pxa3xx_nand-0": [ 4.220579][ T1] 0x000000000000-0x000000500000 : "U-Boot" [ 4.227180][ T1] 0x000000500000-0x000000a00000 : "uImage" [ 4.233720][ T1] 0x000000a00000-0x000000f00000 : "uRamdisk" [ 4.240406][ T1] 0x000000f00000-0x00000c800000 : "image.cfs" [ 4.247532][ T1] 0x00000c800000-0x00000d700000 : "rescue fw" [ 4.254315][ T1] 0x00000d700000-0x00000eb00000 : "config" [ 4.260891][ T1] 0x00000eb00000-0x00000f500000 : "reserve1" [ 4.267587][ T1] 0x00000f500000-0x00000ff00000 : "reserve2" [ 4.274762][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 4.283354][ T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 4.294529][ T1] libphy: Fixed MDIO Bus: probed [ 4.300052][ T1] libphy: orion_mdio_bus: probed [ 4.308302][ T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled [ 4.320104][ T1] mvneta f1034000.ethernet eth0: Using random mac address ca:b0:3e:b8:ca:11 [ 4.329032][ T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.336332][ T1] ehci-pci: EHCI PCI platform driver [ 4.341555][ T1] ehci-orion: EHCI orion driver [ 4.346444][ T1] orion-ehci f1058000.usb: EHCI Host Controller [ 4.352604][ T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1 [ 4.361002][ T1] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000 [ 4.390400][ T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00 [ 4.397211][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06 [ 4.406238][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.414209][ T1] usb usb1: Product: EHCI Host Controller [ 4.419812][ T1] usb usb1: Manufacturer: Linux 5.6.9-mvebu-tld-1 ehci_hcd [ 4.426906][ T1] usb usb1: SerialNumber: f1058000.usb [ 4.432650][ T1] hub 1-0:1.0: USB hub found [ 4.437142][ T1] hub 1-0:1.0: 1 port detected [ 4.442722][ T1] usbcore: registered new interface driver usblp [ 4.448987][ T1] usbcore: registered new interface driver usb-storage [ 4.455970][ T1] mousedev: PS/2 mouse device common for all mice [ 4.463228][ T1] armada38x-rtc f10a3800.rtc: registered as rtc0 [ 4.469664][ T1] i2c /dev entries driver [ 4.476605][ T1] watchdog: f1020300.watchdog: driver supplied timeout (4294967295) out of range [ 4.485634][ T1] watchdog: f1020300.watchdog: falling back to default timeout (171) [ 4.493842][ T1] orion_wdt: Initial timeout 171 sec [ 4.499343][ T1] device-mapper: uevent: version 1.0.3 [ 4.501804][ T1250] ata2: SATA link down (SStatus 0 SControl 300) [ 4.510988][ T1] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com [ 4.520186][ T1246] ata1: SATA link down (SStatus 0 SControl 300) [ 4.526539][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 4.533845][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 4.541205][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 4.548582][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 4.556067][ T1] device-mapper: raid: Loading target version 1.15.1 [ 4.590868][ T1] marvell-cesa f1090000.crypto: CESA device successfully registered [ 4.599098][ T1] hid: raw HID events driver (C) Jiri Kosina [ 4.605408][ T1] usbcore: registered new interface driver usbhid [ 4.611760][ T1] usbhid: USB HID core driver [ 4.616317][ T1] exFAT: Version 1.3.0 [ 4.620737][ T1] drop_monitor: Initializing network drop monitor service [ 4.628045][ T1] NET: Registered protocol family 10 [ 4.633964][ T1] Segment Routing with IPv6 [ 4.638402][ T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 4.646168][ T1] NET: Registered protocol family 17 [ 4.651495][ T1] 8021q: 802.1Q VLAN Support v1.8 [ 4.656436][ T1] Key type dns_resolver registered [ 4.661615][ T1] ThumbEE CPU extension supported. [ 4.666610][ T1] Registering SWP/SWPB emulation handler [ 4.672360][ T1] registered taskstats version 1 [ 4.677179][ T1] Loading compiled-in X.509 certificates [ 4.682797][ T1] zswap: loaded using pool lzo/zbud [ 4.688070][ T1] Key type ._fscrypt registered [ 4.692846][ T1] Key type .fscrypt registered [ 4.697488][ T1] Key type fscrypt-provisioning registered [ 4.717575][ T1] Key type big_key registered [ 4.728693][ T1] Key type encrypted registered [ 4.736044][ T52] xhci-hcd f10f0000.usb3: xHCI Host Controller [ 4.742129][ T52] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2 [ 4.750479][ T52] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 [ 4.760496][ T52] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000 [ 4.767210][ T52] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06 [ 4.776235][ T52] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.784225][ T52] usb usb2: Product: xHCI Host Controller [ 4.789829][ T52] usb usb2: Manufacturer: Linux 5.6.9-mvebu-tld-1 xhci-hcd [ 4.796924][ T52] usb usb2: SerialNumber: f10f0000.usb3 [ 4.802790][ T52] hub 2-0:1.0: USB hub found [ 4.807288][ T52] hub 2-0:1.0: 1 port detected [ 4.812180][ T52] xhci-hcd f10f0000.usb3: xHCI Host Controller [ 4.818233][ T52] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3 [ 4.826488][ T52] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed [ 4.833645][ T52] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. [ 4.842574][ T52] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06 [ 4.851599][ T52] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.859559][ T52] usb usb3: Product: xHCI Host Controller [ 4.865170][ T52] usb usb3: Manufacturer: Linux 5.6.9-mvebu-tld-1 xhci-hcd [ 4.872265][ T52] usb usb3: SerialNumber: f10f0000.usb3 [ 4.878020][ T52] hub 3-0:1.0: USB hub found [ 4.882525][ T52] hub 3-0:1.0: 1 port detected [ 4.887638][ T52] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 4.893710][ T52] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4 [ 4.902022][ T52] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 [ 4.912032][ T52] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000 [ 4.918727][ T52] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06 [ 4.927753][ T52] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.935722][ T52] usb usb4: Product: xHCI Host Controller [ 4.941333][ T52] usb usb4: Manufacturer: Linux 5.6.9-mvebu-tld-1 xhci-hcd [ 4.948419][ T52] usb usb4: SerialNumber: f10f8000.usb3 [ 4.954203][ T52] hub 4-0:1.0: USB hub found [ 4.958693][ T52] hub 4-0:1.0: 1 port detected [ 4.963580][ T52] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 4.969632][ T52] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5 [ 4.977884][ T52] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed [ 4.985026][ T52] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM. [ 4.993953][ T52] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06 [ 5.002972][ T52] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.010940][ T52] usb usb5: Product: xHCI Host Controller [ 5.016543][ T52] usb usb5: Manufacturer: Linux 5.6.9-mvebu-tld-1 xhci-hcd [ 5.023637][ T52] usb usb5: SerialNumber: f10f8000.usb3 [ 5.029427][ T52] hub 5-0:1.0: USB hub found [ 5.033931][ T52] hub 5-0:1.0: 1 port detected [ 5.039375][ T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 5.047187][ T1] armada38x-rtc f10a3800.rtc: setting system clock to 2020-06-30T02:40:20 UTC (1593484820) [ 5.059434][ T1] Freeing unused kernel memory: 1024K [ 5.100824][ T1] Checked W+X mappings: passed, no W+X pages found [ 5.107216][ T1] Run /init as init process Loading, please wait... starting version 232 [ 5.167398][ T1555] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 5.171851][ T1556] random: udevadm: uninitialized urandom read (16 bytes read) [ 5.175692][ T1555] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 5.220430][ T52] usb 2-1: new high-speed USB device number 2 using xhci-hcd [ 5.414835][ T52] usb 2-1: New USB device found, idVendor=05e3, idProduct=0723, bcdDevice=94.51 [ 5.424605][ T52] usb 2-1: New USB device strings: Mfr=3, Product=4, SerialNumber=2 [ 5.444325][ T52] usb 2-1: Product: USB Storage [ 5.449084][ T52] usb 2-1: Manufacturer: Generic [ 5.459248][ T52] usb 2-1: SerialNumber: 000000009451 [ 5.466731][ T52] usb-storage 2-1:1.0: USB Mass Storage device detected [ 5.487232][ T52] usb-storage 2-1:1.0: Quirks match for vid 05e3 pid 0723: 8000 [ 5.495197][ T52] scsi host2: usb-storage 2-1:1.0 [ 5.917293][ T1574] usbcore: registered new interface driver uas Begin: Loading essential drivers ... done. [ 6.501721][ T346] scsi 2:0:0:0: Direct-Access Generic STORAGE DEVICE 9451 PQ: 0 ANSI: 0 [ 6.657006][ T7] sd 2:0:0:0: [sda] 7959552 512-byte logical blocks: (4.08 GB/3.79 GiB) [ 6.665996][ T7] sd 2:0:0:0: [sda] Write Protect is off [ 6.672271][ T7] sd 2:0:0:0: [sda] No Caching mode page found [ 6.678313][ T7] sd 2:0:0:0: [sda] Assuming drive cache: write through [ 6.691598][ T7] sda: sda1 [ 6.701250][ T7] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 6.791709][ C0] 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 ... [ 16.040879][ T1606] Btrfs loaded, crc32c=crc32c-generic Scanning for Btrfs filesystems done. [ 16.616559][ T1624] process '/bin/fstype' started with executable stack Begin: Will now check root file system ... fsck from util-linux 2.29.2 [/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 rootfs: recovering journal rootfs: clean, 68448/248992 files, 659241/994560 blocks done. [ 20.372602][ T1635] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 20.414307][ T1635] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [ 21.151752][ T1] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 21.170857][ T1] systemd[1]: Detected architecture arm. Welcome to Debian GNU/Linux 9 (stretch)!
mcmg2
Re: Debian on WD MyCloud EX2 Ultra June 29, 2020 10:57PM |
Marvell>> printenv CASset=max MALLOC_len=5 MPmode=SMP autoload=no baudrate=115200 boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=run bootcmd_usb; run bootcmd_stock; reset bootcmd_auto=stage_boot $boot_order bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; bootcmd_stock=echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000 bootcmd_usb=echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi bootdelay=1 bootdev=usb cacheShare=no console=console=ttyS0,115200 device=0:1 device_partition=0:1 disaMvPnp=no eeeEnable=no enaClockGating=no enaCpuStream=no enaFPU=yes enaMonExt=no enaWrAllo=no eth1addr=00:50:43:20:21:3e eth1mtu=1500 eth2addr=00:50:43:20:f2:3e eth2mtu=1500 eth3addr=00:50:43:21:f2:20 eth3mtu=1500 ethact=egiga2 ethaddr=00:50:43:f2:21:3e ethmtu=1500 ethprime=egiga2 fdt_addr=2040000 fdt_skip_update=yes fdtaddr=0x1000000 fdtfile=armada-38x-modular.dtb filesize=12 ide_path=/ image_name=uImage initrd_name=uInitrd ipaddr=192.168.11.110 kernel_addr_r=2080000 lcd0_enable=0 lcd0_params=640x480-16@60 lcd_panel=0 load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage load_image_addr=0x02000000 load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x2900000 loadaddr=0x02000000 loads_echo=0 mtddevname=u-boot mtddevnum=0 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500 mv_pon_addr=00:50:43:3e:f2:20 nandEcc=nfcConfig=4bitecc netbsd_en=no netmask=255.255.255.0 netretry=no partition=nand0,0 pcieTune=no pexMode=RC pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 ramdisk_addr_r=2880000 rootpath=/srv/nfs/ sata_delay_reset=0 sata_dma_mode=yes script_addr_r=3000000 script_name=boot.scr serverip=192.168.11.114 set_bootargs_stock=setenv bootargs root=/dev/ram console=ttyS0,115200 standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000; stderr=serial stdin=serial stdout=serial usb0Mode=host usbActive=0 usbType=3 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 Environment size: 4231/524284 bytes Marvell>>
Re: Debian on WD MyCloud EX2 Ultra June 29, 2020 11:44PM |
Admin Registered: 12 years ago Posts: 17,890 |
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=pxa3xx_nand-0:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) earlyprintk=serial'and then boot
boot
# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0x00080000 0x20000 0x20000
fw_printenvAnd post serial console log here.
mcmg2
Re: Debian on WD MyCloud EX2 Ultra June 30, 2020 12:39AM |
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=pxa3xx_nand-0:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) earlyprintk=serial' Marvell>> boot Booting from USB ... (Re)start USB... USB0: Port (usbActive) : 0 Interface (usbType = 3) : USB XHCI 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 (Re)start USB... USB0: Port (usbActive) : 0 Interface (usbType = 3) : USB XHCI 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 loading Image ... 5305366 bytes read in 577 ms (8.8 MiB/s) loading uInitrd ... 9864958 bytes read in 730 ms (12.9 MiB/s) ## Booting image at 02000000 ... ## Booting kernel from Legacy Image at 02000000 ... Image Name: Linux-5.6.9-mvebu-tld-1 Created: 2020-06-27 3:15:24 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5305302 Bytes = 5.1 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 02900000 ... Image Name: initramfs-5.6.9-mvebu-tld-1 Created: 2020-06-27 3:15:48 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9864894 Bytes = 9.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.6.9-mvebu-tld-1 (root@tldDebianVM) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1.0 SMP PREEMPT Sat May 2 20:48:16 PDT 2020 [ 0.000000][ T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d [ 0.000000][ T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000][ T0] OF: fdt: Machine model: WD MyCloud Ex2 Ultra [ 0.000000][ T0] printk: bootconsole [earlycon0] enabled [ 0.000000][ T0] Memory policy: Data cache writealloc [ 0.000000][ T0] percpu: Embedded 20 pages/cpu s52108 r8192 d21620 u81920 [ 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=pxa3xx_nand-0:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) earlyprintk=serial [ 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: 493204K/524288K available (10240K kernel code, 987K rwdata, 2996K rodata, 1024K init, 341K bss, 31084K reserved, 0K cma-reserved, 0K highmem) [ 0.000000][ T0] random: get_random_u32 called from ____cache_alloc+0x338/0x794 with crng_init=0 [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000][ T0] Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000][ T0] L2C-310 full line of zeros enabled for Cortex-A9 [ 0.000000][ T0] L2C-310 D prefetch enabled, offset 1 lines [ 0.000000][ T0] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000][ T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB [ 0.000000][ T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001 [ 0.000008][ T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns [ 0.008680][ T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns [ 0.020381][ T0] Switching to timer-based delay loop, resolution 1ns [ 0.027201][ T0] Ignoring duplicate/late registration of read_current_timer delay [ 0.034917][ T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns [ 0.047038][ T0] Console: colour dummy device 80x30 [ 0.052170][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000) [ 0.063438][ T0] pid_max: default: 32768 minimum: 301 [ 0.068890][ T0] LSM: Security Framework initializing [ 0.074232][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.082214][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.090688][ T0] *** VALIDATE tmpfs *** [ 0.095146][ T0] *** VALIDATE proc *** [ 0.099264][ T0] *** VALIDATE cgroup *** [ 0.103431][ T0] *** VALIDATE cgroup2 *** [ 0.107733][ T0] CPU: Testing write buffer coherency: ok [ 0.113297][ T0] CPU0: Spectre v2: using BPIALL workaround [ 0.119190][ T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.177068][ T1] Setting up static identity map for 0x100000 - 0x100060 [ 0.184013][ T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4 [ 0.189960][ T1] mvebu-pmsu: Initializing Power Management Service Unit [ 0.207035][ T1] rcu: Hierarchical SRCU implementation. [ 0.247035][ T1] smp: Bringing up secondary CPUs ... [ 0.307138][ T1] Booting CPU 1 [ 0.310622][ T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.310627][ T0] CPU1: Spectre v2: using BPIALL workaround [ 0.322770][ T1] smp: Brought up 1 node, 2 CPUs [ 0.327568][ T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS). [ 0.334588][ T1] CPU: All CPU(s) started in SVC mode. [ 0.340241][ T1] devtmpfs: initialized [ 0.347005][ T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.355756][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.366284][ T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.373875][ T1] xor: measuring software checksum speed [ 0.477028][ T1] arm4regs : 2096.800 MB/sec [ 0.577027][ T1] 8regs : 1584.400 MB/sec [ 0.677028][ T1] 32regs : 1676.400 MB/sec [ 0.681886][ T1] xor: using function: arm4regs (2096.800 MB/sec) [ 0.688139][ T1] prandom: seed boundary self test passed [ 0.695248][ T1] prandom: 100 self tests passed [ 0.700027][ T1] pinctrl core: initialized pinctrl subsystem [ 0.706658][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 0.707097][ T1] NET: Registered protocol family 16 [ 0.719634][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.727680][ T1] audit: initializing netlink subsys (disabled) [ 0.734698][ T34] audit: type=2000 audit(0.700:1): state=initialized audit_enabled=0 res=1 [ 0.743171][ T1] cpuidle: using governor ladder [ 0.747973][ T1] cpuidle: using governor menu [ 0.752772][ T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.761449][ T1] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.768104][ T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling [ 0.776857][ T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling [ 0.977054][ T1] raid6: int32x8 gen() 244 MB/s [ 1.147060][ T1] raid6: int32x8 xor() 169 MB/s [ 1.317105][ T1] raid6: int32x4 gen() 280 MB/s [ 1.487044][ T1] raid6: int32x4 xor() 179 MB/s [ 1.657061][ T1] raid6: int32x2 gen() 450 MB/s [ 1.827023][ T1] raid6: int32x2 xor() 256 MB/s [ 1.997049][ T1] raid6: int32x1 gen() 513 MB/s [ 2.167072][ T1] raid6: int32x1 xor() 220 MB/s [ 2.172022][ T1] raid6: using algorithm int32x1 gen() 513 MB/s [ 2.178089][ T1] raid6: .... xor() 220 MB/s, rmw enabled [ 2.183645][ T1] raid6: using intx1 recovery algorithm [ 2.189813][ T1] vgaarb: loaded [ 2.193744][ T1] SCSI subsystem initialized [ 2.210821][ T1] usbcore: registered new interface driver usbfs [ 2.217017][ T1] usbcore: registered new interface driver hub [ 2.223141][ T1] usbcore: registered new device driver usb [ 2.229512][ T1] mc: Linux media interface: v0.10 [ 2.234537][ T1] videodev: Linux video capture interface: v2.00 [ 2.240974][ T1] pps_core: LinuxPPS API ver. 1 registered [ 2.246612][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 2.256467][ T1] PTP clock support registered [ 2.262485][ T1] clocksource: Switched to clocksource arm_global_timer [ 3.133488][ T1] *** VALIDATE bpf *** [ 3.137576][ T1] VFS: Disk quotas dquot_6.6.0 [ 3.142243][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 3.149959][ T1] *** VALIDATE ramfs *** [ 3.162939][ T1] NET: Registered protocol family 2 [ 3.168422][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 3.177472][ T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 3.185922][ T1] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 3.193783][ T1] TCP: Hash tables configured (established 4096 bind 4096) [ 3.200904][ T1] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 3.208136][ T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 3.215911][ T1] NET: Registered protocol family 1 [ 3.221346][ T1] RPC: Registered named UNIX socket transport module. [ 3.227958][ T1] RPC: Registered udp transport module. [ 3.233361][ T1] RPC: Registered tcp transport module. [ 3.238738][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.245861][ T1] PCI: CLS 0 bytes, default 64 [ 3.250617][ T1] Trying to unpack rootfs image as initramfs... [ 3.634537][ T1] Freeing initrd memory: 9636K [ 3.639294][ T1] NetWinder Floating Point Emulator V0.97 (double precision) [ 3.646951][ T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 3.667545][ T1] Initialise system trusted keyrings [ 3.672719][ T1] Key type blacklist registered [ 3.677499][ T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0 [ 3.684728][ T1] zbud: loaded [ 3.688715][ T1] *** VALIDATE nfs *** [ 3.692683][ T1] *** VALIDATE nfs4 *** [ 3.696714][ T1] NFS: Registering the id_resolver key type [ 3.702446][ T1] Key type id_resolver registered [ 3.707337][ T1] Key type id_legacy registered [ 3.712030][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.719436][ T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 3.726730][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 3.734661][ T1] *** VALIDATE jffs2 *** [ 3.739056][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 3.746295][ T1] orangefs_init: module version upstream loaded [ 3.776391][ T1] async_tx: api initialized (async) [ 3.781431][ T1] Key type asymmetric registered [ 3.786247][ T1] Asymmetric key parser 'x509' registered [ 3.791896][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 3.802008][ T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver [ 3.812631][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 3.873049][ T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 3.882765][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 3.943049][ T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 4.007090][ T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 4.015803][ T1] printk: console [ttyS0] disabled [ 4.040858][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A [ 4.050528][ T1] printk: console [ttyS0] enabled [ 4.050528][ T1] printk: console [ttyS0] enabled [ 4.060345][ T1] printk: bootconsole [earlycon0] disabled [ 4.060345][ T1] printk: bootconsole [earlycon0] disabled [ 4.092685][ T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A [ 4.103764][ T1] ahci-mvebu f10a8000.sata: f10a8000.sata supply ahci not found, using dummy regulator [ 4.113390][ T1] ahci-mvebu f10a8000.sata: f10a8000.sata supply phy not found, using dummy regulator [ 4.122896][ T1] ahci-mvebu f10a8000.sata: f10a8000.sata supply target not found, using dummy regulator [ 4.132712][ T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode [ 4.142527][ T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs [ 4.153020][ T1] scsi host0: ahci-mvebu [ 4.157564][ T1] scsi host1: ahci-mvebu [ 4.161948][ T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 44 [ 4.170625][ T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 44 [ 4.180278][ T1] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda [ 4.187410][ T1] nand: Hynix H27U2G8F2CTR-BC [ 4.191967][ T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 4.200694][ T1] Bad block table found at page 131008, version 0x01 [ 4.207938][ T1] Bad block table found at page 130944, version 0x01 [ 4.214883][ T1] 8 cmdlinepart partitions found on MTD device pxa3xx_nand-0 [ 4.222145][ T1] Creating 8 MTD partitions on "pxa3xx_nand-0": [ 4.228302][ T1] 0x000000000000-0x000000500000 : "u-boot" [ 4.234845][ T1] 0x000000500000-0x000000a00000 : "kernel" [ 4.241274][ T1] 0x000000a00000-0x000000f00000 : "uRamdisk" [ 4.247911][ T1] 0x000000f00000-0x00000c800000 : "image.cfs" [ 4.255001][ T1] 0x00000c800000-0x00000d700000 : "rescue_fw" [ 4.261706][ T1] 0x00000d700000-0x00000eb00000 : "config" [ 4.268198][ T1] 0x00000eb00000-0x00000f500000 : "reserve1" [ 4.274833][ T1] 0x00000f500000-0x00000ff00000 : "reserve2" [ 4.281928][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 4.290518][ T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 4.301712][ T1] libphy: Fixed MDIO Bus: probed [ 4.307252][ T1] libphy: orion_mdio_bus: probed [ 4.315549][ T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled [ 4.327339][ T1] mvneta f1034000.ethernet eth0: Using random mac address d6:1d:bb:b2:65:4c [ 4.336260][ T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.343566][ T1] ehci-pci: EHCI PCI platform driver [ 4.348795][ T1] ehci-orion: EHCI orion driver [ 4.353695][ T1] orion-ehci f1058000.usb: EHCI Host Controller [ 4.359838][ T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1 [ 4.368248][ T1] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000 [ 4.402500][ T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00 [ 4.409312][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06 [ 4.418339][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.426309][ T1] usb usb1: Product: EHCI Host Controller [ 4.431912][ T1] usb usb1: Manufacturer: Linux 5.6.9-mvebu-tld-1 ehci_hcd [ 4.439005][ T1] usb usb1: SerialNumber: f1058000.usb [ 4.444736][ T1] hub 1-0:1.0: USB hub found [ 4.449229][ T1] hub 1-0:1.0: 1 port detected [ 4.454803][ T1] usbcore: registered new interface driver usblp [ 4.461067][ T1] usbcore: registered new interface driver usb-storage [ 4.468040][ T1] mousedev: PS/2 mouse device common for all mice [ 4.475279][ T1] armada38x-rtc f10a3800.rtc: registered as rtc0 [ 4.481716][ T1] i2c /dev entries driver [ 4.488639][ T1] watchdog: f1020300.watchdog: driver supplied timeout (4294967295) out of range [ 4.497672][ T1] watchdog: f1020300.watchdog: falling back to default timeout (171) [ 4.503804][ T1249] ata2: SATA link down (SStatus 0 SControl 300) [ 4.505889][ T1] orion_wdt: Initial timeout 171 sec [ 4.516932][ T1245] ata1: SATA link down (SStatus 0 SControl 300) [ 4.523433][ T1] device-mapper: uevent: version 1.0.3 [ 4.528913][ T1] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com [ 4.538314][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 4.545606][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 4.552963][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 4.560339][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 4.567322][ T1] device-mapper: raid: Loading target version 1.15.1 [ 4.601929][ T1] marvell-cesa f1090000.crypto: CESA device successfully registered [ 4.610191][ T1] hid: raw HID events driver (C) Jiri Kosina [ 4.616481][ T1] usbcore: registered new interface driver usbhid [ 4.622829][ T1] usbhid: USB HID core driver [ 4.627385][ T1] exFAT: Version 1.3.0 [ 4.631750][ T1] drop_monitor: Initializing network drop monitor service [ 4.639090][ T1] NET: Registered protocol family 10 [ 4.644996][ T1] Segment Routing with IPv6 [ 4.649429][ T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 4.657210][ T1] NET: Registered protocol family 17 [ 4.662531][ T1] 8021q: 802.1Q VLAN Support v1.8 [ 4.667473][ T1] Key type dns_resolver registered [ 4.672656][ T1] ThumbEE CPU extension supported. [ 4.677651][ T1] Registering SWP/SWPB emulation handler [ 4.683402][ T1] registered taskstats version 1 [ 4.688220][ T1] Loading compiled-in X.509 certificates [ 4.693836][ T1] zswap: loaded using pool lzo/zbud [ 4.699095][ T1] Key type ._fscrypt registered [ 4.703856][ T1] Key type .fscrypt registered [ 4.708498][ T1] Key type fscrypt-provisioning registered [ 4.728453][ T1] Key type big_key registered [ 4.739555][ T1] Key type encrypted registered [ 4.746925][ T23] xhci-hcd f10f0000.usb3: xHCI Host Controller [ 4.753044][ T23] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2 [ 4.761355][ T23] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 [ 4.771393][ T23] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000 [ 4.778130][ T23] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06 [ 4.787153][ T23] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.795144][ T23] usb usb2: Product: xHCI Host Controller [ 4.800747][ T23] usb usb2: Manufacturer: Linux 5.6.9-mvebu-tld-1 xhci-hcd [ 4.807845][ T23] usb usb2: SerialNumber: f10f0000.usb3 [ 4.813666][ T23] hub 2-0:1.0: USB hub found [ 4.818160][ T23] hub 2-0:1.0: 1 port detected [ 4.823040][ T23] xhci-hcd f10f0000.usb3: xHCI Host Controller [ 4.829088][ T23] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3 [ 4.837356][ T23] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed [ 4.844506][ T23] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. [ 4.853448][ T23] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06 [ 4.862457][ T23] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.870428][ T23] usb usb3: Product: xHCI Host Controller [ 4.876053][ T23] usb usb3: Manufacturer: Linux 5.6.9-mvebu-tld-1 xhci-hcd [ 4.883148][ T23] usb usb3: SerialNumber: f10f0000.usb3 [ 4.888908][ T23] hub 3-0:1.0: USB hub found [ 4.893430][ T23] hub 3-0:1.0: 1 port detected [ 4.898531][ T23] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 4.904600][ T23] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4 [ 4.912927][ T23] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 [ 4.922943][ T23] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000 [ 4.929640][ T23] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06 [ 4.938679][ T23] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.946648][ T23] usb usb4: Product: xHCI Host Controller [ 4.952251][ T23] usb usb4: Manufacturer: Linux 5.6.9-mvebu-tld-1 xhci-hcd [ 4.959357][ T23] usb usb4: SerialNumber: f10f8000.usb3 [ 4.965135][ T23] hub 4-0:1.0: USB hub found [ 4.969626][ T23] hub 4-0:1.0: 1 port detected [ 4.974509][ T23] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 4.980557][ T23] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5 [ 4.988806][ T23] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed [ 4.995957][ T23] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM. [ 5.004891][ T23] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06 [ 5.013910][ T23] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.021871][ T23] usb usb5: Product: xHCI Host Controller [ 5.027481][ T23] usb usb5: Manufacturer: Linux 5.6.9-mvebu-tld-1 xhci-hcd [ 5.034575][ T23] usb usb5: SerialNumber: f10f8000.usb3 [ 5.040319][ T23] hub 5-0:1.0: USB hub found [ 5.044823][ T23] hub 5-0:1.0: 1 port detected [ 5.050311][ T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 5.058332][ T1] armada38x-rtc f10a3800.rtc: setting system clock to 2020-06-30T05:13:32 UTC (1593494012) [ 5.070597][ T1] Freeing unused kernel memory: 1024K [ 5.102963][ T1] Checked W+X mappings: passed, no W+X pages found [ 5.109354][ T1] Run /init as init process Loading, please wait... starting version 232 [ 5.170012][ T1555] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 5.178367][ T1555] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 5.178415][ T1556] random: udevadm: uninitialized urandom read (16 bytes read) [ 5.322530][ T23] usb 2-1: new high-speed USB device number 2 using xhci-hcd [ 5.506912][ T23] usb 2-1: New USB device found, idVendor=05e3, idProduct=0723, bcdDevice=94.51 [ 5.522367][ T23] usb 2-1: New USB device strings: Mfr=3, Product=4, SerialNumber=2 [ 5.530285][ T23] usb 2-1: Product: USB Storage [ 5.535027][ T23] usb 2-1: Manufacturer: Generic [ 5.539932][ T23] usb 2-1: SerialNumber: 000000009451 [ 5.546263][ T23] usb-storage 2-1:1.0: USB Mass Storage device detected [ 5.563356][ T23] usb-storage 2-1:1.0: Quirks match for vid 05e3 pid 0723: 8000 [ 5.570970][ T23] scsi host2: usb-storage 2-1:1.0 [ 5.945171][ T1574] usbcore: registered new interface driver uas [ 6.593814][ T36] scsi 2:0:0:0: Direct-Access Generic STORAGE DEVICE 9451 PQ: 0 ANSI: 0 [ 6.739794][ T20] sd 2:0:0:0: [sda] 7959552 512-byte logical blocks: (4.08 GB/3.79 GiB) [ 6.748779][ T20] sd 2:0:0:0: [sda] Write Protect is off [ 6.755068][ T20] sd 2:0:0:0: [sda] No Caching mode page found [ 6.761110][ T20] sd 2:0:0:0: [sda] Assuming drive cache: write through [ 6.773367][ T20] sda: sda1 [ 6.779012][ T20] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 6.875423][ C0] random: fast init done 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 ... [ 18.073934][ T1606] Btrfs loaded, crc32c=crc32c-generic Scanning for Btrfs filesystems done. [ 18.658598][ T1624] process '/bin/fstype' started with executable stack Begin: Will now check root file system ... fsck from util-linux 2.29.2 [/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 rootfs: recovering journal rootfs: clean, 68456/248992 files, 659315/994560 blocks done. [ 18.861781][ T1635] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 18.903395][ T1635] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [ 19.643702][ T1] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 19.662815][ T1] systemd[1]: Detected architecture arm. Welcome to Debian GNU/Linux 9 (stretch)!
root@mario:~# nano /etc/fw_env.config GNU nano 2.7.4 File: /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size $ #/dev/mtd1 0x0000 0x80000 0x20000 $ /dev/mtd0 0x00080000 0x20000 0x20000
root@mario:~# fw_printenv Warning: Bad CRC, using default environment bootargs= bootcmd= bootdelay=2 baudrate=115200 arch=sandbox cpu=sandbox board=sandbox board_name=sandbox stdin=serial,cros-ec-keyb,usbkbd stdout=serial,vidconsole stderr=serial,vidconsole ethaddr=00:00:11:22:33:44 eth1addr=00:00:11:22:33:45 eth3addr=00:00:11:22:33:46 eth5addr=00:00:11:22:33:47 ipaddr=1.2.3.4 host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi boot_net_pci_enum=pci enum boot_net_usb_start=usb start usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi boot_prefixes=/ /boot/ boot_scripts=boot.scr.uimg boot.scr boot_script_dhcp=boot.scr.uimg boot_targets=host1 host0 boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done bootcmd_host1=setenv devnum 1; run host_boot bootcmd_host0=setenv devnum 0; run host_boot distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done bootm_size=0x10000000 kernel_addr_r=0x1000000 fdt_addr_r=0xc00000 ramdisk_addr_r=0x2000000 scriptaddr=0x1000 pxefile_addr_r=0x2000 root@mario:~#
mcmg2
Re: Debian on WD MyCloud EX2 Ultra June 30, 2020 01:53AM |
/dev/mtd0 0x100000 0x80000 0x20000 4
root@mario:~# fw_printenv CASset=max MALLOC_len=5 MPmode=SMP autoload=no baudrate=115200 boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=run bootcmd_usb; run bootcmd_stock; reset bootcmd_auto=stage_boot $boot_order bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr; bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; bootcmd_stock=echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000 bootcmd_usb=echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi bootdelay=1 bootdev=usb cacheShare=no console=console=ttyS0,115200 device=0:1 device_partition=0:1 disaMvPnp=no eeeEnable=no enaClockGating=no enaCpuStream=no enaFPU=yes enaMonExt=no enaWrAllo=no eth1addr=00:50:43:20:21:3e eth1mtu=1500 eth2addr=00:50:43:20:f2:3e eth2mtu=1500 eth3addr=00:50:43:21:f2:20 eth3mtu=1500 ethact=egiga2 ethaddr=00:50:43:f2:21:3e ethmtu=1500 ethprime=egiga2 fdt_addr=2040000 fdt_skip_update=yes fdtaddr=0x1000000 fdtfile=armada-38x-modular.dtb filesize=12 ide_path=/ image_name=uImage initrd_name=uInitrd ipaddr=192.168.11.110 kernel_addr_r=2080000 lcd0_enable=0 lcd0_params=640x480-16@60 lcd_panel=0 load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage load_image_addr=0x02000000 load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x2900000 loadaddr=0x02000000 loads_echo=0 mtddevname=u-boot mtddevnum=0 mtdids=nand0=armada-nand mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500 mv_pon_addr=00:50:43:3e:f2:20 nandEcc=nfcConfig=4bitecc netbsd_en=no netmask=255.255.255.0 netretry=no partition=nand0,0 pcieTune=no pexMode=RC pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 ramdisk_addr_r=2880000 rootpath=/srv/nfs/ sata_delay_reset=0 sata_dma_mode=yes script_addr_r=3000000 script_name=boot.scr serverip=192.168.11.114 set_bootargs_stock=setenv bootargs root=/dev/ram console=ttyS0,115200 standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000; stderr=serial stdin=serial stdout=serial usb0Mode=host usbActive=0 usbType=3 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81 root@mario:~#
Re: Debian on WD MyCloud EX2 Ultra June 30, 2020 05:02AM |
Admin Registered: 12 years ago Posts: 17,890 |
> /dev/mtd0 0x100000 0x80000 0x20000 4 >
Aoliv
Re: Debian on WD MyCloud EX2 Ultra July 17, 2020 01:20PM |
Re: Debian on WD MyCloud EX2 Ultra July 17, 2020 03:58PM |
Admin Registered: 12 years ago Posts: 17,890 |
Re: Debian on WD MyCloud EX2 Ultra August 02, 2020 05:01AM |
Registered: 5 years ago Posts: 34 |
> > /dev/mtd0 0x100000 0x80000 0x20000 4 > >>
Re: Debian on WD MyCloud EX2 Ultra August 02, 2020 08:48PM |
Admin Registered: 12 years ago Posts: 17,890 |
> > > /dev/mtd0 0x100000 0x80000 0x20000 4 > > >> >
Aoliv
Re: Debian on WD MyCloud EX2 Ultra August 12, 2020 01:13PM |
Re: Debian on WD MyCloud EX2 Ultra August 13, 2020 01:25AM |
Admin Registered: 12 years ago Posts: 17,890 |
Re: Debian on WD MyCloud EX2 Ultra August 13, 2020 04:08AM |
Registered: 9 years ago Posts: 225 |
Yodaxy
Re: Debian on WD MyCloud EX2 Ultra December 08, 2020 12:57AM |
Re: Debian on WD MyCloud EX2 Ultra December 08, 2020 04:07PM |
Admin Registered: 12 years ago Posts: 17,890 |
printenv
Re: Debian on WD MyCloud EX2 Ultra December 10, 2020 02:30AM |
Registered: 2 years ago Posts: 17 |
Re: Debian on WD MyCloud EX2 Ultra December 10, 2020 04:06AM |
Admin Registered: 12 years ago Posts: 17,890 |
Re: Debian on WD MyCloud EX2 Ultra December 21, 2020 12:57AM |
Registered: 2 years ago Posts: 17 |
BootROM - 1.73 Booting from NAND flash General initialization - Version: 1.0.0 Detected Device ID 6820 High speed PHY - Version: 2.0 Load WD GrandTeton Serdes Config: board SerDes lanes topology details: | Lane # | Speed | Type | -------------------------------- | 0 | 06 | SATA0 | | 1 | 05 | PCIe0 | | 2 | 06 | SATA1 | | 3 | 05 | USB3 HOST1 | | 4 | 05 | USB3 HOST0 | | 5 | 00 | SGMII2 | -------------------------------- PCIe, Idx 0: detected no link 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 BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2013.01_v1.04 (Apr 19 2020 - 23:10:38) Marvell version: 2014_T3.0p6 mvBoardIdIndexGet(boardId) = 1 Board: GrandTeton DB6820 SoC: MV88F6820 Rev A0 running 2 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: 1 GiB Map: Code: 0x3fece000:0x3ff96000 BSS: 0x3ffef654 Stack: 0x3f9cdf20 Heap: 0x3f9ce000:0x3fece000 raise: Signal # 8 caught raise: Signal # 8 caught U-Boot Environment: 0x00000000:0x00080000 (NAND) NAND: ID: daad ,256 MiB MMC: mv_sdh: 0 PCI-e 0: Detected No Link. USB2.0 0: Host Mode USB3.0 0: Host Mode USB3.0 1: Host Mode Board configuration detected: Creating 1 MTD partitions on "nand0": 0x00000f500000-0x00000ff00000 : "mtd=7" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 126976 bytes UBI: smallest flash I/O unit: 2048 UBI: VID header offset: 2048 (aligned 2048) UBI: data offset: 4096 UBI: attached mtd1 to ubi0 UBI: MTD device name: "mtd=7" UBI: MTD device size: 10 MiB UBI: number of good PEBs: 80 UBI: number of bad PEBs: 0 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: 32 UBI: total number of reserved PEBs: 48 UBI: number of PEBs reserved for bad PEB handling: 2 UBI: max/mean erase counter: 4/1 UBIFS: mounted UBI device 0, volume 0, name "reserve2" UBIFS: mounted read-only UBIFS: file system size: 4063232 bytes (3968 KiB, 3 MiB, 32 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: 200807 bytes (196 KiB) Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)... Done Set lan 2 WakeOnLan ok Enable HD1 Enable HD2 Net: | port | Interface | PHY address | |--------|-----------|--------------| | egiga0 | RGMII | In-Band | | egiga1 | RGMII | In-Band | | egiga2 | SGMII | 0x00 | egiga0, egiga1, egiga2 [PRIME] Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x500000, size 0x500000 5242880 bytes read: OK NAND read: device 0 offset 0xa00000, size 0x500000 5242880 bytes read: OK ## Booting image at 02000020 ... ## Booting kernel from Legacy Image at 02000020 ... Image Name: Kernel-v5.10.1-newdts Created: 2020-12-19 22:04:36 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3896134 Bytes = 3.7 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 02900000 ... Image Name: Initrd Created: 2017-03-14 19:05:31 UTC Image Type: ARM Linux RAMDisk Image (lzma compressed) Data Size: 3344286 Bytes = 3.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... DTB:0x003BACF0 (0x00004656) C:0x000080C0-0x003BF3E0->0x00D7F200-0x01136520 DTB:0x01131E30 (0x000046D3) Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 5.10.1 (root@NAS-MediaServer.fritz.box) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1 SMP Thu Dec 17 18:06:52 CET 2020 CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache OF: fdt: Machine model: WD MyCloud Ex2 Ultra: Marvell Armada 385 Memory policy: Data cache writealloc Zone ranges: Normal [mem 0x0000000000000000-0x000000002fffffff] HighMem [mem 0x0000000030000000-0x000000003fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000000000000-0x000000003fffffff] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff] percpu: Embedded 15 pages/cpu s30220 r8192 d23028 u61440 Built 1 zonelists, mobility grouping on. Total pages: 260608 Kernel command line: root=/dev/ram console=ttyS0,115200 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 1022952K/1048576K available (8192K kernel code, 505K rwdata, 2112K rodata, 1024K init, 366K bss, 25624K reserved, 0K cma-reserved, 262144K highmem) rcu: Hierarchical RCU implementation. rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000 L2C-310 enabling early BRESP for Cortex-A9 L2C-310 full line of zeros enabled for Cortex-A9 L2C-310 D prefetch enabled, offset 1 lines L2C-310 dynamic clock gating enabled, standby mode enabled L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001 random: get_random_bytes called from start_kernel+0x2bc/0x4bc with crng_init=0 sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns Switching to timer-based delay loop, resolution 1ns Ignoring duplicate/late registration of read_current_timer delay clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns Console: colour dummy device 80x30 Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) CPU: Testing write buffer coherency: ok CPU0: Spectre v2: using BPIALL workaround CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0x100000 - 0x100060 mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4 mvebu-pmsu: Initializing Power Management Service Unit rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Booting CPU 1 CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 CPU1: Spectre v2: using BPIALL workaround smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated (2664.00 BogoMIPS). CPU: All CPU(s) started in SVC mode. devtmpfs: initialized VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations thermal_sys: Registered thermal governor 'step_wise' cpuidle: using governor ladder mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling cryptd: max_cpu_qlen set to 1000 raid6: neonx8 gen() 592 MB/s raid6: neonx8 xor() 502 MB/s raid6: neonx4 gen() 1693 MB/s raid6: neonx4 xor() 1121 MB/s raid6: neonx2 gen() 2071 MB/s raid6: neonx2 xor() 1328 MB/s raid6: neonx1 gen() 1749 MB/s raid6: neonx1 xor() 1163 MB/s raid6: int32x8 gen() 244 MB/s raid6: int32x8 xor() 169 MB/s raid6: int32x4 gen() 280 MB/s raid6: int32x4 xor() 174 MB/s raid6: int32x2 gen() 448 MB/s raid6: int32x2 xor() 246 MB/s raid6: int32x1 gen() 513 MB/s raid6: int32x1 xor() 204 MB/s raid6: using algorithm neonx2 gen() 2071 MB/s raid6: .... xor() 1328 MB/s, rmw enabled raid6: using neon recovery algorithm SCSI subsystem initialized 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 Bluetooth: Core ver 2.22 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: L2CAP socket layer initialized Bluetooth: SCO socket layer initialized clocksource: Switched to clocksource arm_global_timer VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) FS-Cache: Loaded CacheFiles: Loaded NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) 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 0 bytes, default 64 Trying to unpack rootfs image as initramfs... Freeing initrd memory: 3268K Initialise system trusted keyrings workingset: timestamp_bits=30 max_order=18 bucket_order=0 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). FS-Cache: Netfs 'cifs' registered for caching Key type cifs.idmap registered xor: measuring software checksum speed arm4regs : 2172 MB/sec 8regs : 1637 MB/sec 32regs : 1733 MB/sec neon : 1599 MB/sec xor: using function: arm4regs (2172 MB/sec) async_tx: api initialized (async) Key type asymmetric registered Asymmetric key parser 'x509' registered bounce: pool size: 64 pages Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) io scheduler kyber registered armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver mv_xor f1060800.xor: Marvell shared XOR driver mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) mv_xor f1060900.xor: Marvell shared XOR driver mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled printk: console [ttyS0] disabled f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A printk: console [ttyS0] enabled f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A brd: module loaded loop: module loaded ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs scsi host0: ahci-mvebu scsi host1: ahci-mvebu ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52 ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52 libphy: Fixed MDIO Bus: probed libphy: orion_mdio_bus: probed mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled mvneta f1034000.ethernet eth0: Using random mac address 96:73:7b:8d:8e:09 usbcore: registered new interface driver lan78xx ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-orion: EHCI orion driver orion-ehci f1058000.usb: EHCI Host Controller orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1 orion-ehci f1058000.usb: irq 48, io mem 0xf1058000 orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: EHCI Host Controller usb usb1: Manufacturer: Linux 5.10.1 ehci_hcd usb usb1: SerialNumber: f1058000.usb hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected xhci-hcd f10f0000.usb3: xHCI Host Controller xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2 xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 xhci-hcd f10f0000.usb3: irq 53, io mem 0xf10f0000 usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: xHCI Host Controller usb usb2: Manufacturer: Linux 5.10.1 xhci-hcd usb usb2: SerialNumber: f10f0000.usb3 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected xhci-hcd f10f0000.usb3: xHCI Host Controller xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3 xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb3: Product: xHCI Host Controller usb usb3: Manufacturer: Linux 5.10.1 xhci-hcd usb usb3: SerialNumber: f10f0000.usb3 hub 3-0:1.0: USB hub found hub 3-0:1.0: 1 port detected xhci-hcd f10f8000.usb3: xHCI Host Controller xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4 xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 xhci-hcd f10f8000.usb3: irq 54, io mem 0xf10f8000 usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb4: Product: xHCI Host Controller usb usb4: Manufacturer: Linux 5.10.1 xhci-hcd usb usb4: SerialNumber: f10f8000.usb3 hub 4-0:1.0: USB hub found hub 4-0:1.0: 1 port detected xhci-hcd f10f8000.usb3: xHCI Host Controller xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5 xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed usb usb5: We don't know the algorithms for LPM for this host, disabling LPM. usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb5: Product: xHCI Host Controller usb usb5: Manufacturer: Linux 5.10.1 xhci-hcd usb usb5: SerialNumber: f10f8000.usb3 hub 5-0:1.0: USB hub found hub 5-0:1.0: 1 port detected usbcore: registered new interface driver usb-storage armada38x-rtc f10a3800.rtc: registered as rtc0 armada38x-rtc f10a3800.rtc: setting system clock to 2020-12-20T21:48:30 UTC (1608500910) i2c /dev entries driver device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper ledtrig-cpu: registered to indicate activity on CPUs marvell-cesa f1090000.crypto: CESA device successfully registered hid: raw HID events driver (C) Jiri Kosina usbcore: registered new interface driver usbhid usbhid: USB HID core driver NET: Registered protocol family 10 Segment Routing with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 Bridge firewalling registered 8021q: 802.1Q VLAN Support v1.8 Key type dns_resolver registered ThumbEE CPU extension supported. Registering SWP/SWPB emulation handler registered taskstats version 1 Loading compiled-in X.509 certificates Key type ._fscrypt registered Key type .fscrypt registered Key type fscrypt-provisioning registered input: gpio-keys as /devices/platform/gpio-keys/input/input0 ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300) ata1.00: ATA-9: WDC WD60EFRX-68L0BN1, 82.00A82, max UDMA/133 ata1.00: 11721045168 sectors, multi 0: LBA48 NCQ (depth 32) ata2.00: ATA-9: WDC WD60EFRX-68L0BN1, 82.00A82, max UDMA/133 ata2.00: 11721045168 sectors, multi 0: LBA48 NCQ (depth 32) ata1.00: configured for UDMA/133 ata2.00: configured for UDMA/133 scsi 0:0:0:0: Direct-Access ATA WDC WD60EFRX-68L 0A82 PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB) scsi 1:0:0:0: Direct-Access ATA WDC WD60EFRX-68L 0A82 PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 4096-byte physical blocks sd 1:0:0:0: [sdb] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB) sd 0:0:0:0: [sda] Write Protect is off sd 1:0:0:0: [sdb] 4096-byte physical blocks sd 1:0:0:0: [sdb] Write Protect is off sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda2 sda3 sd 0:0:0:0: [sda] Attached SCSI removable disk sdb: sdb1 sdb2 sdb3 sd 1:0:0:0: [sdb] Attached SCSI removable disk Freeing unused kernel memory: 1024K Run /init as init process usb 5-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd usb 5-1: New USB device found, idVendor=0781, idProduct=5581, bcdDevice= 1.00 usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 5-1: Product: SanDisk 3.2Gen1 usb 5-1: Manufacturer: USB usb 5-1: SerialNumber: 0501c7e871816fc2a478ecb4d0b21e6aa823c104de0a59f9dca8c8e1775b6d0ee0d000000000000000000000ccc5bf4a0091131081558107912948b0 usb-storage 5-1:1.0: USB Mass Storage device detected scsi host2: usb-storage 5-1:1.0 random: fast init done md: md2 stopped. md/raid1:md2: active with 2 out of 2 mirrors md2: detected capacity change from 0 to 5994040000512 mdadm: /dev/md/2 has been started with 2 drives. md: md1 stopped. md/raid1:md1: active with 2 out of 2 mirrors md1: detected capacity change from 0 to 6483345408 mdadm: /dev/md/1 has been started with 2 drives.md: md0 stopped. md/raid1:md0: active with 2 out of 2 mirrors md0: detected capacity change from 0 to 510328832 mdadm: /dev/md/0 has been started with 2 drives. ubiattach: UBI_IOCATT: No such device mount: mounting ubi0:config on /mnt/config failed: No such device cp: can't stat '/mnt/config/initrd/shadow': No such file or directory random: lvm: uninitialized urandom read (4 bytes read) Reading all physical volumes. This may take a while... No volume groups found No volume groups found random: lvm: uninitialized urandom read (4 bytes read) No volume groups found random: lvm: uninitialized urandom read (4 bytes read) Reading all physical volumes. This may take a while... No volume groups found No volume groups found ash: write error: Device or resource busy /init: line 146: can't create /sys/class/gpio/gpio50/active_low: nonexistent directory Press any key or reset key to stop and run shell...scsi 2:0:0:0: Direct-Access USB SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6 sd 2:0:0:0: [sdc] 120127488 512-byte logical blocks: (61.5 GB/57.3 GiB) sd 2:0:0:0: [sdc] Write Protect is off sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA sdc: sdc1 sd 2:0:0:0: [sdc] Attached SCSI removable disk cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory ash: 1: unknown operand 5..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory ash: 1: unknown operand 4..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory ash: 1: unknown operand 3..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory ash: 1: unknown operand 2..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory ash: 1: unknown operand 1.. EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null) Unmounting and Switch to OS cp: can't stat '/mnt/config/mac_addr': No such file or directory cat: can't open '/run/dropbear.pid': No such file or directory ash: you need to specify whom to kill cat: can't open '/run/udhcpc.pid': No such file or directory ash: you need to specify whom to kill umount: can't unmount /mnt/config: Invalid argument systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) systemd[1]: Detected architecture arm. Welcome to Debian GNU/Linux 10 (buster)! systemd[1]: Set hostname to <NAS-MediaServer.fritz.box>. random: lvmconfig: uninitialized urandom read (4 bytes read) systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling. systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.) systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly. systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly. systemd[1]: Configuration file /etc/systemd/system/mcm-daemon.service is marked executable. Please remove executable permission bits. Proceeding anyway. systemd[1]: /lib/systemd/system/fail2ban.service:12: PIDFile= references path below legacy directory /var/run/, updating /var/run/fail2ban/fail2ban.pid → /run/fail2ban/fail2ban.pid; please update the unit file accordingly. systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly. random: systemd: uninitialized urandom read (16 bytes read) random: systemd: uninitialized urandom read (16 bytes read) [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on Network Service Netlink Socket. [ OK ] Created slice User and Session Slice. [ OK ] Reached target Slices. [ OK ] Created slice system-systemd\x2dfsck.slice. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ OK ] Listening on Syslog Socket. [ OK ] Listening on Device-mapper event daemon FIFOs. [ OK ] Listening on LVM2 poll daemon socket. [ OK ] Listening on Journal Socket. Mounting Kernel Debug File System... Starting Availability of block devices... Mounting NFSD configuration filesystem... [ OK ] Created slice system-serial\x2dgetty.slice. Starting Monitoring of LVM…meventd or progress polling... [ OK ] Listening on RPCbind Server Activation Socket. [ OK ] Created slice system-postfix.slice. [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Listening on initctl Compatibility Named Pipe. Starting Load Kernel Modules... [ OK ] Listening on fsck to fsckd communication Socket. Starting Remount Root and Kernel File Systems... [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ OK ] Reached target Paths. EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro,commit=60 [ OK ] Reached target Local Encrypted Volumes. Starting Journal Service... Mounting RPC Pipe File System... random: crng init done random: 4 urandom warning(s) missed due to ratelimiting Starting Restore / save the current clock... [ OK ] Listening on udev Control Socket. Starting udev Coldplug all Devices... [ OK ] Started Journal Service. [ OK ] Mounted Kernel Debug File System. [ OK ] Started Availability of block devices. [ OK ] Mounted NFSD configuration filesystem. [ OK ] Started Load Kernel Modules. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Mounted RPC Pipe File System. [ OK ] Started Restore / save the current clock. Starting pNFS block layout mapping daemon... Starting Create System Users... Starting Load/Save Random Seed... Starting Apply Kernel Variables... Starting Flush Journal to Persistent Storage... [ OK ] Started pNFS block layout mapping daemon. [ OK ] Started Create System Users. [ OK ] Started Load/Save Random Seed. [ OK ] Started Apply Kernel Variables. systemd-journald[1543]: Received request to flush runtime journal from PID 1 Starting Create Static Device Nodes in /dev... [ OK ] Started udev Coldplug all Devices. [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Create Static Device Nodes in /dev. Starting udev Kernel Device Manager... Starting Helper to synchronize boot up for ifupdown... [ OK ] Started udev Kernel Device Manager. Starting Network Service... [ OK ] Started Network Service. [ OK ] Found device /dev/ttyS0. Starting Wait for Network to be Configured... [ OK ] Found device /sys/subsystem/net/devices/eth0. [ OK ] Started Helper to synchronize boot up for ifupdown. [ OK ] Started Monitoring of LVM2… dmeventd or progress polling. [ OK ] Found device /dev/md2. [ OK ] Found device /dev/md0. Activating swap /dev/md0... [ OK ] Started MD array monitor. Adding 498364k swap on /dev/md0. Priority:-2 extents:1 across:498364k [ OK ] Reached target Local File Systems (Pre). Starting File System Check on /dev/md2... [ OK ] Activated swap /dev/md0. [ OK ] Started File System Check Daemon to report status. [ OK ] Reached target Swap. Mounting Mount /tmp as tmp…e access to the root device... [ OK ] Mounted Mount /tmp as tmpf…ite access to the root device. [ OK ] Reached target Local File Systems. Starting folder2ram systemd service... Starting Create Volatile Files and Directories... Starting Raise network interfaces... Starting Cleanup PHP session files... Starting Preprocess NFS configuration... [ OK ] Started ifup for eth0. Starting Cleanup monit state file... [ OK ] Started Create Volatile Files and Directories. [ OK ] Started File System Check on /dev/md2. [ OK ] Started Cleanup PHP session files. [ OK ] Started Preprocess NFS configuration. [ OK ] Started Cleanup monit state file. [ OK ] Reached target NFS client services. Starting NFSv4 ID-name mapping service... Mounting /mnt... EXT4-fs (md2): acl option not supported mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL) [ OK ] Reached target System Time Synchronized. mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode Starting Network Name Resolution... Starting Update UTMP about System Boot/Shutdown... Starting RPC bind portmap service... [ OK ] Started NFSv4 ID-name mapping service. [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started RPC bind portmap service. [ OK ] Reached target RPC Port Mapper. [ OK ] Reached target System Initialization. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Started Clean PHP session files every 30 mins. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on PC/SC Smart Card Daemon Activation Socket. [ OK ] Reached target Sockets. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Started Daily apt download activities. [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Reached target Timers. EXT4-fs (md2): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl,commit=60 [ OK ] Mounted /mnt. Starting File System Quota Check... [ OK ] Started File System Quota Check. Starting Enable File System Quotas... [ OK ] Started Enable File System Quotas. mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ OK ] Started folder2ram systemd service. [ OK ] Reached target Basic System. Starting controls configuration of serial ports... [ OK ] Started D-Bus System Message Bus. Starting System Logging Service... Starting WPA supplicant... Starting MCM System Daemon... Starting controls configuration of serial ports... Starting Login Service... Starting Initialize hardware monitoring sensors... Starting Avahi mDNS/DNS-SD Stack... [ OK ] Started System Logging Service. [ OK ] Started MCM System Daemon. [ OK ] Started Initialize hardware monitoring sensors. [ OK ] Started controls configuration of serial ports. [ OK ] Started Network Name Resolution. [ OK ] Started Login Service. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Reached target Host and Network Name Lookups. [ OK ] Started WPA supplicant. [ OK ] Started controls configuration of serial ports. [ OK ] Created slice system-getty.slice. [ OK ] Started Wait for Network to be Configured. [ OK ] Started Raise network interfaces. [ OK ] Reached target Network. Starting NFS Mount Daemon... Starting The OpenMediaVaul…t processes the RPC request... Starting OpenBSD Secure Shell server... Starting A high performanc… and a reverse proxy server... Starting Fail2Ban Service... Starting The PHP 7.3 FastCGI Process Manager... [ OK ] Reached target Network is Online. [ OK ] Started Web Services Dynamic Discovery host daemon. Starting Samba NMB Daemon... Starting Generate the prelogin message... Starting /etc/rc.local Compatibility... Starting Postfix Mail Transport Agent (instance -)... [ OK ] Started NFS Mount Daemon. [ OK ] Started Fail2Ban Service. [ OK ] Started OpenBSD Secure Shell server. Starting NFS server and services... rc.local[3484]: OScam : gestartet [ OK ] Started A high performance…er and a reverse proxy server. [ OK ] Started The PHP 7.3 FastCGI Process Manager. [ OK ] Started The OpenMediaVault…hat processes the RPC request. NFSD: Using UMH upcall client tracking operations. NFSD: starting 90-second grace period (net f0000079) [ OK ] Started NFS server and services. [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems. Starting Permit User Sessions... Starting LSB: Run anacron jobs... Starting LSB: Load kernel …d to enable cpufreq scaling... [ OK ] Started Regular background program processing daemon. Starting LSB: DLNA/UPnP-AV media server... [ OK ] Started Permit User Sessions. [ OK ] Started Samba NMB Daemon. Starting Samba SMB Daemon... [ OK ] Started LSB: Run anacron jobs. [ OK ] Started LSB: Load kernel m…ded to enable cpufreq scaling. Starting LSB: set CPUFreq kernel parameters... [ OK ] Started LSB: set CPUFreq kernel parameters. [ OK ] Started Postfix Mail Transport Agent (instance -). Starting Postfix Mail Transport Agent... [ OK ] Started Postfix Mail Transport Agent. [ OK ] Started Samba SMB Daemon. [ OK ] Started LSB: DLNA/UPnP-AV media server. [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. openmediavault 5.5.19-1 (Usul) NAS-MediaServer.fritz.box ttyS0 Copyright (C) 2009-2020 by Volker Theile. All rights reserved. To manage the system visit the openmediavault web control panel: [/quote]
#!/bin/busybox ash # init-script for WD Mycloud Mirror gen2 & Ex2 ultra # Boots from partition labeled "rootfs" # (c) Carl Schiller; schreibcarl@gmail.com #-----------functions-------------- # init gpio resetbutton_init() { echo 50 > /sys/class/gpio/export echo 1 > /sys/class/gpio/gpio50/active_low } #copy customconfig from nand setconfig() { cp /mnt/config/initrd/shadow /etc/ #rootpasswd if ! [ -e /mnt/config/initrd/authorized_keys ]; then touch /mnt/config/initrd/authorized_keys fi ln -s /mnt/config/initrd/authorized_keys /etc/dropbear/authorized_keys } # Start decryption filesystem decrypt_shell() { # Check which device encrypted export cryptdev=$(blkid -l -o device -t TYPE=crypto_LUKS) echo device=$(blkid -l -o device -t TYPE=crypto_LUKS) >>/etc/profile # add location of crytodevice to environment echo export device >>/etc/profile # Look for key on usb / hdd mount -o rw $(findfs LABEL=key) /mnt/key wait if [ -e /mnt/key/key.luks ]; then cryptsetup luksOpen $cryptdev cryptroot --key-file /mnt/key/key.luks check_unlock # Look for key on nand elif [ -e /mnt/config/initrd/key.luks ]; then cryptsetup luksOpen $cryptdev cryptroot --key-file /mnt/config/initrd/key.luks || rescue_shell check_unlock else startnetwork dropbear -B -p 2222 -b /etc/dropbear/banner.crypto -P /run/dropbear.pid 2>&1 >/dev/null fi } # Check if key-decrypt was sucessfull check_unlock(){ wait if ! [ -e /dev/mapper/cryptroot ]; then echo -e "Unlock check failed,..." rescue_shell fi } # setting up network startnetwork() { /sbin/getmac ifconfig eth0 up udhcpc -t 5 -q -s /bin/simple.script -p /run/udhcpc.pid } # rescue_shell rescue_shell() { # start ssh startnetwork dropbear -B -p 2222 -b /etc/dropbear/banner.rescue -P /run/dropbear.pid 2>&1 >/dev/null echo -e "\n Something went wrong. Dropping to a shell.\n" # Run UART shell exec 0</dev/console exec 1>/dev/console exec 2>/dev/console exec setsid cttyhack /bin/ash } #ask for stop boot process ask_for_stop() { i=5 echo -n " Press any key or reset key to stop and run shell..." while [ $i -ge 1 ]; do read -s -n1 -t1 key if [ `cat /sys/class/gpio/gpio50/value` = 1 ] || ! [ -z $key ]; then rescue_shell fi echo -n $i".." let i=$i-1 done echo -e "\n" } #LVM init sequence initlvm() { lvm vgscan --mknodes # creates /dev/mapper/control lvm vgchange -a ly lvm vgscan --mknodes # creates /dev/mapper/VG-root and /dev/VG/root wait } #Switchroot seqence boot() { echo -e "\n Unmounting and Switch to OS\n" # Copy MAC wait cp /mnt/config/mac_addr /mnt/root/etc # kill running daemons kill -9 $(cat /run/dropbear.pid) 2>&1 >/dev/null kill -9 $(cat /run/udhcpc.pid) 2>&1 >/dev/null umount /mnt/config umount /proc umount /sys umount /dev exec switch_root /mnt/root /sbin/init } #-----------init script-------------- # Creat folders and install Busybox /bin/busybox mkdir -p /dev /mnt/root /mnt/key /mnt/config /mnt/config/initrd /proc /root /usr/sbin /usr/bin /sbin /bin /sys /run /bin/busybox --install -s export PATH=/bin:/sbin:/usr/bin:/usr/sbin # Mount the /proc and /sys filesystems. mount -t proc none /proc mount -t sysfs none /sys mount -t devtmpfs none /dev # Adding mdev support echo /sbin/mdev >/proc/sys/kernel/hotplug mdev -s # Initial Raid echo 'DEVICE /dev/sd??*' >/etc/mdadm.conf mdadm -Eb /dev/sd??* >>/etc/mdadm.conf mdadm -As --force wait # disk not ready? mdadm --assemble --scan # Mount the config files ubiattach /dev/ubi_ctrl -m 5 wait mount -t ubifs ubi0:config /mnt/config setconfig # Init LVM initlvm # Mount the root filesystem. resetbutton_init ask_for_stop mount -o rw $(findfs LABEL=rootfs) /mnt/root 2>&1 >/dev/null # Clean up and boot if [ -h /mnt/root/sbin/init -o -e /mnt/root/sbin/init ]; then boot fi #check for LUKS-devices if blkid | grep -q crypto then decrypt_shell echo -e "\n Waiting for device decryption" # wait until the device exists and is decrypted while ! [ -e /dev/mapper/cryptroot ]; do sleep 2 done fi initlvm mount -o rw $(findfs LABEL=rootfs) /mnt/root 2>&1 >/dev/null if [ -h /mnt/root/sbin/init -o -e /mnt/root/sbin/init ]; then boot else rescue_shell fi