Welcome! Log In Create A New Profile

Advanced

HowTo: Stora - Debian Stretch and OMV4

Posted by fcollingwood 
Re: HowTo: Stora - Debian Stretch and OMV4
June 29, 2020 04:55PM
Paul,

> fw_setenv mtdparts 'xxxxxxxxx'
> fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'

You don't need mtdparts right away, so it is OK to skip until you booted back to u-boot, or to Debian after u-boot installation.

ethaddr will be set to a default local MAC, which you can also set in u-boot, or in Debian after mtdparts has been defined.

So ignore these 2 and go ahead.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HowTo: Stora - Debian Stretch and OMV4
June 29, 2020 05:23PM
Dear Bodhi

Thanks for the advice to proceed. I am being very careful ;-). I have completed the .dtb env command
fw_setenv dtb_file '/boot/dts/kirkwood-netgear_stora_ms2000.dtb'
But am now unsure whether to remove the dtb file env - I think my kernel is old (pre 3.16) but I am not sure . . .
Here is my current status
root@debian:/boot/dts# fw_printenv
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb_addr=0x1c00000
load_initrd_addr=0x1100000
load_uimage_addr=0x800000
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
usb_ready_retry=15
arcNumber=2743
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type  $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
dtb_file=/boot/dts/kirkwood-netgear_stora_ms2000.dtb
root@debian:/boot/dts#


Please advise. Regards, Paul



Edited 1 time(s). Last edit at 06/29/2020 05:27PM by pdc78.
Re: HowTo: Stora - Debian Stretch and OMV4
June 29, 2020 11:24PM
Paul,

> But am now unsure whether to remove the dtb file
> env - I think my kernel is old (pre 3.16) but I am
> not sure . . .

Why do you think your kernel is old?

Quote

You could do create a new Stretch USB rootfs with Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2. Save the Buster rootfs as a recovery rootfs. If there is problem in Stretch rootfs, you can just swap the USB rootfs out and boot into Buster, and and then plug in the Stretch rootf to fix it.

Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 has kernel 4.12.1-kirkwood-tld-1 on it.

To see which kernel is running:

uname -a

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HowTo: Stora - Debian Stretch and OMV4
June 30, 2020 12:06AM
Bodhi: Kernel is 5.2.9 of course! ;-))
However my Stora is not happy after reboot:
root@debian:/boot/dts# uname -a
Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel GNU/Linux
root@debian:/# reboot

Broadcast message from root@debian (ttyS0) (Mon Jun 29 22:46:06 2020):

The system is going down for reboot NOW!
INIT: Switching to runlevel: 6
INIT: Sendin[info] Using makefile-style concurrent boot in runlevel 6.
[ ok ] Stopping hotplug events dispatcher: systemd-udevd.
[ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Stopping busybox' klogd implementation: klogd1384 (klogd)
Stopped klogd (pid 1384).
. ok
[....] Stopping busybox' syslogd implementation: syslogd1357 (syslogd)
. ok
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 2 seconds...done.
[ ok ] Stopping NFS common utilities: idmapd statd.
[info] Saving the system clock.
[info] Hardware Clock updated to Mon Jun 29 22:46:11 PDT 2020.
[ ok ] Stopping RPC port mapper daemon: rpcbind.
[....] Deconfiguring network interfaces...Removed stale PID file
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/c0:3f:0e:b0:e8:8a
Sending on   LPF/eth0/c0:3f:0e:b0:e8:8a
Sending on   Socket/fallback
DHCPRELEASE of 192.168.1.149 on eth0 to 192.168.1.254 port 67
done.
[ ok ] Saving random seed...done.
[....] Will now unmount temporary filesystems:umount: /tmp unmounted
. ok
[ ok ] Will now deactivate swap:.
[....] Mounting root filesystem read-only...[59750.308228][ T4956] EXT4-fs (sda1): re-mounted. Opts: (null)
done.
[info] Will now restart.
[59750.518441][ T4977] reboot: Restarting system


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:38:05 -0700)
Netgear Stora MS2110

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

Reset IDE: ide_preinit failed
Unknown command 'mmc' - try 'help'
Loading envs from usb 0...
** File not found /boot/uEnv.txt **
Loading envs from usb 1...
** Bad device usb 1 **
Loading envs from usb 2...
** Bad device usb 2 **
Loading envs from usb 3...
** Bad device usb 3 **
Loading envs from ide 0...
** Bad device ide 0 **
Loading envs from ide 1...
** Bad device ide 1 **
Loading envs from ide 2...
** Bad device ide 2 **
Loading envs from ide 3...
** Bad device ide 3 **
Loading envs from mmc 0...
** Bad device mmc 0 **
Loading envs from mmc 1...
** Bad device mmc 1 **
Loading envs from mmc 2...
** Bad device mmc 2 **
Loading envs from mmc 3...
** Bad device mmc 3 **
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4975179 bytes read in 1026 ms (4.6 MiB/s)
loading uInitrd ...
9788744 bytes read in 981 ms (9.5 MiB/s)
loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ...
11499 bytes read in 2691 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-1
   Created:      2020-06-24   1:30:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4975115 Bytes = 4.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-1
   Created:      2020-06-25   2:01:16 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9788680 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 036aa000, end 03fffd08 ... OK
   Loading Device Tree to 036a4000, end 036a9cea ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000][    T0] Kernel command line: console=ttyS0,115200n8 earlyprintk
[    0.000000][    T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000][    T0] Memory: 114320K/131072K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 16752K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000011][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008606][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.016143][    T0] Console: colour dummy device 80x30
[    0.021411][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032752][    T0] pid_max: default: 32768 minimum: 301
[    0.038531][    T0] LSM: Security Framework initializing
[    0.044144][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051565][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060533][    T0] *** VALIDATE proc ***
[    0.064876][    T0] *** VALIDATE cgroup1 ***
[    0.069245][    T0] *** VALIDATE cgroup2 ***
[    0.073662][    T0] CPU: Testing write buffer coherency: ok
[    0.081372][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.088752][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.094927][    T1] rcu: Hierarchical SRCU implementation.
[    0.104362][    T1] devtmpfs: initialized
[    0.115017][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.125708][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.132932][    T1] xor: measuring software checksum speed
[    0.228636][    T1]    arm4regs  :   902.400 MB/sec
[    0.328640][    T1]    8regs     :   542.000 MB/sec
[    0.428635][    T1]    32regs    :   787.600 MB/sec
[    0.433548][    T1] xor: using function: arm4regs (902.400 MB/sec)
[    0.439813][    T1] prandom: seed boundary self test passed
[    0.450487][    T1] prandom: 100 self tests passed
[    0.455312][    T1] pinctrl core: initialized pinctrl subsystem
[    0.463066][    T1] NET: Registered protocol family 16
[    0.468879][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.477485][    T1] audit: initializing netlink subsys (disabled)
[    0.485163][   T14] audit: type=2000 audit(0.470:1): state=initialized audit_enabled=0 res=1
[    0.493830][    T1] cpuidle: using governor ladder
[    0.498806][    T1] cpuidle: using governor menu
[    0.504029][    T1] Feroceon L2: Enabling L2
[    0.508371][    T1] Feroceon L2: Cache support initialised.
[    0.521250][    T1] No ATAGs?
[    2.568614][    C0] random: fast init done
[    7.680089][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    7.686352][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    7.869358][    T1] raid6: int32x8  gen()   106 MB/s
[    8.039041][    T1] raid6: int32x8  xor()    72 MB/s
[    8.208645][    T1] raid6: int32x4  gen()   107 MB/s
[    8.378802][    T1] raid6: int32x4  xor()    69 MB/s
[    8.549069][    T1] raid6: int32x2  gen()   110 MB/s
[    8.718699][    T1] raid6: int32x2  xor()    78 MB/s
[    8.889087][    T1] raid6: int32x1  gen()    83 MB/s
[    9.058758][    T1] raid6: int32x1  xor()    57 MB/s
[    9.063744][    T1] raid6: using algorithm int32x2 gen() 110 MB/s
[    9.069885][    T1] raid6: .... xor() 78 MB/s, rmw enabled
[    9.075394][    T1] raid6: using intx1 recovery algorithm
[    9.081135][    T1] vgaarb: loaded
[    9.085173][    T1] SCSI subsystem initialized
[    9.090272][    T1] usbcore: registered new interface driver usbfs
[    9.096549][    T1] usbcore: registered new interface driver hub
[    9.102743][    T1] usbcore: registered new device driver usb
[    9.108764][    T1] pps_core: LinuxPPS API ver. 1 registered
[    9.114451][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    9.124370][    T1] PTP clock support registered
[    9.130539][    T1] clocksource: Switched to clocksource orion_clocksource
[   10.382608][    T1] VFS: Disk quotas dquot_6.6.0
[   10.387347][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   10.406912][    T1] NET: Registered protocol family 2
[   10.413022][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[   10.421524][    T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[   10.429235][    T1] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[   10.436393][    T1] TCP: Hash tables configured (established 1024 bind 1024)
[   10.443639][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   10.450217][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   10.457517][    T1] NET: Registered protocol family 1
[   10.463403][    T1] RPC: Registered named UNIX socket transport module.
[   10.470054][    T1] RPC: Registered udp transport module.
[   10.475574][    T1] RPC: Registered tcp transport module.
[   10.481024][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.488198][    T1] PCI: CLS 0 bytes, default 32
[   10.493296][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[   10.501946][    T1] Initialise system trusted keyrings
[   10.507153][    T1] Key type blacklist registered
[   10.512222][    T1] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[   10.519485][    T1] zbud: loaded
[   10.524158][    T1] NFS: Registering the id_resolver key type
[   10.529952][    T1] Key type id_resolver registered
[   10.534986][    T1] Key type id_legacy registered
[   10.539735][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   10.547203][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   10.554670][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   10.562759][    T1] fuse: init (API version 7.31)
[   10.567952][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[   10.575382][    T1] orangefs_init: module version upstream loaded
[   10.581535][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[   10.593901][    T1] async_tx: api initialized (async)
[   10.598994][    T1] Key type asymmetric registered
[   10.603902][    T1] Asymmetric key parser 'x509' registered
[   10.609565][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[   10.619472][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[   10.629972][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[   10.638413][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[   10.644700][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[   10.652370][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[   10.659496][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[   10.666297][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[   10.675365][    T1] PCI: bus0: Fast back to back transfers disabled
[   10.681721][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[   10.692012][    T1] PCI: bus1: Fast back to back transfers enabled
[   10.698240][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[   10.705847][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[   10.713842][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[   10.720266][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[   10.781528][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   10.792120][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[   10.861548][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   10.872425][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   10.881113][    T1] printk: console [ttyS0] disabled
[   10.886183][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[   10.896010][    T1] printk: console [ttyS0] enabled
[   10.896010][    T1] printk: console [ttyS0] enabled
[   10.905875][    T1] printk: bootconsole [earlycon0] disabled
[   10.905875][    T1] printk: bootconsole [earlycon0] disabled
[   10.926577][    T1] loop: module loaded
[   10.931204][    T1] sata_mv f1080000.sata: slots 32 ports 2
[   10.940193][    T1] scsi host0: sata_mv
[   10.944840][    T1] scsi host1: sata_mv
[   10.949070][    T1] ata1: SATA max UDMA/133 irq 33
[   10.953959][    T1] ata2: SATA max UDMA/133 irq 33
[   10.960004][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[   10.967198][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit
[   10.972570][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   10.980910][    T1] Scanning device for bad blocks
[   11.007425][    T1] Bad eraseblock 202 at 0x000001940000
[   11.012843][    T1] Bad eraseblock 203 at 0x000001960000
[   11.075332][    T1] Bad eraseblock 737 at 0x000005c20000
[   11.126812][    T1] Bad eraseblock 1168 at 0x000009200000
[   11.132313][    T1] Bad eraseblock 1169 at 0x000009220000
[   11.138005][    T1] Bad eraseblock 1172 at 0x000009280000
[   11.149287][    T1] Bad eraseblock 1227 at 0x000009960000
[   11.242881][    T1] 3 fixed-partitions partitions found on MTD device orion_nand
[   11.250347][    T1] Creating 3 MTD partitions on "orion_nand":
[   11.256262][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   11.263600][    T1] 0x000000100000-0x000000700000 : "uImage"
[   11.270918][    T1] 0x000000700000-0x000010000000 : "root"
[   11.280497][    T1] libphy: Fixed MDIO Bus: probed
[   11.285404][  T112] ata1: SATA link down (SStatus 0 SControl F300)
[   11.292629][    T1] libphy: orion_mdio_bus: probed
[   11.297470][    T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove
[   11.310397][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   11.318578][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[   11.652215][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[   12.041293][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[   12.050955][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.058242][    T1] ehci-pci: EHCI PCI platform driver
[   12.063510][    T1] ehci-orion: EHCI orion driver
[   12.068471][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   12.074751][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   12.083381][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   12.110715][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   12.117811][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[   12.126855][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   12.134837][    T1] usb usb1: Product: EHCI Host Controller
[   12.140445][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd
[   12.147810][    T1] usb usb1: SerialNumber: f1050000.ehci
[   12.153980][    T1] hub 1-0:1.0: USB hub found
[   12.158498][    T1] hub 1-0:1.0: 1 port detected
[   12.164058][    T1] usbcore: registered new interface driver usb-storage
[   12.171294][    T1] mousedev: PS/2 mouse device common for all mice
[   12.530583][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   12.731532][   T15] usb 1-1: New USB device found, idVendor=0781, idProduct=5571, bcdDevice= 1.00
[   12.740468][   T15] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.748386][   T15] usb 1-1: Product: Cruzer Fit
[   12.753057][   T15] usb 1-1: Manufacturer: SanDisk'
[   12.757960][   T15] usb 1-1: SerialNumber: 4C530000090307203144
[   12.764877][   T15] usb-storage 1-1:1.0: USB Mass Storage device detected
[   12.772273][   T15] scsi host2: usb-storage 1-1:1.0
[   13.210585][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[   13.216913][    T1] i2c /dev entries driver
[   13.228310][    T1] rtc-pcf8563 0-0051: registered as rtc0
[   13.235701][    T1] device-mapper: uevent: version 1.0.3
[   13.241435][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[   13.251165][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   13.258424][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   13.265853][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   13.273344][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   13.280174][    T1] device-mapper: raid: Loading target version 1.14.0
[   13.288861][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[   13.295431][    T1] drop_monitor: Initializing network drop monitor service
[   13.302848][    T1] NET: Registered protocol family 17
[   13.308310][    T1] Key type dns_resolver registered
[   13.314287][    T1] registered taskstats version 1
[   13.319107][    T1] Loading compiled-in X.509 certificates
[   13.324749][    T1] zswap: loaded using pool lzo/zbud
[   13.347995][    T1] Key type big_key registered
[   13.356684][    T1] Key type encrypted registered
[   13.365399][    T1] rtc-pcf8563 0-0051: setting system clock to 2020-06-30T05:46:58 UTC (1593496018)
[   13.375824][    T1] md: Waiting for all devices to be available before autodetect
[   13.383439][    T1] md: If you don't use raid, use raid=noautodetect
[   13.390730][    T1] md: Autodetecting RAID arrays.
[   13.395554][    T1] md: autorun ...
[   13.399058][    T1] md: ... autorun DONE.
[   13.403378][    T1] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[   13.411664][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   13.420861][    T1] 1f00            1024 mtdblock0
[   13.420866][    T1]  (driver?)
[   13.428835][    T1] 1f01            6144 mtdblock1
[   13.428838][    T1]  (driver?)
[   13.436873][    T1] 1f02          254976 mtdblock2
[   13.436876][    T1]  (driver?)
[   13.444898][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   13.453906][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.2.9-kirkwood-tld-1 #1
[   13.461598][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   13.468625][    T1] [<c010f6ac>] (unwind_backtrace) from [<c010bb00>] (show_stack+0x10/0x14)
[   13.477123][    T1] [<c010bb00>] (show_stack) from [<c0119fa0>] (panic+0xe0/0x30c)
[   13.484744][    T1] [<c0119fa0>] (panic) from [<c0e01628>] (mount_block_root+0x1bc/0x2a4)
[   13.492968][    T1] [<c0e01628>] (mount_block_root) from [<c0e017f8>] (mount_root+0xe8/0x154)
[   13.501539][    T1] [<c0e017f8>] (mount_root) from [<c0e019b0>] (prepare_namespace+0x14c/0x18c)
[   13.510285][    T1] [<c0e019b0>] (prepare_namespace) from [<c0e011c8>] (kernel_init_freeable+0x270/0x2dc)
[   13.519906][    T1] [<c0e011c8>] (kernel_init_freeable) from [<c09dcee0>] (kernel_init+0x8/0x10c)
[   13.528833][    T1] [<c09dcee0>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/0x34)
[   13.537132][    T1] Exception stack(0xc7881fb0 to 0xc7881ff8)
[   13.542909][    T1] 1fa0:                                     00000000 00000000 00000000 00000000
[   13.551822][    T1] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   13.560741][    T1] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   13.568093][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

If I power down and interrupt the reboot then I can get to a u-boot:
 0
Netgear Stora> printenv
arcNumber=2743
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-netgear_stora_ms2000.dtb
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type  $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
usb_ready_retry=15

Environment size: 2876/131068 bytes
Netgear Stora>
So I guess there's something bad in my envs?
Best regards, Paul



Edited 2 time(s). Last edit at 06/30/2020 01:55AM by pdc78.
Re: HowTo: Stora - Debian Stretch and OMV4
June 30, 2020 04:58AM
Paul,

Congrats!

root@debian:/boot/dts# uname -a
Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel GNU/Linux

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:38:05 -0700)
Netgear Stora MS2110

Now you are running the new u-boot, which will load the DTB separately.

## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000

So your rootfs need to be adjusted. It was set up to boot with stock u-boot with DTB embedded inside uImage.

So mount the rootfs on another Linux box, assuming it is mounted at /media/sdb1.

Restore original uImage:
cd /media/sdb1/boot
cp -a uImage uImage.stora.with.dtb 
cp -a uImage.orig uImage
sync

And bring it back to the Stora, power up and let it boot automatically.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HowTo: Stora - Debian Stretch and OMV4
June 30, 2020 02:21PM
Dear Bodhi - you are a magician! Thank you again for your help, which you make so painless.

My next challenge is to install the two HDDs, get the Stora visible on my home network and then plan for OMV. I can see that you were able to help Cergei with similar challenges so I will take time to study your advice and guidance to him. Candidly I was minded to try OMV 5 on Buster as I can see that the early teething troubles have been overcome - this wasn't an option when fcollingwood first launched this topic - unless you strongly advise against Debian 10/OMV 5 on the Stora.

One last question? In your previous response to me you said
Quote
bodhi
You don't need mtdparts right away, so it is OK to skip until you booted back to u-boot, or to Debian after u-boot installation.

ethaddr will be set to a default local MAC, which you can also set in u-boot, or in Debian after mtdparts has been defined.

Should I now set 'mtdparts' and 'ethaddr'?

Thank you again. Best regards, Paul



Edited 1 time(s). Last edit at 06/30/2020 02:27PM by pdc78.
Re: HowTo: Stora - Debian Stretch and OMV4
June 30, 2020 04:38PM
Paul,

Yes, in Debian, set those 2 variables to make it complete.

However, right now they are default values, and it is perfectly OK to use them as they are.
ethaddr=52:3b:20:9c:11:51
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)

That ethaddr is set to a local MAC address. And only relevant part in mtdparts is uboot (and it is already correct).

So set them to make it perfect, but if you don't want to, it is OK too.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HowTo: Stora - Debian Stretch and OMV4
July 05, 2020 01:29PM
Dear Bodhi - I hope you are well.

Further research fuelled concerns that my Stora might struggle with OMV5 on Buster, so I decided after all to follow fcollingwood's procedure to the letter meaning installing Stretch on the left hand HDD (WD Green 500gb) followed by OMV4. I did experience problems with mask services so I followed his "systemctl unmask" commands as suggested. I have arrived at the end of Step 4 (reboot to test OMV).

I am able to launch OMV4 via the web control panel, but it is very unresponsive, and fails to apply a very minor config change (time zone) eventually producing "communications failure - failed to reload daemon".

Through the serial console I often get cycling messages "FAILED Failed to start Login Service - see 'systemctl staus systemcl-logind.service' for details".
[ 6181.703102][    T1] reboot: Restarting system


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:38:05 -0700)
Netgear Stora MS2110

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
Initializing devices...
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Reset IDE: Bus 0: OK Bus 1: not available
  Device 0: Model: WDC WD5000AADS-00S9B0  Firm: 01.00A01 Ser#:  WD-WCAV92649993
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
Unknown command 'mmc' - try 'help'
Loading envs from usb 0...
** Bad device usb 0 **
Loading envs from usb 1...
** Bad device usb 1 **
Loading envs from usb 2...
** Bad device usb 2 **
Loading envs from usb 3...
** Bad device usb 3 **
Loading envs from ide 0...
** File not found /boot/uEnv.txt **
Loading envs from ide 1...
** Bad device ide 1 **
Loading envs from ide 2...
** Bad device ide 2 **
Loading envs from ide 3...
** Bad device ide 3 **
Loading envs from mmc 0...
** Bad device mmc 0 **
Loading envs from mmc 1...
** Bad device mmc 1 **
Loading envs from mmc 2...
** Bad device mmc 2 **
Loading envs from mmc 3...
** Bad device mmc 3 **
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: Bus 0: OK Bus 1: not available
  Device 0: Model: WDC WD5000AADS-00S9B0  Firm: 01.00A01 Ser#:  WD-WCAV92649993
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
device ide 0:1
1 bytes read in 56 ms (0 Bytes/s)
Found bootable drive on ide 0
loading uImage ...
4963680 bytes read in 2824 ms (1.7 MiB/s)
loading uInitrd ...
8047346 bytes read in 7346 ms (1 MiB/s)
loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ...
11499 bytes read in 700 ms (15.6 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-1
   Created:      2020-07-04  17:37:51 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4963616 Bytes = 4.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-1
   Created:      2020-07-04  17:38:21 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    8047282 Bytes = 7.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 03853000, end 03fffab2 ... OK
   Loading Device Tree to 0384d000, end 03852cea ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) init=/bin/systemd
[    0.000000][    T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000][    T0] Memory: 106460K/131072K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 24612K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000011][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000058][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000965][    T0] Console: colour dummy device 80x30
[    0.001030][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.001064][    T0] pid_max: default: 32768 minimum: 301
[    0.001515][    T0] LSM: Security Framework initializing
[    0.001738][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001770][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002803][    T0] *** VALIDATE proc ***
[    0.003120][    T0] *** VALIDATE cgroup1 ***
[    0.003151][    T0] *** VALIDATE cgroup2 ***
[    0.003270][    T0] CPU: Testing write buffer coherency: ok
[    0.005363][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.005732][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.006082][    T1] rcu: Hierarchical SRCU implementation.
[    0.010144][    T1] devtmpfs: initialized
[    0.016898][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.016936][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.017233][    T1] xor: measuring software checksum speed
[    0.110144][    T1]    arm4regs  :   902.400 MB/sec
[    0.210086][    T1]    8regs     :   542.000 MB/sec
[    0.310090][    T1]    32regs    :   788.000 MB/sec
[    0.310113][    T1] xor: using function: arm4regs (902.400 MB/sec)
[    0.310139][    T1] prandom: seed boundary self test passed
[    0.315177][    T1] prandom: 100 self tests passed
[    0.315190][    T1] pinctrl core: initialized pinctrl subsystem
[    0.316980][    T1] NET: Registered protocol family 16
[    0.317685][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.318684][    T1] audit: initializing netlink subsys (disabled)
[    0.320255][   T14] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.320402][    T1] cpuidle: using governor ladder
[    0.320497][    T1] cpuidle: using governor menu
[    0.321195][    T1] Feroceon L2: Enabling L2
[    0.321256][    T1] Feroceon L2: Cache support initialised.
[    0.328409][    T1] No ATAGs?
[    2.560067][    C0] random: fast init done
[    7.480383][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    7.480822][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    7.660903][    T1] raid6: int32x8  gen()   106 MB/s
[    7.830468][    T1] raid6: int32x8  xor()    72 MB/s
[    8.000240][    T1] raid6: int32x4  gen()   107 MB/s
[    8.170242][    T1] raid6: int32x4  xor()    69 MB/s
[    8.340457][    T1] raid6: int32x2  gen()   110 MB/s
[    8.510150][    T1] raid6: int32x2  xor()    78 MB/s
[    8.680541][    T1] raid6: int32x1  gen()    83 MB/s
[    8.850203][    T1] raid6: int32x1  xor()    57 MB/s
[    8.850216][    T1] raid6: using algorithm int32x2 gen() 110 MB/s
[    8.850227][    T1] raid6: .... xor() 78 MB/s, rmw enabled
[    8.850237][    T1] raid6: using intx1 recovery algorithm
[    8.850550][    T1] vgaarb: loaded
[    8.851177][    T1] SCSI subsystem initialized
[    8.851790][    T1] usbcore: registered new interface driver usbfs
[    8.851865][    T1] usbcore: registered new interface driver hub
[    8.851980][    T1] usbcore: registered new device driver usb
[    8.852204][    T1] pps_core: LinuxPPS API ver. 1 registered
[    8.852218][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    8.852252][    T1] PTP clock support registered
[    8.853880][    T1] clocksource: Switched to clocksource orion_clocksource
[   10.099147][    T1] VFS: Disk quotas dquot_6.6.0
[   10.099264][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   10.111137][    T1] NET: Registered protocol family 2
[   10.112140][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[   10.112182][    T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[   10.112210][    T1] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[   10.112235][    T1] TCP: Hash tables configured (established 1024 bind 1024)
[   10.112356][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   10.112389][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   10.112665][    T1] NET: Registered protocol family 1
[   10.113451][    T1] RPC: Registered named UNIX socket transport module.
[   10.113469][    T1] RPC: Registered udp transport module.
[   10.113479][    T1] RPC: Registered tcp transport module.
[   10.113489][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.113507][    T1] PCI: CLS 0 bytes, default 32
[   10.113804][    T1] Trying to unpack rootfs image as initramfs...
[   10.988157][    T1] Freeing initrd memory: 7860K
[   10.988407][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[   10.989880][    T1] Initialise system trusted keyrings
[   10.989941][    T1] Key type blacklist registered
[   10.990215][    T1] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[   10.990340][    T1] zbud: loaded
[   10.991697][    T1] NFS: Registering the id_resolver key type
[   10.991734][    T1] Key type id_resolver registered
[   10.991746][    T1] Key type id_legacy registered
[   10.991770][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   10.991791][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   10.992139][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   10.992426][    T1] fuse: init (API version 7.31)
[   10.992898][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[   10.993123][    T1] orangefs_init: module version upstream loaded
[   10.993139][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[   11.003183][    T1] async_tx: api initialized (async)
[   11.003213][    T1] Key type asymmetric registered
[   11.003225][    T1] Asymmetric key parser 'x509' registered
[   11.003310][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[   11.005150][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[   11.007547][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[   11.007576][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[   11.007596][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[   11.007613][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[   11.007751][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[   11.007802][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[   11.009428][    T1] PCI: bus0: Fast back to back transfers disabled
[   11.009461][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[   11.010985][    T1] PCI: bus1: Fast back to back transfers enabled
[   11.011016][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[   11.011262][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[   11.011284][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[   11.012027][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[   11.074883][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   11.077314][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[   11.134872][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   11.137551][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   11.139126][    T1] printk: console [ttyS0] disabled
[   11.139215][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[   11.982779][    T1] printk: console [ttyS0] enabled
[   11.996941][    T1] loop: module loaded
[   12.001510][    T1] sata_mv f1080000.sata: slots 32 ports 2
[   12.010553][    T1] scsi host0: sata_mv
[   12.015197][    T1] scsi host1: sata_mv
[   12.019421][    T1] ata1: SATA max UDMA/133 irq 33
[   12.024315][    T1] ata2: SATA max UDMA/133 irq 33
[   12.030367][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[   12.037564][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit
[   12.042913][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   12.051253][    T1] Scanning device for bad blocks
[   12.077799][    T1] Bad eraseblock 202 at 0x000001940000
[   12.083191][    T1] Bad eraseblock 203 at 0x000001960000
[   12.145843][    T1] Bad eraseblock 737 at 0x000005c20000
[   12.197334][    T1] Bad eraseblock 1168 at 0x000009200000
[   12.202819][    T1] Bad eraseblock 1169 at 0x000009220000
[   12.208535][    T1] Bad eraseblock 1172 at 0x000009280000
[   12.219817][    T1] Bad eraseblock 1227 at 0x000009960000
[   12.313382][    T1] 4 cmdlinepart partitions found on MTD device orion_nand
[   12.320429][    T1] Creating 4 MTD partitions on "orion_nand":
[   12.326346][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   12.333698][    T1] 0x000000100000-0x000000500000 : "uImage"
[   12.340973][    T1] 0x000000500000-0x000002500000 : "rootfs"
[   12.348351][    T1] 0x000002500000-0x000010000000 : "data"
[   12.357832][    T1] libphy: Fixed MDIO Bus: probed
[   12.363621][    T1] libphy: orion_mdio_bus: probed
[   12.368515][    T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove
[   12.386763][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   12.394983][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[   12.663931][  T112] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   12.696284][  T112] ata1.00: ATA-8: WDC WD5000AADS-00S9B0, 01.00A01, max UDMA/133
[   12.703812][  T112] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   12.715992][  T112] ata1.00: configured for UDMA/133
[   12.731611][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AADS-0 0A01 PQ: 0 ANSI: 5
[   12.741660][  T116] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[   12.750596][  T116] sd 0:0:0:0: [sda] Write Protect is off
[   12.756379][  T116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.793070][  T116]  sda: sda1 sda2
[   12.798597][  T116] sd 0:0:0:0: [sda] Attached SCSI disk
[   13.085561][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[   13.114675][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[   13.124347][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   13.131629][    T1] ehci-pci: EHCI PCI platform driver
[   13.136892][    T1] ehci-orion: EHCI orion driver
[   13.141874][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   13.148162][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   13.156777][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   13.183927][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   13.190998][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[   13.200041][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   13.208026][    T1] usb usb1: Product: EHCI Host Controller
[   13.213634][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd
[   13.220999][    T1] usb usb1: SerialNumber: f1050000.ehci
[   13.227162][    T1] hub 1-0:1.0: USB hub found
[   13.231681][    T1] hub 1-0:1.0: 1 port detected
[   13.237247][    T1] usbcore: registered new interface driver usb-storage
[   13.244507][    T1] mousedev: PS/2 mouse device common for all mice
[   14.324059][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[   14.330390][    T1] i2c /dev entries driver
[   14.341743][    T1] rtc-pcf8563 0-0051: registered as rtc0
[   14.349176][    T1] device-mapper: uevent: version 1.0.3
[   14.354932][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[   14.364651][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   14.371909][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   14.379337][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   14.386834][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   14.393658][    T1] device-mapper: raid: Loading target version 1.14.0
[   14.402321][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[   14.408883][    T1] drop_monitor: Initializing network drop monitor service
[   14.416306][    T1] NET: Registered protocol family 17
[   14.421779][    T1] Key type dns_resolver registered
[   14.427863][    T1] registered taskstats version 1
[   14.432678][    T1] Loading compiled-in X.509 certificates
[   14.438324][    T1] zswap: loaded using pool lzo/zbud
[   14.490894][    T1] Key type big_key registered
[   14.514392][    T1] Key type encrypted registered
[   14.522929][    T1] rtc-pcf8563 0-0051: setting system clock to 2020-07-05T17:43:01 UTC (1593970981)
[   14.536853][    T1] Freeing unused kernel memory: 1024K
[   14.554632][    T1] Checked W+X mappings: passed, no W+X pages found
[   14.561028][    T1] Run /init as init process
Loading, please wait...
starting version 232
[   14.689349][  T158] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[   14.710205][  T159] random: udevadm: uninitialized urandom read (16 bytes read)
[   14.718647][  T158] random: systemd-udevd: uninitialized urandom read (16 bytes read)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/sda1] fsck.ext4 -a -C0 /dev/sda1
rootfs: clean, 44729/524288 files, 419976/2097152 blocks
[   47.653954][    C0] random: crng init done
[   47.658087][    C0] random: 7 urandom warning(s) missed due to ratelimiting
done.
[   49.897411][  T198] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[  145.433264][    T1] NET: Registered protocol family 10
[  145.440037][    T1] Segment Routing with IPv6
[  157.249237][    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)
[  157.268846][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 9 (stretch)!

[  161.830706][    T1] systemd[1]: Set hostname to <stora>.
[  293.368017][    T1] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  293.404525][    T1] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  293.444508][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[  293.484459][    T1] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  293.525134][    T1] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[  293.564448][    T1] systemd[1]: Listening on LVM2 metadata daemon socket.
[  OK  ] Listening on LVM2 metadata daemon socket.
[  293.605441][    T1] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[  293.644411][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[  293.684449][    T1] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[  293.724377][    T1] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting Debug File System...
         Mounting NFSD configuration filesystem...
         Mounting RPC Pipe File System...
         Mounting POSIX Message Queue File System...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Listening on Journal Socket.
         Starting Journal Service...
         Starting Monitoring of LVM2 mirrors…ng dmeventd or progress polling...
         Starting Remount Root and Kernel File Systems...
         Starting Create list of required st…ce nodes for the current kernel...
[  299.804178][  T235] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[  302.556469][    T1] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[  305.332250][    T1] systemd[1]: Listening on LVM2 poll daemon socket.
[  OK  ] Listening on LVM2 poll daemon socket.
[  305.364624][    T1] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[  305.404340][    T1] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[  305.438837][    T1] systemd[1]: Starting Nameserver information manager...
         Starting Nameserver information manager...
[  305.484817][    T1] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  305.524376][    T1] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[  305.576763][    T1] systemd[1]: Mounted NFSD configuration filesystem.
[  OK  ] Mounted NFSD configuration filesystem.
[  305.614419][    T1] systemd[1]: Mounted RPC Pipe File System.
[  OK  ] Mounted RPC Pipe File System.
[  305.654310][    T1] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Journal Service.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Load Kernel Modules.
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
         Starting Create Static Device Nodes in /dev...
         Starting udev Coldplug all Devices...
         Starting Initial Check File System Quotas...
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
         Starting pNFS block layout mapping daemon...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Nameserver information manager.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started LVM2 metadata daemon.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started pNFS block layout mapping daemon.
[  313.810363][  T231] systemd-journald[231]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Monitoring of LVM2 mirrors,…sing dmeventd or progress polling.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Mounted /tmp.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Cleanup monit state file...
         Starting Raise network interfaces...
         Starting Preprocess NFS configuration...
         Starting Cleanup PHP session files...
[  OK  ] Started Cleanup monit state file.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
         Starting RPC bind portmap service...
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Reached target NFS client services.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Started Cleanup PHP session files.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Started RPC bind portmap service.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Initial Check File System Quotas.
[  362.161624][  T323] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[  OK  ] Found device /dev/ttyS0.
[  364.218283][  T323] lm75 0-0048: hwmon0: sensor 'lm75'
[  365.159511][  T328] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[  365.189046][  T321] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  365.272439][  T328] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[  365.302580][  T328] orion_wdt: Initial timeout 21 sec
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Started ifup for eth0.
[  365.473379][  T322] marvell-cesa f1030000.crypto: CESA device successfully registered
[ TIME ] Timed out waiting for device dev-disk-by\x2dlabel-swap.device.
[DEPEND] Dependency failed for /dev/disk/by-label/swap.
[DEPEND] Dependency failed for Swap.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started ACPI Events Check.
[  OK  ] Reached target Paths.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Clean PHP session files every 30 mins.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started ACPI event daemon.
[  OK  ] Started Self Monitoring and Reporting Technology (SMART) Daemon.
[  OK  ] Started Run anacron jobs.
         Starting Login Service...
[  OK  ] Started Regular background program processing daemon.
         Starting RPC Remote Quota Server...
         Starting System Logging Service...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Found device WDC_WD5000AADS-00S9B0 swap.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Started RPC Remote Quota Server.
[**    ] (2 of 3) A start job is running for…gging Service (2min 17s / 3min 5s)[  431.478911][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[  OK  ] Started System Logging Service.
[  OK  ] Stopped Login Service.
         Starting Login Service...
         Activating swap /dev/disk/by-label/swap...
[    **] (3 of 4) A start job is running for…/DNS-SD Stack (2min 47s / 3min 5s)[  460.844399][  T467] Adding 262140k swap on /dev/sda2.  Priority:-2 extents:1 across:262140k FS
[  OK  ] Activated swap /dev/disk/by-label/swap.
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
         Starting NFS Mount Daemon...
         Starting A high performance web server and a reverse proxy server...
         Starting OpenBSD Secure Shell server...
         Starting The PHP 7.0 FastCGI Process Manager...
         Starting The OpenMediaVault engine … that processes the RPC request...
[  OK  ] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
         Starting Generate the prelogin message...
[  OK  ] Started NFS Mount Daemon.
         Starting NFS server and services...
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Stopped Login Service.
         Starting Login Service...
[FAILED] Failed to start Avahi mDNS/DNS-SD Stack.
See 'systemctl status avahi-daemon.service' for details.
[  OK  ] Started /etc/rc.local Compatibility.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Stopped Login Service.
         Starting Login Service...
[***   ] (2 of 7) A start job is running for…Shell server (3min 34s / 4min 28s)[  508.794979][  T660] NFSD: Using UMH upcall client tracking operations.
[  508.802495][  T660] NFSD: starting 90-second grace period (net f000001c)
[  OK  ] Started NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: start or stop rrdcached...
         Starting LSB: Starts syslogd...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting Permit User Sessions...
         Starting LSB: service and resource monitoring daemon...
         Starting LSB: Starts ProFTPD daemon...
[  OK  ] Started LSB: Starts syslogd.
         Starting LSB: Starts klogd...
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.

openmediavault 4.1.35-1 (Arrakis) stora ttyS0
Copyright (C) 2009-2020 by Volker Theile. All rights reserved.

To manage the system visit the openmediavault web control panel:

eth0: 192.168.1.161

By default the web control panel administrator account has the
username 'admin' and password 'openmediavault'.
It is recommended that you change the password for this account
within the web control panel or using the 'omv-firstaid' CLI
command.

For more information regarding this appliance, please visit the
web site: https://www.openmediavault.org

stora login: root
Password:
Last login: Sun Jul  5 18:13:56 BST 2020 on ttyS0
Linux stora 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@stora:~# fw_printenv
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb_addr=0x1c00000
load_initrd_addr=0x1100000
load_uimage_addr=0x800000
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
usb_ready_retry=15
arcNumber=2743
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type  $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
dtb_file=/boot/dts/kirkwood-netgear_stora_ms2000.dtb
ipaddr=192.168.1.161
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params init=/bin/systemd
root@stora:~#

Please can you spot any problems with the Stretch installation? Thanks and regards, Paul
Re: HowTo: Stora - Debian Stretch and OMV4
July 05, 2020 04:20PM
Paul,

Quote

I am able to launch OMV4 via the web control panel, but it is very unresponsive, and fails to apply a very minor config change (time zone) eventually producing "communications failure - failed to reload daemon".

Through the serial console I often get cycling messages "FAILED Failed to start Login Service - see 'systemctl staus systemcl-logind.service' for details".

The installation is fine. What you are seeing is either systemd or OMV problem (most likely systemd).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HowTo: Stora - Debian Stretch and OMV4
June 06, 2021 05:09AM
Hello all,

just one remark which might avoid troubles when initramfs is generated again and you have to perform the following 2 operations to generate again uImage and uInitrd

mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-xx.xx.xx-kirkwood-tld-1 -d vmlinuz-x.xx.x-kirkwood-tld-1 uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-xx.xx.xx-kirkwood-tld-1 -d initrd.img-x.xx.x-kirkwood-tld-1 uInitrd

If you do not embed dtb into the kernel image area, with the following uBoot settings initrd image size is limited to 11264KBytes since it is squeezed between kernel and dtb:

root@stora:~# fw_printenv
arcNumber=2743
[...]
load_uimage_addr=0x800000
load_initrd_addr=0x1100000
load_dtb_addr=0x1c00000
[...]

Now, if your initramfs will become bigger than 11534336Bytes it will be overwitten by uBoot when loading the dtb file resulting in CRC check error for uInitrd during the boot sequence.

Solution is to move forward load_dtb_addr, for example by allocating 15MB for initramfs:
load_dtb_addr=0x2000000


I hope this might help, I saw several posts about "BAD CRC" for initramfs with unexplicable reasons, this might be one of the causes when you are 100% sure your drive is not failing.


Regards

Nicola



Edited 2 time(s). Last edit at 06/06/2021 05:12AM by nickg.
Re: HowTo: Stora - Debian Stretch and OMV4
June 06, 2021 03:33PM
nickg,

initrd usually not that big, unless there is OMV in the system. I will make a warning for that in the u-boot installation. Thanks!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Kapde
Re: HowTo: Stora - Debian Stretch and OMV4
September 30, 2021 04:07AM
Thanks a lot!

I revived my stora (I even bought a spare at that time) and had some fun in the process

Let's see how OMV behaves now
Re: HowTo: Stora - Debian Stretch and OMV4
September 30, 2021 05:00PM
Kapde,

> Let's see how OMV behaves now

This instruction was added recently to the u-boot installation section (thanks nickg):

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

Quote

B. Load addresses for large systems

This u-boot was released in 2017, since then the kernel size has grown quite a bit. So if you intend to run apps or frameworks that take up a lot of space for initrd, you might need to adjust the load address of the DTB (load_dtb_addr). The default env is set up to allow 11MB uInitrd.

In particular, OMV4 running in the latest rootfs will result in the uInitrd larger than 11MB. So the load address of DTB must be moved farther out to accomodate the large uInitrd. This canbe done with 2 alternatives (B.1 or B.2).

B.1 Set the env permanently to give another 16MB to load uInitrd (i.e. allow for initrd that is up to 27 MB in size).

fw_setenv load_dtb_addr 0x2c00000

B.2 Adjust load_dtb_addr in uEnv.txt

Add this line to uEnv.txt (see section C below). This setting is transient, i.e. not permanent. If the uEnv.txt exists in /boot folder, then it will be used during boot.

load_dtb_addr=0x2c00000

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



Edited 1 time(s). Last edit at 09/30/2021 05:01PM by bodhi.
Re: HowTo: Stora - Debian Stretch and OMV4
September 30, 2021 10:17PM
Amazing to see this topic still alive considering the age of these Stora boxes.

I haven't touched mine since I set it up according to the first post in this topic, but thinking I should maybe update a few things. My Stora has been sitting quietly in my rack cabinet, acting as the Time Machine repo for my Hackintosh as I found it too slow and flaky for using as a real NAS.
Re: HowTo: Stora - Debian Stretch and OMV4
October 12, 2021 05:47AM
fcollingwood Wrote:
-------------------------------------------------------
> Amazing to see this topic still alive considering
> the age of these Stora boxes.
>
> I haven't touched mine since I set it up according
> to the first post in this topic, but thinking I
> should maybe update a few things. My Stora has
> been sitting quietly in my rack cabinet, acting as
> the Time Machine repo for my Hackintosh as I found
> it too slow and flaky for using as a real NAS.


Nice you are still around. So only timemachine backups huh. From where does the flakyness come, what are the errors? Will you be sharing the updates? Perhaps a full guide from the start would encourage me :) Mine still works with the stock firmware since it still works fine for Samba and time machine and I was too scared to flash u-boot (even when I bought the cable and the clamp)



Edited 1 time(s). Last edit at 10/12/2021 05:51AM by cotarelo.
Sigri
Re: HowTo: Stora - Debian Stretch and OMV4
February 20, 2022 02:03PM
Wow, you made my day !

However, I still get stuck.

I also own several Netgear Stora MS2110, and since the service was stopped (and my grumbling on their forum), everything is at a standstill, and impossible to reset, they are bricked.

I tried a bit to revive the old community and we are several at the same point:
So I found this tuto: https://sigri44.github.io/OpenStora/wiki/index_How_to_install_Debian_Linux_on_NETGEAR_Stora.html#Setup_TTL_serial_connection

But with all the trouble given, it is a Stretch version, and even by tinkering, the fact that it is an archive is a problem. I found kirkwood images via netboot, but the network cards are never detected.

I see you are proposing a new method, the "uboot" which I don't know, and the fact that my NAS are bricked, I only have access to Marvell/tftboot, and I load uImage/uInitrd images in order to install on a USB key.

If you could enlighten me on this method I'd be glad, and if I can offer a tuto/package installation to the community I'd be glad.

Sorry for the digging.

Peace !
Re: HowTo: Stora - Debian Stretch and OMV4
February 20, 2022 02:11PM
Wow, you made my day !

However, I still get stuck.

I also own several Netgear Stora MS2110, and since the service was stopped (and my grumbling on their forum), everything is at a standstill, and impossible to reset, they are bricked.

I tried a bit to revive the old community and we are several at the same point:
So I found this tuto: https://sigri44.github.io/OpenStora/wiki/index_How_to_install_Debian_Linux_on_NETGEAR_Stora.html#Setup_TTL_serial_connection

But with all the trouble given, it is a Stretch version, and even by tinkering, the fact that it is an archive is a problem. I found kirkwood images via netboot, but the network cards are never detected.

I see you are proposing a new method, the "uboot" which I don't know, and the fact that my NAS are bricked, I only have access to Marvell/tftboot, and I load uImage/uInitrd images in order to install on a USB key.

If you could enlighten me on this method I'd be glad, and if I can offer a tuto/package installation to the community I'd be glad.

Sorry for the digging..

Peace !
Author:

Subject:


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