Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

NSA 325 v2 bricked (no replies)

$
0
0
My NSA325v2 is bricked

No network and only frontusb is working after boot, before starting kernel networks seems to be OK.

Restarting system.
Reseting !! 
ü
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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 0x4640000.

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 0x4640000, size 0xa00000


Reading data from 0x4640000 --   0% complete.
Reading data from 0x4659800 --   1% complete.
Reading data from 0x4673000 --   2% complete.
Reading data from 0x468c800 --   3% complete.
Reading data from 0x46a6000 --   4% complete.
Reading data from 0x46bf800 --   5% complete.
Reading data from 0x46d9800 --   6% complete.
Reading data from 0x46f3000 --   7% complete.
Reading data from 0x470c800 --   8% complete.
Reading data from 0x4726000 --   9% complete.
Reading data from 0x473f800 --  10% complete.
Reading data from 0x4759800 --  11% complete.
Reading data from 0x4773000 --  12% complete.
Reading data from 0x478c800 --  13% complete.
Reading data from 0x47a6000 --  14% complete.
Reading data from 0x47bf800 --  15% complete.
Reading data from 0x47d9800 --  16% complete.
Reading data from 0x47f3000 --  17% complete.
Reading data from 0x480c800 --  18% complete.
Reading data from 0x4826000 --  19% complete.
Reading data from 0x483f800 --  20% complete.
Reading data from 0x4859800 --  21% complete.
Reading data from 0x4873000 --  22% complete.
Reading data from 0x488c800 --  23% complete.
Reading data from 0x48a6000 --  24% complete.
Reading data from 0x48bf800 --  25% complete.
Reading data from 0x48d9800 --  26% complete.
Reading data from 0x48f3000 --  27% complete.
Reading data from 0x490c800 --  28% complete.
Reading data from 0x4926000 --  29% complete.
Reading data from 0x493f800 --  30% complete.
Reading data from 0x4959800 --  31% complete.
Reading data from 0x4973000 --  32% complete.
Reading data from 0x498c800 --  33% complete.
Reading data from 0x49a6000 --  34% complete.
Reading data from 0x49bf800 --  35% complete.
Reading data from 0x49d9800 --  36% complete.
Reading data from 0x49f3000 --  37% complete.
Reading data from 0x4a0c800 --  38% complete.
Reading data from 0x4a26000 --  39% complete.
Reading data from 0x4a3f800 --  40% complete.
Reading data from 0x4a59800 --  41% complete.
Reading data from 0x4a73000 --  42% complete.
Reading data from 0x4a8c800 --  43% complete.
Reading data from 0x4aa6000 --  44% complete.
Reading data from 0x4abf800 --  45% complete.
Reading data from 0x4ad9800 --  46% complete.
Reading data from 0x4af3000 --  47% complete.
Reading data from 0x4b0c800 --  48% complete.
Reading data from 0x4b26000 --  49% complete.
Reading data from 0x4b3f800 --  50% complete.
Reading data from 0x4b59800 --  51% complete.
Reading data from 0x4b73000 --  52% complete.
Reading data from 0x4b8c800 --  53% complete.
Reading data from 0x4ba6000 --  54% complete.
Reading data from 0x4bbf800 --  55% complete.
Reading data from 0x4bd9800 --  56% complete.
Reading data from 0x4bf3000 --  57% complete.
Reading data from 0x4c0c800 --  58% complete.
Reading data from 0x4c26000 --  59% complete.
Reading data from 0x4c3f800 --  60% complete.
Reading data from 0x4c59800 --  61% complete.
Reading data from 0x4c73000 --  62% complete.
Reading data from 0x4c8c800 --  63% complete.
Reading data from 0x4ca6000 --  64% complete.
Reading data from 0x4cbf800 --  65% complete.
Reading data from 0x4cd9800 --  66% complete.
Reading data from 0x4cf3000 --  67% complete.
Reading data from 0x4d0c800 --  68% complete.
Reading data from 0x4d26000 --  69% complete.
Reading data from 0x4d3f800 --  70% complete.
Reading data from 0x4d59800 --  71% complete.
Reading data from 0x4d73000 --  72% complete.
Reading data from 0x4d8c800 --  73% complete.
Reading data from 0x4da6000 --  74% complete.
Reading data from 0x4dbf800 --  75% complete.
Reading data from 0x4dd9800 --  76% complete.
Reading data from 0x4df3000 --  77% complete.
Reading data from 0x4e0c800 --  78% complete.
Reading data from 0x4e26000 --  79% complete.
Reading data from 0x4e3f800 --  80% complete.
Reading data from 0x4e59800 --  81% complete.
Reading data from 0x4e73000 --  82% complete.
Reading data from 0x4e8c800 --  83% complete.
Reading data from 0x4ea6000 --  84% complete.
Reading data from 0x4ebf800 --  85% complete.
Reading data from 0x4ed9800 --  86% complete.
Reading data from 0x4ef3000 --  87% complete.
Reading data from 0x4f0c800 --  88% complete.
Reading data from 0x4f26000 --  89% complete.
Reading data from 0x4f3f800 --  90% complete.
Reading data from 0x4f59800 --  91% complete.
Reading data from 0x4f73000 --  92% complete.
Reading data from 0x4f8c800 --  93% complete.
Reading data from 0x4fa6000 --  94% complete.
Reading data from 0x4fbf800 --  95% complete.
Reading data from 0x4fd9800 --  96% complete.
Reading data from 0x4ff3000 --  97% complete.
Reading data from 0x500c800 --  98% complete.
Reading data from 0x5026000 --  99% complete.
Reading data from 0x503f800 -- 100% complete.
 10485760 bytes read: OK
## Booting image at 02000000 ...
   Image Name:   Linux-2.6.31.8
   Created:      2015-05-15   4:20:19 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5796192 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 May 15 12:20:01 CST 2015
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: low voltage detected, date/time is not reliable.
rtc-pcf8563 0-0051: retrieved date/time is not valid.
rtc-pcf8563 0-0051: hctosys: invalid date/time
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
eth0: mac address changed
egiga0: started
ADDRCONF(NETDEV_UP): egiga0: link is not ready
rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
rtc-pcf8563 0-0051: retrieved date/time is not valid.
?[031m*** Stage 2: Prepare the root file system ***?[0m
?[033mMount system partition...?[0m
yaffs: dev is 32505864 name is "mtdblock8" ro
yaffs: passed flags ""
storage_gen_mntfw.sh: no internal disk available
1
WARNING: No valid partition on HDD or no HDD plugged!
WARNING: No valid partition on HDD or no HDD plugged
Boot from RAM disk
usb 1-1: device descriptor read/64, error -110
?[033mMount system disk image ...?[0m
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
/etc/zyxel/conf does not exist.. recoverying /etc/zyxel..
rm: can't remove '/etc/zyxel/lost+found': Directory not empty
Umount /etc/zyxel
flash_eraseall mtd4

Erasing 128 Kibyte @ 0 --  0 % complete.
Erasing 128 Kibyte @ 20000 --  1 % complete.
Erasing 128 Kibyte @ 40000 --  2 % complete.
Erasing 128 Kibyte @ 60000 --  3 % complete.
Erasing 128 Kibyte @ 80000 --  5 % complete.
Erasing 128 Kibyte @ a0000 --  6 % complete.
Erasing 128 Kibyte @ c0000 --  7 % complete.
Erasing 128 Kibyte @ e0000 --  8 % complete.
Erasing 128 Kibyte @ 100000 -- 10 % complete.
Erasing 128 Kibyte @ 120000 -- 11 % complete.
Erasing 128 Kibyte @ 140000 -- 12 % complete.
Erasing 128 Kibyte @ 160000 -- 13 % complete.
Erasing 128 Kibyte @ 180000 -- 15 % complete.
Erasing 128 Kibyte @ 1a0000 -- 16 % complete.
Erasing 128 Kibyte @ 1cyaffs: dev is 32505860 name is "mtdblock4" rw
0000 -- 17 % comyaffs: passed flags ""
plete.
Erasing 128 Kibyte @ 1e0000 -- 18 % complete.
Erasing 128 Kibyte @ 200000 -- 20 % complete.
Erasing 128 Kibyte @ 220000 -- 21 % complete.
Erasing 128 Kibyte @ 240000 -- 22 % complete.
Erasing 128 Kibyte @ 260000 -- 23 % complete.
Erasing 128 Kibyte @ 280000 -- 25 % complete.
Erasing 128 Kibyte @ 2a0000 -- 26 % complete.
Erasing 128 Kibyte @ 2c0000 -- 27 % complete.
Erasing 128 Kibyte @ 2e0000 -- 28 % complete.
Erasing 128 Kibyte @ 300000 -- 30 % complete.
Erasing 128 Kibyte @ 320000 -- 31 % complete.
Erasing 128 Kibyte @ 340000 -- 32 % complete.
Erasing 128 Kibyte @ 360000 -- 33 % complete.
Erasing 128 Kibyte @ 380000 -- 35 % complete.
Erasing 128 Kibyte @ 3a0000 -- 36 % complete.
Erasing 128 Kibyte @ 3c0000 -- 37 % complete.
Erasing 128 Kibyte @ 3e0000 -- 38 % complete.
Erasing 128 Kibyte @ 400000 -- 40 % complete.
Erasing 128 Kibyte @ 420000 -- 41 % complete.
Erasing 128 Kibyte @ 440000 -- 42 % complete.
Erasing 128 Kibyte @ 460000 -- 43 % complete.
Erasing 128 Kibyte @ 480000 -- 45 % complete.
Erasing 128 Kibyte @ 4a0000 -- 46 % complete.
Erasing 128 Kibyte @ 4c0000 -- 47 % complete.
Erasing 128 Kibyte @ 4e0000 -- 48 % complete.
Erasing 128 Kibyte @ 500000 -- 50 % complete.
Erasing 128 Kibyte @ 520000 -- 51 % complete.
Erasing 128 Kibyte @ 540000 -- 52 % complete.
Erasing 128 Kibyte @ 560000 -- 53 % complete.
Erasing 128 Kibyte @ 580000 -- 55 % complete.
Erasing 128 Kibyte @ 5a0000 -- 56 % complete.
Erasing 128 Kibyte @ 5c0000 -- 57 % complete.
Erasing 128 Kibyte @ 5e0000 -- 58 % complete.
Erasing 128 Kibyte @ 600000 -- 60 % complete.
Erasing 128 Kibyte @ 620000 -- 61 % complete.
Erasing 128 Kibyte @ 640000 -- 62 % complete.
Erasing 128 Kibyte @ 660000 -- 63 % complete.
Erasing 128 Kibyte @ 680000 -- 65 % complete.
Erasing 128 Kibyte @ 6a0000 -- 66 % complete.
Erasing 128 Kibyte @ 6c0000 -- 67 % complete.
Erasing 128 Kibyte @ 6e0000 -- 68 % complete.
Erasing 128 Kibyte @ 700000 -- 70 % complete.
Erasing 128 Kibyte @ 720000 -- 71 % complete.
Erasing 128 Kibyte @ 740000 -- 72 % complete.
Erasing 128 Kibyte @ 760000 -- 73 % complete.
Erasing 128 Kibyte @ 780000 -- 75 % complete.
Erasing 128 Kibyte @ 7a0000 -- 76 % complete.
Erasing 128 Kibyte @ 7c0000 -- 77 % complete.
Erasing 128 Kibyte @ 7e0000 -- 78 % complete.
Erasing 128 Kibyte @ 800000 -- 80 % complete.
Erasing 128 Kibyte @ 820000 -- 81 % complete.
Erasing 128 Kibyte @ 840000 -- 82 % complete.
Erasing 128 Kibyte @ 860000 -- 83 % complete.
Erasing 128 Kibyte @ 880000 -- 85 % complete.
Erasing 128 Kibyte @ 8a0000 -- 86 % complete.
Erasing 128 Kibyte @ 8c0000 -- 87 % complete.
Erasing 128 Kibyte @ 8e0000 -- 88 % complete.
Erasing 128 Kibyte @ 900000 -- 90 % complete.
Erasing 128 Kibyte @ 920000 -- 91 % complete.
Erasing 128 Kibyte @ 940000 -- 92 % complete.
Erasing 128 Kibyte @ 960000 -- 93 % complete.
Erasing 128 Kibyte @ 980000 -- 95 % complete.
Erasing 128 Kibyte @ 9a0000 -- 96 % complete.
Erasing 128 Kibyte @ 9c0000 -- 97 % complete.
Erasing 128 Kibyte @ 9e0000 -- 98 % complete.
Mount /etc/zyxel back
/etc/init.d/rcS: line 420: can't create /sys/block/sda/queue/read_ahead_kb: nonexistent directory
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
usb 1-1: device descriptor read/64, error -110
In hub_port_init, and number is 0, retry 0, port 1 .....
usb 1-1: new high speed USB device using ehci_marvell and address 3

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: 11:28:55 May 15 2015)
% 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
Dec  4 01:20:19 (none) syslog-ng[1334]: 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 (2015-05-15 11:23:13 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
Generating a 1024 bit RSA private key
...++++++
....................++++++
writing new private key to '/etc/zyxel/cert/key/default_key.cer'
-----
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
usb 1-1: device descriptor read/64, error -110
Assemble volume....
[1383] server write-only FIFO is opened (fd=6)
[1383] server read-only FIFO is opened (fd=7)
[1383] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 280
 Startup config
POLLHUP on 7
  pid = 1383
[1383] is disconnected
[1521] server write-only FIFO is opened (fd=6)
[1521] server read-only FIFO is opened (fd=7)
[1521] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 14
argc = 1,  func = 17
argc = 2,  func = 105
argid[1]: 1087; argv[1]: ge1
argc = 5,  func = 108
argid[1]: 1087; argv[1]: ge1
argid[2]: 313; argv[2]: ip
argid[3]: 434; argv[3]: address
argid[4]: 539; argv[4]: dhcp
killall: httpd: no process killed
Dec  4 01:20:25 (none) httpd[1529]: [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Dec  4 01:20:25 (none) httpd[1529]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Dec  4 01:20:25 (none) httpd[1529]: [warn] RSA server certificate CommonName (CN) `NSA325-v2' does NOT match server name!?
Dec  4 01:20:25 (none) httpd[1529]: [error] mod_auth_zyxel: initialized.
argc = 3,  func = 106
argid[1]: 1087; argv[1]: ge1
argid[2]: 350; argv[2]: exit
argc = 2,  func = 444
argid[1]: 1080; argv[1]: 192.168.1.1
argc = 3,  func = 446
argid[1]: 879; argv[1]: fetch
argid[2]: 632; argv[2]: auto
Dec  4 01:20:26 (none) httpd[1530]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Dec  4 01:20:26 (none) httpd[1530]: [warn] RSA server certificate CommonName (CN) `NSA325-v2' does NOT match server name!?
Dec  4 01:20:26 (none) httpd[1530]: [error] mod_auth_zyxel: initialized.
/bin/rm -f /var/zyxel/zysh/egiga0.metric
/bin/ip route del default via 0.0.0.0 dev egiga0
RTNETLINK answers: No such process
[1536] server write-only FIFO is opened (fd=9)
[1536] server read-only FIFO is opened (fd=10)
[1536] server error read-only FIFO is opened (fd=11)
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 = 1,  func = 445
POLLHUP on 10
  pid = 1536
[1536] is disconnected
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 = 1,  func = 72
/usr/sbin/ntpdate_agent 
argc = 2,  func = 68
argid[1]: 1079; argv[1]: time.stdtime.gov.tw
argc = 2,  func = 60
argid[1]: 1130; argv[1]: +0800
/usr/sbin/zic -d /etc /var/zyxel/myzone_rule
/bin/ln -s -f /etc/MyZone /etc/localtime
Dec  4 09:20:30 (none) ntpdate[1588]: can't find host time.stdtime.gov.tw
Dec  4 09:20:30 (none) ntpdate[1588]: no servers can be used, exiting
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 (2015-05-15 11:23:13 CST) multi-call binary.

Usage: rmdir [OPTIONS] DIRECTORY...

argc = 4,  func = 414
argid[1]: 1250; argv[1]: yes
argid[2]: 1251; argv[2]: yes
argid[3]: 1252; argv[3]: yes
Dec  4 09:20:33 (none) dhcpcd[1571]: timed out waiting for a valid DHCP server response
argc = 2,  func DisablePowerSaving
= 147
argid[1]:TimerState = 0
 1155; argv[1]: EnablePowerSaving 
15
PowerSavingTime = 15
No found HD
test0
Test1
Test2
Test3:
argc = 2,  func = 161
argid[1]: 1160; argv[1]: g
exec_cmd complete
eth status = g 
ethtest0
Test1
Test2
Test3:
argc = 2,  func = 676
argid[1]: 1087; argv[1]: ge1
Dec  4 09:20:34 (none) ntpdate[1741]: can't find host ntp1.cs.wisc.edu
Dec  4 09:20:34 (none) ntpdate[1741]: no servers can be used, exiting
Dec  4 09:20:34 (none) httpd[1739]: [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Dec  4 09:20:34 (none) httpd[1739]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Dec  4 09:20:34 (none) httpd[1739]: [warn] RSA server certificate CommonName (CN) `NSA325-v2' does NOT match server name!?
Dec  4 09:20:34 (none) httpd[1739]: [error] mod_auth_zyxel: initialized.
argc = 2,  func = 163
argid[1]: 1161; argv[1]: enable
argc = 2,  func = 18
argid[1]: 350; argv[1]: exit
argc = 1,  func = 20
POLLHUP on 7
  pid = 1521
[1521] is disconnected
Dec  4 09:20:37 (none) httpd[1754]: [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Dec  4 09:20:37 (none) httpd[1754]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Dec  4 09:20:37 (none) httpd[1754]: [warn] RSA server certificate CommonName (CN) `NSA325-v2' does NOT match server name!?
Dec  4 09:20:37 (none) httpd[1754]: [error] mod_auth_zyxel: initialized.
configure terminal ip smb internal disable "/i-data/md0"
[1762] server write-only FIFO is opened (fd=6)
[1762] server read-only FIFO is opened (fd=7)
[1762] server error read-only FIFO is opened (fd=8)
argc = 4,  func = 184
argid[1]: 634; argv[1]: internal
argid[2]: 303; argv[2]: disable
argid[3]: 1183; argv[3]: "/i-data/md0"
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.
RegenSmbConfigFile:2203 Close file ok
no such autosata.
Error happens when deleting autosata.
POLLHUP on 7
  pid = 1762
[1762] is disconnected
configure terminal ip smb internal disable "/i-data/md1"
[1767] server write-only FIFO is opened (fd=6)
[1767] server read-only FIFO is opened (fd=7)
[1767] server error read-only FIFO is opened (fd=8)
argc = 4,  func = 184
argid[1]: 634; argv[1]: internal
argid[2]: 303; argv[2]: disable
argid[3]: 1183; argv[3]: "/i-data/md1"
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.
RegenSmbConfigFile:2203 Close file ok
no such autosata.
Error happens when deleting autosata.
POLLHUP on 7
  pid = 1767
[1767] is disconnected
Dec  4 09:20:38 (none) httpd[1755]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Dec  4 09:20:38 (none) httpd[1755]: [warn] RSA server certificate CommonName (CN) `NSA325-v2' does NOT match server name!?
Dec  4 09:20:38 (none) httpd[1755]: [error] mod_auth_zyxel: initialized.
usb 1-1: device descriptor read/64, error -110
In hub_port_init, and number is 0, retry 1, port 1 .....
usb 1-1: new high speed USB device using ehci_marvell and address 4
Dec  4 09:20:42 (none) ntpdate[1798]: can't find host ntp1.gbg.netnod.se
Dec  4 09:20:42 (none) ntpdate[1798]: no servers can be used, exiting
usb 1-1: device not accepting address 4, error -110
In hub_port_init, and number is 0, retry 2, port 1 .....
usb 1-1: new high speed USB device using ehci_marvell and address 5
Dec  4 09:20:50 (none) ntpdate[1801]: can't find host ntp2.cs.wisc.edu
Dec  4 09:20:50 (none) ntpdate[1801]: no servers can be used, exiting
Dec  4 09:20:57 (none) zcip: init egiga0
Dec  4 09:20:57 (none) zcip: start, interface egiga0
usb 1-1: device not accepting address 5, error -110
In hub_port_init, and number is 0, retry 3, port 1 .....
hub 1-0:1.0: unable to enumerate USB device on port 1
Starting smbd...
Starting nmbd...
Starting NSU Agent...
PCI: enabling device 0000:00:01.0 (0140 -> 0142)
xhci_hcd 0000:00:01.0: xHCI Host Controller
xhci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 2
xhci_hcd 0000:00:01.0: irq 9, io mem 0xe0000000
usb usb2: config 1 interface 0 altsetting 0 endpoint 0x81 has no SuperSpeed companion descriptor
usb usb2: configuration #1 chosen from 1 choice
hotplug918add:
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
hotplug919add:9
hotplug919add:[9/0/0]USB hub device:09h/xxh/xxh
Starting copy auto daylight saving tzfile to /i-data/md0/.system/ ...
cp -a /usr/local/zoneinfo /i-data/md0/.system/
cp: can't create directory '/i-data/md0/.system/': No such file or directory
storage_gen_swap.sh: not enough space to dd swap file
GMT offset=28800s
setting system time zone to tz_minuteswest=-480
mknod: /dev/btncpy: File exists
setLED COPY OFF
led_state_map_addr = 10
[2274] server write-only FIFO is opened (fd=6)
[2274] server read-only FIFO is opened (fd=7)
[2274] server error read-only FIFO is opened (fd=8)
argc = 2,  func = 351
argid[1]: 1226; argv[1]: former
Warning - readback failed
POLLHUP on 7
  pid = 2274
[2274] is disconnected
schedule_controller is already running now.
Starting "/etc/init.d/zypkg_controller.sh".
Starting to set up zy-pkgs environment ...
-> No volume exists now. zy-pkgs will not work.
sh: you need to specify whom to kill
Dec  4 09:21:01 (none) syslog-ng[1334]: Termination requested via signal, terminating;
Dec  4 09:21:01 (none) syslog-ng[1334]: syslog-ng shutting down; version='2.0.10'
rm: can't remove '/i-data/.system/dropbox/dropbox.enable': No such file or directory
mkdir: can't create directory '/i-data/.system/dropbox': No such file or directory
Dec  4 09:21:01 NSA325-v2 syslog-ng[2318]: syslog-ng starting up; version='2.0.10'
cp: can't create '/i-data/.system/dropbox/dropbox.db': No such file or directory
mkdir: can't create directory '/i-data/md0/.system/web_cache': No such file or directory
mount: special device /i-data/md0/.system/web_cache does not exist
chmod: /i-data/md0/.system/zyxelFrameworkLog: No such file or directory
chmod: /usr/local/apache/web_framework/data/cache: Read-only file system
chmod: /usr/local/apache/web_framework/data/cache: Read-only file system
Web Server already started.
mkdir: can't create directory '/i-data/md0/': No such file or directory
mkdir: can't create directory '/i-data/md0/': No such file or directory
Starting app_wd...
?[031m core_checksum ?[0m: 3f68d24c4d30c56ef86dd0808f89ec72
?[031m fwversion ?[0m: V4.80(AALS.0)C0
?[031m img_checksum ?[0m: 24c99d7e5313ccefa42942ee2ef043d7
?[031m modelid ?[0m: AE03
?[031m revision ?[0m: 46871
?[031m romfile_checksum ?[0m: 6613
?[031m zld_checksum ?[0m: b56a608539da559b33d27781c58ab2a9
GbE port 0: TxEnable WA - Enabled, deep=1, tx_en_bk=1

Update zypkg list
[2407] server write-only FIFO is opened (fd=6)
[2407] server read-only FIFO is opened (fd=7)
[2407] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 644
POLLHUP on 7
  pid = 2407
[2407] is disconnected
chmod: /i-data/md0/admin/zy-pkgs: No such file or directory
[2430] server write-only FIFO is opened (fd=6)
[2430] server read-only FIFO is opened (fd=7)
[2430] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 412
killall: twonkystarter: no process killed
/usr/lib/python2.6/site-packages/flickrapi/__init__.py:45: DeprecationWarning: the md5 module is deprecated; use hashlib instead
umount: /usr/local/apache/htdocs/adv,/res/imdb_poster: not mounted
Dec  4 09:21:08 NSA325-v2 zcip: config egiga0 169.254.157.149
Dec  4 09:21:08 NSA325-v2 zcip: script /usr/share/zcip.script config failed, exitcode=1
POLLHUP on 7
  pid = 2430
[2430] is disconnected
mdadm_status_log.sh: raid status = DeviceDisappeared
2462
led_state_map_addr = 46

Please press Enter to activate this console. mdadm_status_log.sh: raid mdx = /dev/md0
Dec  4 09:21:20 NSA325-v2 ntpdate[2047]: can't find host tock.usno.navy.mil
Dec  4 09:21:20 NSA325-v2 ntpdate[2047]: no servers can be used, exiting
Dec  4 09:21:32 NSA325-v2 dhcpcd[2485]: timed out waiting for a valid DHCP server response
Dec  4 09:21:42 NSA325-v2 ntpdate[2481]: can't find host ntp3.cs.wisc.edu
Dec  4 09:21:42 NSA325-v2 ntpdate[2481]: no servers can be used, exiting
egiga0: link up, full duplex, speed 100 Mbps
ADDRCONF(NETDEV_CHANGE): egiga0: link becomes ready
[2495] server write-only FIFO is opened (fd=6)
[2495] server read-only FIFO is opened (fd=7)
[2495] server error read-only FIFO is opened (fd=8)
argc = 3,  func = 106
argid[1]: 1087; argv[1]: ge1
argid[2]: 350; argv[2]: exit
POLLHUP on 7
  pid = 2495
[2495] is disconnected
[2500] server write-only FIFO is opened (fd=6)
[2500] server read-only FIFO is opened (fd=7)
[2500] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 445
POLLHUP on 7
  pid = 2500
[2500] is disconnected
[2505] server write-only FIFO is opened (fd=6)
[2505] server read-only FIFO is opened (fd=7)
[2505] server error read-only FIFO is opened (fd=8)
argc = 4,  func = 446
argid[1]: 879; argv[1]: fetch
argid[2]: 632; argv[2]: auto
argid[3]: 1087; argv[3]: ge1
Dec  4 09:21:46 NSA325-v2 ntpdate[2519]: can't find host ntp.cs.strath.ac.uk
Dec  4 09:21:46 NSA325-v2 ntpdate[2519]: no servers can be used, exiting
/bin/rm -f /var/zyxel/zysh/egiga0.metric
Dec  4 09:21:55 NSA325-v2 ntpdate[2526]: can't find host ntp1.sp.se
Dec  4 09:21:55 NSA325-v2 ntpdate[2526]: no servers can be used, exiting
/bin/ip route del default via 0.0.0.0 dev egiga0
RTNETLINK answers: No such process
Dec  4 09:21:58 NSA325-v2 ntpdate[2539]: can't find host time1.stupi.se
Dec  4 09:21:58 NSA325-v2 ntpdate[2539]: no servers can be used, exiting
POLLHUP on 7
  pid = 2505
[2505] is disconnected
[2546] server write-only FIFO is opened (fd=6)
[2546] server read-only FIFO is opened (fd=7)
[2546] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 141
POLLHUP on 7
  pid = 2546
[2546] is disconnected
Dec  4 09:22:01 NSA325-v2 dhcpcd[2537]: timed out waiting for a valid DHCP server response
Dec  4 09:22:04 NSA325-v2 ntpdate[2574]: can't find host tick.stdtime.gov.tw
Dec  4 09:22:04 NSA325-v2 ntpdate[2574]: no servers can be used, exiting
Dec  4 09:22:09 NSA325-v2 ntpdate[2577]: can't find host tock.stdtime.gov.tw
Dec  4 09:22:09 NSA325-v2 ntpdate[2577]: no servers can be used, exiting
egiga0: link down
egiga0: link up, full duplex, speed 100 Mbps
[2601] server write-only FIFO is opened (fd=6)
[2601] server read-only FIFO is opened (fd=7)
[2601] server error read-only FIFO is opened (fd=8)
argc = 3,  func = 106
argid[1]: 1087; argv[1]: ge1
argid[2]: 350; argv[2]: exit
POLLHUP on 7
  pid = 2601
[2601] is disconnected
[2606] server write-only FIFO is opened (fd=6)
[2606] server read-only FIFO is opened (fd=7)
[2606] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 445
POLLHUP on 7
  pid = 2606
[2606] is disconnected
[2611] server write-only FIFO is opened (fd=6)
[2611] server read-only FIFO is opened (fd=7)
[2611] server error read-only FIFO is opened (fd=8)
argc = 4,  func = 446
argid[1]: 879; argv[1]: fetch
argid[2]: 632; argv[2]: auto
argid[3]: 1087; argv[3]: ge1
/bin/rm -f /var/zyxel/zysh/egiga0.metric
/bin/ip route del default via 0.0.0.0 dev egiga0
POLLHUP on 7
  pid = 2611
[2611] is disconnected
[2638] server write-only FIFO is opened (fd=6)
[2638] server read-only FIFO is opened (fd=7)
[2638] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 141
POLLHUP on 7
  pid = 2638
[2638] is disconnected



BusyBox v1.17.2 (2015-05-15 11:23:13 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ # Dec  4 01:22:36 NSA325-v2 linuxrc: starting pid 2468, tty '': '-/bin/sh'
Dec  4 09:22:37 NSA325-v2 dhcpcd[2632]: timed out waiting for a valid DHCP server response
/bi
/ # /bin/?[J
-/bin/sh: /bin/: Permission denied
/ # ls
bin      etc      init     mnt      root     tmp      zyxel
dev      home     lib      proc     sbin     usr
e-data   i-data   linuxrc  ram_bin  sys      var
/ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
/ # 
/ # route?[J 0.0.0.0 192.168.1.??[J??[J10[2677] server write-only FIFO is opened (fd=6)
[2677] server read-only FIFO is opened (fd=7)
[2677] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 70
POLLHUP on 7
  pid = 2677
[2677] is disconnected
[2682] server write-only FIFO is opened (fd=6)
[2682] server read-only FIFO is opened (fd=7)
[2682] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 71
/usr/sbin/zic -d /etc /var/zyxel/myzone_rule
./bin/ln -s -f /etc/MyZone /etc/localtime
Dec  4 09:23:01 NSA325-v2 zcip: init egiga0
POLLHUP on 7
  pid = 2682
[2682] is disconnected
Dec  4 09:23:01 NSA325-v2 zcip: start, interface egiga0
1[2695] server write-only FIFO is opened (fd=6)
[2695] server read-only FIFO is opened (fd=7)
[2695] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 349
POLLHUP on 7
  pid = 2695
[2695] is disconnected
[2720] server write-only FIFO is opened (fd=6)
[2720] server read-only FIFO is opened (fd=7)
[2720] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 349
POLLHUP on 7
  pid = 2720
[2720] is disconnected
[2725] server write-only FIFO is opened (fd=6)
[2725] server read-only FIFO is opened (fd=7)
[2725] server error read-only FIFO is opened (fd=8)
argc = 4,  func = 346
argid[1]: 1224; argv[1]: ""
argid[2]: 597; argv[2]: in
argid[3]: 1225; argv[3]: "NULL"
POLLHUP on 7
  pid = 2725
[2725] is disconnected

BusyBox v1.17.2 (2015-05-15 11:23:13 CST) multi-call binary.

Usage: route [{add|del|delete}]

/ # 
/ # route 0.0.0.0 192.168.10.1?[J
/ # route?[J
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         *               0.0.0.0         U     50     0        0 egiga0
/ # Dec  4 09:23:11 NSA325-v2 zcip: config egiga0 169.254.157.149
Dec  4 09:23:11 NSA325-v2 zcip: script /usr/share/zcip.script config failed, exitcode=1
cd /u
/ # cd /usr/?[JsDec  4 09:23:21 NSA325-v2 ntpdate[2704]: can't find host time.stdtime.gov.tw
Dec  4 09:23:21 NSA325-v2 ntpdate[2704]: no servers can be used, exiting
h
/ # cd /usr/share/?[J
/usr/share # ls
WordPress_patch_1.09.2.tgz  udhcpc
empty                       zcip.script
gallery_patch_1.09.2.tgz
/usr/share # cat zc
/usr/share # cat zcip.script ?[J
#!/bin/sh

# only for use as a "zcip" callback script
if [ "x$interface" = x ]
then
	exit 1
fi

if [ -z $metric ]; then
	metric=10
fi

# zcip should start on boot/resume and various media changes
case "$1" in
init)
	# for now, zcip requires the link to be already up,
	# and it drops links when they go down.  that isn't
	# the most robust model...
	exit 0
	;;
config)
	if [ "x$ip" = x ]
	then
		exit 1
	fi
	# remember $ip for $interface, to use on restart
	if [ "x$IP" != x -a -w "$IP.$interface" ]
	then
		echo $ip > "$IP.$interface"
	fi
	ip address add dev $interface \
		scope global local "$ip/16" broadcast +
	exec route add default dev $interface metric $metric
	;;
deconfig)
	if [ x$ip = x ]
	then
		exit 1
	fi
	exec ip address del dev $interface local $ip
	;;
esac
exit 1
/usr/share # Dec  4 09:23:36 NSA325-v2 dhcpcd[2798]: timed out waiting for a valid DHCP server response
./z
/usr/share # ./zcip.script ?[J
/usr/share # ls -la
drwxr-xr-x    4 root     root          1024 May 15  2015 .
drwxr-xr-x    8 root     root          1024 May 15  2015 ..
-rwxr-xr-x    1 root     root           929 May 15  2015 WordPress_patch_1.09.2.tgz
drwxr-xr-x    2 root     root          1024 May 15  2015 empty
-rwxr-xr-x    1 root     root          2038 May 15  2015 gallery_patch_1.09.2.tgz
drwxr-xr-x    2 root     root          1024 May 15  2015 udhcpc
-rwxr-xr-x    1 root     root           781 May 15  2015 zcip.script
/usr/share # ./u
/usr/share # ./udhcpc/?[J
-/bin/sh: ./udhcpc/: Permission denied
/usr/share # cd u
/usr/share # cd udhcpc/?[J
/usr/share/udhcpc # ls
default.script
/usr/share/udhcpc # ./d
/usr/share/udhcpc # ./default.script ?[J
Error: should be called from udhcpc
/usr/share/udhcpc # cat de
/usr/share/udhcpc # cat default.script ?[J
#!/bin/sh

# udhcpc script edited by Tim Riker <Tim@Rikers.org>

[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1

RESOLV_CONF="/etc/resolv.conf"
[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast"
[ -n "$subnet" ] && NETMASK="netmask $subnet"

case "$1" in
	deconfig)
		/sbin/ifconfig $interface 192.168.1.3
		;;

	renew|bound)
		/sbin/ifconfig $interface $ip $BROADCAST $NETMASK

		if [ -n "$router" ] ; then
			echo "deleting routers"
			while route del default dev $interface ; do
				:
			done

			metric=0
			for i in $router ; do
				route add default gw $i dev $interface metric $((metric++))
			done
		fi

		echo -n > $RESOLV_CONF
		[ -n "$domain" ] && echo search $domain >> $RESOLV_CONF
		for i in $dns ; do
			echo adding dns $i
			echo nameserver $i >> $RESOLV_CONF
		done
		;;
esac

exit 0
/usr/share/udhcpc # Dec  4 09:24:32 NSA325-v2 dhcpcd[2826]: timed out waiting for a valid DHCP server response

/usr/share/udhcpc # ifconfig egigi??[Ja0 192.168.10.85 netmak??[Jsk 255.255.255.0
/usr/share/udhcpc # 
/usr/share/udhcpc # ifconfig egiga0 192.168.10.85 netmask 255.255.255.0?[J
/usr/share/udhcpc # cat default.script ?[J??[J??[J??[J??[J??[J??[J??[J??[J??[J??[J??[J??[J??[J??[J??[J??[J??[J??[J??[Jifconfig
egiga0    Link encap:Ethernet  HWaddr 00:50:43:00:02:02  
          inet addr:192.168.10.85  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::250:43ff:fe00:202/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:6448 (6.2 KiB)
          Interrupt:11 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:34 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6084 (5.9 KiB)  TX bytes:6084 (5.9 KiB)

/usr/share/udhcpc # ifconfig
egiga0    Link encap:Ethernet  HWaddr 00:50:43:00:02:02  
          inet addr:192.168.10.85  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::250:43ff:fe00:202/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:6448 (6.2 KiB)
          Interrupt:11 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:35 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6440 (6.2 KiB)  TX bytes:6440 (6.2 KiB)

/usr/share/udhcpc # 
/usr/share/udhcpc # ifconfig?[J --help
BusyBox v1.17.2 (2015-05-15 11:23:13 CST) multi-call binary.

Usage: ifconfig [-a] interface [address]

/usr/share/udhcpc # ifconfig
egiga0    Link encap:Ethernet  HWaddr 00:50:43:00:02:02  
          inet addr:192.168.10.85  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::250:43ff:fe00:202/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:8940 (8.7 KiB)
          Interrupt:11 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:36 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6796 (6.6 KiB)  TX bytes:6796 (6.6 KiB)

/usr/share/udhcpc # Dec  4 09:25:28 NSA325-v2 dhcpcd[2847]: timed out waiting for a valid DHCP server response
ifconfig egiga0 inet6 down
ifconfig: bad address 'inet6'
/usr/share/udhcpc # 
/usr/share/udhcpc # ifconfig egiga0 inet6 down?[J??[J??[J??[J??[J??[J
ifconfig: bad address 'inet6'
/usr/share/udhcpc # egiga0: link down
exit

Please press Enter to activate this console. Dec  4 01:26:21 NSA325-v2 linuxrc: process '-/bin/sh' (pid 2468) exited. Scheduling for restart.



BusyBox v1.17.2 (2015-05-15 11:23:13 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ # Dec  4 09:26:25 NSA325-v2 linuxrc: starting pid 2877, tty '': '-/bin/sh'
exit

Please press Enter to activate this console. Dec  4 09:26:27 NSA325-v2 linuxrc: process '-/bin/sh' (pid 2877) exited. Scheduling for restart.


Viewing all articles
Browse latest Browse all 3247

Trending Articles