Welcome! Log In Create A New Profile

Advanced

[NSA325v2] new product variant which does not activate USB in stock uboot?

Posted by Muchatet 
[NSA325v2] new product variant which does not activate USB in stock uboot?
November 06, 2015 06:25PM
I have a NSA325v2 which is working just fine (flashed the 2014.07 uboot version, Debian Jessie, ...). Now I got a second box and it seems Zyxel did change something. I'd like to know if someone else observed the same or if I'm doing something stupid here...

Problem description
For the live of it I can't get the stock uboot to recognize my USB flash drive (it works just fine once the stock Linux is booted). Upon "usb start" I always get something like
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices...
0 Storage Device(s) found
After that I can't use my usb drive to load the kernel etc (as expected given the output above). I'd like to note that I tried many flash drives including the one I use with my first box. I noticed that the LEDs on the USB drives are not lightening with the "new" stock uboot. Also I find it a bit strange that upon cold boot the box finds 2 USB devices (even though I always only plug one usb drive!) but one subsequent tries (i.e. when I do a "reset" via serial console within the boot loader) it finds only one. The only consistent thing is that it always reports "0 Storage Device(s) found".

Workaround
If I use kwboot with bodhi's 2014.07 uboot I can activate my USB drives just as expected. Manual pasting of the relevant uboot variables and I can boot my Debian just fine.

Additional observations
When I got my second shipment I immediately noticed that the second package was a bit smaller (a few centimeters) and some text on the outside did change (they are claiming to support up to 8 TB storage).

Also the stock uboot output is slightly different:
...
U-Boot 1.1.4 (Jul 18 2013 - 10:47:29) Marvell version: 3.5.9
...
Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 800Mhz
...
DRAM (DDR3) CAS Latency = 7 tRP = 8 tRAS = 24 tRCD=8

Even though the version numbers are the same this uboot got a newer timestamp (old: "Jun 14 2011 - 21:40:09"), the L2 is running faster (old: "533Mhz") and the DRAM timings changed (old: "DRAM (DDR3) CAS Latency = 7 tRP = 8 tRAS = 24 tRCD=8").

Just for completeness the full uboot output as captured from a serial console.
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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 @ 800Mhz
SysClock = 533Mhz , TClock = 200Mhz 

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

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

Streaming disabled 
Write allocate disabled


USB 0: host mode
	[BlueDBG] reseting SoC Pex[0]  0 ...
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
	[BlueDBG] reseting SoC Pex[1]  0 ...
	[BlueDBG] reseting SoC Pex[1]  1 ...
	[BlueDBG] reseting SoC Pex[1]  2 ...
	[BlueDBG] reseting SoC Pex[1]  3 ...
	[BlueDBG] reseting SoC Pex[1]  4 ...
	[BlueDBG] reseting SoC Pex[1]  5 ...
	[BlueDBG] reseting SoC Pex[1]  6 ...
	[BlueDBG] reseting SoC Pex[1]  7 ...
	[BlueDBG] reseting SoC Pex[1]  8 ...
	[BlueDBG] reseting SoC Pex[1]  9 ...
	[BlueDBG] reseting SoC Pex[1]  10 ...
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0 
Marvell>> 
Re: [NSA325v2] new product variant which does not activate USB in stock uboot?
November 06, 2015 07:52PM
Stock u-boot does not activate USB power. You will need to trigger it: add the memory poke betore usb start:

mw.l f1010100 0020c000; usb start

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: [NSA325v2] new product variant which does not activate USB in stock uboot?
November 07, 2015 04:00AM
I think I tried that but in fact I think I might have been unlucky: With some (older) USB drives the memory write works as expected (but very likely I didn't try the mw.l for them).

However I ordered some new drives and here I only get uboot hangs:
Hit any key to stop autoboot:  0 
Marvell>> mw.l f1010100 0020c000
Marvell>> usb reset
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
T

I guess this means these drives don't work with uboot due to timing issues?
Re: [NSA325v2] new product variant which does not activate USB in stock uboot?
November 07, 2015 04:34AM
Muchatet Wrote:
-------------------------------------------------------
> I think I tried that but in fact I think I might
> have been unlucky: With some (older) USB drives
> the memory write works as expected (but very
> likely I didn't try the mw.l for them).
>
> However I ordered some new drives and here I only
> get uboot hangs:
>
> Hit any key to stop autoboot:  0 
> Marvell>> mw.l f1010100 0020c000
> Marvell>> usb reset
> (Re)start USB...
> USB:   scanning bus for devices... 3 USB Device(s)
> found
> Waiting for storage device(s) to settle before
> scanning...
> T
>
>
> I guess this means these drives don't work with
> uboot due to timing issues?

It could be the drives. Or u-boot. Stock u-boot is very old so sometime it does not like a drive that works perfectly with a newer u-boot, or on another system. Note that some USB drive brand works with all versions of u-boot, e.g. Sandisk (I'm not affiliate with Sandisk, but I kept recommending people to use it, perhaps I should get some referral fee :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
[ü
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__| 
 ** MARVELL BOARD: DB-88F6282A-BP LE 

U-Boot 1.1.4 (Jun 14 2011 - 21:40:09) 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 = 7 tRAS = 20 tRCD=7
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
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
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.
Bad block at 0x4660000 in erase block from 0x4660000 will be skipped
Reading data from 0x4693000 --   2% complete.
Reading data from 0x46ac800 --   3% complete.
Reading data from 0x46c6000 --   4% complete.
Reading data from 0x46df800 --   5% complete.
Reading data from 0x46f9800 --   6% complete.
Reading data from 0x4713000 --   7% complete.
Reading data from 0x472c800 --   8% complete.
Reading data from 0x4746000 --   9% complete.
Reading data from 0x475f800 --  10% complete.
Reading data from 0x4779800 --  11% complete.
Reading data from 0x4793000 --  12% complete.
Reading data from 0x47ac800 --  13% complete.
Reading data from 0x47c6000 --  14% complete.
Reading data from 0x47df800 --  15% complete.
Reading data from 0x47f9800 --  16% complete.
Reading data from 0x4813000 --  17% complete.
Reading data from 0x482c800 --  18% complete.
Reading data from 0x4846000 --  19% complete.
Reading data from 0x485f800 --  20% complete.
Reading data from 0x4879800 --  21% complete.
Reading data from 0x4893000 --  22% complete.
Reading data from 0x48ac800 --  23% complete.
Reading data from 0x48c6000 --  24% complete.
Reading data from 0x48df800 --  25% complete.
Reading data from 0x48f9800 --  26% complete.
Reading data from 0x4913000 --  27% complete.
Reading data from 0x492c800 --  28% complete.
Reading data from 0x4946000 --  29% complete.
Reading data from 0x495f800 --  30% complete.
Reading data from 0x4979800 --  31% complete.
Reading data from 0x4993000 --  32% complete.
Reading data from 0x49ac800 --  33% complete.
Reading data from 0x49c6000 --  34% complete.
Reading data from 0x49df800 --  35% complete.
Reading data from 0x49f9800 --  36% complete.
Reading data from 0x4a13000 --  37% complete.
Reading data from 0x4a2c800 --  38% complete.
Reading data from 0x4a46000 --  39% complete.
Reading data from 0x4a5f800 --  40% complete.
Reading data from 0x4a79800 --  41% complete.
Reading data from 0x4a93000 --  42% complete.
Reading data from 0x4aac800 --  43% complete.
Reading data from 0x4ac6000 --  44% complete.
Reading data from 0x4adf800 --  45% complete.
Reading data from 0x4af9800 --  46% complete.
Reading data from 0x4b13000 --  47% complete.
Reading data from 0x4b2c800 --  48% complete.
Reading data from 0x4b46000 --  49% complete.
Reading data from 0x4b5f800 --  50% complete.
Reading data from 0x4b79800 --  51% complete.
Reading data from 0x4b93000 --  52% complete.
Reading data from 0x4bac800 --  53% complete.
Reading data from 0x4bc6000 --  54% complete.
Reading data from 0x4bdf800 --  55% complete.
Reading data from 0x4bf9800 --  56% complete.
Reading data from 0x4c13000 --  57% complete.
Reading data from 0x4c2c800 --  58% complete.
Reading data from 0x4c46000 --  59% complete.
Reading data from 0x4c5f800 --  60% complete.
Reading data from 0x4c79800 --  61% complete.
Reading data from 0x4c93000 --  62% complete.
Reading data from 0x4cac800 --  63% complete.
Reading data from 0x4cc6000 --  64% complete.
Reading data from 0x4cdf800 --  65% complete.
Reading data from 0x4cf9800 --  66% complete.
Reading data from 0x4d13000 --  67% complete.
Reading data from 0x4d2c800 --  68% complete.
Reading data from 0x4d46000 --  69% complete.
Reading data from 0x4d5f800 --  70% complete.
Reading data from 0x4d79800 --  71% complete.
Reading data from 0x4d93000 --  72% complete.
Reading data from 0x4dac800 --  73% complete.
Reading data from 0x4dc6000 --  74% complete.
Reading data from 0x4ddf800 --  75% complete.
Reading data from 0x4df9800 --  76% complete.
Reading data from 0x4e13000 --  77% complete.
Reading data from 0x4e2c800 --  78% complete.
Reading data from 0x4e46000 --  79% complete.
Reading data from 0x4e5f800 --  80% complete.
Reading data from 0x4e79800 --  81% complete.
Reading data from 0x4e93000 --  82% complete.
Reading data from 0x4eac800 --  83% complete.
Reading data from 0x4ec6000 --  84% complete.
Reading data from 0x4edf800 --  85% complete.
Reading data from 0x4ef9800 --  86% complete.
Reading data from 0x4f13000 --  87% complete.
Reading data from 0x4f2c800 --  88% complete.
Reading data from 0x4f46000 --  89% complete.
Reading data from 0x4f5f800 --  90% complete.
Reading data from 0x4f79800 --  91% complete.
Reading data from 0x4f93000 --  92% complete.
Reading data from 0x4fac800 --  93% complete.
Reading data from 0x4fc6000 --  94% complete.
Reading data from 0x4fdf800 --  95% complete.
Reading data from 0x4ff9800 --  96% complete.
Reading data from 0x5013000 --  97% complete.
Reading data from 0x502c800 --  98% complete.
Reading data from 0x5046000 --  99% complete.
Reading data from 0x505f800 -- 100% complete.
 10485760 bytes read: OK
## Booting image at 02000000 ...
   Image Name:   Linux-2.6.31.8
   Created:      2012-07-26   4:29:44 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6108928 Bytes =  5.8 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@Neo) (gcc version 4.3.2 (sdk3.3-ct-ng-1.4.1) ) #2 Thu Jul 26 12:29:20 CST 2012
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: 506368KB available (5384K code, 302K data, 3164K 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 989
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
scsi 0:0:0:0: Direct-Access              WD800JD-00JNC0   05.0 PQ: 0 ANSI: 5
EnablePowerSaving 
PowerSavingTime = 15
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
sd 0:0:0:0: [sda] 0-byte physical blocks
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] Write Protect is off
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 (d1110000): 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
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 3 at 0x000000060000
Bad eraseblock 134 at 0x0000010c0000
Bad eraseblock 500 at 0x000003e80000
Bad eraseblock 505 at 0x000003f20000
Bad eraseblock 563 at 0x000004660000
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"
 sda:
0x000000180000-0x000000200000 : "key_store"
0x000000200000-0x000000280000 : "info"
 sda1 sda2
0x000000280000-0x000000c80000 : "etc"
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
0x000000c80000-0x000001680000 : "kernel_1"
0x000001680000-0x000004640000 : "rootfs1"
0x000004640000-0x000005040000 : "kernel_2"
sd 0:0:0:0: [sda] Attached SCSI disk
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
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
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 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-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
rtc-pcf8563 0-0051: chip found, driver version 0.4.3
rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Mobile IPv6
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
ip6tnl0: Disabled Privacy Extensions
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-pcf8563 0-0051: setting system clock to 2012-09-08 13:05:56 UTC (1347109556)
Freeing init memory: 3164K
*** Stage 1: Setup system and device drivers ***
usb 1-1: new high speed USB device using ehci_marvell and address 2
In hub_port_init, and number is 1, retry 0, port 1 .....
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
eth0: mac address changed
egiga0: started
ADDRCONF(NETDEV_UP): egiga0: link is not ready
*** Stage 2: Prepare the root file system ***
Mount system partition...
yaffs: dev is 32505864 name is "mtdblock8" ro
yaffs: passed flags ""
/bin/storage_gen_mntfw.sh: line 117: e2fsck: not found
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
 sda: sda1 sda2
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
128520 inodes, 514048 blocks
0 blocks (0%) reserved for the super user
First data block=1
Maximum filesystem blocks=524288
63 block groups
8192 blocks per group, 8192 fragments per group
2040 inodes per group
Superblock backups stored on blocks:
	8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
/dev/sda1 /zyxel/mnt/sysdisk ext2 ro,relatime,errors=continue 0 0
0
Boot from disk
System disk image does NOT exist on HDD! Extract new firmware from NAND flash ...
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
 sda: sda1 sda2
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
128520 inodes, 514048 blocks
0 blocks (0%) reserved for the super user
First data block=1
Maximum filesystem blocks=524288
63 block groups
8192 blocks per group, 8192 fragments per group
2040 inodes per group
Superblock backups stored on blocks:
	8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
/dev/sda1 /zyxel/mnt/sysdisk ext2 rw,relatime,errors=continue 0 0
Checksum of sysdisk.img : d4d9331a04627ea6cd75b14aa8bd4266
Checksum from INFO  : d4d9331a04627ea6cd75b14aa8bd4266
Checksum pass!
Mount system disk image ...
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
/etc/zyxel/conf exist..
Start rcS2 of ZyXEL style
Set the phy back to auto-negotiation mode
base address = 40151000
words[0] = phypoke
words[1] = 1
words[2] = 4
words[3] = 1e1
:GbitPhy[0x00000001:0x00000004] <= 0x000001e1
base address = 40151000
words[0] = phypoke
words[1] = 1
words[2] = 9
words[3] = 300
:GbitPhy[0x00000001:0x00000009] <= 0x00000300
base address = 40151000
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
*** Stage 3: Start services on HDD ***
tntfs: module license 'Commercial. For support email ntfs-support@tuxera.com.' taints kernel.
Disabling lock debugging due to kernel taint
Tuxera NTFS driver 3011.12.23 [Flags: R/W MODULE].
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
PPP Deflate Compression module registered
NET: Registered protocol family 24
PPP BSD Compression module registered
modprobe: module fuse not found in modules.dep
sda
checking sda
Trying to mount /dev/sda1
mount: /dev/sda1 already mounted or /mnt/parnerkey busy
mount: according to mtab, /dev/sda1 is mounted on /zyxel/mnt/sysdisk
Fail to mount /dev/sda1
Press ENTER to continue...
Starting zylogd...
 zylog starts.
Starting uamd...
Starting ZySH daemon and client...
Start NSA-220 system daemon....
 Start ZySH daemon
zyshd: version 2.0.0 (build: 12:04:19 Jul 26 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
Sep  8 13:06:49 (none) syslog-ng[1401]: 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
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 (2012-07-26 11:58:25 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
zyio_container_create_template(/etc/__system_default.xml): scope:[network/wlan] list:[wlan_list] type:[wlan_t] is not existed
Assemble volume....
[1444] server write-only FIFO is opened (fd=6)
[1444] server read-only FIFO is opened (fd=7)
[1444] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 277
md: md0 stopped.
md: bind<sda2>
md0: detected capacity change from 0 to 79497265152
 md0: unknown partition table
cat: can't open '/tmp/mduuid.map': No such file or directory
EXT4-fs (md0): barriers disabled
kjournald2 starting: pid 1573, dev md0:8, commit interval 5 seconds
EXT4-fs (md0): warning: maximal mount count reached, running e2fsck is recommended
EXT4-fs (md0): internal journal on md0:8
EXT4-fs (md0): delayed allocation enabled
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
EXT4-fs (md0): mounted filesystem with writeback data mode
/dev/md0 [/i-data/3a22b091]: user quotas turned on
 Startup config
POLLHUP on 7
  pid = 1444
[1444] is disconnected
[1597] server write-only FIFO is opened (fd=6)
[1597] server read-only FIFO is opened (fd=7)
[1597] server error read-only FIFO is opened (fd=8)
argc = 1,  func = 14
argc = 1,  func = 17
argc = 1,  func = 665
argc = 2,  func = 104
argid[1]: 1077; argv[1]: ge1
argc = 5,  func = 107
argid[1]: 1077; 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]: 1077; argv[1]: ge1
argid[2]: 350; argv[2]: exit
argc = 2,  func = 440
argid[1]: 1070; argv[1]: 172.20.172.254
argc = 4,  func = 442
argid[1]: 875; argv[1]: fetch
argid[2]: 628; argv[2]: auto
argid[3]: 1077; argv[3]: ge1
/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
[1608] server write-only FIFO is opened (fd=9)
[1608] server read-only FIFO is opened (fd=10)
[1608] server error read-only FIFO is opened (fd=11)
argc = 7,  func = 77
argid[1]: 267; argv[1]: mail
argid[2]: 1396; 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 = 441
POLLHUP on 10
  pid = 1608
[1608] is disconnected
argc = 7,  func = 77
argid[1]: 267; argv[1]: mail
argid[2]: 1396; argv[2]: 1
argid[3]: 435; argv[3]: category
argid[4]: 375; argv[4]: all
argid[5]: 461; argv[5]: level
argid[6]: 375; argv[6]: all
mail server '1' log_category(all) is:all 
argc = 2,  func = 68
argid[1]: 1069; argv[1]: time.stdtime.gov.tw
argc = 2,  func = 60
argid[1]: 1120; argv[1]: +0800
/usr/sbin/zic -d /etc /var/zyxel/myzone_rule
/bin/ln -s -f /etc/MyZone /etc/localtime
argc = 1,  func = 72
/usr/sbin/ntpdate_agent time.stdtime.gov.tw
Sep  8 21:07:00 (none) ntpdate[1648]: can't find host time.stdtime.gov.tw
Sep  8 21:07:00 (none) ntpdate[1648]: no servers can be used, exiting
argc = 4,  func = 343
argid[1]: 1213; argv[1]: ""
argid[2]: 593; argv[2]: in
argid[3]: 1214; argv[3]: "NULL"
argc = 3,  func = 50
argid[1]: 388; argv[1]: first
argid[2]: 1394; argv[2]: 1024
argc = 3,  func = 50
argid[1]: 389; argv[1]: last
argid[2]: 1394; argv[2]: 65535
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 (2012-07-26 11:58:25 CST) multi-call binary.

Usage: rmdir [OPTIONS] DIRECTORY...

argc = 2,  func = 192
argid[1]: 1130; argv[1]: "admin"
argc = 5,  func = 193
argid[1]: 1130; argv[1]: "admin"
argid[2]: 1407; argv[2]: 501
argid[3]: 363; argv[3]: password
argid[4]: 1153; argv[4]: D57B6DB15A934EF6DF128B2DD32BAD07:6481123D905B3BF0B74573052AF457E0
enter smb_db_update_user
argc = 5,  func = 193
argid[1]: 1130; argv[1]: "admin"
argid[2]: 1407; argv[2]: 501
argid[3]: 633; argv[3]: type
argid[4]: 634; argv[4]: admin
enter smb_db_update_user
<snip a lot of lines>
TELNET start sucDisablePowerSaving
cess!
argc = 2,TimerState = 1
  func = 146
arEnablePowerSaving 
gid[1]: 1145; arPowerSavingTime = 15
gv[1]: 15
test0
Test1
Test2
Test3:
argc = 2,  func = 149
argid[1]: 1146; argv[1]: 50
test0
Test1
Test2
Test3:
argc = 2,  func = 671
argid[1]: 1077; argv[1]: ge1
killall: httpd: no process killed
Sep  8 21:07:08 (none) httpd[1928]: [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Sep  8 21:07:08 (none) httpd[1928]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Sep  8 21:07:08 (none) httpd[1928]: [warn] RSA server certificate CommonName (CN) `NSA325' does NOT match server name!?
Sep  8 21:07:08 (none) httpd[1928]: [error] mod_auth_zyxel: initialized.
argc = 2,  func = 160
argid[1]: 1150; argv[1]: g
exec_cmd complete
eth status = g 
ethtest0
Test1
Test2
Test3:
argc = 2,  func = 529
argid[1]: 924; argv[1]: activate
/bin/killall -USR1 app_wd
killall: app_wd: no process killed
argc = 2,  func = 18
argid[1]: 350; argv[1]: exit
argc = 1,  func = 20
POLLHUP on 7
  pid = 1597
[1597] is disconnected
configure terminal ip smb internal enable "/i-data/md0"
[1938] server write-only FIFO is opened (fd=6)
[1938] server read-only FIFO is opened (fd=7)
[1938] 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]: 1172; argv[3]: "/i-data/md0"
find: /var/autoshare_sata/: No such file or directory
rmdir: '/var/autoshare_sata/*': No such file or directory
ln -s "/i-data/3a22b091/Testshare" "Testshare"
ln -s "/i-data/3a22b091/admin" "admin"
ln -s "/i-data/3a22b091/encrypted" "encrypted"
ln -s "/i-data/3a22b091/music" "music"
ln -s "/i-data/3a22b091/photo" "photo"
ln -s "/i-data/3a22b091/public" "public"
ln -s "/i-data/3a22b091/test" "test"
ln -s "/i-data/3a22b091/testshare2" "testshare2"
ln -s "/i-data/3a22b091/video" "video"
EXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesRegenSmbConfigFile:2201 Close file ok
EXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesRegenSmbConfigFile:2201 Close file ok
POLLHUP on 7
  pid = 1938
[1938] is disconnected
configure terminal ip smb internal disable "/i-data/md1"
[2052] server write-only FIFO is opened (fd=6)
[2052] server read-only FIFO is opened (fd=7)
[2052] server error read-only FIFO is opened (fd=8)
argc = 4,  func = 181
argid[1]: 630; argv[1]: internal
argid[2]: 303; argv[2]: disable
argid[3]: 1172; argv[3]: "/i-data/md1"
EXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesRegenSmbConfigFile:2201 Close file ok
no such autosata.
Error happens when deleting autosata.
POLLHUP on 7
  pid = 2052
[2052] is disconnected
configure terminal ip smb internal enable "/i-data/3a22b091"
[2062] server write-only FIFO is opened (fd=6)
[2062] server read-only FIFO is opened (fd=7)
[2062] 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]: 1172; argv[3]: "/i-data/3a22b091"
ln -s "/i-data/3a22b091/Testshare" "Testshare"
ln -s "/i-data/3a22b091/admin" "admin"
ln -s "/i-data/3a22b091/encrypted" "encrypted"
ln -s "/i-data/3a22b091/music" "music"
ln -s "/i-data/3a22b091/photo" "photo"
ln -s "/i-data/3a22b091/public" "public"
Sep  8 21:07:11 (none) httpd[1929]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Sep  8 21:07:11 (none) httpd[1929]: [warn] RSA server certificate CommonName (CN) `NSA325' does NOT match server name!?
Sep  8 21:07:11 (none) httpd[1929]: [error] mod_auth_zyxel: initialized.
ln -s "/i-data/3a22b091/test" "test"
ln -s "/i-data/3a22b091/testshare2" "testshare2"
ln -s "/i-data/3a22b091/video" "video"
EXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesRegenSmbConfigFile:2201 Close file ok
/var/autoshare_sata/Vol1 has pointed to other share.
EXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesEXT4: add strict allocate = yesRegenSmbConfigFile:2201 Close file ok
POLLHUP on 7
  pid = 2062
[2062] is disconnected
Starting smbd...
Starting nmbd...
Starting NSU Agent...
grep: /proc/nas_model: No such file or directory
Adding 524280k swap on /i-data/.system/swap_ul6545p.  Priority:-1 extents:4 across:542712k 
351+0 records in
351+0 records out
368050176 bytes (351.0MB) copied, 8.253989 seconds, 42.5MB/s
Setting up swapspace version 1, size = 359420 KiB
no label, UUID=63dee948-ff3d-4147-8d5d-20d9a81280ca
GMT offset=28800s
setting system time zone to tz_minuteswest=-480
mknod: /dev/btncpy: File exists
killall: dservice: no process killed
setLED COPY OFF
led_state_map_addr = 10
[2667] server write-only FIFO is opened (fd=6)
[2667] server read-only FIFO is opened (fd=7)
[2667] server error read-only FIFO is opened (fd=8)
argc = 2,  func = 348
argid[1]: 1215; argv[1]: former
Warning - readback failed
POLLHUP on 7
  pid = 2667
[2667] is disconnected
schedule_controller is already running now.
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".
Starting "/etc/init.d/zypkg_controller.sh".
Starting all zypkgs via "/etc/init.d/zypkg_controller.sh" ...
- starting package "PHP-MySQL-phpMyAdmin" ...
---> start "PHP-MySQL-phpMyAdmin" successfully.
- starting package "gallery" ...
mkdir: can't create directory '/i-data/md0/admin/zy-pkgs/gallery': File exists
mkdir: can't create directory '/i-data/md0/admin/zy-pkgs/gallery/modules': File exists
mkdir: can't create directory '/i-data/md0/admin/zy-pkgs/gallery/themes': File exists
mkdir: can't create directory '/i-data/md0/admin/zy-pkgs/gallery/uploads': File exists
killall: mysqld: no process killed
120908 21:07:23 mysqld_safe Logging to '/usr/local/zy-pkgs/mysql/var/NSA325.err'.
120908 21:07:23 mysqld_safe Starting mysqld daemon with databases from /usr/local/zy-pkgs/mysql/var
/usr/lib/python2.6/site-packages/flickrapi/__init__.py:45: DeprecationWarning: the md5 module is deprecated; use hashlib instead
Sep  8 21:07:27 (none) zcip: init egiga0
Sep  8 21:07:27 (none) zcip: start, interface egiga0
fail to stop mysqld
---> start "gallery" successfully.
- starting package "WordPress" ...
---> Error: start-up program "/usr/local/zy-pkgs/etc/init.d/WordPress" is not existed or not excutable
- 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" ...
### /i-data/.zyxel/stunnelc.log ###
### /i-data/.zyxel/stunneld.log ###
-> /i-data/.zyxel/stunneld.log exists
### /i-data/.zyxel/zysyncd.log ###
-> /i-data/.zyxel/zysyncd.log exists
### /i-data/.zyxel/zysync.log ###
### /i-data/.zyxel/BackupPlanner.log ###
-> /i-data/.zyxel/BackupPlanner.log exists
### /i-data/.system/stunnelc.log ###
### /i-data/.system/stunneld.log ###
-> /i-data/.system/stunneld.log exists
### /i-data/.system/zysyncd.log ###
-> /i-data/.system/zysyncd.log exists
### /i-data/.system/zysync.log ###
### /i-data/.system/BackupPlanner.log ###
-> /i-data/.system/BackupPlanner.log exists
Inserting cifs.ko module ...
insmod: can't insert '/usr/local/zy-pkgs/lib/cifs.ko': No such file or directory
Starting zysync server ...
===> Generate zysync server config ...
     ===> Generating volume list ...
     ===> Generating zysync config file ...
md0 : active linear sda2[0]
cat: can't open '/tmp/zysync_modules': No such file or directory
===> Starting zysync server ...
[INFO]: Starting server mode ... 

Done
Starting stunnel server ...
===> Generating stunnel server config file ...
===> Starting stunnel server ...
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: Clients allowed=500
Sep  8 21:07:31 (none) stunnel: LOG5[3089:1073865456]: stunnel 4.52 on armv5tel-unknown-linux-gnueabi platform
Sep  8 21:07:31 (none) stunnel: LOG5[3089:1073865456]: Compiled/running with OpenSSL 0.9.8o 01 Jun 2010
Sep  8 21:07:31 (none) stunnel: LOG5[3089:1073865456]: Threading:PTHREAD SSL:ENGINE Auth:none Sockets:POLL,IPv6
Sep  8 21:07:31 (none) stunnel: LOG5[3089:1073865456]: Reading configuration from file /etc/zyxel/zy-pkgs/BackupPlanner/stunnel/stunneld.conf
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: Compression not enabled
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: PRNG seeded successfully
Sep  8 21:07:31 (none) stunnel: LOG6[3089:1073865456]: Initializing SSL context for service szysync
Done
---> start "BackupPlanner" successfully.
- starting package "NFS" ...
Sep  8 21:07:31 (none) stunnel: LOG4[3089:1073865456]: Insecure file permissions on /etc/zyxel/zy-pkgs/BackupPlanner/zysync/zysync.key
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: Certificate: /etc/zyxel/zy-pkgs/BackupPlanner/zysync/zysync.cert
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: Certificate loaded
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: Key file: /etc/zyxel/zy-pkgs/BackupPlanner/zysync/zysync.key
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: Private key loaded
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: Could not load DH parameters from /etc/zyxel/zy-pkgs/BackupPlanner/zysync/zysync.cert
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: Using hardcoded DH parameters
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: DH initialized with 2048-bit key
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: ECDH initialized with curve prime256v1
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: SSL options set: 0x00000004
Sep  8 21:07:31 (none) stunnel: LOG6[3089:1073865456]: SSL context initialized
Sep  8 21:07:31 (none) stunnel: LOG5[3089:1073865456]: Configuration successful
Sep  8 21:07:31 (none) stunnel: LOG7[3089:1073865456]: Service szysync bound FD=6 to 0.0.0.0:9527
Sep  8 21:07:31 (none) stunnel: LOG7[3090:1073865456]: Created pid file /var/run/stunneld.pid
NFS:no action
---> start "NFS" successfully.
- starting package "Tftp" ...
---> Error: start-up program "/usr/local/zy-pkgs/etc/init.d/Tftp" is not existed or not excutable
- starting package "Syslog" ...
---> Error: start-up program "/usr/local/zy-pkgs/etc/init.d/Syslog" is not existed or not excutable
- starting package "pyLoad" ...
startuping pyLoad ...
DownloadDaemon is Enabled.
---> start "pyLoad" successfully.
- killing httpd ...

- starting httpd ...
Sep  8 21:07:35 (none) httpd[3298]: [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Sep  8 21:07:35 (none) httpd[3298]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Sep  8 21:07:35 (none) httpd[3298]: [warn] RSA server certificate CommonName (CN) `NSA325' does NOT match server name!?
Sep  8 21:07:35 (none) httpd[3298]: [error] mod_auth_zyxel: initialized.
successfully.
Finish "/etc/init.d/zypkg_controller.sh".
sh: you need to specify whom to kill
Sep  8 21:07:35 (none) syslog-ng[1401]: Termination requested via signal, terminating;
Sep  8 21:07:35 (none) syslog-ng[1401]: syslog-ng shutting down; version='2.0.10'
Sep  8 21:07:35 NSA325 syslog-ng[3317]: syslog-ng starting up; version='2.0.10'
rm: can't remove '/i-data/.system/dropbox/dropbox.enable': No such file or directory
Sep  8 21:07:36 NSA325 httpd[3299]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Sep  8 21:07:36 NSA325 httpd[3299]: [warn] RSA server certificate CommonName (CN) `NSA325' does NOT match server name!?
Sep  8 21:07:36 NSA325 httpd[3299]: [error] mod_auth_zyxel: initialized.
Web Server already started.
/bin/nice: /usr/sbin/lld2d: No such file or directory
Starting app_wd...
 core_checksum : 5d1b17ef8b1c1dec7b3a76500d9b983f
 fwversion : NSA325_4.50(AAAJ.0)
 img_checksum : d4d9331a04627ea6cd75b14aa8bd4266
 modelid : AA03
 revision : 36344
 romfile_checksum : 2788
 zld_checksum : 936ed0734eccc871dff10aa1bcde782e
GbE port 0: TxEnable WA - Enabled, deep=1, tx_en_bk=1

led_state_map_addr = 46

Please press Enter to activate this console. Sep  8 21:07:38 NSA325 zcip: config egiga0 169.254.43.197
Sep  8 21:07:38 NSA325 zcip: script /usr/share/zcip.script config failed, exitcode=1
Shutdown log
Sep  8 13:08:17 NSA325 linuxrc: starting pid 3526, tty : '/etc/init.d/rc.shutdown'
led_state_map_addr = 4e
/ # Starting "/etc/init.d/zypkg_controller.sh".
Stopping all zypkgs via "/etc/init.d/zypkg_controller.sh" ...
- shutdowning package "pyLoad" ...
sh: you need to specify whom to kill
---> shutdown "pyLoad" successfully.
- shutdowning package "Syslog" ...
---> Error: shutdown program "/usr/local/zy-pkgs/etc/init.d/Syslog" is not existed or not excutable
- shutdowning package "Tftp" ...
---> Error: shutdown program "/usr/local/zy-pkgs/etc/init.d/Tftp" is not existed or not excutable
- shutdowning package "NFS" ...
Shutting down NFS: rpc.mountdkillall: rpc.mountd: no process killed
 nfsdsh: you need to specify whom to kill
 exportfs: done
---> shutdown "NFS" successfully.
- shutdowning package "BackupPlanner" ...
killing zysync
1 second
You are terminated!
killing stunnel
1 second
Sep  8 21:08:18 NSA325 stunnel: LOG7[3090:1073865456]: Dispatching signals from the signal pipe
Sep  8 21:08:18 NSA325 stunnel: LOG7[3090:1073865456]: Processing SIGNAL_TERMINATE
Sep  8 21:08:18 NSA325 stunnel: LOG5[3090:1073865456]: Terminated
Sep  8 21:08:18 NSA325 stunnel: LOG7[3090:1073865456]: Service szysync closed FD=6
Sep  8 21:08:18 NSA325 stunnel: LOG7[3090:1073865456]: str_stats: 34 block(s), 1649 data byte(s), 1156 control byte(s)
Sep  8 21:08:18 NSA325 stunnel: LOG7[3090:1073865456]: removing pid file /var/run/stunneld.pid
You are terminated!
---> shutdown "BackupPlanner" successfully.
- shutdowning package "SMART" ...
---> Error: shutdown program "/usr/local/zy-pkgs/etc/init.d/SMART" is not existed or not excutable
- shutdowning package "DyDNS" ...
---> Error: shutdown program "/usr/local/zy-pkgs/etc/init.d/DyDNS" is not existed or not excutable
- shutdowning package "SqueezeCenter" ...
---> Error: shutdown program "/usr/local/zy-pkgs/etc/init.d/SqueezeCenter" is not existed or not excutable
- shutdowning package "eMule" ...
---> Error: shutdown program "/usr/local/zy-pkgs/etc/init.d/eMule" is not existed or not excutable
- shutdowning package "gallery" ...
---> shutdown "gallery" successfully.
- shutdowning package "WordPress" ...
---> Error: shutdown program "/usr/local/zy-pkgs/etc/init.d/WordPress" is not existed or not excutable
- shutdowning package "PHP-MySQL-phpMyAdmin" ...
/usr/local/zy-pkgs/mysql/bin/mysqladmin: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
120908 21:08:19 mysqld_safe mysqld from pid file /usr/local/zy-pkgs/mysql/var/NSA325.pid ended
killall: mysqld_safe: no process killed
killall: mysqld: no process killed
---> shutdown "PHP-MySQL-phpMyAdmin" successfully.
Finish "/etc/init.d/zypkg_controller.sh".
Starting "/etc/init.d/zypkg_controller.sh".
Starting to release zy-pkgs environment ...
umount: /usr/local/zy-pkgs: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
Finish "/etc/init.d/zypkg_controller.sh".
Warning - readback failed
start kill.
 1343 root      3492 S    /usr/sbin/zylogd
 1353 root      7836 S    /usr/sbin/uamd
 1621 root      5432 S <  /usr/local/sbin/dhcpcd_request egiga0 50 auto
 1700 root     13724 R N  pure-ftpd (SERVER)
 1848 root     21208 S N  /usr/bin/schedule_controller
 1849 root      1428 S N  /usr/bin/timer_source
 1862 root     30192 S N  python /usr/local/dmsf/binary/cdsdaemon.pyc
 1872 root      1684 S N  /usr/local/dmsf/binary/twonkystarter -appdata /i-dat
 1873 root     23272 S N  /usr/local/dmsf/binary/twonkyserver -appdata /i-data
 2225 root     11648 S <  /usr/sbin/nsuagent
 2504 root      2792 S N  /sbin/crond -L /dev/null
 2631 root      1564 S N  /usr/local/btn/do_btncpy
 2660 root     24256 S N  /usr/sbin/fadd
 2666 root     69872 S N  python /usr/local/fileye/fileye.pyc -f
 2885 root      2720 S <  /sbin/zcip egiga0 /usr/share/zcip.script
 3299 root     23008 S    /usr/sbin/httpd -f /etc/service_conf/httpd.conf
 3311 root      2720 S    /bin/sh -c /usr/sbin/dropbox_hook
 3312 root      2148 S    /usr/sbin/dropbox_hook
 3317 root      4288 R    syslog-ng
 3322 nobody    124m S    (wsgi:groupName -f /etc/service_conf/httpd.conf
 3323 nobody   23008 S    /usr/sbin/httpd -f /etc/service_conf/httpd.conf
 3324 nobody   23008 S    /usr/sbin/httpd -f /etc/service_conf/httpd.conf
 3364 root      2796 S    -/bin/sh
Sep  8 21:08:29 NSA325 syslog-ng[3317]: Termination requested via signal, terminating;
Sep  8 21:08:29 NSA325 syslog-ng[3317]: syslog-ng shutting down; version='2.0.10'

  3364 root      2796 S    -/bin/sh
EXT4-fs: mballoc: 3 blocks 1 reqs (0 success)
EXT4-fs: mballoc: 1 extents scanned, 0 goal hits, 1 2^N hits, 0 breaks, 0 lost
EXT4-fs: mballoc: 6 generated and it took 0
EXT4-fs: mballoc: 512 preallocated, 0 discarded
md: md0 stopped.
md: unbind<sda2>
md: export_rdev(sda2)
mdadm: stopped /dev/md0
rootfs / rootfs rw 0 0
/proc /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
none /proc/bus/usb usbfs rw,relatime 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
/dev/mtdblock8 /zyxel/mnt/nand yaffs2 ro,relatime 0 0
/dev/sda1 /zyxel/mnt/sysdisk ext2 ro,relatime,errors=continue 0 0
/dev/loop0 /ram_bin ext2 ro,relatime,errors=continue 0 0
/dev/loop0 /usr ext2 ro,relatime,errors=continue 0 0
/dev/loop0 /lib/security ext2 ro,relatime,errors=continue 0 0
/dev/loop0 /lib/modules ext2 ro,relatime,errors=continue 0 0
/dev/ram0 /tmp/tmpfs tmpfs rw,relatime,size=5120k 0 0
/dev/ram0 /usr/local/etc tmpfs rw,relatime,size=5120k 0 0
/dev/ram0 /usr/local/var tmpfs rw,relatime,size=5120k 0 0
/dev/mtdblock4 /usr/local/apache/web_framework/data/config yaffs2 rw,relatime 0 0
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system halt
md: stopping all md devices.
sd 0:0:0:0: [sda] Synchronizing SCSI cache
Power down.
reg(3, 18) = 4985
reg(0, 18) = 0
reg(17, 16) = 4500
reg(17, 25) = 6cc8
reg(17, 24) = 6f87
reg(17, 23) = f757


-----

Moderator edit: use code tag.



Edited 1 time(s). Last edit at 12/11/2015 04:06AM by bodhi.
Re: [NSA325v2] new product variant which does not activate USB in stock uboot?
December 11, 2015 04:08AM
@ Mohamed2

The serial log is quite big, it is better the use pastebin if you want to post it.

Is there a question?

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

Your Email:


Subject:


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