Problem booting Zyxel NSA325 July 06, 2016 10:12AM |
Registered: 7 years ago Posts: 7 |
U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:48:40 -0700) ZyXEL NSA325 2-Bay Power Media Server
cd /boot apt-get remove flash-kernel dpkg -i linux-image-4.6.0-kirkwood-tld-1_1.0_armel.deb
NSA325> printenv arcNumber=4495 baudrate=115200 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec bootcmd_exec=mw 0x800000 0 1; run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 0x1100000; fi; else irun load_dtb; then bootm 0x800000 - 0x1c00000; else bootm 0x800000; fi; fi bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot bootdelay=5 bootdev=usb console=ttyS0,115200 device=0:1 devices=usb ide mmc disks=0 1 ethact=egiga0 ethaddr=4C:9E:FF:BF:54:22 if_netconsole=ping $serverip ipaddr=192.168.2.34 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; ext2load $bootdev $device 0x1c00000 $dtb_file load_initrd=echo loading uInitrd ...; ext2load $bootdev $device 0x1100000 /boot/uInitrd load_uimage=echo loading uImage ...; ext2load $bootdev $device 0x800000 /boot/uImage mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) partition=nand0,2 preboot_nc=run if_netconsole start_netconsole rootdelay=10 rootfstype=ext4 sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_init=ide reset sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd sata_root=/dev/sda1 scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if tes$scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if ext2load $dev $disknu1 0x800000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done serverip=192.168.0.220 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x810000 uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_boot=run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi usb_init=usb start usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_ready_retry=15 usb_root=/dev/sda1 Environment size: 3675/131068 bytes
U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:48:40 -0700) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) 1 Storage Device(s) found Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: WDC WD1600AAJS-07WAA0 Firm: 58.01D58 Ser#: WD-WCAS29544393 Type: Hard Disk Supports 48-bit addressing Capacity: 152627.8 MB = 149.0 GB (312581808 x 512) ** First descriptor is NOT a primary desc on 0:1 ** Device 1: Model: WDC WD1600AAJS-07PSA0 Firm: 05.06H05 Ser#: WD-WCAP93298595 Type: Hard Disk Supports 48-bit addressing Capacity: 152627.8 MB = 149.0 GB (312581808 x 512) ** First descriptor is NOT a primary desc on 1:1 ** Unknown command 'mmc' - try 'help' Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 60060452 00000000-01 83 loading envs from usb 0 ... ** File not found /boot/uEnv.txt ** no IDE devices available Unknown command 'mmc' - try 'help' running scan_disk ... Scan device usb device usb 0:1 1 bytes read in 220 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... 3271632 bytes read in 317 ms (9.8 MiB/s) loading uInitrd ... 6432772 bytes read in 362 ms (16.9 MiB/s) loading DTB ... ** No boot file defined ** ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.6.0-kirkwood-tld-1 Created: 2016-07-05 17:59:19 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3271568 Bytes = 3.1 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.6.0-kirkwood-tld-1 Created: 2016-07-05 17:59:25 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6432708 Bytes = 6.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.6.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Wed May 18 03:54:14 PDT 2016 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine model: ZyXEL NSA325 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 503832K/524288K available (6233K kernel code, 607K rwdata, 2068K rodata, 304K init, 313K bss, 20456K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc08237cc (8302 kB) [ 0.000000] .init : 0xc0824000 - 0xc0870000 ( 304 kB) [ 0.000000] .data : 0xc0870000 - 0xc0907e34 ( 608 kB) [ 0.000000] .bss : 0xc0907e34 - 0xc09565b0 ( 314 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000285] Console: colour dummy device 80x30 [ 0.000312] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816) [ 0.090071] pid_max: default: 32768 minimum: 301 [ 0.090167] Security Framework initialized [ 0.090232] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090249] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090997] CPU: Testing write buffer coherency: ok [ 0.091400] Setting up static identity map for 0x8200 - 0x8258 [ 0.091676] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1 [ 0.094784] devtmpfs: initialized [ 0.099412] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.099662] prandom: seed boundary self test passed [ 0.102518] prandom: 100 self tests passed [ 0.102546] pinctrl core: initialized pinctrl subsystem [ 0.103774] NET: Registered protocol family 16 [ 0.104109] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.130092] cpuidle: using governor ladder [ 0.160091] cpuidle: using governor menu [ 0.160451] Feroceon L2: Enabling L2 [ 0.160486] Feroceon L2: Cache support initialised. [ 0.160807] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.165091] No ATAGs? [ 0.191317] vgaarb: loaded [ 0.191574] usbcore: registered new interface driver usbfs [ 0.191639] usbcore: registered new interface driver hub [ 0.191686] usbcore: registered new device driver usb [ 0.192637] clocksource: Switched to clocksource orion_clocksource [ 0.226964] VFS: Disk quotas dquot_6.6.0 [ 0.227026] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.235420] NET: Registered protocol family 2 [ 0.236067] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.236124] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.236176] TCP: Hash tables configured (established 4096 bind 4096) [ 0.236226] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.236246] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.236412] NET: Registered protocol family 1 [ 0.236723] RPC: Registered named UNIX socket transport module. [ 0.236732] RPC: Registered udp transport module. [ 0.236738] RPC: Registered tcp transport module. [ 0.236743] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.236981] Unpacking initramfs... [ 0.662120] Freeing initrd memory: 6284K (c1100000 - c1723000) [ 0.662231] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.663195] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.663253] audit: initializing netlink subsys (disabled) [ 0.663297] audit: type=2000 audit(0.660:1): initialized [ 0.663557] Initialise system trusted keyring [ 0.663761] workingset: timestamp_bits=29 max_order=17 bucket_order=0 [ 0.663871] zbud: loaded [ 0.664433] NFS: Registering the id_resolver key type [ 0.664471] Key type id_resolver registered [ 0.664478] Key type id_legacy registered [ 0.664499] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.664511] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.664701] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.664882] orangefs_init: called with debug mask: :none: :0: [ 0.665158] orangefs: module version upstream loaded [ 0.665366] Key type big_key registered [ 1.145140] Key type asymmetric registered [ 1.145157] Asymmetric key parser 'x509' registered [ 1.145233] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 1.145248] io scheduler noop registered [ 1.145258] io scheduler deadline registered [ 1.145306] io scheduler cfq registered (default) [ 1.146330] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 1.147008] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated [ 1.147465] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated [ 1.148088] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00 [ 1.148104] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 1.148114] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 1.148125] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.148405] PCI: bus0: Fast back to back transfers disabled [ 1.148425] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 1.162792] PCI: bus1: Fast back to back transfers disabled [ 1.162935] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff] [ 1.162949] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit] [ 1.162969] pci 0000:00:01.0: PCI bridge to [bus 01] [ 1.162981] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff] [ 1.163047] pcieport 0000:00:01.0: enabling device (0140 -> 0142) [ 1.163129] pci 0000:01:00.0: enabling device (0140 -> 0142) [ 1.163377] mv_xor f1060800.xor: Marvell shared XOR driver [ 1.203154] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 1.203336] mv_xor f1060900.xor: Marvell shared XOR driver [ 1.243139] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 1.243540] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 1.244614] console [ttyS0] disabled [ 1.244663] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 1.913333] console [ttyS0] enabled [ 1.917865] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1 [ 1.924277] nand: Eon NAND 128MiB 3,3V 8-bit [ 1.928567] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 1.936188] Scanning device for bad blocks [ 1.945135] Bad eraseblock 100 at 0x000000c80000 [ 1.954554] Bad eraseblock 200 at 0x000001900000 [ 1.998454] 4 cmdlinepart partitions found on MTD device orion_nand [ 2.004759] Creating 4 MTD partitions on "orion_nand": [ 2.009919] 0x000000000000-0x000000100000 : "u-boot" [ 2.015926] 0x000000100000-0x000000500000 : "uImage" [ 2.021869] 0x000000500000-0x000002500000 : "rootfs" [ 2.027976] 0x000002500000-0x000008000000 : "data" [ 2.035219] libphy: Fixed MDIO Bus: probed [ 2.039704] libphy: orion_mdio_bus: probed [ 2.045105] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 2.122750] mv643xx_eth: Set the PHY to fix link down [ 2.128223] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 4c:9e:ff:bf:54:22 [ 2.137263] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.143856] ehci-pci: EHCI PCI platform driver [ 2.148369] ehci-orion: EHCI orion driver [ 2.152530] orion-ehci f1050000.ehci: EHCI Host Controller [ 2.158084] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 2.165902] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 2.182663] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 2.188863] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.195698] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.202964] usb usb1: Product: EHCI Host Controller [ 2.207861] usb usb1: Manufacturer: Linux 4.6.0-kirkwood-tld-1 ehci_hcd [ 2.214516] usb usb1: SerialNumber: f1050000.ehci [ 2.219803] hub 1-0:1.0: USB hub found [ 2.223633] hub 1-0:1.0: 1 port detected [ 2.228066] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 2.233375] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2 [ 2.241091] xhci_hcd 0000:01:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x00000004 [ 2.249692] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.256527] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.263794] usb usb2: Product: xHCI Host Controller [ 2.268691] usb usb2: Manufacturer: Linux 4.6.0-kirkwood-tld-1 xhci-hcd [ 2.275347] usb usb2: SerialNumber: 0000:01:00.0 [ 2.280515] hub 2-0:1.0: USB hub found [ 2.284344] hub 2-0:1.0: 2 ports detected [ 2.288800] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 2.294097] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3 [ 2.301590] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.309834] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003 [ 2.316667] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.324003] usb usb3: Product: xHCI Host Controller [ 2.328903] usb usb3: Manufacturer: Linux 4.6.0-kirkwood-tld-1 xhci-hcd [ 2.335562] usb usb3: SerialNumber: 0000:01:00.0 [ 2.340732] hub 3-0:1.0: USB hub found [ 2.344555] hub 3-0:1.0: 2 ports detected [ 2.349374] mousedev: PS/2 mouse device common for all mice [ 2.355291] i2c /dev entries driver [ 2.359410] rtc-pcf8563 0-0051: chip found, driver version 0.4.4 [ 2.371265] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0 [ 2.380625] hidraw: raw HID events driver (C) Jiri Kosina [ 2.386614] drop_monitor: Initializing network drop monitor service [ 2.393123] NET: Registered protocol family 17 [ 2.397788] Key type dns_resolver registered [ 2.402744] registered taskstats version 1 [ 2.406887] Loading compiled-in X.509 certificates [ 2.411758] zswap: loaded using pool lzo/zbud [ 2.417964] Key type encrypted registered [ 2.423692] rtc-pcf8563 0-0051: setting system clock to 2016-07-06 14:44:45 UTC (1467816285) [ 2.434711] Freeing unused kernel memory: 304K (c0824000 - c0870000) [ 2.441093] This architecture does not have kernel memory protection. [ 2.449049] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004 [ 2.449049] [ 2.458231] CPU: 0 PID: 1 Comm: init Not tainted 4.6.0-kirkwood-tld-1 #1 [ 2.464958] Hardware name: Marvell Kirkwood (Flattened Device Tree) [ 2.471271] [<c001681c>] (unwind_backtrace) from [<c0012a38>] (show_stack+0x10/0x14) [ 2.479051] [<c0012a38>] (show_stack) from [<c00c7308>] (panic+0xac/0x240) [ 2.485957] [<c00c7308>] (panic) from [<c0020630>] (do_exit+0x540/0x9b0) [ 2.492686] [<c0020630>] (do_exit) from [<c0021d84>] (do_group_exit+0x4c/0xec) [ 2.499943] [<c0021d84>] (do_group_exit) from [<c002bc10>] (get_signal+0x59c/0x648) [ 2.507632] [<c002bc10>] (get_signal) from [<c0011fbc>] (do_signal+0x8c/0x3a4) [ 2.514887] [<c0011fbc>] (do_signal) from [<c001243c>] (do_work_pending+0x5c/0xc4) [ 2.522491] [<c001243c>] (do_work_pending) from [<c000f050>] (slow_work_pending+0xc/0x20) [ 2.530706] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004 [ 2.530706] [ 2.592658] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 2.764154] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 2.770894] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 2.792648] usb 1-1: Product: USB2.0 Hub [ 2.803318] hub 1-1:1.0: USB hub found [ 2.812657] hub 1-1:1.0: 4 ports detected [ 3.102651] usb 1-1.2: new high-speed USB device number 3 using orion-ehci [ 3.233905] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5583 [ 3.240816] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.262647] usb 1-1.2: Product: Ultra Fit [ 3.266675] usb 1-1.2: Manufacturer: SanDisk [ 3.270960] usb 1-1.2: SerialNumber: 4C530001180320119203 [ 74.192658] random: nonblocking pool is initialized
Re: Problem booting Zyxel NSA325 July 06, 2016 11:59AM |
Admin Registered: 13 years ago Posts: 18,580 |
Re: Problem booting Zyxel NSA325 July 07, 2016 11:12AM |
Registered: 7 years ago Posts: 7 |
Re: Problem booting Zyxel NSA325 July 07, 2016 12:40PM |
Registered: 7 years ago Posts: 7 |