Quantcast
Channel: Linux Device Hacking
Viewing all 47029 articles
Browse latest View live

Lenovo IX2-ng question

$
0
0
Hi there,

I have a Lenovo IX2-ng with stock u-boot (as far as I know it can't be updated anyway) and with linux-4.15.2-kirkwood-tld-1-bodhi.tar.bz2 installed on an old HDD.

My interest is replace the HDD with a SSD. Can it boot debian from a SSD ?

Re: Linux Kernel 4.19.0 Kirkwood package and Debian rootfs

Re: Lenovo IX2-ng question

Re: Booting Zyxel NSA-325v2 from USB Stick

$
0
0
Rick,

> which
> I found here in the forum
.

That's the release thread for the latest rootfs and kernel. The instruction in the first post shows you how to create the Debian rootfs.

You also want to install the new U-Boot:
https://forum.doozan.com/read.php?3,12381

Basically, I don't have a beginner tutorial to show steps by step how to do a complete installtion. You'll need to read the 1st post of those 2 threads to see if you are comfortable with doing these installations.

The best way for someone who is not familiar with manual installation procedures like these is to read and then copy the instruction step into a notepad, and post here what you understood you are about to do. Someone or I will look at your own steps and help pointing out if they are correct.

Re: NETGEAR STORA - Bad Magic Number

$
0
0
Hi Bodhi,
this is the full bootlog
pi@raspberrypi:~/kwboot-tool $ ./kwboot_1 -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb -p
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]
?

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

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
Netgear Stora> setenv dtb_file /boot/dts/kirkwood-netgear_stora_ms2000.dtb
Netgear Stora> setenv mtdparts 'mtdparts=orion_nand:4M(uboot),-(rootfs)'
Netgear Stora> boot
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

Partition Map for USB device 0  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	30029824  	2384b32d-01	83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 692 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3821592 bytes read in 817 ms (4.5 MiB/s)
loading uInitrd ...
7245696 bytes read in 793 ms (8.7 MiB/s)
loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ...
11869 bytes read in 2614 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2017-07-20   8:11:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3821528 Bytes = 3.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 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 03917000, end 03ffff40 ... OK
   Loading Device Tree to 03911000, end 03916e5c ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:4M(uboot),-(rootfs)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 109420K/131072K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 21652K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0db3274   ( 717 kB)
[    0.000000]        .bss : 0xc0db9b9c - 0xc0e01e60   ( 289 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000010] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000052] Switching to timer-based delay loop, resolution 5ns
[    0.000619] Console: colour dummy device 80x30
[    0.000662] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000689] pid_max: default: 32768 minimum: 301
[    0.000926] Security Framework initialized
[    0.001073] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001097] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002126] CPU: Testing write buffer coherency: ok
[    0.003355] Setting up static identity map for 0x100000 - 0x100058
[    0.003681] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.007640] devtmpfs: initialized
[    0.012957] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012989] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.013463] prandom: seed boundary self test passed
[    0.017970] prandom: 100 self tests passed
[    0.017985] pinctrl core: initialized pinctrl subsystem
[    0.019366] NET: Registered protocol family 16
[    0.019927] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.021953] cpuidle: using governor ladder
[    0.022039] cpuidle: using governor menu
[    0.022563] Feroceon L2: Enabling L2
[    0.022620] Feroceon L2: Cache support initialised.
[    0.023052] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.029167] No ATAGs?
[    0.040406] vgaarb: loaded
[    0.040801] SCSI subsystem initialized
[    0.041372] usbcore: registered new interface driver usbfs
[    0.041464] usbcore: registered new interface driver hub
[    0.041569] usbcore: registered new device driver usb
[    0.042920] clocksource: Switched to clocksource orion_clocksource
[    0.150621] VFS: Disk quotas dquot_6.6.0
[    0.150715] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.163508] NET: Registered protocol family 2
[    0.164384] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.164416] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.164441] TCP: Hash tables configured (established 1024 bind 1024)
[    0.164546] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.164576] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.164789] NET: Registered protocol family 1
[    0.165282] RPC: Registered named UNIX socket transport module.
[    0.165297] RPC: Registered udp transport module.
[    0.165306] RPC: Registered tcp transport module.
[    0.165314] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.165597] Unpacking initramfs...
[    0.958422] Freeing initrd memory: 7076K
[    0.958586] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.959738] audit: initializing netlink subsys (disabled)
[    0.960331] Initialise system trusted keyrings
[    0.960396] Key type blacklist registered
[    0.960510] audit: type=2000 audit(0.957:1): state=initialized audit_enabled=0 res=1
[    0.960621] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.960704] zbud: loaded
[    0.961878] NFS: Registering the id_resolver key type
[    0.961911] Key type id_resolver registered
[    0.961921] Key type id_legacy registered
[    0.961942] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.961954] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.962190] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.962424] fuse init (API version 7.26)
[    0.962855] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.963256] orangefs_init: module version upstream loaded
[    0.963270] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.552928] random: fast init done
[    8.015978] Key type asymmetric registered
[    8.015998] Asymmetric key parser 'x509' registered
[    8.016076] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    8.016090] io scheduler noop registered
[    8.016101] io scheduler deadline registered
[    8.016200] io scheduler cfq registered (default)
[    8.017697] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    8.019984] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00
[    8.020011] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    8.020028] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    8.020044] pci_bus 0000:00: root bus resource [bus 00-ff]
[    8.020443] PCI: bus0: Fast back to back transfers disabled
[    8.020473] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.020668] PCI: bus1: Fast back to back transfers enabled
[    8.020759] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.021411] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.083969] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    8.084233] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.143828] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    8.144341] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.145925] console [ttyS0] disabled
[    8.146002] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    8.796487] console [ttyS0] enabled
[    8.810246] loop: module loaded
[    8.814158] sata_mv f1080000.sata: slots 32 ports 2
[    8.822404] scsi host0: sata_mv
[    8.826160] scsi host1: sata_mv
[    8.829602] ata1: SATA max UDMA/133 irq 33
[    8.833777] ata2: SATA max UDMA/133 irq 33
[    8.838794] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[    8.845308] nand: Samsung NAND 256MiB 3,3V 8-bit
[    8.849949] nand: 256 MiB, MLC, erase size: 4096 KiB, page size: 4096, OOB size: 128
[    8.857761] nand: WARNING: f4000000.nand: the ECC used on your system is too weak compared to the one required by the NAND chip
[    8.869321] Scanning device for bad blocks
[    8.877613] 2 cmdlinepart partitions found on MTD device orion_nand
[    8.883937] Creating 2 MTD partitions on "orion_nand":
[    8.889114] 0x000000000000-0x000000400000 : "uboot"
[    8.895593] 0x000000400000-0x000010000000 : "rootfs"
[    8.903617] libphy: Fixed MDIO Bus: probed
[    8.908754] libphy: orion_mdio_bus: probed
[    8.912890] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove
[    8.929668] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    9.174413] ata1: SATA link down (SStatus 0 SControl F300)
[    9.524398] ata2: SATA link down (SStatus 0 SControl F300)
[   10.044662] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[   10.053602] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   10.060184] ehci-pci: EHCI PCI platform driver
[   10.064763] ehci-orion: EHCI orion driver
[   10.069037] orion-ehci f1050000.ehci: EHCI Host Controller
[   10.074624] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   10.082514] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   10.112966] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   10.119293] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   10.126158] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   10.133443] usb usb1: Product: EHCI Host Controller
[   10.138346] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd
[   10.145101] usb usb1: SerialNumber: f1050000.ehci
[   10.150584] hub 1-0:1.0: USB hub found
[   10.154469] hub 1-0:1.0: 1 port detected
[   10.159134] usbcore: registered new interface driver usb-storage
[   10.165640] mousedev: PS/2 mouse device common for all mice
[   10.512961] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   10.724144] usb 1-1: New USB device found, idVendor=0781, idProduct=5583
[   10.730896] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.738109] usb 1-1: Product: Ultra Fit
[   10.741981] usb 1-1: Manufacturer: SanDisk
[   10.746128] usb 1-1: SerialNumber: 4C530000041215115005
[   10.752387] usb-storage 1-1:1.0: USB Mass Storage device detected
[   10.758970] scsi host2: usb-storage 1-1:1.0
[   11.202955] rtc-mv f1010300.rtc: internal RTC not ticking
[   11.208583] i2c /dev entries driver
[   11.219196] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[   11.229268] hidraw: raw HID events driver (C) Jiri Kosina
[   11.235208] drop_monitor: Initializing network drop monitor service
[   11.241794] NET: Registered protocol family 17
[   11.246394] Key type dns_resolver registered
[   11.251637] registered taskstats version 1
[   11.255798] Loading compiled-in X.509 certificates
[   11.260681] zswap: loaded using pool lzo/zbud
[   11.277301] Key type big_key registered
[   11.292661] Key type encrypted registered
[   11.299876] rtc-pcf8563 0-0051: setting system clock to 2019-02-05 21:25:15 UTC (1549401915)
[   11.313015] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[   11.839360] usbcore: registered new interface driver uas
[   11.850403] scsi 2:0:0:0: Direct-Access     SanDisk  Ultra Fit        1.00 PQ: 0 ANSI: 6
[   11.855339] sd 2:0:0:0: [sda] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB)
[   11.857088] sd 2:0:0:0: [sda] Write Protect is off
[   11.857822] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.865378]  sda: sda1
[   11.869197] sd 2:0:0:0: [sda] Attached SCSI removable disk
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[   22.589044] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Setting hostname to 'debian'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok 
[....] Synthesizing the initial hotplug events...[   24.871927] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ ok                                             done.
[....] Waiting for /dev to be fully populated...[   25.160224] lm75 0-0048: hwmon0: sensor 'lm75'
[   25.345844] marvell-cesa f1030000.crypto: CESA device successfully registered
[   25.387108] orion_wdt: Initial timeout 21 sec
[   25.480262] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   25.968987] random: crng init done
done.
[ ok ] Activating swap:.
[   26.839300] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 14575/940240 files, 230713/3753728 blocks
. ok 
[   27.151029] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs[ ok hat location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/52:3b:20:9c:11:51
Sending on   LPF/eth0/52:3b:20:9c:11:51
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
[   34.065677] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   38.031793] NET: Registered protocol family 10
[   38.039617] Segment Routing with IPv6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPREQUEST of 192.168.2.7 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.2.7 from 192.168.2.50
DHCPACK of 192.168.2.7 from 192.168.2.50
bound to 192.168.2.7 -- renewal in 2947 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1322 (syslogd)
. ok 
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1321 (klogd)
. ok 
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password: 
Last login: Mon Feb  4 15:51:47 PST 2019 on ttyS0
Linux debian 4.12.1-kirkwood-tld-1 #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00400000 00400000 "uboot"
mtd1: 0fc00000 00400000 "rootfs"
root@debian:~# cd tools/
root@debian:~/tools# ./flash_erase /dev/mtd0 0 0
Erasing 4096 Kibyte @ 0 -- 100 % complete 
root@debian:~/tools# ./nandwrite /dev/mtd0 uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb
Writing data to block 0 at offset 0x0
root@debian:~/tools# reboot
INIT: Swilevel: 6
INIT: Se
Broadcast message from root@debian (ttyS0) (Tue Feb  5 13:27:47 2019):

The system is going down for reboot NOW!
[info] Using makefile-style concurrent boot in runlevel 6.
[....] Stopping busybox' klogd implementation: klogd1321 (klogd)
Stopped klogd (pid 1321).
. ok 
[ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Stopping busybox' syslogd implementation: syslogd1322 (syslogd)
. ok 
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Saving random seed...done.
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 1 seconds...done.
[ ok ] Stopping RPC port mapper daemon: rpcbind.
[ ok ] Stopping NFS common utilities: idmapd statd.
[....] Deconfiguring network interfaces...Removed stale PID file
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/52:3b:20:9c:11:51
Sending on   LPF/eth0/52:3b:20:9c:11:51
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.2.50 port 67
done.
[info] Saving the system clock.
[info] Hardware Clock updated to Tue Feb  5 13:27:51 PST 2019.
[....] Will now unmount temporary filesystems:umount: /tmp unmounted
. ok 
[ ok ] Will now deactivate swap:.
[  167.766965] EXT4-fs (sda1): re-mounted. Opts: (null)
[ ok ] Mounting root filesystem read-only...done.
[info] Will now restart.
[  169.965765] reboot: Restarting system
Dirk Pitt

Re: Install Debian on old GoFlex Home

$
0
0
Hi Bodhi,

Wanted to share a folder on network that contained torrents downloaded by transmission on GoFlexHome Box and accomplished this by doing the following:

----------------------------------------------
created folder TDownloads on sda2 mounted at /DataDisk1/TDownloads
Created a user debian-transmission
changed ownership of this folder to user debian-transmission

:/# adduser debian-transmission user
:/# mkdir TDownloads && chown debian-transmission:debian-transmission TDownloads

then changed default download location of transmission to /DataDisk1/Tdownloads.
Used Transmission to successfully downloaded torrent to this location.
Then wanted to share this folder on the Network so

edited smb.conf

:/# nano /etc/samba/smb.conf

(added the following to end of file to share directory /DataDisk1/TDownloads)

[TDownloads]
path = /DataDisk1/TDownloads
writeable = yes
browseable = yes
public = no
create mask = 0644
directory mask = 0755
force user = mr,xxxxxxx2

also changed Fstab file as follows:

:/# cd /etc/
:/# nano fstab

(added the following line)

/dev/sda2 /DataDisk1 ext3 defaults 0 0

But was not able to access the folder from windows until I changed permissions as follows:

:/# chmod -R 0777 /DataDisk1/TDownloads

Now I can do anything I want in this folder from windows system. But was wondering how secure this setup is and if it is exposing my GoFlexHome box and network to unnecessary online risk?

Regards,

Navi

Re: NSA325 v2: stuck on Bad Magic Number

$
0
0
Hi davdav,

i'm searching for the original uboot NAND mtd0. I forgot to make a backup when i install the new one.
Can you provide me your backup of mtd0?

Greets
Andreas

Re: Install Debian on old GoFlex Home

$
0
0
Navi,

> Now I can do anything I want in this folder from
> windows system. But was wondering how secure this
> setup is and if it is exposing my GoFlexHome box
> and network to unnecessary online risk?

There is no online risk with Samba. It runs in your local network. As long as you don't open ports in your router (to access your home network remotely through the internet), then it is OK.

Re: NETGEAR STORA - Bad Magic Number

$
0
0
Hi Dirk,

So there is possibility that the kernel misidentifed the flash type (because it was too messed up). We can try to flash u-boot in serial console, assuming what we saw was correct that the block size is 128K.

1. Copy the u-boot image uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb to the top folder of the usb rootfs. Plug in the rootfs.
2. Run kwboot and interrupt serial console.
3. Set mtdparts to the way we want it.

setenv mtdparts 'mtdparts=orion_nand:1M(uboot),-(rootfs)'
mtdinfo
mtdparts

Check the output above to make sure we have the 1st partition mtd0 as 1MB. And the block size is 128K.

usb start
ext2load usb 0:1 0x800000 /uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb
nand erase 0x0 0x80000
nand write.e 0x800000 0x0 0x80000

If there was error in the above, stop and post the entire serial console log. If there was no error then

reset
See if the newly flashed u-boot is now running. And also post serial console log for future reference.

Re: Install Debian on old GoFlex Home

$
0
0
Hi Bodhi,

Thanks to this forum and in particular due to you, now I have my GoFlexHome Box all setup with more functionality than the Stock OS was able to provide. I am sure that I will keep tinkering with this box and will have doubts that will be cleared by posting in this forum. Can you please give me some pointers for my "Things to do list" with GoFlexHome. Here is what I have in mind:

1) Power Saving Features.
2) GUI interface. ( Do you recommend XFCE? https://forum.doozan.com/read.php?2,21784 )
3) Customize LED lights. (would love to see Bluish-white light when HDD is up and running. Any wiki on this?).
4) Setup Swap File of 1Gb ( what is the ideal swapiness for a box like GoFlex Home? )

Regards,

Navi

Re: Install Debian on old GoFlex Home

$
0
0
Navi,

> 1) Power Saving Features.

Install and use cpufrequtils.

> 2) GUI interface. ( Do you recommend XFCE?
> https://forum.doozan.com/read.php?2,21784 )

Yes. XFCE has low memory footprint.

> 3) Customize LED lights. (would love to see
> Bluish-white light when HDD is up and running. Any
> wiki on this?).

No Wiki entry for this. But it is quite simple. See rootfs /etc/rc.local for the general setup examples. The GoFlex Home trigger for the HDD can be setup this way:

echo ide-disk1 > /sys/class/leds/status\:white\:misc/trigger
So add the above line to /etc/rc.local.

> 4) Setup Swap File of 1Gb ( what is the ideal
> swapiness for a box like GoFlex Home? )

Depend on the usage. If running XFCE GUI, swappiness 10 is recommended. If not running any remote desktop, use default swappiness of 80.

NSA325v2 bad block, can I flash it?

$
0
0
Hello,

first of all I have to admit I have no experience with flashing u-boot, this is my first time doing it so I want to be as careful as possible. Why am I doing it? Well, I tried to update my stock OS to newer version (4.81 i think), but somehow the update was unsuccessfull and now my NAS is not booting, I connected serial console to see where is the problem and it stops at
Quote

*** glibc detected *** /sbin/zyshd: double free or corruption (!prev): 0x00255f08 ***
I tried to reset nas to defaults, but it does not help. I found some topics on google about restoring original OS but all post refer to some dead links so I had no luck there. After that I decided to install debian so I can have some freedom with my system.

I followed guide here https://forum.doozan.com/read.php?2,12096 and installed
Quote

Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2
on the USB and tried to boot that, but as I expected it does not work without changing the boot loader.

After that I read the guide here https://forum.doozan.com/read.php?3,12381 and saw that there cant be bad blocks in NAND or I will definitely brick my device. I cant boot my system but from serial console I see output
Quote

Bad block at 0xc80000 in erase block from 0xc80000 will be skipped
I think it's not in the first 1M but I'm not sure. Also, the guide assumes I am able to boot up the system to use some commands, is it possible to flash u-boot when I'm unable to boot up ?

I saw the part about UART booting but NSA325(v2) is not listed in supported devices, so I dont know if I should try it, but it seems like a safe precaution before flashing on NAND. I will post serial output while booting up with debian USB stick inserted below.

So tl;dr - am I safe to proceed and try UART booting and, if successfull, flashing the uboot.2017.07-tld-1.nsa325.bodhi.tar on NAND?

Here is the boot log, I printed the important (I think) parts in bold.

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__| 
 ** MARVELL BOARD: DB-88F6282A-BP LE 

U-Boot 1.1.4 (Jul 18 2013 - 10:47:29) Marvell version: 3.5.9

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

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz 

DRAM (DDR3) CAS Latency = 7 tRP = 8 tRAS = 24 tRCD=8
DRAM CS[0] base 0x00000000   size 512MB 
DRAM Total size 512MB  16bit width
Addresses 10M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (10M - 7M): Done
NAND:128 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)
Kernel address is 0xc80000.

Streaming disabled 
Write allocate disabled


USB 0: host mode
	[BlueDBG] reseting SoC Pex[0]  0 ...
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
	[BlueDBG] reseting SoC Pex[1]  0 ...
	[BlueDBG] reseting SoC Pex[1]  1 ...
	[BlueDBG] reseting SoC Pex[1]  2 ...
	[BlueDBG] reseting SoC Pex[1]  3 ...
	[BlueDBG] reseting SoC Pex[1]  4 ...
	[BlueDBG] reseting SoC Pex[1]  5 ...
	[BlueDBG] reseting SoC Pex[1]  6 ...
	[BlueDBG] reseting SoC Pex[1]  7 ...
	[BlueDBG] reseting SoC Pex[1]  8 ...
	[BlueDBG] reseting SoC Pex[1]  9 ...
	[BlueDBG] reseting SoC Pex[1]  10 ...
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  2 ??? 1 ??? 0 

NAND read: device 0 offset 0xc80000, size 0xa00000


Bad block at 0xc80000 in erase block from 0xc80000 will be skipped

Reading data from 0xca0000 --   0% complete.
Reading data from 0xcb9800 --   1% complete.
Reading data from 0xcd3000 --   2% complete.
Reading data from 0xcec800 --   3% complete.
Reading data from 0xd06000 --   4% complete.
Reading data from 0xd1f800 --   5% complete.
Reading data from 0xd39800 --   6% complete.
Reading data from 0xd53000 --   7% complete.
Reading data from 0xd6c800 --   8% complete.
Reading data from 0xd86000 --   9% complete.
Reading data from 0xd9f800 --  10% complete.
Reading data from 0xdb9800 --  11% complete.
Reading data from 0xdd3000 --  12% complete.
Reading data from 0xdec800 --  13% complete.
Reading data from 0xe06000 --  14% complete.
Reading data from 0xe1f800 --  15% complete.
Reading data from 0xe39800 --  16% complete.
Reading data from 0xe53000 --  17% complete.
Reading data from 0xe6c800 --  18% complete.
Reading data from 0xe86000 --  19% complete.
Reading data from 0xe9f800 --  20% complete.
Reading data from 0xeb9800 --  21% complete.
Reading data from 0xed3000 --  22% complete.
Reading data from 0xeec800 --  23% complete.
Reading data from 0xf06000 --  24% complete.
Reading data from 0xf1f800 --  25% complete.
Reading data from 0xf39800 --  26% complete.
Reading data from 0xf53000 --  27% complete.
Reading data from 0xf6c800 --  28% complete.
Reading data from 0xf86000 --  29% complete.
Reading data from 0xf9f800 --  30% complete.
Reading data from 0xfb9800 --  31% complete.
Reading data from 0xfd3000 --  32% complete.
Reading data from 0xfec800 --  33% complete.
Reading data from 0x1006000 --  34% complete.
Reading data from 0x101f800 --  35% complete.
Reading data from 0x1039800 --  36% complete.
Reading data from 0x1053000 --  37% complete.
Reading data from 0x106c800 --  38% complete.
Reading data from 0x1086000 --  39% complete.
Reading data from 0x109f800 --  40% complete.
Reading data from 0x10b9800 --  41% complete.
Reading data from 0x10d3000 --  42% complete.
Reading data from 0x10ec800 --  43% complete.
Reading data from 0x1106000 --  44% complete.
Reading data from 0x111f800 --  45% complete.
Reading data from 0x1139800 --  46% complete.
Reading data from 0x1153000 --  47% complete.
Reading data from 0x116c800 --  48% complete.
Reading data from 0x1186000 --  49% complete.
Reading data from 0x119f800 --  50% complete.
Reading data from 0x11b9800 --  51% complete.
Reading data from 0x11d3000 --  52% complete.
Reading data from 0x11ec800 --  53% complete.
Reading data from 0x1206000 --  54% complete.
Reading data from 0x121f800 --  55% complete.
Reading data from 0x1239800 --  56% complete.
Reading data from 0x1253000 --  57% complete.
Reading data from 0x126c800 --  58% complete.
Reading data from 0x1286000 --  59% complete.
Reading data from 0x129f800 --  60% complete.
Reading data from 0x12b9800 --  61% complete.
Reading data from 0x12d3000 --  62% complete.
Reading data from 0x12ec800 --  63% complete.
Reading data from 0x1306000 --  64% complete.
Reading data from 0x131f800 --  65% complete.
Reading data from 0x1339800 --  66% complete.
Reading data from 0x1353000 --  67% complete.
Reading data from 0x136c800 --  68% complete.
Reading data from 0x1386000 --  69% complete.
Reading data from 0x139f800 --  70% complete.
Reading data from 0x13b9800 --  71% complete.
Reading data from 0x13d3000 --  72% complete.
Reading data from 0x13ec800 --  73% complete.
Reading data from 0x1406000 --  74% complete.
Reading data from 0x141f800 --  75% complete.
Reading data from 0x1439800 --  76% complete.
Reading data from 0x1453000 --  77% complete.
Reading data from 0x146c800 --  78% complete.
Reading data from 0x1486000 --  79% complete.
Reading data from 0x149f800 --  80% complete.
Reading data from 0x14b9800 --  81% complete.
Reading data from 0x14d3000 --  82% complete.
Reading data from 0x14ec800 --  83% complete.
Reading data from 0x1506000 --  84% complete.
Reading data from 0x151f800 --  85% complete.
Reading data from 0x1539800 --  86% complete.
Reading data from 0x1553000 --  87% complete.
Reading data from 0x156c800 --  88% complete.
Reading data from 0x1586000 --  89% complete.
Reading data from 0x159f800 --  90% complete.
Reading data from 0x15b9800 --  91% complete.
Reading data from 0x15d3000 --  92% complete.
Reading data from 0x15ec800 --  93% complete.
Reading data from 0x1606000 --  94% complete.
Reading data from 0x161f800 --  95% complete.
Reading data from 0x1639800 --  96% complete.
Reading data from 0x1653000 --  97% complete.
Reading data from 0x166c800 --  98% complete.
Reading data from 0x1686000 --  99% complete.
Reading data from 0x169f800 -- 100% complete.
 10485760 bytes read: OK
## Booting image at 02000000 ...
   Image Name:   Linux-2.6.31.8
   Created:      2017-06-23   3:04:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5796104 Bytes =  5.5 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux................................................................................................................................................................................................................................................................................ done, booting the kernel.

Linux version 2.6.31.8 (root@BuildMachine) (gcc version 4.3.2 (sdk3.3-ct-ng-1.4.1) ) #2 Fri Jun 23 11:03:47 CST 2017
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 130048
Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/nfs rw init=/init
PID hash table entries: 2048 (order: 11, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 506752KB available (5360K code, 302K data, 2872K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Console: colour dummy device 80x30
Calibrating delay loop... 1599.07 BogoMIPS (lpj=7995392)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
invoking softwareStaggeredSpinUp()..., it will delay 5 seconds to spin up the second harddisk

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 512MB 
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB 
PEX0_IO ....base f2000000, size   1MB 
PEX1_MEM ....base e8000000, size 128MB 
PEX1_IO ....base f2100000, size   1MB 
INTER_REGS ....base f1000000, size   1MB 
NFLASH_CS ....base fa000000, size   2MB 
SPI_CS ....base f4000000, size  16MB 
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size   2MB 

  Marvell Development Board (LSP Version KW_LSP_5.1.3_patch18)-- DB-88F6282A-BP  Soc: MV88F6282 Rev 1 LE

 Detected Tclk 200000000 and SysClk 533333333 
Marvell USB EHCI Host controller #0: d003a740
	[BlueDBG] reseting SoC Pex[0]  0 ...
PEX0 interface detected Link X1
	[BlueDBG] reseting SoC Pex[1]  0 ...
	[BlueDBG] reseting SoC Pex[1]  1 ...
	[BlueDBG] reseting SoC Pex[1]  2 ...
	[BlueDBG] reseting SoC Pex[1]  3 ...
	[BlueDBG] reseting SoC Pex[1]  4 ...
	[BlueDBG] reseting SoC Pex[1]  5 ...
	[BlueDBG] reseting SoC Pex[1]  6 ...
	[BlueDBG] reseting SoC Pex[1]  7 ...
	[BlueDBG] reseting SoC Pex[1]  8 ...
	[BlueDBG] reseting SoC Pex[1]  9 ...
	[BlueDBG] reseting SoC Pex[1]  10 ...
PEX1 interface detected no Link.
pci 0000:00:01.0: PME# supported from D0 D3hot
pci 0000:00:01.0: PME# disabled
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
NET: Registered protocol family 1
cpufreq: Init kirkwood cpufreq driver
XOR registered 4 channels
XOR 2nd invalidate WA enabled
mvCesaInit: sessions=640, queue=64, pSram=f0000000
Warning: TS unit is powered off.
gpio_dev = fd00000
LED_SET_CTL_IOC_NUM= 6702
High gpio polarity = 50 
High gpio polarity = 70 
Enable Interrupt
mv88f6281_wdt: Watchdog Timer timeout = 8 sec.
mv88f6281_wdt: HW Watchdog timeout    = 15 sec.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.12)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
msgmni has been set to 990
alg: No test for cipher_null (cipher_null-generic)
alg: No test for ecb(cipher_null) (ecb-cipher_null)
alg: No test for digest_null (digest_null-generic)
alg: No test for compress_null (compress_null-generic)
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
Integrated Sata device found
IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
Wake up disk0......
Wake up disk1......
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
EnablePowerSaving 
PowerSavingTime = 15
No found HD
Loading Marvell Ethernet Driver:
  o Cached descriptors in DRAM
  o DRAM SW cache-coherency
  o 1 Giga ports supported
  o Single RX Queue support - ETH_DEF_RXQ=0
  o Single TX Queue support - ETH_DEF_TXQ=0
  o TCP segmentation offload (TSO) supported
  o Large Receive offload (LRO) supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Network Fast Processing (Routing) supported - (Disabled)
  o Driver ERROR statistics enabled
  o Proc tool API enabled
  o SKB Reuse supported - (Disabled)
  o SKB Recycle supported - (Disabled)
  o Rx descripors: q0=128
  o Tx descripors: q0=532
  o Loading network interface(s):
     o register under mv88fx_eth platform
     o eth0, ifindex = 2, GbE port = 0

mvFpRuleDb (d10a0000): 16384 entries, 65536 bytes
Counter=0, opIdx=6, overhead=16
Counter=1, opIdx=2, overhead=0
Counter=2, opIdx=1, overhead=18
Counter=3, opIdx=2, overhead=0
NAND device: Manufacturer ID: 0x92, Chip ID: 0xf1 (Unknown NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 100 at 0x000000c80000
Bad eraseblock 200 at 0x000001900000
9 cmdlinepart partitions found on MTD device nand_mtd
Using command line partition definition
Creating 9 MTD partitions on "nand_mtd":
0x000000000000-0x000000100000 : "uboot"
0x000000100000-0x000000180000 : "uboot_env"
0x000000180000-0x000000200000 : "key_store"
0x000000200000-0x000000280000 : "info"
0x000000280000-0x000000c80000 : "etc"
0x000000c80000-0x000001680000 : "kernel_1"
0x000001680000-0x000004640000 : "rootfs1"
0x000004640000-0x000005040000 : "kernel_2"
0x000005040000-0x000008000000 : "rootfs2"
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
rtc-pcf8563 0-0051: chip found, driver version 0.4.3
rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Mobile IPv6
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
ip6tnl0: Disabled Privacy Extensions
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-pcf8563 0-0051: setting system clock to 2019-02-07 16:51:18 UTC (1549558278)
Freeing init memory: 2872K
?[031m*** Stage 1: Setup system and device drivers ***?[0m
usb 1-1: new high speed USB device using ehci_marvell and address 2
In hub_port_init, and number is 1, retry 0, port 1 .....
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
eth0: mac address changed
egiga0: started
ADDRCONF(NETDEV_UP): egiga0: link is not ready
usb 1-1.3: new high speed USB device using ehci_marvell and address 3
?[031m*** Stage 2: Prepare the root file system ***?[0m
In hub_port_init, and number is 2, retry 0, port 3 .....
?[033mMount system partition...?[0m
yaffs: dev is 32505862 name is "mtdblock6" ro
yaffs: passed flags ""
storage_gen_mntfw.sh: no internal disk availableusb 1-1.3: configuration #1 chosen from 1 choice

1
scsi2 : SCSI emulation for USB Mass Storage devices
WARNING: No valid partition on HDD or no HDD plugged!
WARNING: No valid partition on HDD or no HDD plugged
Boot from RAM disk
scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
sd 2:0:0:0: Attached scsi generic sg0 type 0
sd 2:0:0:0: [sda] 30277632 512-byte logical blocks: (15.5 GB/14.4 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Attached SCSI removable disk
?[033mMount system disk image ...?[0m
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
/etc/zyxel/conf exist..
Start rcS2 of ZyXEL style
Set the phy back to auto-negotiation mode
base address = 4014e000
words[0] = phypoke
words[1] = 1
words[2] = 4
words[3] = 1e1
:GbitPhy[0x00000001:0x00000004] <= 0x000001e1
base address = 4014e000
words[0] = phypoke
words[1] = 1
words[2] = 9
words[3] = 300
:GbitPhy[0x00000001:0x00000009] <= 0x00000300
base address = 4014e000
words[0] = phypoke
words[1] = 1
words[2] =NTFS driver 2.1.29 [Flags: R/O MODULE].
 0
words[3] = 9140
:GbitPhy[0x00000001:0x00000000] <= 0x00009140
?[031m*** Stage 3: Start services on HDD ***?[0m
tntfs: module license 'Commercial. For support email ntfs-support@tuxera.com.' taints kernel.
Disabling lock debugging due to kernel taint
Tuxera NTFS driver 3011.12.23 [Flags: R/W MODULE].
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
PPP Deflate Compression module registered
NET: Registered protocol family 24
PPP BSD Compression module registered
modprobe: module fuse not found in modules.dep
sda
checking sda

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Trying to mount /dev/sda1
EXT3-fs: Unrecognized mount option "iocharset=utf8" or missing value
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Fail to mount /dev/sda1
Press ENTER to continue...
Starting zylogd...
 zylog starts.
Starting uamd...
Starting ZySH daemon and client...
Start NSA-220 system daemon....
 Start ZySH daemon
zyshd: version 2.0.0 (build: 10:45:14 Jun 23 2017)
% zylog init start 
cat: can't open '/var/run/syslog-ng.pid': No such file or directory
Try to KILL SIGHUP to syslog-ng: pid=0
syslog-ng not running, start /usr/sbin/syslog-ng
Feb  7 16:51:59 (none) syslog-ng[1368]: syslog-ng starting up; version='2.0.10'
zyio_open_config success. (/etc/__system_default.xml, 0)
zyio_open_config success. (/etc/zyxel/conf/__system_default_device_ha.xml, 0)
/usr/sbin/zic -d /etc /var/zyxel/myzone_rule
/bin/ln -s -f /etc/MyZone /etc/localtime
/bin/hostname NSA325-v2
Usage: umount [-hV]
       umount -a [-f] [-r] [-n] [-v] [-t vfstypes] [-O opts]
       umount [-f] [-r] [-n] [-v] special | node...
Usage: umount [-hV]
       umount -a [-f] [-r] [-n] [-v] [-t vfstypes] [-O opts]
       umount [-f] [-r] [-n] [-v] special | node...
BusyBox v1.17.2 (2017-06-23 10:40:08 CST) multi-call binary.

Usage: rmdir [OPTIONS] DIRECTORY...

Init SMB DB access... 
rm: can't remove '/var/log/samba/smb.db': No such file or directory
WARNING: can't open config file: /etc/ssl/openssl.cnf
zyio_container_create_template(/etc/__system_default.xml): scope:[network/wlan] list:[wlan_list] type:[wlan_t] is not existed
Assemble volume....
[1415] server write-only FIFO is opened (fd=6)
[1415] server read-only FIFO is opened (fd=7)
[1415] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 280
 Startup config
POLLHUP on 7
  pid = 1415
[1415] is disconnected
[1513] server write-only FIFO is opened (fd=6)
[1513] server read-only FIFO is opened (fd=7)
[1513] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 14
argc = 1,  func = 17
argc = 1,  func = 672
argc = 2,  func = 105
argid[1]: 1087; argv[1]: ge1
argc = 6,  func = 109
argid[1]: 1087; argv[1]: ge1
argid[2]: 313; argv[2]: ip
argid[3]: 434; argv[3]: address
argid[4]: 1080; argv[4]: 192.168.88.117
argid[5]: 1080; argv[5]: 255.255.255.0
argc = 5,  func = 110
argid[1]: 1087; argv[1]: ge1
argid[2]: 313; argv[2]: ip
argid[3]: 543; argv[3]: gateway
argid[4]: 1080; argv[4]: 192.168.88.1
argc = 4,  func = 107
argid[1]: 1087; argv[1]: ge1
argid[2]: 541; argv[2]: mtu
argid[3]: 1422; argv[3]: 4096
argc = 3,  func = 106
argid[1]: 1087; argv[1]: ge1
argid[2]: 350; argv[2]: exit
argc = 3,  func = 444
argid[1]: 1080; argv[1]: 192.168.1.1
argid[2]: 1080; argv[2]: 8.8.8.8
argc = 4,  func = 446
argid[1]: 879; argv[1]: fetch
argid[2]: 880; argv[2]: manually
argid[3]: 1087; argv[3]: ge1
egiga0: stopped
egiga0: started
egiga0: change mtu 1500 (buffer-size 1536) to 4096 (buffer-size 4128)
/bin/rm -f /var/zyxel/zysh/egiga0.metric
argc = 2,  func = 125
argid[1]: 1089; argv[1]: ppp0
argc = 3,  func = 128
argid[1]: 1089; argv[1]: ppp0
argid[2]: 429; argv[2]: shutdown
argc = 3,  func = 126
argid[1]: 1089; argv[1]: ppp0
argid[2]: 350; argv[2]: exit
argc = 7,  func = 77
argid[1]: 267; argv[1]: mail
argid[2]: 1415; argv[2]: 1
argid[3]: 435; argv[3]: category
argid[4]: 375; argv[4]: all
argid[5]: 461; argv[5]: level
argid[6]: 478; argv[6]: alert
mail server '1' log_category(all) is:alert 
argc = 7,  func = 77
argid[1]: 267; argv[1]: mail
argid[2]: 1415; argv[2]: 1
argid[3]: 435; argv[3]: category
argid[4]: 375; argv[4]: all
argid[5]: 461; argv[5]: level
argid[6]: 375; argv[6]: all
mail server '1' log_category(all) is:all 
argc = 2,  func = 68
argid[1]: 1079; argv[1]: europe.pool.ntp.org
argc = 2,  func = 60
argid[1]: 1130; argv[1]: +0100
/usr/sbin/zic -d /etc /var/zyxel/myzone_rule
/bin/ln -s -f /etc/MyZone /etc/localtime
argc = 4,  func = 346
argid[1]: 1224; argv[1]: "CET"
argid[2]: 597; argv[2]: in
argid[3]: 1225; argv[3]: "Budapest,Belgrade,Bratislava,Ljubljana,Prague"
/usr/sbin/dst.sh: line 175: can't create /i-data/.zyxel/storage.txt: nonexistent directory
/usr/sbin/dst.sh: line 175: can't create /i-data/.zyxel/storage.txt: nonexistent directory
/usr/sbin/dst.sh: line 175: can't create /i-data/.zyxel/storage.txt: nonexistent directory
argc = 2,  func = 57
argid[1]: 1122; argv[1]: NSA325v2
share path /i-data/md0/public not existing.
share path /i-data/md0/video not existing.
share path /i-data/md0/photo not existing.
share path /i-data/md0/music not existing.
share path /i-data/md0/admin not existing.
cat: can't open '/var/run/nmbd.pid': No such file or directory
kill: you need to specify whom to kill
/usr/sbin/dst.sh: line 175: can't create /i-data/.zyxel/storage.txt: nonexistent directory
/usr/sbin/dst.sh: line 175: can't create /i-data/.zyxel/storage.txt: nonexistent directory
/bin/hostname NSA325v2
RegenSmbConfigFile:2203 Close file ok
argc = 1,  func = 38
killall: pure-ftpd: no process killed
Usage: umount [-hV]
       umount -a [-f] [-r] [-n] [-v] [-t vfstypes] [-O opts]
       umount [-f] [-r] [-n] [-v] special | node...
Usage: umount [-hV]
       umount -a [-f] [-r] [-n] [-v] [-t vfstypes] [-O opts]
       umount [-f] [-r] [-n] [-v] special | node...
BusyBox v1.17.2 (2017-06-23 10:40:08 CST) multi-call binary.

Usage: rmdir [OPTIONS] DIRECTORY...

/usr/local/sbin/pure-ftpd: invalid option -- 'J'
Feb  7 16:52:10 (none) pure-ftpd: (?@?) [WARNING] Unknown run-time option
argc = 2,  func = 195
argid[1]: 1140; argv[1]: "admin"
argc = 5,  func = 196
argid[1]: 1140; argv[1]: "admin"
argid[2]: 1426; argv[2]: 501
argid[3]: 363; argv[3]: password
argid[4]: 1164; argv[4]: 2C9EC242E19BE0644E835F1CD90F4C76:857A8C1793B3C0DC483B06B5FB3E2261
enter smb_db_update_user
argc = 5,  func = 196
argid[1]: 1140; argv[1]: "admin"
argid[2]: 1426; argv[2]: 501
argid[3]: 637; argv[3]: type
argid[4]: 638; argv[4]: admin
enter smb_db_update_user
argc = 5,  func = 197
argid[1]: 1140; argv[1]: "admin"
argid[2]: 1426; argv[2]: 501
argid[3]: 642; argv[3]: shpass
argid[4]: 1167; argv[4]:  $1$$7gWyRI/nAkTdSxTgpxUwE/
shpass : $1$$7gWyRI/nAkTdSxTgpxUwE/
argc = 4,  func = 192
argid[1]: 1140; argv[1]: "admin"
argid[2]: 1426; argv[2]: 501
argid[3]: 350; argv[3]: exit
argc = 2,  func = 195
argid[1]: 1140; argv[1]: "kodi"
argc = 5,  func = 196
argid[1]: 1140; argv[1]: "kodi"
argid[2]: 1426; argv[2]: 504
argid[3]: 641; argv[3]: home-share
argid[4]: 1170; argv[4]: ""
enter smb_db_update_user
argc = 5,  func = 196
argid[1]: 1140; argv[1]: "kodi"
argid[2]: 1426; argv[2]: 504
argid[3]: 637; argv[3]: type
argid[4]: 272; argv[4]: user
enter smb_db_update_user
argc = 5,  func = 196
argid[1]: 1140; argv[1]: "kodi"
argid[2]: 1426; argv[2]: 504
argid[3]: 363; argv[3]: password
argid[4]: 1164; argv[4]: C292273F1CA2E087F9393D97E7A1873C:BF6D0923CF06EFF94B551C92CBFE0F70
enter smb_db_update_user
argc = 4,  func = 192
argid[1]: 1140; argv[1]: "kodi"
argid[2]: 1426; argv[2]: 504
argid[3]: 350; argv[3]: exit
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "public"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/public"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "public"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/public"
argid[6]: 303; argv[6]: disable
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "public"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/public"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/video not existing.
share path /i-data/md0/photo not existing.
share path /i-data/md0/music not existing.
share path /i-data/md0/admin not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "video"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/video"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "video"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/video"
argid[6]: 303; argv[6]: disable
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "video"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/video"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/photo not existing.
share path /i-data/md0/music not existing.
share path /i-data/md0/admin not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "photo"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/photo"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "photo"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/photo"
argid[6]: 303; argv[6]: disable
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "photo"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/photo"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/music not existing.
share path /i-data/md0/admin not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "music"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/music"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "music"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/music"
argid[6]: 303; argv[6]: disable
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "music"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/music"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "admin"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/admin"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "admin"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/admin"
argid[6]: 302; argv[6]: enable
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "admin"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/md0/admin"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "lost_and_found"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/lost+found"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "lost_and_found"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/lost+found"
argid[6]: 303; argv[6]: disable
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "lost_and_found"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/lost+found"
argid[6]: 602; argv[6]: owner
argid[7]: 1140; argv[7]: "admin"
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "lost_and_found"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/lost+found"
argid[6]: 598; argv[6]: access-flag
argid[7]: 599; argv[7]: private
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "lost_and_found"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/lost+found"
argid[6]: 619; argv[6]: recycle-bin
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "lost_and_found"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/lost+found"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Filmy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Filmy"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Filmy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Filmy"
argid[6]: 302; argv[6]: enable
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Filmy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Filmy"
argid[6]: 602; argv[6]: owner
argid[7]: 1140; argv[7]: "admin"
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Filmy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Filmy"
argid[6]: 598; argv[6]: access-flag
argid[7]: 601; argv[7]: advanced
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Filmy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Filmy"
argid[6]: 603; argv[6]: valid-users
argid[7]: 1174; argv[7]: ""admin""
pcommand = valid-users
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Filmy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Filmy"
argid[6]: 606; argv[6]: valid-groups
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Filmy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Filmy"
argid[6]: 604; argv[6]: read-list
argid[7]: 1174; argv[7]: ""anonymous-ftp" "kodi""
pcommand = read-list
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Filmy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Filmy"
argid[6]: 607; argv[6]: read-groups
argid[7]: 1174; argv[7]: ""everyone""
pcommand = read-groups
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Filmy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Filmy"
argid[6]: 605; argv[6]: deny-list
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Filmy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Filmy"
argid[6]: 608; argv[6]: deny-groups
argid[7]: 1174; argv[7]: ""
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Filmy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Filmy"
argid[6]: 619; argv[6]: recycle-bin
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Filmy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Filmy"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
share path /i-data/53bca321/Filmy not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Animovane"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Animované"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Animovane"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Animované"
argid[6]: 302; argv[6]: enable
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Animovane"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Animované"
argid[6]: 602; argv[6]: owner
argid[7]: 1140; argv[7]: "admin"
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Animovane"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Animované"
argid[6]: 598; argv[6]: access-flag
argid[7]: 601; argv[7]: advanced
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Animovane"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Animované"
argid[6]: 603; argv[6]: valid-users
argid[7]: 1174; argv[7]: ""admin""
pcommand = valid-users
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Animovane"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Animované"
argid[6]: 606; argv[6]: valid-groups
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Animovane"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Animované"
argid[6]: 604; argv[6]: read-list
argid[7]: 1174; argv[7]: ""anonymous-ftp" "kodi""
pcommand = read-list
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Animovane"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Animované"
argid[6]: 607; argv[6]: read-groups
argid[7]: 1174; argv[7]: ""everyone""
pcommand = read-groups
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Animovane"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Animované"
argid[6]: 605; argv[6]: deny-list
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Animovane"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Animované"
argid[6]: 608; argv[6]: deny-groups
argid[7]: 1174; argv[7]: ""
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Animovane"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Animované"
argid[6]: 619; argv[6]: recycle-bin
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Animovane"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Animované"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
share path /i-data/53bca321/Filmy not existing.
share path /i-data/53bca321/Animované not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Serialy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Seriály"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Serialy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Seriály"
argid[6]: 302; argv[6]: enable
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Serialy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Seriály"
argid[6]: 602; argv[6]: owner
argid[7]: 1140; argv[7]: "admin"
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Serialy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Seriály"
argid[6]: 598; argv[6]: access-flag
argid[7]: 601; argv[7]: advanced
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Serialy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Seriály"
argid[6]: 603; argv[6]: valid-users
argid[7]: 1174; argv[7]: ""admin""
pcommand = valid-users
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Serialy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Seriály"
argid[6]: 606; argv[6]: valid-groups
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Serialy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Seriály"
argid[6]: 604; argv[6]: read-list
argid[7]: 1174; argv[7]: ""anonymous-ftp" "kodi""
pcommand = read-list
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Serialy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Seriály"
argid[6]: 607; argv[6]: read-groups
argid[7]: 1174; argv[7]: ""everyone""
pcommand = read-groups
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Serialy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Seriály"
argid[6]: 605; argv[6]: deny-list
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Serialy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Seriály"
argid[6]: 608; argv[6]: deny-groups
argid[7]: 1174; argv[7]: ""
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Serialy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Seriály"
argid[6]: 619; argv[6]: recycle-bin
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Serialy"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Seriály"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
share path /i-data/53bca321/Filmy not existing.
share path /i-data/53bca321/Animované not existing.
share path /i-data/53bca321/Seriály not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Sync"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Sync"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Sync"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Sync"
argid[6]: 302; argv[6]: enable
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Sync"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Sync"
argid[6]: 602; argv[6]: owner
argid[7]: 1140; argv[7]: "admin"
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Sync"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Sync"
argid[6]: 598; argv[6]: access-flag
argid[7]: 599; argv[7]: private
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Sync"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Sync"
argid[6]: 619; argv[6]: recycle-bin
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Sync"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Sync"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
share path /i-data/53bca321/Filmy not existing.
share path /i-data/53bca321/Animované not existing.
share path /i-data/53bca321/Seriály not existing.
share path /i-data/53bca321/Sync not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Games"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Games"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Games"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Games"
argid[6]: 302; argv[6]: enable
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Games"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Games"
argid[6]: 602; argv[6]: owner
argid[7]: 1140; argv[7]: "admin"
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Games"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Games"
argid[6]: 598; argv[6]: access-flag
argid[7]: 601; argv[7]: advanced
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Games"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Games"
argid[6]: 603; argv[6]: valid-users
argid[7]: 1174; argv[7]: ""admin""
pcommand = valid-users
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Games"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Games"
argid[6]: 606; argv[6]: valid-groups
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Games"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Games"
argid[6]: 604; argv[6]: read-list
argid[7]: 1174; argv[7]: ""anonymous-ftp""
pcommand = read-list
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Games"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Games"
argid[6]: 607; argv[6]: read-groups
argid[7]: 1174; argv[7]: ""everyone""
pcommand = read-groups
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Games"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Games"
argid[6]: 605; argv[6]: deny-list
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Games"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Games"
argid[6]: 608; argv[6]: deny-groups
argid[7]: 1174; argv[7]: ""
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Games"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Games"
argid[6]: 619; argv[6]: recycle-bin
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Games"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Games"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
share path /i-data/53bca321/Filmy not existing.
share path /i-data/53bca321/Animované not existing.
share path /i-data/53bca321/Seriály not existing.
share path /i-data/53bca321/Sync not existing.
share path /i-data/53bca321/Games not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "programs"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/programs"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "programs"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/programs"
argid[6]: 303; argv[6]: disable
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "programs"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/programs"
argid[6]: 602; argv[6]: owner
argid[7]: 1140; argv[7]: "admin"
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "programs"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/programs"
argid[6]: 598; argv[6]: access-flag
argid[7]: 599; argv[7]: private
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "programs"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/programs"
argid[6]: 619; argv[6]: recycle-bin
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "programs"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/programs"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
share path /i-data/53bca321/Filmy not existing.
share path /i-data/53bca321/Animované not existing.
share path /i-data/53bca321/Seriály not existing.
share path /i-data/53bca321/Sync not existing.
share path /i-data/53bca321/Games not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "sysvol"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/sysvol"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "sysvol"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/sysvol"
argid[6]: 303; argv[6]: disable
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "sysvol"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/sysvol"
argid[6]: 602; argv[6]: owner
argid[7]: 1140; argv[7]: "admin"
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "sysvol"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/sysvol"
argid[6]: 598; argv[6]: access-flag
argid[7]: 599; argv[7]: private
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "sysvol"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/sysvol"
argid[6]: 619; argv[6]: recycle-bin
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "sysvol"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/sysvol"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
share path /i-data/53bca321/Filmy not existing.
share path /i-data/53bca321/Animované not existing.
share path /i-data/53bca321/Seriály not existing.
share path /i-data/53bca321/Sync not existing.
share path /i-data/53bca321/Games not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "nfs"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/nfs"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "nfs"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/nfs"
argid[6]: 303; argv[6]: disable
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "nfs"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/nfs"
argid[6]: 602; argv[6]: owner
argid[7]: 1140; argv[7]: "admin"
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "nfs"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/nfs"
argid[6]: 598; argv[6]: access-flag
argid[7]: 599; argv[7]: private
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "nfs"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/nfs"
argid[6]: 619; argv[6]: recycle-bin
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "nfs"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/nfs"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
share path /i-data/53bca321/Filmy not existing.
share path /i-data/53bca321/Animované not existing.
share path /i-data/53bca321/Seriály not existing.
share path /i-data/53bca321/Sync not existing.
share path /i-data/53bca321/Games not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Kodi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Kodi"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Kodi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Kodi"
argid[6]: 302; argv[6]: enable
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Kodi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Kodi"
argid[6]: 602; argv[6]: owner
argid[7]: 1140; argv[7]: "admin"
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Kodi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Kodi"
argid[6]: 598; argv[6]: access-flag
argid[7]: 601; argv[7]: advanced
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Kodi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Kodi"
argid[6]: 603; argv[6]: valid-users
argid[7]: 1174; argv[7]: ""admin" "kodi""
pcommand = valid-users
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Kodi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Kodi"
argid[6]: 606; argv[6]: valid-groups
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Kodi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Kodi"
argid[6]: 604; argv[6]: read-list
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Kodi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Kodi"
argid[6]: 607; argv[6]: read-groups
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Kodi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Kodi"
argid[6]: 605; argv[6]: deny-list
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Kodi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Kodi"
argid[6]: 608; argv[6]: deny-groups
argid[7]: 1174; argv[7]: ""
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Kodi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Kodi"
argid[6]: 619; argv[6]: recycle-bin
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "Kodi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/Kodi"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
share path /i-data/53bca321/Filmy not existing.
share path /i-data/53bca321/Animované not existing.
share path /i-data/53bca321/Seriály not existing.
share path /i-data/53bca321/Sync not existing.
share path /i-data/53bca321/Games not existing.
share path /i-data/53bca321/Kodi not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "rpi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/rpi"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "rpi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/rpi"
argid[6]: 302; argv[6]: enable
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "rpi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/rpi"
argid[6]: 602; argv[6]: owner
argid[7]: 1140; argv[7]: "admin"
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "rpi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/rpi"
argid[6]: 598; argv[6]: access-flag
argid[7]: 601; argv[7]: advanced
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "rpi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/rpi"
argid[6]: 603; argv[6]: valid-users
argid[7]: 1174; argv[7]: ""admin" "kodi""
pcommand = valid-users
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "rpi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/rpi"
argid[6]: 606; argv[6]: valid-groups
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "rpi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/rpi"
argid[6]: 604; argv[6]: read-list
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "rpi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/rpi"
argid[6]: 607; argv[6]: read-groups
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "rpi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/rpi"
argid[6]: 605; argv[6]: deny-list
argid[7]: 1174; argv[7]: ""
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "rpi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/rpi"
argid[6]: 608; argv[6]: deny-groups
argid[7]: 1174; argv[7]: ""
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "rpi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/rpi"
argid[6]: 619; argv[6]: recycle-bin
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "rpi"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/rpi"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
share path /i-data/53bca321/Filmy not existing.
share path /i-data/53bca321/Animované not existing.
share path /i-data/53bca321/Seriály not existing.
share path /i-data/53bca321/Sync not existing.
share path /i-data/53bca321/Games not existing.
share path /i-data/53bca321/Kodi not existing.
share path /i-data/53bca321/rpi not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 6,  func = 177
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "backup"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/backup"
folder is not under mount point.
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "backup"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/backup"
argid[6]: 302; argv[6]: enable
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "backup"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/backup"
argid[6]: 602; argv[6]: owner
argid[7]: 1140; argv[7]: "admin"
argc = 8,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "backup"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/backup"
argid[6]: 598; argv[6]: access-flag
argid[7]: 599; argv[7]: private
argc = 7,  func = 178
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "backup"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/backup"
argid[6]: 619; argv[6]: recycle-bin
argc = 7,  func = 166
argid[1]: 456; argv[1]: share
argid[2]: 630; argv[2]: save
argid[3]: 1169; argv[3]: "backup"
argid[4]: 395; argv[4]: path
argid[5]: 1171; argv[5]: "/i-data/53bca321/backup"
argid[6]: 350; argv[6]: exit
share path /i-data/md0/admin not existing.
share path /i-data/53bca321/Filmy not existing.
share path /i-data/53bca321/Animované not existing.
share path /i-data/53bca321/Seriály not existing.
share path /i-data/53bca321/Sync not existing.
share path /i-data/53bca321/Games not existing.
share path /i-data/53bca321/Kodi not existing.
share path /i-data/53bca321/rpi not existing.
share path /i-data/53bca321/backup not existing.
RegenSmbConfigFile:2203 Close file ok
argc = 4,  func = 414
argid[1]: 1250; argv[1]: no
argid[2]: 1251; argv[2]: yes
argid[3]: 1252; argv[3]: yes
argc = 2,  func = 385
argid[1]: 1236; argv[1]: on
*** glibc detected *** /sbin/zyshd: double free or corruption (!prev): 0x00253ab8 ***

Re: NSA325v2 bad block, can I flash it?

$
0
0
Quote
Dyce
Also, the guide assumes I am able to boot up the system to use some commands, is it possible to flash u-boot when I'm unable to boot up ?

Actually I think I misunderstood that part in the guide, those commands are executed in serial console after interrupting autoboot right?

Re: NSA325v2 bad block, can I flash it?

$
0
0
I've read some topics around here and what other info bodhi asked from people, so I include that here (sorry for spamming)

printenv command gives
Marvell>>printenv

bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/nfs rw init=/init
bootcmd=nand read.e 0x2000000 $(kernel_addr) 0xA00000; bootm 0x2000000
bootdelay=2
baudrate=115200
loads_echo=0
ipaddr=10.4.52.165
serverip=10.4.52.7
rootpath=/srv/ubuntu
netmask=255.255.255.0
nandEcc=1bit
MODEL_ID=AE03
PRODUCT_NAME=NSA-325v2
FEATURE_BIT=00
CONTRY_TYPE=FF
VENDOR_NAME=MitraStar Technology Corp.
run_diag=yes
ethaddr=5C:F4:AB:DE:EC:D0
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x7f00000@0x100000(root)
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
ethprime=egiga0
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
disaMvPnp=no
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
image_multi=yes
enaAutoRecovery=yes
kernel_addr=0xc80000
pcieTune=no
pcieTune1=no
ethact=egiga0

Environment size: 1564/131068 bytes

nand bad
Marvell>> nand bad

Device 0 bad blocks:
  00c80000
  01900000

mtdparts
Marvell>> mtdparts

mtdids not defined, no default present

Re: Install Debian on old GoFlex Home

$
0
0
Hi Bodhi,

Installed XFCE as instructed on the wiki ( https://forum.doozan.com/read.php?2,21784 ).
I am using RDC on windows 10 machine to connect to goflexhome box.
RDC initial Connection/login window does not offer option for sessman-xvnc. It just wanted Server name or Ip along with username and password.
When I connect to Goflex home all I see is black/gray screen.

RDC problem description:

After I initiate a connection to goflex box a black/gray screen appears with a notch on top showing thumbpin logo and ip address, few seconds later a connection log box on teal background appears stating:

--------------------------------------------------------------------
connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
login failed for display 0
----------------------------------------------------------------------
Then I press ok button to close the box

now all I see is teal background and login window that has following options:

Session: Xorg, Xvnc, Console, vnc-any, sesman-any, rdp-any, neutrinordp-any.

I have tried all but nothing works.

Out of the above, "Xvnc" connection gives following in Connection Log Box:
------------------------------------------------------
connection to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
login successful for display 10
VNC started connection
VNC connecting to 127.0.0.1 5910
VNC error - problem connection
some problem
------------------------------------------------------------------------

What am I missing? Should I have implemented some prerequisites before installing xfce? I also installed tightvnc viewer on windows 10, tried to connect, but connection was refused.

Regards,

Navi

PS. Should I post this in ( https://forum.doozan.com/read.php?2,21784 )

Re: NSA325v2 bad block, can I flash it?

$
0
0
Dyce,

Certainly you can flash u-boot in serial console. However, the best way is to do UART booting with kwboot first, and boot Debian on USB. And then flash it inside Debian.

See this post for how to run kwboot:

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

- Prepare the USB rootfs using Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 from the kernel/rootfs release thread.
- Run kwboot using the image uboot.2017.07-tld-1.nsa325.mtd0.kwb from the u-boot released thread.

After booting into Debian, follow the instruction to flash u-boot in Debian.

BTW, that bad block is so far away from the 1st MB, so it is safe to flash.

Re: Install Debian on old GoFlex Home

$
0
0
I have not run XFCE desktop on these plugs for quite a long time. So not sure what you are seeing.

Re: MEDION P89634 MD 86783 (2x2 TB NAS): Backup Flash

Re: NETGEAR STORA - Bad Magic Number

$
0
0
Hi Bodhi,

Now my Stora boot and load debian.
I've follow your suggested step with some tweak.
This is the complete log.
pi@raspberrypi:~/kwboot-tool $ ./kwboot_1 -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb -p
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
.....
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]
?

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

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
NAND read from offset c0000 failed -74
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 

Netgear Stora> setenv mtdparts 'mtdparts=orion_nand:1M(uboot),-(rootfs)'
Netgear Stora> setenv nandEcc 1                                         
Netgear Stora> mtdinfo
Unknown command 'mtdinfo' - try 'help'
Netgear Stora> usb start
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
Netgear Stora> ext2load usb 0:1 0x800000 uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb
524288 bytes read in 737 ms (694.3 KiB/s)
Netgear Stora> nand erase 0x0 0x80000

NAND erase: device 0 offset 0x0, size 0x80000
Erasing at 0x60000 -- 100% complete.
OK
Netgear Stora> nand write.e 0x800000 0x0 0x80000

NAND write: device 0 offset 0x0, size 0x80000
 524288 bytes written: OK
Netgear Stora> reset
resetting ...


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

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
Netgear Stora> setenv nandEcc 1
Netgear Stora> setenv dtb_file /boot/dts/kirkwood-netgear_stora_ms2000.dtb
Netgear Stora> saveenv
Saving Environment to NAND...
Erasing NAND...
Erasing at 0xc0000 -- 100% complete.
Writing to NAND... OK
Netgear Stora> reset
resetting ...


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

SoC:   Kirkwood 88F6281_A1
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 
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

Partition Map for USB device 0  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	30029824  	2384b32d-01	83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 692 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3821592 bytes read in 817 ms (4.5 MiB/s)
loading uInitrd ...
7245696 bytes read in 794 ms (8.7 MiB/s)
loading DTB /boot/dts/kirkwood-netgear_stora_ms2000.dtb ...
11869 bytes read in 2614 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2017-07-20   8:11:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3821528 Bytes = 3.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 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 03917000, end 03ffff40 ... OK
   Loading Device Tree to 03911000, end 03916e5c ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1m(uboot),4m@1m(kernel),251m@5m(rootfs) rw
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 109420K/131072K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 21652K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0db3274   ( 717 kB)
[    0.000000]        .bss : 0xc0db9b9c - 0xc0e01e60   ( 289 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000052] Switching to timer-based delay loop, resolution 5ns
[    0.000618] Console: colour dummy device 80x30
[    0.000659] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000687] pid_max: default: 32768 minimum: 301
[    0.000919] Security Framework initialized
[    0.001067] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001091] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002131] CPU: Testing write buffer coherency: ok
[    0.003352] Setting up static identity map for 0x100000 - 0x100058
[    0.003678] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.007625] devtmpfs: initialized
[    0.013009] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013042] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.013519] prandom: seed boundary self test passed
[    0.018026] prandom: 100 self tests passed
[    0.018041] pinctrl core: initialized pinctrl subsystem
[    0.019432] NET: Registered protocol family 16
[    0.020019] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.022045] cpuidle: using governor ladder
[    0.022130] cpuidle: using governor menu
[    0.022678] Feroceon L2: Enabling L2
[    0.022735] Feroceon L2: Cache support initialised.
[    0.023168] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.029278] No ATAGs?
[    0.040538] vgaarb: loaded
[    0.040935] SCSI subsystem initialized
[    0.041504] usbcore: registered new interface driver usbfs
[    0.041597] usbcore: registered new interface driver hub
[    0.041703] usbcore: registered new device driver usb
[    0.043074] clocksource: Switched to clocksource orion_clocksource
[    0.150736] VFS: Disk quotas dquot_6.6.0
[    0.150831] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.163617] NET: Registered protocol family 2
[    0.164485] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.164517] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.164542] TCP: Hash tables configured (established 1024 bind 1024)
[    0.164648] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.164677] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.164889] NET: Registered protocol family 1
[    0.165388] RPC: Registered named UNIX socket transport module.
[    0.165402] RPC: Registered udp transport module.
[    0.165411] RPC: Registered tcp transport module.
[    0.165420] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.165700] Unpacking initramfs...
[    0.958517] Freeing initrd memory: 7076K
[    0.958703] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.959854] audit: initializing netlink subsys (disabled)
[    0.960446] Initialise system trusted keyrings
[    0.960508] Key type blacklist registered
[    0.960632] audit: type=2000 audit(0.957:1): state=initialized audit_enabled=0 res=1
[    0.960742] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.960826] zbud: loaded
[    0.962003] NFS: Registering the id_resolver key type
[    0.962037] Key type id_resolver registered
[    0.962047] Key type id_legacy registered
[    0.962068] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.962081] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.962316] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.962550] fuse init (API version 7.26)
[    0.962982] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.963388] orangefs_init: module version upstream loaded
[    0.963403] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.553082] random: fast init done
[    8.015742] Key type asymmetric registered
[    8.015763] Asymmetric key parser 'x509' registered
[    8.015842] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    8.015855] io scheduler noop registered
[    8.015865] io scheduler deadline registered
[    8.015965] io scheduler cfq registered (default)
[    8.017461] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    8.019745] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00
[    8.019771] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    8.019787] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    8.019803] pci_bus 0000:00: root bus resource [bus 00-ff]
[    8.020201] PCI: bus0: Fast back to back transfers disabled
[    8.020231] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.020424] PCI: bus1: Fast back to back transfers enabled
[    8.020515] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.021169] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.084126] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    8.084388] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.143985] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    8.144502] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.146086] console [ttyS0] disabled
[    8.146166] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    8.798588] console [ttyS0] enabled
[    8.812321] loop: module loaded
[    8.816236] sata_mv f1080000.sata: slots 32 ports 2
[    8.824551] scsi host0: sata_mv
[    8.828246] scsi host1: sata_mv
[    8.831684] ata1: SATA max UDMA/133 irq 33
[    8.835868] ata2: SATA max UDMA/133 irq 33
[    8.840884] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[    8.847392] nand: Samsung NAND 256MiB 3,3V 8-bit
[    8.852032] nand: 256 MiB, MLC, erase size: 4096 KiB, page size: 4096, OOB size: 128
[    8.859846] nand: WARNING: f4000000.nand: the ECC used on your system is too weak compared to the one required by the NAND chip
[    8.871405] Scanning device for bad blocks
[    8.879701] 3 cmdlinepart partitions found on MTD device orion_nand
[    8.886020] Creating 3 MTD partitions on "orion_nand":
[    8.891198] 0x000000000000-0x000000100000 : "uboot"
[    8.896127] mtd: partition "uboot" doesn't end on an erase block -- force read-only
[    8.905396] 0x000000100000-0x000000500000 : "kernel"
[    8.910386] mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only
[    8.920695] 0x000000500000-0x000010000000 : "rootfs"
[    8.925749] mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
[    8.937535] libphy: Fixed MDIO Bus: probed
[    8.942688] libphy: orion_mdio_bus: probed
[    8.946900] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove
[    8.963736] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    9.174581] ata1: SATA link down (SStatus 0 SControl F300)
[    9.524552] ata2: SATA link down (SStatus 0 SControl F300)
[   10.074654] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[   10.083686] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   10.090268] ehci-pci: EHCI PCI platform driver
[   10.094841] ehci-orion: EHCI orion driver
[   10.099116] orion-ehci f1050000.ehci: EHCI Host Controller
[   10.104703] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   10.112614] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   10.143117] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   10.149444] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   10.156302] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   10.163588] usb usb1: Product: EHCI Host Controller
[   10.168490] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd
[   10.175245] usb usb1: SerialNumber: f1050000.ehci
[   10.180736] hub 1-0:1.0: USB hub found
[   10.184620] hub 1-0:1.0: 1 port detected
[   10.189305] usbcore: registered new interface driver usb-storage
[   10.195822] mousedev: PS/2 mouse device common for all mice
[   10.543115] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   10.754622] usb 1-1: New USB device found, idVendor=0781, idProduct=5583
[   10.761381] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.768580] usb 1-1: Product: Ultra Fit
[   10.772447] usb 1-1: Manufacturer: SanDisk
[   10.776588] usb 1-1: SerialNumber: 4C530000041215115005
[   10.782873] usb-storage 1-1:1.0: USB Mass Storage device detected
[   10.789464] scsi host2: usb-storage 1-1:1.0
[   11.283108] rtc-mv f1010300.rtc: internal RTC not ticking
[   11.288751] i2c /dev entries driver
[   11.299399] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[   11.309544] hidraw: raw HID events driver (C) Jiri Kosina
[   11.315506] drop_monitor: Initializing network drop monitor service
[   11.322092] NET: Registered protocol family 17
[   11.326691] Key type dns_resolver registered
[   11.331941] registered taskstats version 1
[   11.336102] Loading compiled-in X.509 certificates
[   11.340983] zswap: loaded using pool lzo/zbud
[   11.357608] Key type big_key registered
[   11.372889] Key type encrypted registered
[   11.380120] rtc-pcf8563 0-0051: setting system clock to 2019-02-08 21:42:08 UTC (1549662128)
[   11.393263] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[   11.848503] scsi 2:0:0:0: Direct-Access     SanDisk  Ultra Fit        1.00 PQ: 0 ANSI: 6
[   11.869310] sd 2:0:0:0: [sda] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB)
[   11.883695] sd 2:0:0:0: [sda] Write Protect is off
[   11.891664] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.919470]  sda: sda1
[   11.928050] sd 2:0:0:0: [sda] Attached SCSI removable disk
[   11.976931] usbcore: registered new interface driver uas
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.
Warning: fsck not present, so skipping root file system
[   22.685521] EXT4-fs (sda1): recovery complete
[   22.691208] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Setting hostname to 'debian'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok 
[....] Synthesizing the initial hotplug events...[   24.987735] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ ok                                             done.
[....] Waiting for /dev to be fully populated...[   25.331124] lm75 0-0048: hwmon0: sensor 'lm75'
[   25.387645] orion_wdt: Initial timeout 21 sec
[   25.491528] marvell-cesa f1030000.crypto: CESA device successfully registered
[   25.608772] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   25.847920] random: crng init done
done.
[ ok ] Activating swap:.
[   27.043818] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 14577/940240 files, 231995/3753728 blocks
. ok 
[   27.495508] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is[ ok able..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/52:3b:20:9c:11:51
Sending on   LPF/eth0/52:3b:20:9c:11:51
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
[   33.966363] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[   37.944007] NET: Registered protocol family 10
[   37.951222] Segment Routing with IPv6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST of 192.168.2.7 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.2.7 from 192.168.2.50
DHCPACK of 192.168.2.7 from 192.168.2.50
bound to 192.168.2.7 -- renewal in 2948 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1325 (syslogd)
. ok 
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1328 (klogd)
. ok 
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login:

I think without env nandEcc = 1 the data will become inconsistent and uboot can not be loaded.

The system still not recognize the correct NAND chip with and so I can't modify its content from the OS.

Please look at the log and tell me if there is something else to fix?

Tahnks

Dirk Pitt

Re: NETGEAR STORA - Bad Magic Number

$
0
0
Dirk,

Cool! u-boot is now permanent.

The mtdparts is not correct yet.

[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1m(uboot),4m@1m(kernel),251m@5m(rootfs) rw


Run piccom or minicom as serial console server.

Power up, interrupt serial console and

setenv mtdparts 'mtdparts=orion_nand:1M(uboot),-(rootfs)'
boot

If the kernel still identifies the chip as MLC with 4096 KiB sector, I'd suggest you open the box and look at the NAND chip marking to make sure that it is really SLC or MLC. And then we'll go from there.
Viewing all 47029 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>