ZyXEL NSA320: eth0 "link is not ready"

Install Arch Linux ARM on other devices.

Different hardware version?

Postby CharlesB » Fri Sep 28, 2012 9:45 pm

I've tried almost every unique type of networking hardware I have on hand, and they all work with the stock OS, but none work with Arch. WarheadsSE: I'm starting to wonder if maybe they revised the hardware between your version and mine...

Here's what I see for a boot-up/shutdown under stock (wow, good thing your typical consumer can't see the console...):$this->bbcode_second_pass_code('', '
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Mar 23 2011 - 16:09:39) Marvell version: 3.4.19

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

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 256MB
DRAM CS[1] base 0x10000000 size 256MB
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)
//--- stateButtonBit = 3, recovery ---//
Kernel address is 0xc80000.

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0, egiga1 [PRIME]
Hit any key to stop autoboot: 2 1 0

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


Reading data from 0xc80000 -- 0% complete.
Reading data from 0xc99800 -- 1% complete.
Reading data from 0xcb3000 -- 2% complete.
Reading data from 0xccc800 -- 3% complete.
Reading data from 0xce6000 -- 4% complete.
Reading data from 0xcff800 -- 5% complete.
Reading data from 0xd19800 -- 6% complete.
Reading data from 0xd33000 -- 7% complete.
Reading data from 0xd4c800 -- 8% complete.
Reading data from 0xd66000 -- 9% complete.
Reading data from 0xd7f800 -- 10% complete.
Reading data from 0xd99800 -- 11% complete.
Reading data from 0xdb3000 -- 12% complete.
Reading data from 0xdcc800 -- 13% complete.
Reading data from 0xde6000 -- 14% complete.
Reading data from 0xdff800 -- 15% complete.
Reading data from 0xe19800 -- 16% complete.
Reading data from 0xe33000 -- 17% complete.
Reading data from 0xe4c800 -- 18% complete.
Reading data from 0xe66000 -- 19% complete.
Reading data from 0xe7f800 -- 20% complete.
Reading data from 0xe99800 -- 21% complete.
Reading data from 0xeb3000 -- 22% complete.
Reading data from 0xecc800 -- 23% complete.
Reading data from 0xee6000 -- 24% complete.
Reading data from 0xeff800 -- 25% complete.
Reading data from 0xf19800 -- 26% complete.
Reading data from 0xf33000 -- 27% complete.
Reading data from 0xf4c800 -- 28% complete.
Reading data from 0xf66000 -- 29% complete.
Reading data from 0xf7f800 -- 30% complete.
Reading data from 0xf99800 -- 31% complete.
Reading data from 0xfb3000 -- 32% complete.
Reading data from 0xfcc800 -- 33% complete.
Reading data from 0xfe6000 -- 34% complete.
Reading data from 0xfff800 -- 35% complete.
Reading data from 0x1019800 -- 36% complete.
Reading data from 0x1033000 -- 37% complete.
Reading data from 0x104c800 -- 38% complete.
Reading data from 0x1066000 -- 39% complete.
Reading data from 0x107f800 -- 40% complete.
Reading data from 0x1099800 -- 41% complete.
Reading data from 0x10b3000 -- 42% complete.
Reading data from 0x10cc800 -- 43% complete.
Reading data from 0x10e6000 -- 44% complete.
Reading data from 0x10ff800 -- 45% complete.
Reading data from 0x1119800 -- 46% complete.
Reading data from 0x1133000 -- 47% complete.
Reading data from 0x114c800 -- 48% complete.
Reading data from 0x1166000 -- 49% complete.
Reading data from 0x117f800 -- 50% complete.
Reading data from 0x1199800 -- 51% complete.
Reading data from 0x11b3000 -- 52% complete.
Reading data from 0x11cc800 -- 53% complete.
Reading data from 0x11e6000 -- 54% complete.
Reading data from 0x11ff800 -- 55% complete.
Reading data from 0x1219800 -- 56% complete.
Reading data from 0x1233000 -- 57% complete.
Reading data from 0x124c800 -- 58% complete.
Reading data from 0x1266000 -- 59% complete.
Reading data from 0x127f800 -- 60% complete.
Reading data from 0x1299800 -- 61% complete.
Reading data from 0x12b3000 -- 62% complete.
Reading data from 0x12cc800 -- 63% complete.
Reading data from 0x12e6000 -- 64% complete.
Reading data from 0x12ff800 -- 65% complete.
Reading data from 0x1319800 -- 66% complete.
Reading data from 0x1333000 -- 67% complete.
Reading data from 0x134c800 -- 68% complete.
Reading data from 0x1366000 -- 69% complete.
Reading data from 0x137f800 -- 70% complete.
Reading data from 0x1399800 -- 71% complete.
Reading data from 0x13b3000 -- 72% complete.
Reading data from 0x13cc800 -- 73% complete.
Reading data from 0x13e6000 -- 74% complete.
Reading data from 0x13ff800 -- 75% complete.
Reading data from 0x1419800 -- 76% complete.
Reading data from 0x1433000 -- 77% complete.
Reading data from 0x144c800 -- 78% complete.
Reading data from 0x1466000 -- 79% complete.
Reading data from 0x147f800 -- 80% complete.
Reading data from 0x1499800 -- 81% complete.
Reading data from 0x14b3000 -- 82% complete.
Reading data from 0x14cc800 -- 83% complete.
Reading data from 0x14e6000 -- 84% complete.
Reading data from 0x14ff800 -- 85% complete.
Reading data from 0x1519800 -- 86% complete.
Reading data from 0x1533000 -- 87% complete.
Reading data from 0x154c800 -- 88% complete.
Reading data from 0x1566000 -- 89% complete.
Reading data from 0x157f800 -- 90% complete.
Reading data from 0x1599800 -- 91% complete.
Reading data from 0x15b3000 -- 92% complete.
Reading data from 0x15cc800 -- 93% complete.
Reading data from 0x15e6000 -- 94% complete.
Reading data from 0x15ff800 -- 95% complete.
Reading data from 0x1619800 -- 96% complete.
Reading data from 0x1633000 -- 97% complete.
Reading data from 0x164c800 -- 98% complete.
Reading data from 0x1666000 -- 99% complete.
Reading data from 0x167f800 -- 100% complete.
10485760 bytes read: OK
## Booting image at 02000000 ...
Image Name: Linux-2.6.31.8
Created: 2012-07-26 6:16:47 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 6095664 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 14:16:23 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: 256MB 256MB = 512MB total
Memory: 506496KB available (5360K code, 302K data, 3164K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Console: colour dummy device 80x30
Calibrating delay loop... 1199.30 BogoMIPS (lpj=5996544)
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.

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB
SDRAM_CS1 ....base 10000000, size 256MB
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB
PEX0_IO ....base f2000000, size 1MB
PEX1_MEM ....no such
PEX1_IO ....no such
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)-- RD-88F6281A Soc: 88F6281 A1 LE

Detected Tclk 200000000 and SysClk 400000000
Marvell USB EHCI Host controller #0: d003a740
PEX0 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
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 WD3200JD-22KLB0 08.0 PQ: 0 ANSI: 5
scsi 1:0:0:0: Direct-Access Seagate ST3000DM001-9YN1 CC9C 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] 625142448 512-byte logical blocks: (320 GB/298 GiB)
sd 0:0:0:0: [sda] 0-byte physical blocks
sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
sd 1:0:0:0: [sdb] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
sd 1:0:0:0: [sdb] 0-byte physical blocks
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: Attached scsi generic sg1 type 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.
sd 1:0:0:0: [sdb] 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
sda:
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
sda1 sda2
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 286 at 0x0000023c0000
Bad eraseblock 376 at 0x000002f00000
Bad eraseblock 551 at 0x0000044e0000
Bad eraseblock 742 at 0x000005cc0000
Bad eraseblock 1006 at 0x000007dc0000
9 cmdlinepart partitions found on MTD device nand_mtd
Using command line partition definition
Creating 9 MTD partitions on "nand_mtd":
0x000000000000-0x000000100000 : "uboot"
sdb:
0x000000100000-0x000000180000 : "uboot_env"
0x000000180000-0x000000200000 : "key_store"
sd 0:0:0:0: [sda] Attached SCSI disk
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
sdb1
sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
sd 1:0:0:0: [sdb] Attached SCSI disk
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
rtc-pcf8563 0-0051: chip found, driver version 0.4.3
rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Mobile IPv6
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
ip6tnl0: Disabled Privacy Extensions
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-pcf8563 0-0051: setting system clock to 2012-09-28 21:18:46 UTC (1348867126)
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 0, 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: link up, half duplex, speed 10 Mbps
egiga0: started
Turn on the auto-negotiation function
base address = 40151000
words[0] = phypoke
words[1] = 0x1
words[2] = 0x4
words[3] = 0x1e1
:GbitPhy[0x00000001:0x00000004] <= 0x000001e1
baegiga0: link down
se address = 40151000
words[0] = phypoke
words[1] = 0x1
words[2] = 0x9
words[3] = 0x300
:GbitPhy[0x00000001:0x00000009] <= 0x00000300
base address = 40151000
words[0] = phypoke
words[1] = 0x1
words[2] = 0x0
words[3] = 0x9140
:GbitPhy[0x00000001:0x00000000] <= 0x00009140
*** Stage 2: Prepare the root file system ***affs: dev is 32505862 name is "mtdblock6" ro
0m
Mount yaffs: passed flags ""
system partition...
bsname}: no internal volume 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
egiga0: link up, full duplex, speed 1 Gbps
Mount system disk image ...
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
/etc/zyxel/conf exist..
Start rcS2 of ZyXEL style
*** Stage 3: Start services on HDD ***
NTFS driver 2.1.29 [Flags: R/O MODULE].
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
sdb
checking sda
Trying to mount /dev/sda1
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Fail to mount /dev/sda1
checking sdb

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


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


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

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

Fail to mount /dev/sdb1
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: 13:52:48 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 28 21:19:24 (none) syslog-ng[1367]: 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 NSA320
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 13:46:10 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....
[1411] server write-only FIFO is opened (fd=6)
[1411] server read-only FIFO is opened (fd=7)
[1411] server error read-only FIFO is opened (fd=8)
argc = 1, func = 278
Startup config
POLLHUP on 7
pid = 1411
[1411] is disconnected
[1517] server write-only FIFO is opened (fd=6)
[1517] server read-only FIFO is opened (fd=7)
[1517] server error read-only FIFO is opened (fd=8)
argc = 1, func = 14
argc = 1, func = 17
argc = 1, func = 666
argc = 2, func = 105
argid[1]: 1078; argv[1]: ge1
argc = 5, func = 108
argid[1]: 1078; argv[1]: ge1
argid[2]: 313; argv[2]: ip
argid[3]: 435; argv[3]: address
argid[4]: 539; argv[4]: dhcp
argc = 3, func = 106
argid[1]: 1078; argv[1]: ge1
argid[2]: 350; argv[2]: exit
argc = 2, func = 441
argid[1]: 1071; argv[1]: 192.168.214.1
argc = 4, func = 443
argid[1]: 876; argv[1]: fetch
argid[2]: 629; argv[2]: auto
argid[3]: 1078; 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
ADDRCONF(NETDEV_CHANGE): egiga0: link becomes ready
Sep 28 21:19:32 (none) dhcpcd[1552]: dhcpT1value is 129600 sec
Sep 28 21:19:32 (none) dhcpcd[1552]: dhcpT2value is 226800 sec
Sep 28 21:19:32 (none) dhcpcd[1552]: dhcpT1value is 129600 sec
Sep 28 21:19:32 (none) dhcpcd[1552]: dhcpT2value is 226800 sec
[1529] server write-only FIFO is opened (fd=9)
[1529] server read-only FIFO is opened (fd=10)
[1529] server error read-only FIFO is opened (fd=11)
[1566] server write-only FIFO is opened (fd=12)
[1566] server read-only FIFO is opened (fd=13)
[1566] server error read-only FIFO is opened (fd=14)
argc = 7, func = 78
argid[1]: 267; argv[1]: mail
argid[2]: 1397; argv[2]: 1
argid[3]: 436; argv[3]: category
argid[4]: 375; argv[4]: all
argid[5]: 462; argv[5]: level
argid[6]: 479; argv[6]: alert
mail server '1' log_category(all) is:alert
argc = 1, func = 442
POLLHUP on 10
pid = 1529
[1529] is disconnected
argc = 3, func = 444
argid[1]: 1078; argv[1]: ge1
argid[2]: 1071; argv[2]: 192.168.214.1
POLLHUP on 13
pid = 1566
[1566] is disconnected
argc = 7, func = 78
argid[1]: 267; argv[1]: mail
argid[2]: 1397; argv[2]: 1
argid[3]: 436; argv[3]: category
argid[4]: 375; argv[4]: all
argid[5]: 462; argv[5]: level
argid[6]: 375; argv[6]: all
mail server '1' log_category(all) is:all
argc = 2, func = 69
argid[1]: 1070; argv[1]: time.stdtime.gov.tw
argc = 2, func = 61
argid[1]: 1121; argv[1]: +0800
/usr/sbin/zic -d /etc /var/zyxel/myzone_rule
/bin/ln -s -f /etc/MyZone /etc/localtime
[1573] server write-only FIFO is opened (fd=9)
[1573] server read-only FIFO is opened (fd=10)
[1573] server error read-only FIFO is opened (fd=11)
argc = 1, func = 73
/usr/sbin/ntpdate_agent time.stdtime.gov.tw
argc = 1, func = 445
POLLHUP on 10
pid = 1573
[1573] is disconnected
argc = 4, func = 344
argid[1]: 1214; argv[1]: ""
argid[2]: 594; argv[2]: in
argid[3]: 1215; argv[3]: "NULL"
argc = 1, func = 39
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...
Sep 29 05:19:35 (none) ntpdate[1587]: adjust time server 59.124.196.84 offset 0.490961 sec
BusyBox v1.17.2 (2012-07-26 13:46:10 CST) multi-call binary.

Usage: rmdir [OPTIONS] DIRECTORY...

argc = 2, func = 193
argid[1]: 1131; argv[1]: "admin"
argc = 5, func = 194
argid[1]: 1131; argv[1]: "admin"
argid[2]: 1408; argv[2]: 501
argid[3]: 363; argv[3]: password
argid[4]: 1154; argv[4]: B757BF5C0D87772FAAD3B435B51404EE:7CE21F17C0AEE7FB9CEBA532D0546AD6
enter smb_db_update_user
argc = 5, func = 194
argid[1]: 1131; argv[1]: "admin"
argid[2]: 1408; argv[2]: 501
argid[3]: 634; argv[3]: type
argid[4]: 635; argv[4]: admin
enter smb_db_update_user
argc = 5, func = 195
argid[1]: 1131; argv[1]: "admin"
argid[2]: 1408; argv[2]: 501
argid[3]: 639; argv[3]: shpass
argid[4]: 1157; argv[4]: $1$$iC.dUsGpxNNJGeOm1dFio/
shpass : $1$$iC.dUsGpxNNJGeOm1dFio/
argc = 4, func = 190
argid[1]: 1131; argv[1]: "admin"
argid[2]: 1408; argv[2]: 501
argid[3]: 350; argv[3]: exit
argc = 6, func = 175
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "public"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/public"
folder is not under mount point.
argc = 7, func = 164
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "public"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/public"
argid[6]: 350; argv[6]: exit
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:2213 Close file ok
argc = 6, func = 175
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "video"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/video"
folder is not under mount point.
argc = 7, func = 176
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "video"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/video"
argid[6]: 613; argv[6]: media-server
argc = 7, func = 164
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "video"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/video"
argid[6]: 350; argv[6]: exit
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:2213 Close file ok
argc = 6, func = 175
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "photo"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/photo"
folder is not under mount point.
argc = 7, func = 176
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "photo"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/photo"
argid[6]: 613; argv[6]: media-server
argc = 7, func = 164
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "photo"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/photo"
argid[6]: 350; argv[6]: exit
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:2213 Close file ok
argc = 6, func = 175
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "music"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/music"
folder is not under mount point.
argc = 7, func = 176
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "music"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/music"
argid[6]: 613; argv[6]: media-server
argc = 7, func = 164
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "music"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/music"
argid[6]: 350; argv[6]: exit
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:2213 Close file ok
argc = 6, func = 175
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "admin"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/admin"
folder is not under mount point.
argc = 7, func = 164
argid[1]: 457; argv[1]: share
argid[2]: 627; argv[2]: save
argid[3]: 1159; argv[3]: "admin"
argid[4]: 396; argv[4]: path
argid[5]: 1161; argv[5]: "/i-data/md0/admin"
argid[6]: 350; argv[6]: exit
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:2213 Close file ok
argc = 4, func = 411
argid[1]: 1240; argv[1]: yes
argid[2]: 1241; argv[2]: yes
argid[3]: 1242; argv[3]: yes
argc = 2, func DisablePowerSaving
= 147
argid[1]:TimerState = 1
1146; argv[1]: EnablePowerSaving
15
PowerSavingTime = 15
test0
Test1
Test2
Test3:
argc = 2, func = 150
argid[1]: 1147; argv[1]: 50
test0
Test1
Test2
Test3:
argc = 2, func = 161
argid[1]: 1151; argv[1]: g
exec_cmd complete
eth status = g
ethtest0
Test1
Test2
Test3:
argc = 2, func = 18
argid[1]: 350; argv[1]: exit
argc = 1, func = 20
POLLHUP on 7
pid = 1517
[1517] is disconnected
configure terminal ip smb internal disable "/i-data/md0"
[1723] server write-only FIFO is opened (fd=6)
[1723] server read-only FIFO is opened (fd=7)
[1723] server error read-only FIFO is opened (fd=8)
argc = 4, func = 182
argid[1]: 631; argv[1]: internal
argid[2]: 303; argv[2]: disable
argid[3]: 1173; 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:2213 Close file ok
no such autosata.
Error happens when deleting autosata.
[1723] is disconnected
configure terminal ip smb internal disable "/i-data/md1"
[1728] server write-only FIFO is opened (fd=6)
[1728] server read-only FIFO is opened (fd=7)
[1728] server error read-only FIFO is opened (fd=8)
argc = 4, func = 182
argid[1]: 631; argv[1]: internal
argid[2]: 303; argv[2]: disable
argid[3]: 1173; 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:2213 Close file ok
no such autosata.
Error happens when deleting autosata.
POLLHUP on 7
pid = 1728
[1728] is disconnected
no volume exist...
Starting smbd...
Starting nmbd...
Starting NSU Agent...
Starting copy auto daylight saving tzfile to /i-data/.system/ ...
cp -a /usr/local/zoneinfo /i-data/.system/
grep: /proc/nas_model: No such file or directory
Unable to find swap-space signature

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

Unable to find swap-space signature
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
[2370] server write-only FIFO is opened (fd=6)
[2370] server read-only FIFO is opened (fd=7)
[2370] server error read-only FIFO is opened (fd=8)
argc = 2, func = 349
argid[1]: 1216; argv[1]: former
POLLHUP on 7
pid = 2370
[2370] 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.
mount: wrong fs type, bad option, bad superblock on /i-data/.system/web_cache,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

chmod: /usr/local/apache/web_framework/data/cache: Read-only file system
chmod: /usr/local/apache/web_framework/data/cache: Read-only file system
Starting Web Server...
Sep 29 05:19:43 (none) httpd[2409]: [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Sep 29 05:19:43 (none) httpd[2409]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Sep 29 05:19:43 (none) httpd[2409]: [warn] RSA server certificate CommonName (CN) `NSA320' does NOT match server name!?
Sep 29 05:19:43 (none) httpd[2409]: [error] mod_auth_zyxel: initialized.
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
/bin/nice: /usr/sbin/lld2d: No such file or directory
Starting app_wd...
core_checksum : 3378497c0d9a901ac71b219dae247047
fwversion : V4.50(AFO.0)
img_checksum : 9f6f5d93d0c3be51b650b9cec92a9b9c
modelid : DD01
revision : 36348
romfile_checksum : 4747
zld_checksum : f99765126738d33c73f6fb0ba2653378
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 29 05:19:44 (none) httpd[2410]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Sep 29 05:19:44 (none) httpd[2410]: [warn] RSA server certificate CommonName (CN) `NSA320' does NOT match server name!?
Sep 29 05:19:44 (none) httpd[2410]: [error] mod_auth_zyxel: initialized.
/usr/lib/python2.6/site-packages/flickrapi/__init__.py:45: DeprecationWarning: the md5 module is deprecated; use hashlib instead
Traceback (most recent call last):
File "./cdsdaemon.py", line 472, in <module>
File "./cdsdaemon.py", line 440, in createDB
sqlite3.OperationalError: unable to open database file
Traceback (most recent call last):
File "./cdsdaemon.py", line 472, in <module>
File "./cdsdaemon.py", line 440, in createDB
sqlite3.OperationalError: unable to open database file
Traceback (most recent call last):
File "./cdsdaemon.py", line 472, in <module>
File "./cdsdaemon.py", line 440, in createDB
sqlite3.OperationalError: unable to open database file
Traceback (most recent call last):
File "./cdsdaemon.py", line 472, in <module>
File "./cdsdaemon.py", line 440, in createDB
sqlite3.OperationalError: unable to open database file



BusyBox v1.17.2 (2012-07-26 13:46:10 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ # Sep 28 21:20:36 (none) linuxrc: starting pid 2441, tty '': '-/bin/sh'
Traceback (most recent call last):
File "./cdsdaemon.py", line 472, in <module>
File "./cdsdaemon.py", line 440, in createDB
sqlite3.OperationalError: unable to open database file
haltTraceback (most recent call last):
File "./cdsdaemon.py", line 472, in <module>
File "./cdsdaemon.py", line 440, in createDB
sqlite3.OperationalError: unable to open database file

Sep 28 21:20:47 (none) linuxrc: starting pid 2574, 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 "NFS" ...
---> Error: shutdown program "/usr/local/zy-pkgs/etc/init.d/NFS" is not existed or not excutable
- shutdowning package "BackupPlanner" ...
---> Error: shutdown program "/usr/local/zy-pkgs/etc/init.d/BackupPlanner" is not existed or not excutable
- 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" ...
---> Error: shutdown program "/usr/local/zy-pkgs/etc/init.d/gallery" is not existed or not excutable
- 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" ...
---> Error: shutdown program "/usr/local/zy-pkgs/etc/init.d/PHP-MySQL-phpMyAdmin" is not existed or not excutable
/etc/init.d/zypkg_controller.sh: line 491: can't open /i-data/md0/admin/zy-pkgs/USRPKG_DEPS_SHUTDOWN: no such file
Finish "/etc/init.d/zypkg_controller.sh".
Starting "/etc/init.d/zypkg_controller.sh".
Starting to release zy-pkgs environment ...
umount: /usr/local/apache/htdocs/zyxel/pkg: not mounted
umount: /etc/zyxel/zy-pkgs: not mounted
umount: /usr/local/zy-pkgs: not mounted
Finish "/etc/init.d/zypkg_controller.sh".
start kill.
1309 root 3492 S /usr/sbin/zylogd
1319 root 7836 S /usr/sbin/uamd
1362 root 2720 S < /bin/sh -c /usr/sbin/dropbox_hook
1367 root 4288 R < /usr/sbin/syslog-ng
1368 root 2148 S < /usr/sbin/dropbox_hook
1541 root 5432 S < /usr/local/sbin/dhcpcd_request egiga0 50 auto
1559 root 1600 S < /sbin/dhcpcd -N -c /usr/sbin/dhcpcd.sh -h NSA320 -m
1641 root 13724 R N pure-ftpd (SERVER)
1712 root 21208 S N /usr/bin/schedule_controller
1713 root 1428 S N /usr/bin/timer_source
1750 root 11648 S < /usr/sbin/nsuagent
2141 root 2792 S N /sbin/crond -L /dev/null
2339 root 1564 S N /usr/local/btn/do_btncpy
2410 root 11084 S < /usr/sbin/httpd -f /etc/service_conf/httpd.conf
2441 root 2796 S -/bin/sh
2442 nobody 113m S < (wsgi:groupName -f /etc/service_conf/httpd.conf
2443 nobody 11084 S < /usr/sbin/httpd -f /etc/service_conf/httpd.conf
2444 nobody 11084 S < /usr/sbin/httpd -f /etc/service_conf/httpd.conf
Sep 29 05:20:49 (none) syslog-ng[1367]: Termination requested via signal, terminating;
Sep 28 21:20:49 (none) dhcpcd[1559]: terminating on signal 15
Sep 29 05:20:49 (none) dhcpcd[1559]: terminating on signal 11
Sep 29 05:20:49 (none) syslog-ng[1367]: syslog-ng shutting down; version='2.0.10'

2441 root 2796 S -/bin/sh
BusyBox v1.17.2 (2012-07-26 13:46:10 CST) multi-call binary.

Usage: swapoff [-a] [DEVICE]

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/mtdblock6 /zyxel/mnt/nand yaffs2 ro,relatime 0 0
none /zyxel/mnt/sysdisk ramfs ro,relatime 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 1:0:0:0: [sdb] Synchronizing SCSI cache
sd 0:0:0:0: [sda] Synchronizing SCSI cache
Power down.
reg(0, 4) = 21
reg(0, 9) = 0
egiga0: link down
reg(0, 0) = 1140
reg(0, 18) = 80
reg(17, 16) = 4580
reg(3, 18) = 4985
reg(17, 25) = b2b0
reg(17, 24) = eddc
reg(17, 23) = 3d59
')
Lots o' fancy output relating to Ethernet.

And ifconfig/ethtool:$this->bbcode_second_pass_code('', '/ # ifconfig
egiga0 Link encap:Ethernet HWaddr B0:B2:DC:ED:59:3D
inet addr:192.168.214.83 Bcast:192.168.214.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:152 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:532
RX bytes:28126 (27.4 KiB) TX bytes:5885 (5.7 KiB)
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7736 (7.5 KiB) TX bytes:7736 (7.5 KiB)

')$this->bbcode_second_pass_code('', '/ # ethtool egiga0
Settings for egiga0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Link detected: yes
')

Would you take a look at the boot messages, maybe compare it to yours, and see if anything sticks out at you?

If desired, I'd also be happy to post pictures (I don't think the forum allows them, but I can put them up on my own webserver) of the stickers on the back of my unit as well as both sides of my circuit board.
CharlesB
 
Posts: 34
Joined: Fri Sep 14, 2012 3:53 am

Re: ZyXEL NSA320: eth0 "link is not ready"

Postby WarheadsSE » Fri Sep 28, 2012 9:57 pm

Stupid questions day says stupid questions are okay:
Have you tried a different Ethernet cable?

This has to be something driver/low level
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: ZyXEL NSA320: eth0 "link is not ready"

Postby Kurlon » Fri Sep 28, 2012 10:06 pm

At least ethtool spat out usable info, was that from the stock kernel or ALARM?
Kurlon
 
Posts: 132
Joined: Fri Jan 06, 2012 10:05 pm

Re: ZyXEL NSA320: eth0 "link is not ready"

Postby CharlesB » Fri Sep 28, 2012 10:08 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'H')ave you tried a different Ethernet cable?
Yes, 3 different cables total.

All 3 sets of output in previous post were from stock kernel.
CharlesB
 
Posts: 34
Joined: Fri Sep 14, 2012 3:53 am

Re: ZyXEL NSA320: eth0 "link is not ready"

Postby WarheadsSE » Mon Oct 01, 2012 6:09 pm

And now, after power cycling my device (reboot) I am also getting nothing.

I get link & GbE lights, but no communication out of my device at all. Cute.

Edit:
installed linux-kirkwood via serial. Rebooted. No change. :x
Rebooted to stock. (to_stock). Works. :?
Rebooted to Linux. (to_linux). Works. :roll:

WUT?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

WORKAROUND

Postby CharlesB » Tue Oct 02, 2012 2:08 am

$this->bbcode_second_pass_quote('WarheadsSE', 'a')fter power cycling my device (reboot) I am also getting nothing.
Better stay away from me; it's apparently contagious! ;-)
$this->bbcode_second_pass_quote('WarheadsSE', 'R')ebooted to stock. (to_stock). Works. :?
Rebooted to Linux. (to_linux). Works. :roll:


Awesome! Thanks for playing with that and making the discovery. I confirm your behavior and workaround for old kernel, too. It looks like perhaps the difference between you and I is that I was powering down a lot more than you were (partly due to my drive issue).

It appears that the Ethernet system requires some sort of initialization that Marvell's driver is providing in the stock firmware, but Arch isn't. Power up to Arch, and it'll never work. If, at any point, you boot stock, it'll fix it, and Arch will work forever more (until you power down).

For a workaround, then, to allow the device to be used without the need for a serial console, I could put this command early in Arch's boot (I don't know which file at the moment:
$this->bbcode_second_pass_code('', 'fw_setenv bootcmd run to_stock')so that if anything goes wrong (as long as it doesn't happen before that command is executed) it will always reboot to stock. Then, once it reboots in stock, I can ssh to it and manually execute
$this->bbcode_second_pass_code('', 'fw_setenv bootcmd run to_linux; restart')(I could make that automatic, too, but then you'd either need a serial console to abort it and do anything in stock, or you'd need a big delay so that you'd have time to kill it through ssh if desired.) This will make it usable until the real problem is fixed.
CharlesB
 
Posts: 34
Joined: Fri Sep 14, 2012 3:53 am
Top

Re: ZyXEL NSA320: eth0 "link is not ready"

Postby WarheadsSE » Tue Oct 02, 2012 2:55 am

This is pretty much the assumption that Kurlon and I have come to. I've made a request to ZyXEL for their kernel sources to confirm what the difference is precisely. We've got a few ideas in the running, and we'll let you know as soon as we get it sorted.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: WORKAROUND

Postby CharlesB » Tue Oct 02, 2012 2:57 am

$this->bbcode_second_pass_quote('CharlesB', 'I') could put this command early in Arch's boot (I don't know which file at the moment:
$this->bbcode_second_pass_code('', 'fw_setenv bootcmd run to_stock')

...or I could once I copy the command over from /zyxel/sbin in the stock firmware (assuming it doesn't depend on anything else).
CharlesB
 
Posts: 34
Joined: Fri Sep 14, 2012 3:53 am
Top

Re: ZyXEL NSA320: eth0 "link is not ready"

Postby WarheadsSE » Tue Oct 02, 2012 2:58 am

It only happens after a few reboots. Also, don't break stock.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: ZyXEL NSA320: eth0 "link is not ready"

Postby WarheadsSE » Thu Oct 04, 2012 12:47 pm

I have yet to be able to re-create the problem on my device. It's quite frustrating. All the same, Kurlon & myself have done some digging and have a few ideas to test for the next iteration if we can manage to reproduce it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

PreviousNext

Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: Google [Bot] and 31 guests