Sending debug message. Please reboot the target...\ [Type Ctrl-\ + c to quit] Booting from NAND flash General initialization - Version: 1.0.0 Detected Device ID 6810 High speed PHY - Version: 2.0 Init RD NAS topology board SerDes lanes topology details: | Lane # | Speed | Type | -------------------------------- | 0 | 06 | SATA0 | | 1 | 05 | USB3 HOST0 | | 2 | 06 | SATA1 | | 5 | 05 | USB3 HOST1 | -------------------------------- High speed PHY - Ended Successfully DDR3 Training Sequence - Ver TIP-1.26.0 mvSysEnvGetTopologyUpdateInfo: TWSI Read failed DDR3 Training Sequence - Switching XBAR Window to FastPath Window DDR3 Training Sequence - Ended Successfully Not detected suspend to RAM indication BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2013.01-svn48797 (Jan 18 2016 - 03:10:12) Marvell version: 2014_T3.0p6 Board: RD-NAS-88F6820-DDR3 SoC: MV88F6810 Rev A0 running 1 CPUs CPU: ARM Cortex A9 MPCore (Rev 1) LE CPU 0 CPU @ 1332 [MHz] L2 @ 666 [MHz] TClock @ 200 [MHz] DDR @ 666 [MHz] DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled DRAM: 512 MiB Map: Code: 0x1fed0000:0x1ff95e28 BSS: 0x1ffef2b4 Stack: 0x1f9cff20 Heap: 0x1f9d0000:0x1fed0000 U-Boot Environment: 0x00200000:0x00280000 (NAND) NAND: 256 MiB MMC: mv_sdh: 0 *** Booting kernel from kernel 1 @0x00000000; run bootcmd_custom; *** USB2.0 0: Host Mode USB3.0 0: Host Mode USB3.0 1: Host Mode Board configuration detected: Net: | port | Interface | PHY address | |--------|-----------|--------------| | egiga0 | RGMII | 0x01 | egiga0 [PRIME] Hit any key to stop autoboot: 0 NAND read: device 0 whole chip Attempt to read outside the flash area 0 bytes read: ERROR Booting from USB ... (Re)start USB... USB0: Port (usbActive) : 0 Interface (usbType = 2) : USB EHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found ** Bad device usb 0 ** ** Bad device usb 0 ** ** Bad device usb 0 ** * kernel: cmdline image address = 0x02000000 Bad Linux ARM zImage magic! Booting from NAND kernel 2 ... NAND read: device 0 offset 0x8700000, size 0xf00000 15728640 bytes read: OK * kernel: cmdline image address = 0x02000000 Bad Linux ARM zImage magic! Booting from NAND kernel 1 ... NAND read: device 0 offset 0xe00000, size 0xf00000 15728640 bytes read: OK * kernel: cmdline image address = 0x02000000 Starting kernel ... Power on HDD1 ... Power on HDD2 ... Power on USB ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 3.10.39 (root@SDD2SVR2) (gcc version 4.8.5 20150209 (prerelease) (crosstool-NG 1.21.0) ) #1 Tue Jun 14 10:42:27 CST 2016 CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: Marvell Armada 380/381/382/385/388 (Device Tree), model: Marvell Armada 380 STG-328 Memory policy: ECC disabled, Data cache writealloc CPU: All CPU(s) started in SVC mode. Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 Kernel command line: console=ttyS0,115200 ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs1 rw rootdelay=2 PID hash table entries: 2048 (order: 1, 8192 bytes) Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 512MB = 512MB total Memory: 504376k/504376k available, 19912k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xe0800000 - 0xfff00000 ( 503 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc081c8d0 (8275 kB) .init : 0xc081d000 - 0xc0e51afc (6355 kB) .data : 0xc0e52000 - 0xc0ea90e0 ( 349 kB) .bss : 0xc0ea90e0 - 0xc0ef6c70 ( 311 kB) NR_IRQS:16 nr_irqs:16 16 LSP version: linux-3.10.39-2014_T3.0p7 sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms L310 cache controller enabled l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B Console: colour dummy device 80x30 Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok Setting up static identity map for 0xc063c7b0 - 0xc063c808 mvebu-pmsu: Initializing Power Management Service Unit Initializing CPU Reset module devtmpfs: initialized mvebu-soc-id: MVEBU SoC ID=0x6810, Rev=0x4 xor: measuring software checksum speed arm4regs : 2368.000 MB/sec 8regs : 1458.800 MB/sec 32regs : 1408.000 MB/sec xor: using function: arm4regs (2368.000 MB/sec) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations irq: Cannot allocate irq_descs @ IRQ194, assuming pre-allocated irq: Cannot allocate irq_descs @ IRQ226, assuming pre-allocated bio: create slab at 0 raid6: int32x1 203 MB/s raid6: int32x2 270 MB/s raid6: int32x4 283 MB/s raid6: int32x8 323 MB/s raid6: using algorithm int32x8 (323 MB/s) raid6: using intx1 recovery algorithm gpio-ms: gpio_dev = fe00000 (M: 254, m: 0) [kernel] gpio_request for GPIO[24] failed with error number: -517 [kernel] gpio_request for GPIO[31] failed with error number: -517 [kernel] gpio_request for GPIO[44] failed with error number: -517 mvebu-pcie pcie-controller.3: PCIe0.0: link down mvebu-pcie pcie-controller.3: PCIe1.0: link down mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe8000000] pci_bus 0000:00: root bus resource [bus 00-ff] PCI: bus0: Fast back to back transfers disabled pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring PCI: bus1: Fast back to back transfers enabled PCI: bus2: Fast back to back transfers enabled pci 0000:00:01.0: PCI bridge to [bus 01] pci 0000:00:02.0: PCI bridge to [bus 02] PCI: enabling device 0000:00:01.0 (0140 -> 0143) PCI: enabling device 0000:00:02.0 (0140 -> 0143) vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb pps_core: LinuxPPS API ver. 1 registered pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti PTP clock support registered cfg80211: Calling CRDA to update world regulatory domain Switching to clocksource armada_370_xp_clocksource NET: Registered protocol family 2 TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP: reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered Installing knfsd (copyright (C) 1996 okir@monad.swb.de). fuse init (API version 7.22) bio: create slab at 1 Btrfs loaded msgmni has been set to 985 async_tx: api initialized (async) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver ****** turn off all LEDs that turned on in u-boot ****** ****** blink SYS LED ****** mv_xor f1060800.xor: Marvell shared XOR driver mv_xor f1060800.xor: Marvell XOR: ( xor cpy intr ) mv_xor f1060800.xor: freeing 1 in use descriptors! mv_xor f1060800.xor: Marvell XOR: ( crc32c ) mv_xor f1060900.xor: Marvell shared XOR driver mv_xor f1060900.xor: Marvell XOR: ( xor cpy intr ) mv_xor f1060900.xor: freeing 1 in use descriptors! mv_xor f1060900.xor: Marvell XOR: ( crc32c ) Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A console [ttyS0] enabled brd: module loaded loop: module loaded ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs scsi0 : ahci_mv_platform scsi1 : ahci_mv_platform ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58 ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58 armada-nand f10d0000.nand: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC NAND device: Manufacturer ID: 0xc2, Chip ID: 0xda (Macronix NAND 256MiB 3,3V 8-bit), 256MiB, page size: 2048, OOB size: 64 Bad block table found at page 131008, version 0x01 Bad block table found at page 130944, version 0x01 nand_read_bbt: bad block at 0x000005e20000 7 ofpart partitions found on MTD device armada-nand Creating 7 MTD partitions on "armada-nand": 0x000000000000-0x000000200000 : "U-Boot" 0x000000200000-0x000000400000 : "U-Boot env" 0x000000400000-0x000000e00000 : "Config" 0x000000e00000-0x000001d00000 : "Kernel-1" 0x000001d00000-0x000008700000 : "RootFS-1" 0x000008700000-0x000009600000 : "Kernel-2" 0x000009600000-0x000010000000 : "RootFS-2" m25p80 spi0.0: unrecognized JEDEC id ffffff SoC: model = 0x6810, revision = 0x4 o 3 Giga ports supported o SKB recycle supported (Disabled) o NETA acceleration mode 1 o RX Queue support: 8 Queues * 256 Descriptors o TX Queue support: 8 Queues * 532 Descriptors o GSO supported o GRO supported o Receive checksum offload supported o Transmit checksum offload supported o Driver ERROR statistics enabled o Driver INFO statistics enabled o Driver DEBUG statistics enabled port #0: is_sgmii=0, is_rgmii=1, phy_addr=1 o Loading network interface(s) for port #0: cpu_mask=0x1, tx_csum_limit=9800 o Port 0 is connected to Linux netdevice o eth0, ifindex = 2, GbE port = 0 giga p=0: mtu=1500, mac=00:50:43:02:02:01 (platform) libphy: orion_mdio_bus: probed e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI e1000: Copyright (c) 1999-2006 Intel Corporation. e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k e1000e: Copyright(c) 1999 - 2013 Intel Corporation. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-pci: EHCI PCI platform driver ehci-orion: EHCI orion driver orion-ehci f1058000.usb: EHCI Host Controller orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1 orion-ehci f1058000.usb: irq 50, io mem 0xf1058000 orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: EHCI Host Controller usb usb1: Manufacturer: Linux 3.10.39 ehci_hcd usb usb1: SerialNumber: f1058000.usb hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected xhci-hcd f10f0000.usb3: xHCI Host Controller xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2 xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000 usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: xHCI Host Controller usb usb2: Manufacturer: Linux 3.10.39 xhci-hcd usb usb2: SerialNumber: f10f0000.usb3 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected xhci-hcd f10f0000.usb3: xHCI Host Controller xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3 usb usb3: New USB device found, idVendor=1d6b, idProduct=0003 usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb3: Product: xHCI Host Controller usb usb3: Manufacturer: Linux 3.10.39 xhci-hcd usb usb3: SerialNumber: f10f0000.usb3 hub 3-0:1.0: USB hub found hub 3-0:1.0: 1 port detected xhci-hcd f10f8000.usb3: xHCI Host Controller xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4 xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000 usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb4: Product: xHCI Host Controller usb usb4: Manufacturer: Linux 3.10.39 xhci-hcd usb usb4: SerialNumber: f10f8000.usb3 ata2: SATA link down (SStatus 0 SControl 300) ata1: SATA link down (SStatus 0 SControl 300) hub 4-0:1.0: USB hub found hub 4-0:1.0: 1 port detected xhci-hcd f10f8000.usb3: xHCI Host Controller xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5 usb usb5: New USB device found, idVendor=1d6b, idProduct=0003 usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb5: Product: xHCI Host Controller usb usb5: Manufacturer: Linux 3.10.39 xhci-hcd usb usb5: SerialNumber: f10f8000.usb3 hub 5-0:1.0: USB hub found hub 5-0:1.0: 1 port detected usbcore: registered new interface driver usblp usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0 i2c /dev entries driver md: linear personality registered for level -1 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 md: raid6 personality registered for level 6 md: raid5 personality registered for level 5 md: raid4 personality registered for level 4 device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com dm_crypt using the OCF package. cpuidle: using governor ladder sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using ADMA sdhci-pltfm: SDHCI platform and OF driver helper armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2 armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: int_coalescing(1) armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources threshold 0x2, threshold_time 0xff mvCesaInit: channels=2, session=640, queue=256 armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode cesadev_init(c0836af0) usbcore: registered new interface driver usbhid usbhid: USB HID core driver TCP: cubic registered NET: Registered protocol family 10 sit: IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type dns_resolver registered VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 UBI: attaching mtd4 to ubi0 UBI: scanning is finished UBI error: ubi_read_volume_table: the layout volume was not found UBI error: ubi_attach_mtd_dev: failed to attach mtd4, error -22 UBI error: ubi_init: cannot attach mtd4 mvebu-rtc f10a3800.rtc: setting system clock to 2017-03-26 08:16:25 UTC (1490516185) Freeing unused kernel memory: 6352K (c081d000 - c0e51000) + ECHO=/bin/echo + RM=/bin/rm + IFCONFIG=/sbin/ifconfig + IP=/bin/ip + MOUNT=/bin/mount + MKDIR=/bin/mkdir + RMDIR=/bin/rmdir + CAT=/bin/cat + MDEV=/sbin/mdev + SETTING_PATH=/etc/settings + [ -f /etc/settings/firmware_info_path ] + cat /etc/settings/firmware_info_path + BASE_PATH=/firmware + BASE_PATH=/firmware + NAND_PATH=/firmware/mnt/nand + DISK_PATH=/firmware/mnt/sysdisk + INFO_PATH=/firmware/mnt/info + MRD_MAC=/firmware/sbin/mrd_mac + INFO_PRINTENV=/firmware/sbin/info_printenv + INFO_SETENV=/firmware/sbin/info_setenv + IMG_PATH=/ram_bin + USB_PATH=/mnt/partnerkey + awk -F= {print $2} + /firmware/sbin/info_printenv curr_bootfrom + CURR_BOOTFROM=1 + awk -F= {print $2} + /firmware/sbin/info_printenv next_bootfrom + NEXT_BOOTFROM=1 + [ 1 != 1 ] + /bin/echo -e \033[031m*** Stage 1: Setup system and device drivers ***\033[0m *** Stage 1: Setup system and device drivers *** + awk {print $1} + grep gpio + cat /proc/devices cat: can't open '/proc/devices': No such file or directory + mknod -m 644 /dev/gpio c 0 BusyBox v1.19.4 (2016-06-14 10:34:36 CST) multi-call binary. Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR + setLED SYS WHITE BLINK Fail to open gpio device + /bin/mount -t proc /proc /proc + /bin/mount -t sysfs /sys /sys + /bin/mount -t usbfs none /proc/bus/usb mount: mount point /proc/bus/usb does not exist + /bin/mount -t devpts devpts /dev/pts + awk -F= {print $2} + /firmware/sbin/info_printenv fwversion_1 + FWVERSION=V5.11(AAZF.4) + awk -F= {print $2} + /firmware/sbin/info_printenv revision_1 + REVISION=49970 + awk -F= {print $2} + /firmware/sbin/info_printenv modelid_1 + MODELID=B303 + awk -F= {print $2} + /firmware/sbin/info_printenv core_checksum_1 + CORE_CHECKSUM=df7b308098b062aa540cc501199a78f6 + awk -F= {print $2} + /firmware/sbin/info_printenv zld_checksum_1 + ZLD_CHECKSUM=260fc23f51fa9ecf008291a56046b7ef + awk -F= {print $2} + /firmware/sbin/info_printenv romfile_checksum_1 + ROMFILE_CHECKSUM=BBFF + awk -F= {print $2} + /firmware/sbin/info_printenv img_checksum_1 + IMG_CHECKSUM=dd71a9007667c985e235988ffdbeee57 + [ ! -d /firmware/mnt/info ] + /bin/mkdir -p /firmware/mnt/info + echo V5.11(AAZF.4) + echo 49970 + echo B303 + echo df7b308098b062aa540cc501199a78f6 + echo 260fc23f51fa9ecf008291a56046b7ef + echo BBFF + echo dd71a9007667c985e235988ffdbeee57 + /firmware/sbin/info_printenv modelid_1 + MODELID_1=modelid_1=B303 + /firmware/sbin/info_printenv modelid_2 + MODELID_2=modelid_2=B303 + [ modelid_1=B303 = ] + echo /sbin/mdev + /sbin/mdev -s + /bin/echo 32769 42768 + /bin/echo 8192 + /bin/echo 100 + /bin/echo 5 + /bin/echo 10 + /bin/echo 512 87380 2048000 + /bin/echo 512 65536 2048000 + /bin/echo 524288 + /bin/echo 524288 + /sbin/ifconfig eth0 down + /firmware/sbin/mrd_mac eth0 + /sbin/ifconfig eeth0: mac address changed th0 hw ether 60:31:97:5F:7E:66 + /bin/ip link set dev eth0 name egiga0 + /sbin/ifconfig egiga0bmPoolId = 0 has unknown buf_size pool #0: pkt_size=1536, buf_size=1600 - 4096 of 4096 buffers added up egiga0: started IPv6: ADDRCONF(NETDEV_UP): egiga0: link is not ready + /sbin/ifconfig lo add 127.0.0.1 netmask 255.0.0.0 + /sbin/ifconfig lo up + /sbin/ethtool -K egiga0 gso on + /sbin/ethtool -s egiga0 advertise 0x2f Cannot set new settings: Invalid argument + /sbin/ethtool -s egiga0 autoneg on Cannot set new settings: Invalid argument not setting autoneg + /sbin/rtcAccess show + rtc_time1=2017-03-26 08:16:26 + sleep 1 + /sbin/rtcAccess show + rtc_time2=2017-03-26 08:16:28 + [ 2017-03-26 08:16:26 = 2017-03-26 08:16:28 ] + awk -F- {print $1} + echo 2017-03-26 08:16:26 + year1=2017 + awk -F- {print $1} + echo 2017-03-26 08:16:28 + year2=2017 + awk -F- {print $1} + /sbin/rtcAccess show + year3=2017 + [ 2017 != 2017 ] + /sbin/rtcAccess rtctosys + echo 2 + echo 80 + /linuxrc + . /etc/profile + SETTING_PATH=/etc/settings + [ -f /etc/settings/firmware_info_path ] + cat /etc/settings/firmware_info_path + BASE_PATH=/firmware + PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/firmware/sbin:/usr/local/zy-pkgs/bin:/firmware/htp + export PATH + LD_LIBRARY_PATH=/lib:/usr/lib:/usr/lib/private + export LD_LIBRARY_PATH + ECHO=/bin/echo + CAT=/bin/cat + RM=/bin/rm + MOUNT=/bin/mount + UMOUNT=/bin/umount + IP=/bin/ip + IFCONFIG=/sbin/ifconfig + SED=/bin/sed + MKDIR=/bin/mkdir + RMDIR=/bin/rmdir + AWK=/bin/awk + MD5SUM=/sbin/md5sum + REBOOT=/sbin/reboot + BUZZERC=/sbin/buzzerc + LN=/bin/ln + INSMOD=/sbin/insmod + RMMOD=/sbin/rmmod + LSMOD=/sbin/lsmod + DEPMOD=/sbin/depmod + NAND_PATH=/firmware/mnt/nand + DISK_PATH=/firmware/mnt/sysdisk + INFO_PATH=/firmware/mnt/info + HTP_PATH=/firmware/htp + IMG_PATH=/ram_bin + USB_PATH=/mnt/partnerkey + [ -f /etc/settings/config_on_nand_path ] + cat /etc/settings/config_on_nand_path + CONF_PATH=/etc/zyxel + CONFIG_MTD_NUM=2 + CONFIG_MTD=/dev/mtd2 + CONFIG_MTD_BLOCK=/dev/mtdblock2 + GET_MAC_MCU=/sbin/get_mac_mcu.sh + WRITE_MAC_MCU=/sbin/write_mac_mcu.sh + INFO_PRINTENV=/firmware/sbin/info_printenv + INFO_SETENV=/firmware/sbin/info_setenv + MRD_MAC=/firmware/sbin/mrd_mac + MRD_MODEL=/firmware/sbin/mrd_model + NAND_FS_TYPE=ubifs + CURR_BOOTFROM_UPDATED=0 + awk -F= {print $2} + /firmware/sbin/info_printenv next_bootfrom + NEXT_BOOTFROM=1 + awk -F= {print $2} + /firmware/sbin/info_printenv curr_bootfrom + CURR_BOOTFROM=1 + [ 1 != 1 ] + [ 1 = 1 ] + IMG_MTD=4 + NEW_ROOT= + SYSINIT_PASSWD=$1$$4eHwTd8s1.UjO3wA36fmX1 + SYSINIT_PATH=/mnt/sysinit + /firmware/sbin/mrd_model -p + MODEL_ID=B303 + RAM_BOOT_ABLE=YES + echo 1 + rescan_lost_scsi_device + wc -l + ls /sys/class/scsi_host + hostNum=2 + cut -c 5 + ls /sys/class/scsi_host + hostIdLst=0 1 + hddId=2 + cat /proc/hdd2_detect cat: can't open '/proc/hdd2_detect': No such file or directory + [ == 1 ] + hddId=1 UBI: attaching mtd4 to ubi4 cat: can't open '/proc/hdd1_detect': No such file or directory + [ == 1 ] + /bin/echo -e \033[031m*** Stage 2: Prepare the root file system ***\033[0m *** Stage 2: Prepare the root file system *** + [ 0 = 1 ] + awk {print $1} + grep gpio + cat /proc/devices + mknod -m 644 /dev/gpio c 254 0 + /bin/echo -e \033[033mMount system partition...\033[0m Mount system partition... + /bin/mkdir -p /firmware/mnt/nand + ls -l /dev/ubi_ctrl crw-rw---- 1 root root 10, 59 Mar 26 08:16 /dev/ubi_ctrl + [ ! -e /dev/ubi_ctrl ] + check_and_run_usbkey + USB_CHECK_FILE=/mnt/partnerkey/nas3xx_check_file + grep sd + ls /sys/block/ + any_usb= + /bin/echo + [ -n ] + ls -l /dev/ubi_ctrl crw-rw---- 1 root root 10, 59 Mar 26 08:16 /dev/ubi_ctrl + ubidetach -d 0 ubidetach: error!: cannot remove ubi0 error 22 (Invalid argument) + ubiattach -m 4 -d 4 UBI: scanning is finished UBI error: ubi_read_volume_table: the layout volume was not found UBI error: ubi_attach_mtd_dev: failed to attach mtd4, error -22 ubiattach: error!: cannot attach mtd4 error 22 (Invalid argument) + ls -l /dev/ubi_ctrl crw-rw---- 1 root root 10, 59 Mar 26 08:16 /dev/ubi_ctrl + [ ! -e /dev/ubi4 ] + create_ubiUBIFS error (pid 1319): ubifs_mount: cannot open "ubi4:ubi_rootfs1", error -19 _dev_node 4 + UBI_DEV_NUM=4 + [ 4 = ] + /bin/echo -e \033[033mCreating /dev/ubi4 ...\033[0m Creating /dev/ubi4 ... + awk -F: {print $1} + cat /sys/class/ubi/ubi4/dev cat: can't open '/sys/class/ubi/ubi4/dev': No such file or directory + M= + awk -F: {print $2} + cat /sys/class/ubi/ubi4/dev cat: can't open '/sys/class/ubi/ubi4/dev': No such file or directory + m= + mknod /dev/ubi4 c BusyBox v1.19.4 (2016-06-14 10:34:36 CST) multi-call binary. Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR + ls -l /dev/ubi_ctrl crw-rw---- 1 root root 10, 59 Mar 26 08:16 /dev/ubi_ctrl + mount -t ubifs -o ro ubi4:ubi_rootfs1 /firmware/mnt/nand mount: unknown filesystem type 'ubifs' + ls -al /firmware/mnt/nand/sysdisk.img.gz ls: /firmware/mnt/nand/sysdisk.img.gz: No such file or directory + [ 1 != 0 ] + echo NAND Flash Corrupt... NAND Flash Corrupt... + flash_fail_handler + echo the sys-root image /dev/mtdblock4 is currupt !! the sys-root image /dev/mtdblock4 is currupt !! + /bin/awk -F= {print $2} + /firmware/sbin/info_printenv curr_bootfrom + CURR_BOOTFROM=1 + /bin/awk -F= {print $2} + /firmware/sbin/info_printenv change_boot_part + CHANGE_BOOT_PART=1 + [ x1 == x ] + [ 1 == 0 ] + [ 1 == 1 ] + echo Dual images are currupt !!! Dual images are currupt !!! + no_image_handler + /bin/sed -i -e s/^sysinit:\!\!:/sysinit:$1$$4eHwTd8s1.UjO3wA36fmX1:/g /etc/shadow + /bin/mkdir -m 777 -p /mnt/sysinit + echo Starting Pure-FTPd ... Starting Pure-FTPd ... + /bin/cat /etc/pure-ftpd.arg cat: can't open '/etc/pure-ftpd.arg': No such file or directory + /bin/pure-ftpd.official /etc/init.d/rcS: line 294: /bin/pure-ftpd.official: not found + sleep 1 + echo 1 second... 1 second... + sleep 1 + echo 2 second... 2 second... + sleep 1 + echo 3 second... 3 second... + sleep 1 + echo 4 second... 4 second... + sleep 1 + echo 5 second... 5 second... + sleep 1 + echo 6 second... 6 second... + sleep 1 + echo 7 second... 7 second... + sleep 1 + echo 8 second... 8 second... + sleep 1 + echo 9 second... 9 second... + sleep 1 + echo 10 second... 10 second... + check_and_run_usbkey + USB_CHECK_FILE=/mnt/partnerkey/nas3xx_check_file + grep sd + ls /sys/block/ + any_usb= + /bin/echo + [ -n ] + /sbin/buzzerc -t 31 + exit 0 Please press Enter to activate this console. BusyBox v1.19.4 (2016-06-14 10:34:36 CST) built-in shell (ash) Enter 'help' for a list of built-in commands. / #