Medion Live NASserver P89625 (MD86407)

This is a low-cost single-port SATA NAS box sold in different configurations (1TB / 1.5TB / 2TB / 3TB). It comes with a 1GE network port and 2x USB 2.0 host ports, one on the back and one on the front. It's apparently manufactured by MitraStar Technology Corp. which belongs to Unizyx which belong to ZyXEL. The design name is STG-212. There are several hints that the Linux-based stock firmware was made be ZyXEL as well.

  1. MEDION Live P89625 - MD865171)
  2. MEDION Live P89626 - MD86407
  3. MEDION Live P89630 - MD86587
  4. MEDION Live P89631 - MD86729
  5. MEDION Live P89633 - MD86769
  6. MEDION Live P89635 - MD86803
  7. MEDION Live P89636 - MD86805
  8. MEDION Live P89637 - MD86592
  9. MEDION Live P89639 - MD86942
  10. MEDION Live P89638 - MD86909
  11. MEDION Live P89660 - MD86979

(Check the Model number, there are later devices with the same case but Kirkwood SoC, and running HipServ OS.2))

With 18.06, the OXNAS target has been overhauled, one of the results is that it can now be booted from the vendor u-boot, no additional or replacement u-boot required anymore. One of the consequences of those significant changes is that you cannot upgrade from an older version than 18.06 to 18.06 or later using sysupgrade. If you try to force it, you will render your device unable to boot, you will need to go through the installation process outlined below.

Addition 10-Feb-2023:

Firmware 22.03.3 or 22.02 doesn't work on this device. There is a network problem, the NAS will not be able to obtain a DHCP adress or see other devices when given a static IP adsress. Version 21.02.5 and 21.02.4 can be installed but are instable due to memory errors . The installation procedure described below will also work also for 21.0x

The installation process is described in the following page on the forum by hondabeat: https://forum.openwrt.org/t/medionnas-installation-and-recovery/61336/32

There have been reports of failed 1st time installations when using newer images than 19.07.5 (“Bad magic number”).

If you encounter errors, try installing 19.07.5, or snapshot, then upgrade through Luci or SSH.

Required:

  • Serial device (USB to TTL) for connecting a PC to the NAS (e.g. PL2303HX USB to TTL or USB to TTL FT232RL)
  • A TFTP server on your PC, serving the initramfs-uImage
  • Set the IP adress of your PC to 192.168.50.2 (or replace this IP adress below with the correct one)
  • The IP adress of the NAS device will be set to 192.168.50.1 (or replace it with an IP adress within your subnet)
  • A direct ethernet connect cable between the PC and NAS or both devices attached to the same network
    • openwrt-19.07.7-oxnas-ox820-mitrastar_stg-212-initramfs-uImage rename it to initramfs-uImage as dots confuse the TFTP transfer
    • openwrt-19.07.7-oxnas-ox820-mitrastar_stg-212-squashfs-sysupgrade.tar
  1. Setup a TFTP server serving the initramfs-uImage
  2. Connect the PC to the Medion NAS via a serial Device
    • PIN layout from NAS: (start at side of led's:)
      • NAS ------ serial device
      • ground --- ground
      • TX ------- RX
      • RX ------- TX
      • VCC ------ do not connect
  3. Open a serial console (e.g. via putty) and power on.
    • Bits rate: 115200
    • Data bits: 8
    • Stop bits: 1
    • Parity: None
    • Flow control: None
    • When you see “Hit any key to stop autoboot” hit any key to stop autoboot
  4. Execute the following commands:
    • setenv bootcmd 'nboot 60500000 0 440000; bootm'
      
      saveenv
      
      setenv serverip 192.168.50.2
      
      setenv ipaddr 192.168.50.1 
      
      tftp 64000000 initramfs-uImage
      
      bootm 64000000
      
      uci set network.lan.proto=static
      
      uci set network.lan.ipaddr=192.168.50.1
      
      uci set network.lan.netmask=255.255.255.0
      
      uci commit
      
      service network restart
  5. Setup firmware
    • Browser on your PC go to the Medion address 192.168.50.1 (or the one you have choosen)
    • (NOTE: If you are attached to your own network with a DHCP server active, the NAS will get a DHCP adress. Obtain the proper IP adress via the ifconfig command)
    • Log into the GUI as root (password not required)
    • From GUI go to > system > Back/Flash Firmware >
    • Then under “Flash new firmware image” > Choose file > then open openwrt-19.07.7-oxnas-ox820-mitrastar_stg-212-squashfs-sysupgrade.tar from where you previously saved it.
    • Then Flash image
  6. Setup Device
    • Go to Network tab > interfaces > lan > edit and set a static IP, gateway & DNS then connect to your network
    • Go to System > Administration >set yourself a password.
    • System > Software > Available > Update lists
    • Then filter on “Filter “samba” > luci-app-samba4
    • Go to System . Reboot
  7. Setup storage of the NAS
    • Connect to your Medion with SSH
    • umount /mnt/sda2
      
      opkg update
      
      opkg install e2fsprogs
      
      opkg install kmod-fs-ext4
      
      mkfs.ext4 /dev/sda2
    • Check if /mnt/sda2 exists, if not create it
       mkdir /mnt/sda2 
    •  chmod 777 mnt/sda2 
    • Go back to the webinterface
    • System > Mount Points:
    • Generate Config
    • Mount Attached devices
    • Edit /mnt/sda2, set enabled
    • Save and apply
  8. Setup SAMBA sharing for the user “YourUsername” (replace this name with your own preference)
    • - Create SMB user:
    •  vi /etc/passwd 
    • Add the following at the bottom:
       YourUsername:x:1000:1000:GROUP:/mnt/sda2:/bin/false 
    • press “<esc> :wq” to save
    • add the following at the bottom of the /etc/group file:
       GROUP:x:1000: 
    • Add the following at the bottom of the /etc/shadow file:
       YourUsername:xyzDummyString:16666:0:99999:7::: 
    • Create an SMB user:
    •  smbpasswd -a YourUsername
      New SMB password:
      Retype SMB password:
    • Via a webbrowser logon to the NAS luci interface:
    • Services > Network Shares:
    • -Add
    • Name = Share, Path /mnt/sda2, Browse-able = enable, Allowed users= YourUsername, Inherit owner = enable, Create mask = 0777, Directory mask = 0777, Vfs objects = recycle
    • In the Edit Template tab add the following at the bottom:
    • ## additiopnal settings for execute bit
          force create mode = 0777
          security mask = 0777
          force security mode = 0777
      
          force directory mode = 0777
          directory security mask = 0777
          force directory security mode = 0777
  9. Setup final things:
    • Allow access to recycle bin for windows users:
       chmod 777 /mnt/sda2/.recycle 
    • Enable HDD spindown:
      • install: luci-app-hd-idle.
      • Refresh Luci
      • Goto: Services → HDD idle
      • Enable HDD idle *
    • check if ownership is set to 777 of /mnt/sda2 otherwise:
       chmod 777 /mnt/sda2 

In the absence of a more thorough writeup, please refer to the installation process for the Pogoplug Pro/V3 and substitute the correct “mitrastar” images. In aspects relevant to the installation the Pogoplug is identical to the Medion/Mitrastar, the process has been confirmed to work.

Installation process for OpenWrt 17.01 (outdated)

The following instructions are outdated and will be removed as soon as the installation process for OpenWrt 19.07 above has been properly written up. The following instructions will not work for OpenWrt 18.06 or later. Also, keep in mind that there is no upgrade path from OpenWrt 17.01.

  1. Hardware Password reset if unknown: Press Reset button 3 seconds until 1 beep.
  2. Default login user:admin pass:1234
  3. Update to latest firmware from within the NAS web interface if possible.
  4. Activate telnet backdoor: open http://{nas-ip}/r36807,/adv,/cgi-bin/remote_help-cgi?type=backdoor in your browser (blank page).
  5. telnet {nas-ip} , username root, password as for web interface.
  6. Configure uboot environment to load 2nd stage uboot.
    fw_setenv boot_stage2 nand read 0x64000000 0x440000 0x90000 \; go 64000000
    fw_setenv bootcmd run boot_stage2
    fw_printenv
  7. install 2nd stage uboot and initial system to the kernel partition.
    cd /tmp
    wget http://downloads.openwrt.org/releases/17.01.4/targets/oxnas/generic/lede-17.01.4-oxnas-stg212-u-boot-initramfs.bin
    grep kernel /proc/mtd # check we use the right partition below
    nandwrite /dev/mtd4 lede-17.01.4-oxnas-stg212-u-boot-initramfs.bin
    reboot
  8. install final ubifs version of OpenWrt
    ssh root@{dhcp ip address} (new IP)
    cd /tmp
    wget https://downloads.openwrt.org/releases/17.01.4/targets/oxnas/generic/lede-17.01.4-oxnas-stg212-squashfs-ubinized.bin
    sysupgrade -n -F lede-17.01.4-oxnas-stg212-squashfs-ubinized.bin
  9. Installation is now finished
  • Sysupgrade flashing does not seem to work from web interface, and needs -F on command-line? FIXME
Instruction set ARM
Vendor PLX Technology
bootloader U-Boot
System-On-Chip PLXTECH NAS 7820
CPU @Frq 2x ARM11MPCore @750MHz
Flash size 128 MiB
Flash Chip Hynix H27U1G8F2BTR-BC
RAM size 128 MiB DDR-2
Ethernet STMicroelectronics 10/100/1000 Synopsys Ethernet core
Ethernet phy Realtek RTL8211E via RGMII
USB 1x EHCI, built-in 2-port hub
SATA 1x 3.0 Gbps
Serial Yes
JTAG No

port.serial general information about the serial port, serial port cable, etc.

The board got a populated 4-pin header which is a 3.3V TTL serial port. VCC | RX | TX | GND

Stage-1 Bootloader Tue Aug 9 16:44:00 CST 2011 Attempting to set PLLA to 750MHz ... plla_ctrl0 : 0x0000000A plla_ctrl1 : 0x000F0000 plla_ctrl2 : 0x001D01A0 plla_ctrl3 : 0x00000017 PLLA Set Setup memory, testing Reading NAND, Image 0 Hdr len: 0x0001A94C Hdr CRC: 0xF0019DAC OK U-Boot 1.1.2 (Jun 24 2011 - 09:41:57) U-Boot code: 60D00000 -> 60D1A94C BSS: -> 60D1F004 RAM Configuration: Bank #0: 60000000 128 MB SRAM Configuration: 64KB at 0x50000000 NAND:128 MiB In: serial Out: serial Err: serial Setting Linux mem= boot arg value Hit any key to stop autoboot: 2  0 $ printenv bootcmd=run boot_nand bootdelay=2 baudrate=115200 ipaddr=192.168.50.100 serverip=192.168.50.59 autoload=n netmask=255.255.0.0 bootfile="uImage" load_nand=nboot 61000000 0 440000 boot=bootm 61000000 boot_nand=run load_nand boot MODEL_ID=AB03 PRODUCT_NAME=STG-212 VENDOR_NAME=MitraStar Technology Corp. ethaddr=00:11:41:XX:XX:XX stdin=serial stdout=serial stderr=serial bootargs= console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes Environment size: 475/131068 bytes $ run boot_nand Loading from device 0: 128MiB 3,3V 8-bit (offset 0x440000) Image Name: Linux-2.6.31.14_SMP_820 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5242520 Bytes = 5 MB Load Address: 60008000 Entry Point: 60008000 ## Booting image at 61000000 ... Image Name: Linux-2.6.31.14_SMP_820 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5242520 Bytes = 5 MB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux........................................................................................................................................................................................................................................................... done, booting the kernel. Linux version 2.6.31.14_SMP_820 (root@Neo) (gcc version 4.3.2 (crosstool-NG-1.8.0) ) #2 SMP Fri Feb 3 18:03:13 CST 2012 CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Machine: Oxsemi NAS 1 memory region Ignoring unrecognised tag 0x00000000 Memory policy: ECC disabled, Data cache writealloc Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes PID hash table entries: 512 (order: 9, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 128MB = 128MB total Memory: 121628KB available (5340K code, 338K data, 2268K init, 0K highmem) Hierarchical RCU implementation. NR_IRQS:96 OX820_RPS_init_irq: interrupts 64 to 96 ox820_clocksource_init() Timer 2 running at 390625 Hz Console: colour dummy device 80x30 console [ttyS0] enabled Calibrating delay loop... 299.00 BogoMIPS (lpj=1495040) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok Calibrating local timer... 374.48MHz. CPU1: Booted secondary processor Calibrating delay loop... 299.00 BogoMIPS (lpj=1495040) Brought up 2 CPUs SMP: Total of 2 processors activated (598.01 BogoMIPS). NET: Registered protocol family 16 Number of DMA channels = 4, version = 4 Allocating 303 SRAM generic DMA descriptors 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 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) Switched to NOHz mode on CPU #0 TCP established hash table entries: 4096 (order: 3, 32768 bytes) Switched to NOHz mode on CPU #1 TCP bind hash table entries: 4096 (order: 3, 32768 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 Create fragment cache MitraStar NAS GPIO driver/controller 1.00 Initialize LEDs o SYS LED o COPY LED o Quota 4 LED Initialize buzzer Initialize buttons o Copy Button o Reset Button nas_gpio: Register a char device 254:0 audit: initializing netlink socket (disabled) type=2000 audit(1.200:1): initialized 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). 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 237 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A brd: module loaded loop: module loaded ox820sata: OX820 sata core. scsi0 : oxnassata scsi1 : oxnassata ata1: SATA max UDMA/133 irq 50 ata2: SATA max UDMA/133 irq 50 ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata1.00: ATA-8: ST1000DM003-9YN162, NDP3, max UDMA/133 ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 0/32) ata1.00: configured for UDMA/133 ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x9 t4 ata1.00: configured for UDMA/133 ata1: EH complete ata2: SATA link down (SStatus 0 SControl 300) scsi 0:0:0:0: Direct-Access ATA ST1000DM003-9YN1 NDP3 PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB) sd 0:0:0:0: [sda] 4096-byte physical blocks sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: Attached scsi generic sg0 type 0 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA PPP generic driver version 2.4.2 sda: sda1 sda2 PPP Deflate Compression module registered PPP BSD Compression module registered sd 0:0:0:0: [sda] Attached SCSI disk PPP MPPE Compression module registered NET: Registered protocol family 24 PPPoL2TP kernel driver, V1.0 NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 602 at 0x000004b40000 Creating 7 MTD partitions on "NAND 128MiB 3,3V 8-bit": 0x000000000000-0x000000040000 : "stage1" 0x000000040000-0x0000003c0000 : "uboot" 0x0000003c0000-0x000000440000 : "uboot_env" 0x000000440000-0x000000e40000 : "kernel" 0x000000e40000-0x000001840000 : "etc" 0x000001840000-0x000002240000 : "info" 0x000002240000-0x000008000000 : "sysdisk" ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver Start USB clocks oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1 oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000 oxnas-ehci oxnas-ehci.0: USB 0.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: 2 ports detected 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-isd200 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 md: linear personality registered for level -1 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 usb.agent299add:9 usb.agent299add:[9/0/0]USB hub device:09h/xxh/xxh usb.agent298add: 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 NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. registered taskstats version 1 Freeing init memory: 2268K *** Stage 1: Setup system and device drivers *** Probing for Synopsis GMAC, unit 0 eth0: Tuning GMAC 0 RGMII timings eth0: PHY is Realtek RTL8211E, type 0x001cc915 eth0: Disable EEE (Energy Efficient Ethernet 802.3az) eth0: Set SSC eth0: GMAC ver = 53, vendor ver = 18 at 0xed400000, IRQ 40 eth0: Found PHY at address 7, type 0x001cc915 -> 10/100/1000 eth0: Ethernet addr: 00:30:e0:00:00:00 probe() eth0: Leon x2 clock hw_set_mac_address() Storing port0 mac_adr in global array CoPro offload is active on egiga0 Alloc'ing ARM descs 8192 bytes Alloc'ing CoPro parameters 40 bytes gmac gmac.0: firmware: requesting gmac_copro_firmware CoPro: Programming start address as 0xd000e000 egiga0: Resetting GMAC egiga0: GMAC reset complete workaround step1 workaround step2 workaround finish hw_set_mac_address() Storing port0 mac_adr in global array egiga0: Setting Rx flow control thresholds for LAN port CoPro available SRAM end 0x00000001 Copro offload started Waiting for auto-negotiation to complete........ Timed-out of wait Waiting for auto-negotiation to complete........ Timed-out of wait egiga0: PHY is Realtek RTL8211E, type 0x001cc915 egiga0: Disable EEE (Energy Efficient Ethernet 802.3az) egiga0: Set SSC ADDRCONF(NETDEV_UP): egiga0: link is not ready + . /etc/profile + PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/zyxel/sbin:/usr/local/zy-pkgs/bin:/zyxel/htp + export PATH + LD_LIBRARY_PATH=/usr/local/zy-pkgs/lib + export LD_LIBRARY_PATH + NEW_ROOT= + INFO_PATH=/zyxel/mnt/info + DISK_PATH=/zyxel/mnt/sysdisk + IMG_PATH=/ram_bin + SYSINIT_PASSWD=$1$$4eHwTd8s1.UjO3wA36fmX1 + SYSINIT_PATH=/mnt/sysinit + MODEL_NAME= + /sbin/mrd_model -p + MODEL_ID=AB03 + MTD_SYSTEM=5 + ECHO=/bin/echo + RM=/bin/rm + SYSTEM_PATH=/i-data/md0/.system + SYSTEM_LINK=/i-data/.system + ZYXEL_PATH=/i-data/md0/.zyxel + ZYXEL_LINK=/i-data/.zyxel + ulimit -c unlimited + /bin/echo /i-data/md0/.system/core.%e.%u.%g.%s + echo 1 + echo -e \033[033mMount system partition...\033[0m Mount system partition... + /bin/mkdir -p /zyxel/mnt/sysdisk + /bin/fdisk -l /dev/sda + grep sda + [ 0 -ne 0 ] + fdisk -l /dev/sda1 + grep sda1 Disk /dev/sda1 doesn't contain a valid partition table + [ 0 -ne 0 ] + /bin/mount /dev/sda1 /zyxel/mnt/sysdisk EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended + [ 0 -ne 0 ] + [ ! -f /zyxel/mnt/sysdisk/sysdisk.img ] + /bin/mkdir -p /zyxel/mnt/info + [ -eq 1 ] sh: 1: unknown operand + /bin/mount --bind /zyxel/mnt/sysdisk/info /zyxel/mnt/info + /bin/cat /proc/devices + /bin/grep nas_gpio + /bin/awk {print $1} + MAJOR_NAS_GPIO=254 + [ -n 254 ] + /bin/mknod /dev/nas_gpio c 254 0 + /bin/mknod /dev/btncpy c 254 0 + cat /proc/htp cat: can't open '/proc/htp': No such file or directory + HTP_PIN= + [ == 1 ] sh: 1: unknown operand + touch /tmp/stop_storagehotplug + Exe_USB_KEY FW_UPGRADE + cat /zyxel/mnt/info/modelid + model_id=AB03 + [ AB03 == A403 ] + [ AB03 == A803 ] + [ AB03 == AB03 ] + export MODEL_NAME=STG212 + ls /sys/block/ + grep sd + any_usb=sda + echo sda sda + [ -n sda ] + /bin/mkdir /mnt/parnerkey + echo checking sda checking sda + fdisk -l /dev/sda + grep ^/dev/sda + grep -c ? + qmark_num=0 + fdisk -l /dev/sda + grep ^/dev/sda + partition_num=/dev/sda1 1 64 514048+ 83 Linux /dev/sda2 65 121601 976245952+ 9 AIX bootable + [ 0 == 4 ] + [ /dev/sda1 1 64 514048+ 83 Linux /dev/sda2 65 121601 976245952+ 9 AIX bootable == ] + fdisk -l /dev/sda + sed -n 1p + awk {print $1} + grep ^/dev/sda + mnt_point=/dev/sda1 + echo Trying to mount /dev/sda1 Trying to mount /dev/sda1 + mount -o iocharset=utf8,shortname=mixed,ro /dev/sda1 /mnt/parnerkey mount: mounting /dev/sda1 on /mnt/parnerkey failed: Device or resource busy + cat /proc/mounts + grep /mnt/parnerkey + mount_SUC= + [ != ] + echo Fail to mount /dev/sda1 Fail to mount /dev/sda1 + rmdir /mnt/parnerkey + ls -al /zyxel/mnt/sysdisk/sysdisk.img + [ -f /zyxel/mnt/sysdisk/sysdisk.img ] + echo -e \033[033mMount system disk image ...\033[0m Mount system disk image ... + /bin/mkdir -p /ram_bin + [ -e /zyxel/mnt/sysdisk/mount.sda1.rw.flag ] + /bin/mount -t ext2 -o loop,ro /zyxel/mnt/sysdisk/sysdisk.img /ram_bin + [ 0 -ne 0 ] + /bin/mount --bind /ram_bin/usr /usr + /bin/mount --bind /ram_bin/lib/security /lib/security + /bin/mount --bind /ram_bin/lib/modules /lib/modules + cp -a /ram_bin/bin/applyservice.suid /ram_bin/bin/rbm.sh /ram_bin/bin/zysudo.suid /bin/ + cp -a /ram_bin/sbin/dhcpcd /ram_bin/sbin/getLED /ram_bin/sbin/makekey /ram_bin/sbin/makepwd /ram_bin/sbin/peek /ram_bin/sbin/phypeek /ram_bin/sbin/phypoke /ram_bin/sbin/poke /ram_bin/sbin/reg_access /ram_bin/sbin/setLED /ram_bin/sbin/storage_autoRepair.sh /ram_bin/sbin/storage_gen_swap.sh /ram_bin/sbin/usbzync /ram_bin/sbin/usbzync.sh /ram_bin/sbin/usbzync_rm_rf.sh /ram_bin/sbin/zyshclient /ram_bin/sbin/zyshd /sbin/ + /bin/mkdir /tmp/tmpfs + /bin/mount -t tmpfs /dev/ram0 /tmp/tmpfs -o size=5m + /bin/mkdir /tmp/tmpfs/usr_etc + /bin/cp -a /usr/local/etc/mt-daapd /usr/local/etc/mt-daapd.conf /tmp/tmpfs/usr_etc + /bin/mount --bind /tmp/tmpfs/usr_etc /usr/local/etc + /bin/mkdir /tmp/tmpfs/usr_var + /bin/mount --bind /tmp/tmpfs/usr_var /usr/local/var + Exe_USB_KEY HW_TEST + cat /zyxel/mnt/info/modelid + model_id=AB03 + [ AB03 == A403 ] + [ AB03 == A803 ] + [ AB03 == AB03 ] + export MODEL_NAME=STG212 + ls /sys/block/ + grep sd + any_usb=sda + echo sda sda + [ -n sda ] + /bin/mkdir /mnt/parnerkey + echo checking sda checking sda + fdisk -l /dev/sda + grep -c ? + grep ^/dev/sda + qmark_num=0 + fdisk -l /dev/sda + grep ^/dev/sda + partition_num=/dev/sda1 1 64 514048+ 83 Linux /dev/sda2 65 121601 976245952+ 9 AIX bootable + [ 0 == 4 ] + [ /dev/sda1 1 64 514048+ 83 Linux /dev/sda2 65 121601 976245952+ 9 AIX bootable == ] + fdisk -l /dev/sda + awk {print $1} + sed -n 1p + grep ^/dev/sda + mnt_point=/dev/sda1 + echo Trying to mount /dev/sda1 Trying to mount /dev/sda1 + mount -o iocharset=utf8,shortname=mixed,ro /dev/sda1 /mnt/parnerkey mount: mounting /dev/sda1 on /mnt/parnerkey failed: Device or resource busy + cat /proc/mounts + grep /mnt/parnerkey + mount_SUC= + [ != ] + echo Fail to mount /dev/sda1 Fail to mount /dev/sda1 + rmdir /mnt/parnerkey + /bin/echo Starting LCD panel... Starting LCD panel... + /sbin/LCDd -c /etc/LCDd.conf /etc/init.d/rcS: line 260: /sbin/LCDd: not found + /bin/mkdir -p /tmp/zyxel + /bin/cp -a /etc/zyxel/backupjob.db /etc/zyxel/conf /etc/zyxel/dmsf /etc/zyxel/ftp /etc/zyxel/script /etc/zyxel/storage /etc/zyxel/sys /etc/zyxel/zy-pkg.conf /etc/zyxel/zy-pkgs /etc/zyxel/zyfw /tmp/zyxel + [ -eq 1 ] sh: 1: unknown operand + /bin/mount --bind /zyxel/mnt/sysdisk/zyxel /etc/zyxel/ + [ -f /etc/zyxel/zyconf.tgz ] + [ -e /etc/zyxel/conf ] + echo /etc/zyxel/conf exist.. /etc/zyxel/conf exist.. + /bin/chmod 777 /etc/zyxel + insmod /lib/modules/2.6.31.14_SMP_820/ntfs.ko NTFS driver 2.1.29 [Flags: R/O MODULE]. + [ -n AB03 ] + [ AB03 == A403 -o AB03 == AB03 ] + /bin/cat /etc/zyxel/recorded_time + NEW_TIME=010100051970 + [ -n 010100051970 ] + /bin/date 010100051970 Thu Jan 1 00:05:00 GMT 1970 + /bin/rm -rf /var/run/zylogd.pid + [ -x /usr/sbin/zylogd ] + /bin/echo Starting zylogd... Starting zylogd... + /usr/sbin/zylogd zylog starts. + /bin/rm -f /var/run/uamd.pid + [ -x /usr/sbin/uamd ] + /bin/echo Starting uamd... Starting uamd... + /usr/sbin/uamd + /sbin/account.sh + /bin/nice -n 17 /usr/sbin/cupsd + usbmuxd -U root + rm -rf /i-data/md0/.system/idevice_* + Exe_USB_KEY HW_TEST + cat /zyxel/mnt/info/modelid + model_id=AB03 + [ AB03 == A403 ] + [ AB03 == A803 ] + [ AB03 == AB03 ] + export MODEL_NAME=STG212 + ls /sys/block/ + grep sd + any_usb=sda + echo sda sda + [ -n sda ] + /bin/mkdir /mnt/parnerkey + echo checking sda checking sda + grep -c ? + grep ^/dev/sda + fdisk -l /dev/sda + qmark_num=0 + fdisk -l /dev/sda + grep ^/dev/sda + partition_num=/dev/sda1 1 64 514048+ 83 Linux /dev/sda2 65 121601 976245952+ 9 AIX bootable + [ 0 == 4 ] + [ /dev/sda1 1 64 514048+ 83 Linux /dev/sda2 65 121601 976245952+ 9 AIX bootable == ] + fdisk -l /dev/sda + awk {print $1} + grep ^/dev/sda + sed -n 1p + mnt_point=/dev/sda1 + echo Trying to mount /dev/sda1 Trying to mount /dev/sda1 + mount -o iocharset=utf8,shortname=mixed,ro /dev/sda1 /mnt/parnerkey mount: mounting /dev/sda1 on /mnt/parnerkey failed: Device or resource busy + cat /proc/mounts + grep /mnt/parnerkey + mount_SUC= + [ != ] + echo Fail to mount /dev/sda1 Fail to mount /dev/sda1 + rmdir /mnt/parnerkey + /bin/echo Starting ZySH daemon and client... Starting ZySH daemon and client... + /sbin/zysh.sh Start NAS system daemon.... Start ZySH daemon zyshd: version 2.0.0 (build: 17:42:13 Feb 3 2012) % 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 Jan 1 00:05:01 (none) syslog-ng[1355]: 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 nas-server Init SMB DB access... rm: can't remove '/var/log/samba/smb.db': No such file or directory Initialize fw_key module fw_key_result: 2 Assemble volume.... [1378] [288] outfile=/tmp/zysh.client.1378.d [1378] server write-only FIFO is opened (fd=6) [1378] server read-only FIFO is opened (fd=7) [1378] server error read-only FIFO is opened (fd=8) argc = 1, func = 277 cat: can't open '/tmp/mduuid.map': No such file or directory XFS mounting filesystem sda2 Starting XFS recovery on filesystem: sda2 (logdev: internal) Ending XFS recovery on filesystem: sda2 (logdev: internal) [1378] is disconnected Startup config [1515] [288] outfile=/tmp/zysh.client.1515.d [1515] server write-only FIFO is opened (fd=6) [1515] server read-only FIFO is opened (fd=7) [1515] server error read-only FIFO is opened (fd=8) argc = 1, func = 14 argc = 1, func = 17 argc = 2, func = 104 argid[1]: 1075; argv[1]: ge1 argc = 5, func = 107 argid[1]: 1075; argv[1]: ge1 argid[2]: 313; argv[2]: ip argid[3]: 434; argv[3]: address argid[4]: 538; argv[4]: dhcp argc = 3, func = 105 argid[1]: 1075; argv[1]: ge1 argid[2]: 350; argv[2]: exit argc = 2, func = 436 argid[1]: 1068; argv[1]: 192.168.1.1 argc = 3, func = 438 argid[1]: 872; argv[1]: fetch argid[2]: 628; argv[2]: auto /bin/rm -f /var/zyxel/zysh/egiga0.metric /bin/ip route del default via 0.0.0.0 dev egiga0 ip: RTNETLINK answers: No such process [1522] [288] outfile=/tmp/zysh.client.1522.d [1522] server write-only FIFO is opened (fd=9) [1522] server read-only FIFO is opened (fd=10) [1522] server error read-only FIFO is opened (fd=11) argc = 7, func = 77 argid[1]: 267; argv[1]: mail argid[2]: 1397; 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 = 1, func = 437 POLLHUP on 10 pid = 1522 [1522] is disconnected argc = 7, func = 77 argid[1]: 267; argv[1]: mail argid[2]: 1397; 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 = 1, func = 72 /usr/sbin/ntpdate_agent argc = 2, func = 68 argid[1]: 1067; argv[1]: europe.pool.ntp.org argc = 2, func = 60 argid[1]: 1118; argv[1]: +0100 /usr/sbin/zic -d /etc /var/zyxel/myzone_rule /bin/ln -s -f /etc/MyZone /etc/localtime argc = 4, func = 343 argid[1]: 1212; argv[1]: "CET" argid[2]: 593; argv[2]: in argid[3]: 1213; argv[3]: "Amsterdam,Berlin,Bern,Rome,Stockholm,Vienna" Jan 1 01:05:12 (none) ntpdate[1557]: can't find host time.stdtime.gov.tw Jan 1 01:05:12 (none) ntpdate[1557]: no servers can be used, exiting argc = 1, func = 38 cat: can't open '/var/zyxel/pure-ftpd.arg.old': No such file or directory /usr/sbin/dst.sh: line 175: can't create /i-data/.system/storage.txt: nonexistent directory /usr/sbin/dst.sh: line 175: can't create /i-data/.system/storage.txt: nonexistent directory /usr/sbin/dst.sh: line 175: can't create /i-data/.system/storage.txt: nonexistent directory /usr/sbin/dst.sh: line 175: can't create /i-data/.system/storage.txt: nonexistent directory /usr/sbin/dst.sh: line 175: can't create /i-data/.system/storage.txt: nonexistent directory cat: can't open '/var/run/pure-ftpd.pid': No such file or directory argc = 1, func = 404 Jan 1 00:05:15 (none) dhcpcd[1546]: timed out waiting for a valid DHCP server response argc = 2, func = 401 argid[1]: 1235; argv[1]: yes argc = 1, func = 530 Jan 1 00:05:16 (none) mt-daapd[1689]: Config entry general/playlist is deprecated. Please review the sample config Jan 1 00:05:16 (none) mt-daapd[1689]: Firefly Version svn-1696: Starting with debuglevel 2 Jan 1 00:05:16 (none) mt-daapd[1689]: Error opening plugin dir /usr/lib/firefly/plugins. Ignoring Jan 1 00:05:16 (none) mt-daapd[1689]: Error opening plugin dir /usr/lib/mt-daapd/plugins. Ignoring Jan 1 00:05:16 (none) mt-daapd[1689]: Error opening plugin dir /lib/mt-daapd/plugins. Ignoring Jan 1 00:05:16 (none) mt-daapd[1689]: Error opening plugin dir /lib/mt-daapd/plugins. Ignoring Jan 1 00:05:16 (none) mt-daapd[1689]: Error loading plugin /usr/local/lib/mt-daapd/plugins/ssc-script.so: plugin declined to load Jan 1 00:05:16 (none) mt-daapd[1689]: Plugin loaded: daap/svn-1696 Jan 1 00:05:16 (none) mt-daapd[1689]: Plugin loaded: rsp/svn-1696 Jan 1 00:05:16 (none) mt-daapd[1689]: Starting rendezvous daemon Jan 1 00:05:16 (none) mt-daapd[1689]: Starting signal handler Jan 1 00:05:16 (none) mt-daapd[1692]: Error: enum_begin failed (error 1): Misc SQL Error: no such table: config Jan 1 00:05:16 (none) mt-daapd[1692]: Can't get db version. New database? Jan 1 00:05:16 (none) mt-daapd[1692]: Initializing database Jan 1 00:05:16 (none) mt-daapd[1692]: Error: enum_begin failed (error 1): ? Jan 1 00:05:16 (none) mt-daapd[1692]: Error: enum_begin failed (error 1): ? Jan 1 00:05:16 (none) mt-daapd[1692]: Full reload... Jan 1 00:05:16 (none) ntpdate[1696]: can't find host ntp1.cs.wisc.edu Jan 1 00:05:16 (none) ntpdate[1696]: no servers can be used, exiting Jan 1 00:05:18 (none) mt-daapd[1692]: Starting mp3 scan Jan 1 00:05:18 (none) mt-daapd[1692]: Starting playlist scan Starting iTune Server: Check /i-data/md0/.system existing: /i-data/md0/.system exist iTunes starting OK Successfully starting iTunes server! argc = 2, func = 146 argid[1]: 1143; argv[1]: 3 test0 Test1 Test2 Test3: argc = 2, func = 18 argid[1]: 350; argv[1]: exit argc = 1, func = 20 POLLHUP on 7 pid = 1515 [1515] is disconnected + [ -d /i-data/md0/.zyxel ] + readlink /i-data/md0/.zyxel + ZY_LINK= + [ != /i-data/md0/.system ] + [ -d /i-data/md0/.system ] + mv /i-data/md0/.zyxel/songs3.db /i-data/md0/.zyxel/songs3.db-journal /i-data/md0/.system mv: can't rename '/i-data/md0/.zyxel/songs3.db-journal': No such file or directory + rm -rf /i-data/md0/.zyxel + ln -s /i-data/md0/.system /i-data/.system + ln -s /i-data/md0/.system /i-data/.zyxel + rm -f /tmp/stop_storagehotplug + readlink /etc/zyxel/storage/sysvol + md0mounted=/i-data/Z1D25T6Y + [ /i-data/Z1D25T6Y == ] + echo configure terminal ip smb internal enable "/i-data/md0" configure terminal ip smb internal enable "/i-data/md0" + zyshclient -p 150 -e configure terminal ip smb internal enable "/i-data/md0" [1712] [288] outfile=/tmp/zysh.client.1712.d [1712] server write-only FIFO is opened (fd=6) [1712] server read-only FIFO is opened (fd=7) [1712] server error read-only FIFO is opened (fd=8) argc = 4, func = 180 argid[1]: 630; argv[1]: internal argid[2]: 302; argv[2]: enable argid[3]: 1170; argv[3]: "/i-data/md0" RegenSmbConfigFile:2225 Close file ok [1712] is disconnected + /bin/echo Starting smbd... Starting smbd... + /bin/nice -n 10 /usr/sbin/smbd -D Jan 1 00:05:18 (none) mt-daapd[1692]: Updating playlists Jan 1 00:05:18 (none) mt-daapd[1692]: Query: update playlists set items=(select count(*) from songs where 1) where id=1 Jan 1 00:05:18 (none) mt-daapd[1692]: Error: unable to open database file Jan 1 00:05:18 (none) mt-daapd[1691]: Rendezvous socket closed (daap server crashed?) Aborting. + /bin/echo Starting nmbd... Starting nmbd... + /bin/nice -n 10 /usr/sbin/nmbd -D + /bin/echo Starting NSU Agent... Starting NSU Agent... + /bin/nice -n -3 /usr/sbin/nsuagent + cat /proc/mounts + awk {print $2} + awk -F/ $4=="" {print "/" $2 "/" $3} + grep -v /home/share + grep /i-data/ + mdmounted=/i-data/Z1D25T6Y + echo configure terminal ip smb internal enable "/i-data/Z1D25T6Y" configure terminal ip smb internal enable "/i-data/Z1D25T6Y" + zyshclient -p 150 -e configure terminal ip smb internal enable "/i-data/Z1D25T6Y" [1743] [288] outfile=/tmp/zysh.client.1743.d [1743] server write-only FIFO is opened (fd=6) [1743] server read-only FIFO is opened (fd=7) [1743] server error read-only FIFO is opened (fd=8) argc = 4, func = 180 argid[1]: 630; argv[1]: internal argid[2]: 302; argv[2]: enable argid[3]: 1170; argv[3]: "/i-data/Z1D25T6Y" RegenSmbConfigFile:2225 Close file ok POLLHUP on 7 pid = 1743 [1743] is disconnected + date +%k + HOUR= 0 + date +%M + MIN=05 + echo 05 + sed s/^0*// + let MIN=5+5 + [ 10 -ge 60 ] + [ 0 -ge 24 ] + echo 10 0 * * * /sbin/ntpdate_sync.sh > /dev/null 2>&1 + let HOUR=HOUR+12 + [ 12 -ge 24 ] + echo 10 12 * * * /sbin/ntpdate_sync.sh > /dev/null 2>&1 + [ ! -e /i-data/md0/.system/zoneinfo/ ] + cat /etc/zyxel/zyfw/ac_status + status=enable + [ enable = enable ] + [ -x /usr/bin/zyfw_ac_trigger ] + echo /usr/bin/zyfw_ac_trigger 1 /usr/bin/zyfw_ac_trigger 1 + /usr/bin/zyfw_ac_trigger 1 + ps + grep crond + awk {print $1} + grep -v grep + CROND_PID=1798 + [ 1798 = ] + hotplug_add_PTP.sh + storage_gen_swap.sh Adding 524280k swap on /i-data/.system/swap_ul6545p. Priority:-1 extents:5 across:524928k + /usr/bin/setsystz GMT offset=0s setting system time zone to tz_minuteswest=0 + /usr/sbin/myhotplug + /bin/nice -n 17 /usr/local/btn/do_btncpy + /sbin/CheckPrinter + /bin/dsrv-mon.sh + /bin/nice -n 19 /usr/sbin/fadd /bin/nice: /usr/sbin/fadd: No such file or directory + /usr/bin/rtcAccess clearAF Error: Could not open file `/dev/i2c-0': No such device or address + /etc/init.d/schedule_trigger.sh start schedule_controller is already running now. + /etc/init.d/zypkg_controller.sh prepare_env Starting "/etc/init.d/zypkg_controller.sh". Starting to set up zy-pkgs environment ... cp: can't stat '/etc/zyxel/zy-pkgs/*': No such file or directory Finish "/etc/init.d/zypkg_controller.sh". + [ 0 = 0 ] + /etc/init.d/zypkg_controller.sh start Starting "/etc/init.d/zypkg_controller.sh". Starting all zypkgs via "/etc/init.d/zypkg_controller.sh" ... - starting package "PHP-MySQL-phpMyAdmin" ... ---> Error: start-up program "/usr/local/zy-pkgs/etc/init.d/PHP-MySQL-phpMyAdmin" is not existed or not excutable - starting package "gallery" ... ---> Error: start-up program "/usr/local/zy-pkgs/etc/init.d/gallery" is not existed or not excutable - starting package "WordPress" ... ---> Error: start-up program "/usr/local/zy-pkgs/etc/init.d/WordPress" is not existed or not excutable EXT2-fs error (device sda1): ext2_free_blocks: bit already cleared for block 295428 EXT2-fs error (device sda1): ext2_free_blocks: bit already cleared for block 295429 EXT2-fs error (device sda1): ext2_free_blocks: bit already cleared for block 295430 EXT2-fs error (device sda1): ext2_free_blocks: bit already cleared for block 295431 - starting package "SqueezeCenter" ... ---> Error: start-up program "/usr/local/zy-pkgs/etc/init.d/SqueezeCenter" is not existed or not excutable - starting package "eMule" ... ---> Error: start-up program "/usr/local/zy-pkgs/etc/init.d/eMule" is not existed or not excutable - starting package "DyDNS" ... ---> Error: start-up program "/usr/local/zy-pkgs/etc/init.d/DyDNS" is not existed or not excutable - starting package "SMART" ... ---> Error: start-up program "/usr/local/zy-pkgs/etc/init.d/SMART" is not existed or not excutable - starting package "BackupPlanner" ... ---> Error: start-up program "/usr/local/zy-pkgs/etc/init.d/BackupPlanner" is not existed or not excutable - starting package "NFS" ... ---> Error: start-up program "/usr/local/zy-pkgs/etc/init.d/NFS" is not existed or not excutable Finish "/etc/init.d/zypkg_controller.sh". + /usr/sbin/chUrlPrefix.sh setprefix + [ ! -e /i-data/md0/.system/web_cache ] + [ ! -e /etc/zyxel/conf/web_framework ] + /bin/mount --bind /i-data/md0/.system/web_cache /usr/local/apache/web_framework/data/cache + /bin/mount --bind /etc/zyxel/conf/web_framework /usr/local/apache/web_framework/data/config + sleep 3 setLED COPY OFF Jan 1 00:05:24 (none) ntpdate[2254]: can't find host ntp1.gbg.netnod.se Jan 1 00:05:24 (none) ntpdate[2254]: no servers can be used, exiting + /usr/bin/python /usr/local/apache/web_framework/main.wsgi mainApp + sleep 3 + /bin/chmod 0777 /i-data/md0/.system + touch /i-data/.system/zyxelFrameworkLog + chown nobody:nobody /i-data/.system/zyxelFrameworkLog + /bin/chmod 0777 /i-data/md0/.system/zyxelFrameworkLog + /bin/chmod -R 0777 /usr/local/apache/web_framework/data/cache /usr/local/apache/web_framework/data/config + /bin/rm -rf /usr/local/apache/web_framework/data/cache/* + [ -x /usr/sbin/httpd ] + ps + grep httpd + grep -v grep + [ 1 != 0 ] + /bin/echo Starting Web Server... Starting Web Server... + /bin/nice -n -2 /usr/sbin/httpd -f /etc/service_conf/httpd.conf Jan 1 00:05:32 (none) ntpdate[2316]: can't find host ntp2.cs.wisc.edu Jan 1 00:05:32 (none) ntpdate[2316]: no servers can be used, exiting Jan 1 00:05:32 (none) httpd[2314]: [warn] Init: Session Cache is not configured [hint: SSLSessionCache] Jan 1 00:05:32 (none) httpd[2314]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) Jan 1 00:05:32 (none) httpd[2314]: [warn] RSA server certificate CommonName (CN) `nas-server' does NOT match server name!? Jan 1 00:05:32 (none) httpd[2314]: [error] mod_auth_zyxel: initialized. + mkdir -p -m 777 /i-data/md0/.media + mkdir -p -m 777 /i-data/md0/.media/playlist + [ -f /usr/local/fileye/fileye.pyc ] + /bin/echo Starting fileye... Starting fileye... + /bin/nice -n 17 /usr/sbin/lld2d egiga0 + /bin/nice -n 19 python /usr/local/fileye/fileye.pyc -f /bin/nice: /usr/sbin/lld2d: No such file or directory + /bin/echo Starting app_wd... Starting app_wd... + /bin/nice -n 10 /usr/sbin/app_wd + [ -x /sbin/pwr_resume ] + zyshclient -p 150 -e pwron former [2327] [288] outfile=/tmp/zysh.client.2327.d [2327] server write-only FIFO is opened (fd=6) [2327] server read-only FIFO is opened (fd=7) [2327] server error read-only FIFO is opened (fd=8) argc = 2, func = 348 argid[1]: 1214; argv[1]: former + echo -1 POLLHUP on 7 pid = 2327 [2327] is disconnected + chmod 0777 /tmp/fwupgrade/fwlog + /bin/echo Starting LCD Client... Starting LCD Client... + python /sbin/LCDproc_Client.pyc + [ -n AB03 ] + [ AB03 == AB03 ] + setLED SYS BLUE ON + /bin/echo 1 1 1 + rm -rf /i-data/.zyxel/cgitmp + cat /etc/zyxel/zyfw/ac_status + status=enable + [ enable = enable ] + cat /etc/firmware_src_url + /usr/bin/zyfw_downloader ftp://nas-download:sEhtalr@download.medion.de/firmware FW_INFO.tgz 0 1 + exit 0 Please press Enter to activate this console. /usr/lib/python2.6/site-packages/flickrapi/__init__.py:45: DeprecationWarning: the md5 module is deprecated; use hashlib instead EXT2-fs error (device sda1): ext2_lookup: deleted inode referenced: 73457 Jan 1 00:05:35 (none) httpd[2318]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) Jan 1 00:05:35 (none) httpd[2318]: [warn] RSA server certificate CommonName (CN) `nas-server' does NOT match server name!? Jan 1 00:05:35 (none) httpd[2318]: [error] mod_auth_zyxel: initialized. EXT2-fs error (device sda1): ext2_lookup: deleted inode referenced: 73457 EXT2-fs error (device sda1): ext2_lookup: deleted inode referenced: 73457 Jan 1 00:05:39 (none) zcip: init egiga0 Jan 1 00:05:39 (none) zcip: start, interface egiga0 Jan 1 00:05:43 (none) mt-daapd[2457]: Config entry general/playlist is deprecated. Please review the sample config Jan 1 00:05:43 (none) mt-daapd[2457]: Firefly Version svn-1696: Starting with debuglevel 2 Jan 1 00:05:43 (none) mt-daapd[2457]: Error opening plugin dir /usr/lib/firefly/plugins. Ignoring Jan 1 00:05:43 (none) mt-daapd[2457]: Error opening plugin dir /usr/lib/mt-daapd/plugins. Ignoring Jan 1 00:05:43 (none) mt-daapd[2457]: Error opening plugin dir /lib/mt-daapd/plugins. Ignoring Jan 1 00:05:43 (none) mt-daapd[2457]: Error opening plugin dir /lib/mt-daapd/plugins. Ignoring Jan 1 00:05:43 (none) mt-daapd[2457]: Error loading plugin /usr/local/lib/mt-daapd/plugins/ssc-script.so: plugin declined to load Jan 1 00:05:43 (none) mt-daapd[2457]: Plugin loaded: daap/svn-1696 Jan 1 00:05:43 (none) mt-daapd[2457]: Plugin loaded: rsp/svn-1696 Jan 1 00:05:43 (none) mt-daapd[2457]: Starting rendezvous daemon Jan 1 00:05:43 (none) mt-daapd[2457]: Starting signal handler Jan 1 00:05:43 (none) mt-daapd[2461]: Error: enum_begin failed (error 1): Misc SQL Error: no such table: config Jan 1 00:05:43 (none) mt-daapd[2461]: Can't get db version. New database? Jan 1 00:05:43 (none) mt-daapd[2461]: Initializing database Jan 1 00:05:43 (none) mt-daapd[2461]: Error: enum_begin failed (error 1): ? Jan 1 00:05:43 (none) mt-daapd[2461]: Error: enum_begin failed (error 1): ? Jan 1 00:05:43 (none) mt-daapd[2461]: Full reload... Jan 1 00:05:45 (none) mt-daapd[2461]: Starting mp3 scan Jan 1 00:05:45 (none) mt-daapd[2461]: Starting playlist scan Jan 1 00:05:46 (none) mt-daapd[2461]: Updating playlists Jan 1 00:05:46 (none) mt-daapd[2461]: Scanned 0 songs in 1 seconds Jan 1 00:05:46 (none) mt-daapd[2461]: Starting web server from /usr/local/apache/htdocs/adv, on port 3689 Jan 1 00:05:46 (none) mt-daapd[2461]: Registering rendezvous names Jan 1 00:05:46 (none) mt-daapd[2461]: Serving 0 songs. Startup complete in 1 seconds Jan 1 00:05:50 (none) zcip: config egiga0 169.254.141.6 Jan 1 00:05:50 (none) linuxrc: starting pid 2345, tty '': '-/bin/sh' BusyBox v1.17.2 (2012-02-03 17:38:03 CST) built-in shell (ash) Enter 'help' for a list of built-in commands. / # Jan 1 00:06:02 (none) ntpdate[2451]: can't find host tock.usno.navy.mil Jan 1 00:06:02 (none) ntpdate[2451]: no servers can be used, exiting Jan 1 00:06:14 (none) dhcpcd[2603]: timed out waiting for a valid DHCP server response Jan 1 00:06:24 (none) ntpdate[2579]: can't find host ntp3.cs.wisc.edu Jan 1 00:06:24 (none) ntpdate[2579]: no servers can be used, exiting


Stage-1 Bootloader Thu Nov 24 19:20:59 CST 2011 Attempting to set PLLA to 750MHz ... plla_ctrl0 : 0x0000000A plla_ctrl1 : 0x000F0000 plla_ctrl2 : 0x001D01A0 plla_ctrl3 : 0x00000017 PLLA Set Setup memory, testing, Image 0 Hdr len: 0x0001A94C Hdr CRC: 0xF0019DAC OK U-Boot 1.1.2 (Jun 24 2011 - 09:41:57) U-Boot code: 60D00000 -> 60D1A94C BSS: -> 60D1F004 RAM Configuration: Bank #0: 60000000 128 MB SRAM Configuration: 64KB at 0x50000000 NAND:128 MiB In: serial Out: serial Err: serial Setting Linux mem= boot arg value Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x440000, size 0x90000 589824 bytes read: OK ## Starting application at 0x64000000 ... U-Boot 2014.04 (May 20 2014 - 19:17:12) for OXNAS DRAM: 128 MiB NAND: 128 MiB UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 UBI: attached mtd1 to ubi0 UBI: MTD device name: "mtd=1" UBI: MTD device size: 114 MiB UBI: number of good PEBs: 912 UBI: number of bad PEBs: 0 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 5 UBI: available PEBs: 11 UBI: total number of reserved PEBs: 901 UBI: number of PEBs reserved for bad PEB handling: 9 UBI: max/mean erase counter: 17/4 In: serial Out: serial Err: serial Net: dwmac.40400000 Warning: failed to set MAC address Hit any key to stop autoboot: 0 Read 0 bytes from volume kernel to 62000000 No size specified -> Using max size (1806336) ## Loading kernel from FIT Image at 62000000 ... Using 'config@1' configuration Trying 'kernel@1' kernel subimage Description: ARM OpenWrt Linux-3.14.4 Type: Kernel Image Compression: uncompressed Data Start: 0x620000e4 Data Size: 1700152 Bytes = 1.6 MiB Architecture: ARM OS: Linux Load Address: 0x60008000 Entry Point: 0x60008000 Hash algo: crc32 Hash value: dbd7efcd Hash algo: sha1 Hash value: d057ca1dd0d0b9d999d83f4baebaa1d0661c00c1 Verifying Hash Integrity ... crc32+ sha1+ OK ## Loading fdt from FIT Image at 62000000 ... Using 'config@1' configuration Trying 'fdt@1' fdt subimage Description: ARM OpenWrt stg212 device tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x6219f34c Data Size: 7190 Bytes = 7 KiB Architecture: ARM Hash algo: crc32 Hash value: cf48235d Hash algo: sha1 Hash value: a4a5e493bff7ea3244456df27cb33a1a947c5daf Verifying Hash Integrity ... crc32+ sha1+ OK Booting using the fdt blob at 0x6219f34c Loading Kernel Image ... OK Loading Device Tree to 67e1e000, end 67e22c15 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.14.4 (daniel@earthship) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r40769) ) #1 SMP Tue May 20 19:20:14 CEST 2014 [ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: MitraStar Technology Corp. STG-212 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map [ 0.000000] PERCPU: Embedded 7 pages/cpu @c7ee5000 s7808 r8192 d12672 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk=serial [ 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: 125100K/131072K available (3306K kernel code, 146K rwdata, 904K rodata, 163K init, 207K bss, 5972K reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xc8800000 - 0xff000000 ( 872 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0424b4c (4211 kB) [ 0.000000] .init : 0xc0425000 - 0xc044de80 ( 164 kB) [ 0.000000] .data : 0xc044e000 - 0xc0472a98 ( 147 kB) [ 0.000000] .bss : 0xc0472a98 - 0xc04a6820 ( 208 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:160 [ 0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 42949670400ns [ 0.000212] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992) [ 0.069944] pid_max: default: 32768 minimum: 301 [ 0.070202] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.070223] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.072501] CPU: Testing write buffer coherency: ok [ 0.072926] Setting up static identity map for 0x60012190 - 0x600121c8 [ 0.075010] CPU1: Booted secondary processor [ 0.140241] Brought up 2 CPUs [ 0.140264] SMP: Total of 2 processors activated. [ 0.144476] pinctrl core: initialized pinctrl subsystem [ 0.145239] NET: Registered protocol family 16 [ 0.145745] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.147732] cpuidle: using governor ladder [ 0.147758] cpuidle: using governor menu [ 0.158284] gpio-oxnas 44000000.gpio: at address c8846000 [ 0.158868] gpio-oxnas 44100000.gpio: at address c8848000 [ 0.159669] pinctrl-oxnas pinctrl.5: initialized OX820 pinctrl driver [ 0.185274] bio: create slab <bio-0> at 0 [ 0.188444] SCSI subsystem initialized [ 0.191214] usbcore: registered new interface driver usbfs [ 0.191554] usbcore: registered new interface driver hub [ 0.191976] usbcore: registered new device driver usb [ 0.192747] pps_core: LinuxPPS API ver. 1 registered [ 0.192768] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.193029] PTP clock support registered [ 0.195276] Switched to clocksource rps_clocksource_timer [ 0.199779] NET: Registered protocol family 2 [ 0.200573] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.200619] TCP bind hash table entries: 1024 (order: 1, 8192 bytes) [ 0.200655] TCP: Hash tables configured (established 1024 bind 1024) [ 0.200739] TCP: reno registered [ 0.200765] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.200806] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.201128] NET: Registered protocol family 1 [ 0.204236] futex hash table entries: 512 (order: 2, 16384 bytes) [ 0.206149] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.206182] msgmni has been set to 244 [ 0.207075] io scheduler noop registered [ 0.207096] io scheduler deadline registered (default) [ 0.209090] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.211353] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A [ 0.604185] console [ttyS0] enabled [ 0.891356] scsi0 : sata_oxnas [ 0.951375] ata1: SATA max UDMA/133 irq 50 [ 0.955727] ox820sata: reseting SATA core [ 0.962708] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1 [ 0.969059] nand: Hynix H27U1G8F2BTR-BC [ 0.972940] nand: 128MiB, SLC, page size: 2048, OOB size: 64 [ 0.978590] Scanning device for bad blocks [ 1.066567] 2 ofpart partitions found on MTD device 41000000.nand [ 1.072698] Creating 2 MTD partitions on "41000000.nand": [ 1.078080] 0x000000000000-0x000000e00000 : "boot" [ 1.085204] 0x000000e00000-0x000008000000 : "data" [ 1.094778] stmmaceth 40400000.ethernet: no reset control found [ 1.100779] stmmac - user ID: 0x12, Synopsys ID: 0x35 [ 1.105804] Ring mode enabled [ 1.108838] DMA HW capability register supported [ 1.113367] Enhanced/Alternate descriptors [ 1.117703] Enabled extended descriptors [ 1.121707] RX Checksum Offload Engine supported (type 2) [ 1.127162] TX Checksum insertion supported [ 1.131425] Wake-Up On Lan supported [ 1.135065] Enable RX Mitigation via HW Watchdog Timer [ 1.145121] libphy: stmmac: probed [ 1.148531] eth0: PHY ID 001cc915 at 0 IRQ 0 (stmmac-0:00) active [ 1.154644] eth0: PHY ID 001cc915 at 7 IRQ 0 (stmmac-0:07) [ 1.160706] TCP: cubic registered [ 1.164014] NET: Registered protocol family 17 [ 1.168532] 8021q: 802.1Q VLAN Support v1.8 [ 1.175987] UBI: auto-attach mtd1 [ 1.179294] UBI: attaching mtd1 to ubi0 [ 1.341148] UBI: scanning is finished [ 1.356971] UBI: attached mtd1 (name "data", size 114 MiB) to ubi0 [ 1.363179] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes [ 1.369935] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512 [ 1.376550] UBI: VID header offset: 512 (aligned 512), data offset: 2048 [ 1.383239] UBI: good PEBs: 912, bad PEBs: 0, corrupted PEBs: 0 [ 1.389132] UBI: user volume: 5, internal volumes: 1, max. volumes count: 128 [ 1.396252] UBI: max/mean erase counter: 17/4, WL threshold: 4096, image sequence number: 653828822 [ 1.405273] UBI: available PEBs: 0, total reserved PEBs: 912, PEBs reserved for bad PEB handling: 20 [ 1.414745] UBI: background thread "ubi_bgt0d" started, PID 280 [ 1.415910] UBI: ubiblock0_3 created from ubi0:3(rootfs) [ 1.415918] ubiblock: device ubiblock0_3 (rootfs) set to be root filesystem [ 1.415928] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 1.475130] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 1.481971] ata1.00: ATA-8: ST2000DM001-1CH164, CC44, max UDMA/133 [ 1.488138] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 0/32) [ 1.500920] ata1.00: configured for UDMA/133 [ 1.505766] scsi 0:0:0:0: Direct-Access ATA ST2000DM001-1CH1 CC44 PQ: 0 ANSI: 5 [ 1.516170] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB) [ 1.523939] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 1.529789] sd 0:0:0:0: [sda] Write Protect is off [ 1.534883] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 1.568483] sda: sda1 sda2 [ 1.573918] sd 0:0:0:0: [sda] Attached SCSI disk [ 1.586170] VFS: Mounted root (squashfs filesystem) readonly on device 254:3. [ 1.593605] Freeing unused kernel memory: 160K (c0425000 - c044d000) procd: Console is alive procd: - preinit - [ 2.342686] Button Hotplug driver version 0.4.1 [ 2.349880] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.357765] ehci-platform: EHCI generic platform driver [ 2.365629] oxnas-ehci 40200100.ehci: EHCI Host Controller [ 2.371243] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1 [ 2.379059] oxnas-ehci 40200100.ehci: irq 39, io mem 0x40200100 [ 2.400084] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00 [ 2.409448] hub 1-0:1.0: USB hub found [ 2.413411] hub 1-0:1.0: 2 ports detected [ 2.414950] random: mktemp urandom read with 24 bits of entropy available [ 2.434071] input: gpio-keys-polled.6 as /devices/gpio-keys-polled.6/input/input0 Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level sh: write error: Invalid argument kmod: ran 1 iterations block: extroot: unable to locate rootfs mtdblock [ 5.819776] UBIFS: default file-system created [ 5.843527] UBIFS: background thread "ubifs_bgt0_4" started, PID 343 [ 5.892357] UBIFS: mounted UBI device 0, volume 4, name "rootfs_data" [ 5.898777] UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 5.907911] UBIFS: FS size: 106831872 bytes (101 MiB, 828 LEBs), journal size 5289984 bytes (5 MiB, 41 LEBs) [ 5.917708] UBIFS: reserved for root: 4952683 bytes (4836 KiB) [ 5.923535] UBIFS: media format: w4/r0 (latest is w4/r0), UUID A869BC61-2086-4A4F-8868-96B4C136DFAB, small LPT model switching to overlay procd: - early - procd: - ubus - procd: - init - Please press Enter to activate this console. [ 7.148006] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com [ 10.971489] eth0: device MAC address 66:c3:aa:fb:43:47 [ 10.986188] device eth0 entered promiscuous mode [ 11.000455] br-lan: port 1(eth0) entered forwarding state [ 11.005898] br-lan: port 1(eth0) entered forwarding state procd: - init complete - [ 12.970173] libphy: stmmac-0:00 - Link is Up - 1000/Full [ 13.000002] br-lan: port 1(eth0) entered forwarding state BusyBox v1.19.4 (2014-05-20 17:10:05 CEST) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- BARRIER BREAKER (Bleeding Edge, r40804) ----------------------------------------------------- * 1/2 oz Galliano Pour all ingredients into * 4 oz cold Coffee an irish coffee mug filled * 1 1/2 oz Dark Rum with crushed ice. Stir. * 2 tsp. Creme de Cacao ----------------------------------------------------- root@OpenWrt:/# cat /proc/cpuinfo [ 40.824079] random: nonblocking pool is initialized processor : 0 model name : ARMv6-compatible processor rev 5 (v6l) Features : swp half thumb fastmult edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb02 CPU revision : 5 processor : 1 model name : ARMv6-compatible processor rev 5 (v6l) Features : swp half thumb fastmult edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb02 CPU revision : 5 Hardware : PLXTECH NAS782X SoC (Flattened Device Tree) Revision : 0000 Serial : 0000000000000000 root@OpenWrt:/# df -h Filesystem Size Used Available Use% Mounted on rootfs 95.1M 40.0K 90.4M 0% / /dev/root 2.0M 2.0M 0 100% /rom tmpfs 61.2M 28.0K 61.1M 0% /tmp /dev/ubi0_4 95.1M 40.0K 90.4M 0% /overlay overlayfs:/overlay 95.1M 40.0K 90.4M 0% / tmpfs 512.0K 0 512.0K 0% /dev root@OpenWrt:/# mount rootfs on / type rootfs (rw) /dev/root on /rom type squashfs (ro,relatime) proc on /proc type proc (rw,noatime) sysfs on /sys type sysfs (rw,noatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime) /dev/ubi0_4 on /overlay type ubifs (rw,noatime) overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay) tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755) devpts on /dev/pts type devpts (rw,relatime,mode=600) debugfs on /sys/kernel/debug type debugfs (rw,noatime) root@OpenWrt:/#



This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/02/14 11:19
  • by jow