Bootloop after Power NAS540

Hi everybody,
i played with the OMV on my NAS540. First install was fine and worked
I dont know why, i installed it twice... and now i have a bootloop short after power connection.
1. plug in Power cable
2. vent starts slow
3. all lamps in the front are white instead of copy button
4. vent wents short a little bit faster
5. device turns off and starts again
6. procedure begins at 2.
no ssl, no lan,

so to all specialists: What can i do? Reflashing maybe?
When you have some steps for me for the way back to stock firmware... please tell me.
Thanks a lot, stay healthy and greetings Udo

«1

All Replies

  • udo
    udo Posts: 13
    Friend Collector
    allright, thanks for the links. i will read and look...

    I got the standard USB-Flash image from Zyxel support and tried a reflash. That didnt work, just a little bit excepted...

    I think the boot my not run into the right direction.
    So i will buy a serial cable and will log the first system steps and post it.

    so i bought this usb adapter on ebay.<br>
    USB 2.0 CH340G TTL Adapter Konverter CP2102 PL2303 Arduino UART FTDI 5V + 3.3V
    https://web.archive.org/web/20180101180026/http://zyxel.nas-central.org/wiki/Serial_port_(NAS540)<br>
    then work with these posts
    https://community.zyxel.com/en/discussion/comment/22992#Comment_22992<br>
    and will try to analyse the booting with logging wth putty...

    I will come back to you specialistst

    thanks a lot for yout help. Stay healtghy
    Udo
  • udo
    udo Posts: 13
    Friend Collector
    So my dear specialists:
    i got to the console with my adapter.
    My first log, only connected to serial port and power plug in:
    uloader 2011.06.0 (May 20 2014 - 16:36:41)
    Board: Mindspeed C2000
    c2k_spi_probe
    Copying Barebox from SPI Flash(bootopt=0)
    BB Copying Done
    ## Starting Barebox at 0x01000000 ...
    barebox 2011.06.0-svn44305-dirty6 (Aug 28 2014 - 22:25:22)
    Board: Mindspeed C2000
    c2k_spi_probe
    c2k_otp_probe.
    cbus_baseaddr: 9c000000, ddr_baseaddr: 03800000, ddr_phys_baseaddr: 03800000
    class init complete
    tmu init complete
    bmu1 init: done
    bmu2 init: done
    util init complete
    GPI1 init complete
    GPI2 init complete
    HGPI init complete
    HIF rx desc: base_va: 03e80000, base_pa: 03e80000
    HIF tx desc: base_va: 03e80400, base_pa: 03e80400
    HIF init complete
    bmu1 enabled
    bmu2 enabled
    pfe_hw_init: done
    pfe_firmware_init
    pfe_load_elf
    pfe_load_elf no of sections: 10
    pfe_firmware_init: class firmware loaded
    pfe_load_elf
    pfe_load_elf no of sections: 10
    pfe_firmware_init: tmu firmware loaded
    pfe_load_elf
    pfe_load_elf no of sections: 14
    pfe_firmware_init: util firmware loaded
    eth_port: 0
    NAS540_phy_reg_setting[eth_port].phyaddr: 0x4
    miidev_restart_aneg for PHY4
    eth_port: 1
    NAS540_phy_reg_setting[eth_port].phyaddr: 0x6
    miidev_restart_aneg for PHY6
    cfi_probe: cfi_flash base: 0xc0000000 size: 0x04000000
    ## Unknown FLASH on Bank at 0xc0000000 - Size = 0x00000000 = 0 MB
    bootopt = 0x0
    Using ENV from SPI Flash.
    nand_probe: comcerto_nand base: 0xc8300000 size: 0x256 MB
    NAND device: Manufacturer ID: 0x01, Chip ID: 0xda (AMD NAND 256MiB 3,3V 8-bit), page size: 2048, OOB size: 64
    Using default values
    Bad block table not found for chip 0
    Bad block table not found for chip 0
    Scanning device for bad blocks
    Bad block table written to 0x0ffe0000, version 0x01
    Bad block table written to 0x0ffc0000, version 0x01
    Malloc space: 0x00600000 -> 0x01000000 (size 10 MB)
    Stack space : 0x005f8000 -> 0x00600000 (size 32 kB)
    running /env/bin/init...
    Unknown command 'export' - try 'help'
    Disabling eee function of phy 4 ...
    Disabling eee function of phy 6 ...
    Hit any key to stop autoboot:  3 2 1 0
    booting kernel of type uimage from /dev/nand0.kernel2.bb
       Verifying Checksum ... Bad Data CRC
     Failed.
    booting kernel of type uimage from /dev/nand0.kernel1.bb
    ERROR: out of memory

    and then booting and booting...

    then i "hit any key to stop auoboot:"


    usage: update -t <kernel|rootfs|barebox|bareboxenv> -d <nor|nand> [-m tftp|xmodem|ddr] [-f imagename|-a address] -c
    update tools.
    options
     -c     to check the crc32 for the image and flashed one
    default mode is tftp
    type update -t uloader -d <nor|nand> [-m tftp|xmodem|ddr] [-f imagename|-a address] to update uloader into flash
    type update -t barebox -d <nor|nand> [-m tftp|xmodem|ddr] [-f imagename|-a address] to update barebox into flash
    type update -t kernel -d <nor|nand> [-m tftp|xmodem|ddr] [-f imagename|-a address] to update kernel into flash
    type update -t rootfs -d <nor|nand> [-m tftp|xmodem|ddr] [-f imagename|-a address] to update rootfs into flash
    type update -t bareboxenv -d <nor|nand> [-m tftp|xmodem|ddr] [-f imagename|-a address] to update bareboxenv into flash
    Barebox-C2K >/

    and here results with some commands:

    devinfo

    Barebox-C2K >/ devinfo

    devices:
    |----ramfs0
    |----devfs0
    |----mem0 (defaultenv)
    |----mem1 (mem)
    |----fast_uart0
    |----cs0
    |----c2k_i2c0
    |----eeprom0
    |----c2k_spi0
    |----S25FL064A0
    |----comcerto_spi10
    |----comcerto_spi20
    |----legerity0
    |----c2k_otp0
    |----c2000_eth0
    |----miidev0 (phy0)
    |----eth0
    |----c2000_eth1
    |----eth1
    |----cfi_flash0
    |----csi_flash0 (spi0, env0, spi0.uloader, spi0.barebox, spi0.env)
    |----comcerto_nand0
    |----nand0 (nand0, nand_oob0, self_raw, nand0.config, nand0.kernel1, nand0.rootfs1, nand0.kernel2, nand0.rootfs2, nand0.reserved)
    drivers:
     fast_uart
         ramfs
         devfs
        miidev
     c2000_eth
    comcerto_nand
     cfi_flash
       c2k_spi
    c2k_fast_spi
     csi_flash
       c2k_i2c
       c2k_otp
           mem
        cramfs
    Barebox-C2K >/

    printenv

    Barebox-C2K >/ printenv
    locals:
    PATH=/env/bin
    ip=dhcp
    kernel_loc=nand
    rootfs_loc=nand
    uloaderimage=microloader-c2kevm.bin
    bareboximage=barebox-c2kevm.bin
    mfg_kernel_img=uImage_MFG
    mfg_rootfs_img=rootfs_ubi.img_MFG
    rootfs_type=ubifs
    rootfsimage=root.ubifs-128k
    kernelimage_type=uimage
    kernelimage=uImage
    spi_parts=256k(uloader)ro,512k(barebox)ro,256k(env)
    spi_device=spi0.0
    nand_device=comcertonand
    nand_parts=10M(config),10M(kernel1),110M(rootfs1),10M(kernel2),110M(rootfs2),-(reserved)
    rootfs_mtdblock_nand=2
    autoboot_timeout=3
    usb3_internal_clk=yes
    bootargs=console=ttyS0,115200n8, init=/etc/preinit pcie_gen1_only=yes  mac_addr=,,
    next_bootfrom=2
    curr_bootfrom=1
    kernel_mtd_1=4
    sysimg_mtd_1=5
    kernel_mtd_2=6
    sysimg_mtd_2=7
    MODEL_ID=B103
    fwversion_1=V5.21(AATB.6)C0
    revision_1=51201
    modelid_1=B103
    core_checksum_1=12db79e8f9a45e7e8e210507438a007c
    zld_checksum_1=e92bdb96634160bf3b7b4aea2c931e35
    romfile_checksum_1=AFB9
    img_checksum_1=da8a9b4322d84676a9b10344bea84562
    fwversion_2=V5.11(AATB.0)
    revision_2=49296
    modelid_2=B103
    core_checksum_2=aa9ff911bacb84f24b19ea926b3f7d23
    zld_checksum_2=c963bb35897b568a3a4fa05daf512673
    romfile_checksum_2=1014
    img_checksum_2=2b23132d6534ead782fb0df47d411a1c
    ethaddr=5C:F4:AB:61:8D:96
    eth2addr=5C:F4:AB:61:8D:97
    serial_number=S140Z51001037
    globals:

    so dear specialists, please help me to boot into stock rom. iam cured from flashing rom and will use it as "Datengrab" in my network without any additional features.

    Thanks very much and stay heathy in this strange time...

    Many greetings Udo





  • udo
    udo Posts: 13
    Friend Collector
    okidoki one more stepp...

    when i type "boot" in comand -> the following result:
    Barebox-C2K >/ boot
    booting kernel of type uimage from /dev/nand0.kernel2.bb
       Verifying Checksum ... Bad Data CRC
     Failed.
    booting kernel of type uimage from /dev/nand0.kernel1.bb
    ERROR: out of memory
    then i ound the command "bootm" in another post.
    the help told me:
    bootm with "-n" doesnt make a kernel check...
    -n            do not verify the image (speeds up boot process)
    i type bootm -n /dev/nand0.kernel2.bb
    Barebox-C2K >/bootm -n /dev/nand0.kernel2.bb
        Image Name:    Linux-3.2.0-6-nas5xx
        Created:    2019-03-07    0:51:02 UTC
        Image Type:    <NULL> <NULL> <NULL> (<NULL>)
        Data Size:    3987896 Bytes = 3.8 MB
         Load Address:    0f00800
        Enry Point:    0f00800
    OK
    Starting kernel ...

    commandline: console=ttyS0, 115200n8, init=/etc/preint pcie_gen1_only=yes mac_addr=,,
    arch_number: 1094
    Uncompressing Linux... done, booting the kernel.
    now LAN cable conected..
    after 45 sec the bootloop begin from the beginning like in post 1.

    hmmm...
  • udo
    udo Posts: 13
    Friend Collector
    now i will tried the command bootm -n with the kernel 1
    /bootm -n /dev/nand0.kernel1.bb

    Barebox-C2K >/ bootm -n /dev/nand0.kernel1.bb
       Image Name:   Linux-3.2.54
       Created:      2020-06-04   2:17:01 UTC
       Image Type:   <NULL> <NULL> <NULL> (<NULL>)
       Data Size:    7430736 Bytes =  7.1 MB
       Load Address: 0f008000
       Entry Point:  0f008000

    OK

    Starting kernel ...
    commandline: console=ttyS0,115200n8, init=/etc/preinit pcie_gen1_only=yes  mac_addr=,,
    arch_number: 1094

    Uncompressing Linux... done, booting the kernel.

    here the boot log from putty
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Booting Linux on physical CPU 0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Linux version 3.2.54 (root@twsvnnt01652-01) (gcc version 4.8.5 20150209 (prerelease) (crosstool-NG 1.21.0) ) #1 SMP Thu Jun 4 10:16:59 CST 2020
    [    0.000000] CPU: ARMv7 Processor [412fc091] revision 1 (ARMv7), cr=50c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: Comcerto 2000 EVM
    [    0.000000] Memory policy: ECC disabled, Data cache writealloc
    [    0.000000] Comcerto: zone_dma mapping size=2c00000 type=b
    [    0.000000] PERCPU: Embedded 8 pages/cpu @85268000 s9504 r8192 d15072 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 254976
    [    0.000000] Kernel command line: console=ttyS0,115200n8, init=/etc/preinit pcie_gen1_only=yes  mac_addr=,,
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 44MB 960MB = 1004MB total
    [    0.000000] Memory: 1008396k/1008396k available, 40180k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff30000 - 0xfffe0000   ( 704 kB)
    [    0.000000]     vmalloc : 0xc0800000 - 0xf0000000   ( 760 MB)
    [    0.000000]     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
    [    0.000000]     modules : 0x83600000 - 0x84000000   (  10 MB)
    [    0.000000]       .text : 0x84008000 - 0x8468b460   (6670 kB)
    [    0.000000]       .init : 0x8468c000 - 0x849b7520   (3246 kB)
    [    0.000000]       .data : 0x849b8000 - 0x84a00bb0   ( 291 kB)
    [    0.000000]        .bss : 0x84a00bd4 - 0x84a61218   ( 386 kB)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:256
    [    0.000000] PLL0 running at 2400 MHz, PLL1 at 1000 MHz PLL2 running at 1500 MHz PLL3 running at 1066 MHz
    [    0.000000] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 17179ms
    [    0.000194] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
    [    0.090049] pid_max: default: 32768 minimum: 301
    [    0.090250] Mount-cache hash table entries: 512
    [    0.090776] Initializing cgroup subsys cpuacct
    [    0.090808] Initializing cgroup subsys devices
    [    0.090846] CPU: Testing write buffer coherency: ok
    [    0.091010] CPU0: thread -1, cpu 0, socket 9, mpidr 80000900
    [    0.091038] Calibrating local timer... 299.82MHz.
    [    0.150068] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
    [    0.151166] CPU1 powered up
    [    0.151765] CPU1: Booted secondary processor
    [    0.190035] CPU1: thread -1, cpu 1, socket 9, mpidr 80000901
    [    0.190087] Brought up 2 CPUs
    [    0.190099] SMP: Total of 2 processors activated (2393.70 BogoMIPS).
    [    0.191618] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 2
    [    0.192005] xor: measuring software checksum speed
    [    0.239985]    arm4regs  :  2128.400 MB/sec
    [    0.289953]    8regs     :  1397.600 MB/sec
    [    0.339923]    32regs    :  1186.000 MB/sec
    [    0.389906]    neon      :  1384.000 MB/sec
    [    0.389914] xor: using function: arm4regs (2128.400 MB/sec)
    [    0.390100] NET: Registered protocol family 16
    [    0.391844] L310 cache controller enabled
    [    0.391857] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x00c40000, PREFETCH_CTRL 0x00000000, Cache size: 262144 B
    [    0.391937] ARMv7 AUX CTRL(0): 0x41
    [    0.391942] ARMv7 AUX CTRL(0): 0x41
    [    0.391958] ARMv7 AUX CTRL(1): 0x41
    [    0.391966] ARMv7 AUX CTRL(1): 0x41
    [    0.392889] Pin Select for GPIO[15:0]: 05000000
    [    0.392896] Pin Select for GPIO[31:16]: 00555540
    [    0.392902] Output Enable for GPIO[31:0]: DFFFFF00
    [    0.392907] Pin Select for GPIO[59:32]: 0FFFFFFE
    [    0.392912] Pin Select for GPIO[63:60]: 00000020
    [    0.392918] Output Enable for GPIO[63:32]: 00000001
    [    0.392924] [033mEnable USB ...[0m
    [    0.394201] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.394211] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.394227] Power Management Mode Support For C2000:
    [    0.394593] PCIe: Ref clk 48Mhz
    [    0.394600] PCIe: Detected C2K RevA1 device serdes clk devider old:new=2e:6
    [    0.410041] PCIe0: Link Up Success
    [    0.410047] PCIe0: Polarity: 0 Gen1 mode: 1 External Clk: 0
    [    0.410053] comcerto_pcie_rc_int_init
    [    0.410458] PCI: bus0: Fast back to back transfers disabled
    [    0.410639] pci 0000:00:00.0: BAR 6: assigned [mem 0xa0000000-0xa000ffff pref]
    [    0.410650] pci 0000:00:00.0: BAR 5: assigned [mem 0xa0010000-0xa00101ff]
    [    0.410663] pci 0000:00:00.0: BAR 5: set to [mem 0xa0010000-0xa00101ff] (PCI address [0xa0010000-0xa00101ff])
    [    0.437429] bio: create slab <bio-0> at 0
    [    0.601337] raid6: int32x1     32 MB/s
    [    0.770613] raid6: int32x2     49 MB/s
    [    0.940124] raid6: int32x4     84 MB/s
    [    1.109549] raid6: int32x8    118 MB/s
    [    1.279566] raid6: neonx1     144 MB/s
    [    1.449474] raid6: neonx2     177 MB/s
    [    1.619302] raid6: neonx4     198 MB/s
    [    1.789108] raid6: neonx8     201 MB/s
    [    1.789114] raid6: using algorithm neonx8 (201 MB/s)
    [    1.789408] vgaarb: loaded
    [    1.789966] SCSI subsystem initialized
    [    1.790857] usbcore: registered new interface driver usbfs
    [    1.791086] usbcore: registered new interface driver hub
    [    1.791241] usbcore: registered new device driver usb
    [    1.792274] Switching to clocksource timer2
    [    1.802151] NET: Registered protocol family 2
    [    1.802402] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    1.803163] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    [    1.804521] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
    [    1.805136] TCP: Hash tables configured (established 131072 bind 65536)
    [    1.805144] TCP reno registered
    [    1.805157] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    1.805212] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    1.805572] NET: Registered protocol family 1
    [    1.805882] RPC: Registered named UNIX socket transport module.
    [    1.805890] RPC: Registered udp transport module.
    [    1.805896] RPC: Registered tcp transport module.
    [    1.805901] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    2.040574] gpio_dev = fd00000
    [    2.040846] membuf_init: created membuf device(252, 0)
    [    2.040913] clock_frequency_set: (1:24) NTG INCR value is 422212465
    [    2.072252] VFS: Disk quotas dquot_6.5.2
    [    2.072453] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    2.073195] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    2.073204] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    2.073798] fuse init (API version 7.17)
    [    2.075905] Btrfs loaded
    [    2.075934] msgmni has been set to 1969
    [    2.081604] async_tx: api initialized (async)
    [    2.082042] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
    [    2.082055] io scheduler noop registered
    [    2.082060] io scheduler deadline registered
    [    2.082163] io scheduler cfq registered (default)
    [    2.087719] ### comcerto_dma_probe: XOR DMA channel registered
    [    2.092273] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    2.262700] 84a546a0 849cb858 0 ffffffff
    [    2.263658] serial8250 serial8250.0: Couldn't set LCR to 191
    [    2.265180] serial8250 serial8250.0: Couldn't set LCR to 191
    [    2.267143] serial8250 serial8250.0: Couldn't set LCR to 224
    [    2.268420] serial8250 serial8250.0: Couldn't set LCR to 224
    [    2.288460] serial8250.0: ttyS0 at MMIO 0x96400000 (irq = 59) is a 16550A
    [    2.974588] console [ttyS0] enabled
    [    3.007981] comcerto_otp_probe.
    [    3.063325] loop: module loaded
    [    3.076978] PCI: enabling device 0000:00:00.0 (0140 -> 0142)
    [    3.082798] ahci: SSS flag set, parallel bus scan disabled
    [    3.088343] ahci 0000:00:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
    [    3.096483] ahci 0000:00:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs
    [    3.124426] scsi0 : ahci
    [    3.132630] scsi1 : ahci
    [    3.137998] ata1: SATA max UDMA/133 abar m512@0xa0010000 port 0xa0010100 irq 96
    [    3.145382] ata2: SATA max UDMA/133 abar m512@0xa0010000 port 0xa0010180 irq 96
    [    3.155786] SATA Serdes: 48Mhz ref clk
    [    3.160028] Serdes1: Lane OK Passed
    [    3.164038] Serdes2: Lane OK Passed
    [    3.167541] ahci ahci: forcing PORTS_IMPL to 0x3
    [    3.172230] ahci ahci: AHCI 0001.0300 32 slots 2 ports 3 Gbps 0x3 impl platform mode
    [    3.180025] ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
    [    3.200812] scsi2 : ahci_platform
    [    3.213324] scsi3 : ahci_platform
    [    3.217540] ata3: SATA max UDMA/133 mmio [mem 0x9d000000-0x9d00ffff] port 0x100 irq 48
    [    3.225523] ata4: SATA max UDMA/133 mmio [mem 0x9d000000-0x9d00ffff] port 0x180 irq 48
    [    3.238446] designware_spi_probe:Initializing SPI Controller : Using dma=0 CLK(DUS)=250000000 Hz
    [    3.247715] comcerto_spi comcerto_spi.1: at 0x96500000 mapped to 0xC080A000, irq=60
    [    3.255457] designware_spi_probe:Initializing SPI Controller : Using dma=0 CLK(spi_i2c)=250000000 Hz
    [    3.278516] comcerto_spi comcerto_spi.0: at 0x90498000 mapped to 0xC080C000, irq=61
    [    3.307376] comcertoflash: probe of comcertoflash.0 failed with error -5
    [    3.314518] m25p80 spi0.0: found mx25l8005, expected s25fl256s0
    [    3.320459] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
    [    3.341124] pdev->resource->start = c8300000, pdev->resource->end = c8301fff
    [    3.348238] nand_probe: comcertonand base: 0xc0800000
    [    3.353431] ONFI flash detected
    [    3.356663] ONFI param page 0 valid
    [    3.360166] NAND device: Manufacturer ID: 0x01, Chip ID: 0xda (AMD S34ML02G1)
    [    3.367348] hw_syndrome correction 2048.
    [    3.371280] Using default values for hw ecc
    [    3.378765] Bad block table not found for chip 0
    [    3.386641] Bad block table not found for chip 0
    [    3.391269] Scanning device for bad blocks
    [    3.472492] Bad block table written to 0x00000ffe0000, version 0x01
    [    3.480592] Bad block table written to 0x00000ffc0000, version 0x01
    [    3.502394] ata1: SATA link down (SStatus 0 SControl 320)
    [    3.514830] Fixed MDIO Bus: probed
    [    3.519668] ## xhci_plat_probe
    [    3.522803] ### comcerto_start_xhci
    [    3.526323] USB3.0 clock selected: internal
    [    3.533773] xhci-hcd xhci-hcd: xHCI Host Controller
    [    3.538782] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
    [    3.546024] xhci-hcd xhci-hcd: irq 54, io mem 0x9f000000
    [    3.551412] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    3.558248] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.565504] usb usb1: Product: xHCI Host Controller
    [    3.570395] usb usb1: Manufacturer: Linux 3.2.54 xhci-hcd
    [    3.575829] usb usb1: SerialNumber: xhci-hcd
    [    3.581221] hub 1-0:1.0: USB hub found
    [    3.585040] hub 1-0:1.0: 1 port detected
    [    3.592356] ata3: SATA link down (SStatus 0 SControl 320)
    [    3.597844] ata4: SATA link down (SStatus 0 SControl 320)
    [    3.602828] xhci-hcd xhci-hcd: xHCI Host Controller
    [    3.602856] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
    [    3.602954] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [    3.602961] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.602968] usb usb2: Product: xHCI Host Controller
    [    3.602973] usb usb2: Manufacturer: Linux 3.2.54 xhci-hcd
    [    3.602978] usb usb2: SerialNumber: xhci-hcd
    [    3.611313] hub 2-0:1.0: USB hub found
    [    3.611332] hub 2-0:1.0: 1 port detected
    [    3.642779] usbcore: registered new interface driver usblp
    [    3.642786] Initializing USB Mass Storage driver...
    [    3.646966] usbcore: registered new interface driver usb-storage
    [    3.646972] USB Mass Storage support registered.
    [    3.646978] dwc_otg: version 2.94a 27-OCT-2011
    hotplug367add:9
    hotplug367add:[9/0/0]USB hub device:09h/xxh/xxh
    hotplug366add:
    hotplug369add:
    hotplug370add:[9/0/0]USB hub device:09h/xxh/xxh
    [    3.847099] Core Release: 2.81a
    [    3.847110] Setting default values for core params
    [    3.855181] ata2: SATA link down (SStatus 0 SControl 320)
    [    4.046972] Using Buffer DMA mode
    [    4.050298] Periodic Transfer Interrupt Enhancement - disabled
    [    4.056154] Multiprocessor Interrupt Enhancement - disabled
    [    4.061742] OTG VER PARAM: 0, OTG VER FLAG: 0
    [    4.066149] dwc_otg dwc_otg.0: DWC OTG Controller
    [    4.070905] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 3
    [    4.072318] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [    4.084542] dwc_otg dwc_otg.0: irq 53, io mem 0x00000000
    [    4.089930] Init: Port Power? op_state=1
    [    4.093871] Init: Power Port (0)
    [    4.097164] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
    [    4.103982] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    4.111224] usb usb3: Product: DWC OTG Controller
    [    4.115947] usb usb3: Manufacturer: Linux 3.2.54 dwc_otg
    [    4.118304] usb 1-1: New USB device found, idVendor=174c, idProduct=2074
    [    4.118311] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    [    4.118317] usb 1-1: Product: ASM107x
    [    4.118321] usb 1-1: Manufacturer: Asmedia
    [    4.118326] usb 1-1: SerialNumber: 0000000A0003
    [    4.147478] usb usb3: SerialNumber: dwc_otg.0
    [    4.152038] hub 1-1:1.0: USB hub found
    [    4.156274] hub 1-1:1.0: 4 ports detected
    [    4.156341] hub 3-0:1.0: USB hub found
    [    4.156357] hub 3-0:1.0: 1 port detected
    [    4.178247] mousedev: PS/2 mouse device common for all mice
    hotplug375add:
    hotplug377add:
    hotplug378add:9
    [    4.225074] c2k-rtc c2k-rtc: rtc core: registered c2k as rtc0
    hotplug378add:[9[    4.230854] C2000 RTC, (c) 2012 Mindspeed Technologies
    /0/0]USB hub dev[    4.237565] c2k-rtc c2k-rtc: Warning: Invalid RTC value so initializing it
    ice:09h/xxh/xxh
    hotplug376add:9
    [    4.254416] i2c /dev entries driver
    [    4.258344] comcerto_i2c_calculate_dividers: speed=97kHz, M=1, N=7, dividers=0x0f
    [    4.272046] i2c-core: driver [eeprom] using legacy suspend method
    [    4.278181] i2c-core: driver [eeprom] using legacy resume method
    [    4.288259] comcerto_wdt: support registered
    [    4.293098] md: linear personality registered for level -1
    [    4.298607] md: raid0 personality registered for level 0
    hotplug376add:[9[    4.303965] md: raid1 personality registered for level 1
    /0/1]USB hub dev[    4.310681] md: raid10 personality registered for level 10
    ice:09h/xxh/xxh
    [    4.317583] md: raid6 personality registered for level 6
    [    4.324306] md: raid5 personality registered for level 5
    [    4.329708] md: raid4 personality registered for level 4
    [    4.335957] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
    [    4.340582] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [    4.355168] usb 2-1: New USB device found, idVendor=174c, idProduct=3074
    [    4.361905] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    [    4.369119] usb 2-1: Product: ASM107x
    [    4.372817] usb 2-1: Manufacturer: Asmedia
    [    4.376928] usb 2-1: SerialNumber: 0000000A0003
    hotplug405add:
    [    4.414349] hub 2-1:1.0: USB hub found
    [    4.418364] hub 2-1:1.0: 4 ports detected
    [    4.436039] usbcore: registered new interface driver usbhid
    [    4.441633] usbhid: USB HID core driver
    [    4.446222] etherip: Ethernet over IPv4 tunneling driver
    [    4.451550] etherip  ----- is functionalhotplug410add:9
    hotplug410add:[9/0/0]USB hub dev
    [    4.467477] TCP cubic registered
    ice:09h/xxh/xxh
    [    4.471537] NET: Registered protocol family 10
    [    4.479861] IPv6 over IPv4 tunneling driver
    [    4.505328] NET: Registered protocol family 17
    [    4.509957] 8021q: 802.1Q VLAN Support v1.8
    [    4.514215] Registering the dns_resolver key type
    [    4.518966] Clocks: disabled unused uart
    [    4.522923] Clocks: disabled unused gemtx
    [    4.526942] Clocks: disabled unused ipsec_spacc
    [    4.531484] Clocks: disabled unused dpi_cie
    [    4.535695] Clocks: disabled unused dpi_decomp
    [    4.540152] Clocks: disabled unused pcie1
    [    4.544204] Clocks: disabled unused ext_phy0
    [    4.548486] Clocks: disabled unused ext_phy1
    [    4.552786] Clocks: disabled unused ext_phy2
    [    4.557067] Clocks: disabled unused tpi
    [    4.560912] Clocks: disabled unused csys
    [    4.564856] Clocks: disabled unused tsuntg
    [    4.568963] Clocks: disabled unused sata_occ
    [    4.573265] Clocks: disabled unused pcie_occ
    [    4.577546] Clocks: disabled unused sgmii_occ
    [    4.593948] c2k-rtc c2k-rtc: setting system clock to 2012-07-12 18:25:01 UTC (1342117501)
    [    4.608639] Freeing init memory: 3244K
    [031m*** Stage 1: Setup system and device drivers ***[0m
    Fail to open gpio device
    [    4.947900] pfe_module_init
    [    4.950758] pfe_platform_probe
    [    4.955036] ipsec: baseaddr :9a000000 --- c0a00000
    [    4.960849] pfe_probe
    [    4.963149] PFE Driver version:
    [    4.963152] pfe_ctrl_12_00_2
    [    4.963154] built with pfe sources version: pfe_12_00_2
    [    4.974429] cbus_baseaddr: c3000000, ddr_baseaddr: c2000000, ddr_phys_baseaddr: 3400000, ddr_size: c00000
    [    4.984036] pfe_hw_init
    [    4.986487] CLASS version: 20
    [    4.989460] TMU version: 1011231
    [    4.992723] BMU1 version: 21
    [    4.995610] BMU2 version: 21
    [    4.998496] EMAC1 network cfg: 80000
    [    5.002079] EMAC2 network cfg: 80000
    [    5.005680] EMAC3 network cfg: 80000
    [    5.009263] EGPI1 version: 50
    [    5.012236] EGPI2 version: 50
    [    5.015226] EGPI3 version: 50
    [    5.018201] HGPI version: 50
    [    5.021088] GPT version: 0
    [    5.023812] HIF version: 10
    [    5.026613] HIF NOPCY version: 10
    [    5.029934] UTIL version: 20
    [    5.032831] bmu_init(1) done
    [    5.035720] bmu_init(2) done
    [    5.045244] class_init() done
    [    5.048223] tmu_init: mem init
    [    5.051284] tmu_init: lmem init
    [    5.054479] tmu_init() done
    [    5.057278] util_init() done
    [    5.060166] gpi_init(1) done
    [    5.063060] gpi_init(2) done
    [    5.065949] gpi_init(3) done
    [    5.068836] gpi_init(hif) done
    [    5.071897] bmu_enable(1) done
    [    5.074962] bmu_enable(2) done
    [    5.078024] pfe_hif_lib_init
    [    5.081111] pfe_hif_init
    [    5.083657] pfe_hif_alloc_descr
    [    5.087009] pfe_hif_init_buffers
    [    5.090385] pfe_firmware_init
    [    5.112381] pfe_load_elf
    [    5.114947] pe_load_ddr_section: load address(3fb0000) and elf file address(c083b000) rcvd
    [    5.146036] PFE binary version: pfe_12_00_2
    [    5.150235] pfe_firmware_init: class firmware loaded 0xb20 0xc3010000
    [    5.156709] pfe_load_elf
    [    5.160604] pfe_firmware_init: tmu firmware loaded 0x220
    [    5.165945] pfe_load_elf
    [    5.170383] pfe_firmware_init: util firmware loaded 0x16c0
    [    5.175927] pfe_ctrl_init
    [    5.198046] pfe_ctrl_init finished
    [    5.201459] pfe_eth_init
    [    5.202311] pfe_ctrl_timer
    [    5.218862] Comcerto MDIO Bus: probed
    [    5.314733] eth0: pfe_eth_init_one: created interface, baseaddr: c3200000
    [    5.412804] eth1: pfe_eth_init_one: created interface, baseaddr: c3220000
    [    5.419623] pfe_vwd_init
    [    5.422360] pfe_vwd_init: created vwd device(250, 0)
    [    5.427342] pfe_vwd_driver_init: start
    [    5.431100] pfe_vwd_up: start
    [    5.434139] comcerto_wifi_rx_fastpath_register:33 VWD Tx function registered
    [    5.441207] pfe_vwd_driver_init: end
    [    5.444819] pfe_pcap_init
    crw-rw----    1 root     root       10, 130 Jul 12 18:25 /dev/comcerto_wdt
    [032mStarting watchdog ...[0m
    -rw-r--r--    1 root     root             0 Jul [    5.475593]  [033mMCU watchdog is reset![0m
    12 18:25 /proc/mcu_wdt
    BusyBox v1.19.4 (2020-06-04 10:09:11 CST) multi-call binary.
    Usage: ifconfig [-a] interface [address]
    BusyBox v1.19.4 (2020-06-04 10:09:11 CST) multi-call binary.
    Usage: ifconfig [-a] interface [address]

    [    5.658322] egiga0: pfe_eth_open
    [    5.661787] hif_process_client_req: register client_id 0
    [    5.667128] pfe_hif_client_register
    [    5.670643] hif_lib_set_rx_cpu_affinity:Client (0) and HIF Rx processing will use same cpu
    [    5.678940] egiga0: pfe_gemac_init
    [    5.687101] egiga1: pfe_eth_open
    [    5.690564] hif_process_client_req: register client_id 1
    [    5.695906] pfe_hif_client_register
    [    5.699416] hif_lib_set_rx_cpu_affinity:Client (1) and HIF Rx processing will use same cpu
    [    5.707776] egiga1: pfe_gemac_init
    and this maybe interessting...
    [031m*** Stage 2: Prepare the root file system ***[0m
    mknod: /dev/gpio: File exists
    Initialize fan control
    Wrote to  0x90470058: 0x05000000
    Wrote to  0x90458000: 0x80000001
    Wrote to  0x90458028: 0x80001388
    [033mMount system partition...[0m
    crw-rw----    1 root     root       10,  58 Jul 12  2012 /dev/ubi_ctrl

    ubiattach: error!: cannot attach mtd7
               error 19 (No such device)
    mount: unknown filesystem type 'ubifs'
    NAND Flash Corrupt...
    the sys-root image /dev/mtdblock7 is currupt !!
    Open /dev/mtd2 void
    Open /dev/mtd2 void
    change boot image and reboot !!
    led_state_map_addr = 40e
    Starting "/etc/init.d/zypkg_controller.sh".
    Stopping all zypkgs via "/etc/init.d/zypkg_controller.sh" ...
    - Failed: dependency file "/i-data/.system/zy-pkgs/ZYPKG_DEPS" not exists.
    Starting "/etc/init.d/zypkg_controller.sh".
    Starting to release zy-pkgs environment ...
    umount: /usr/local/apache/htdocs/desktop,/pkg/: mountpoint not found
    Finish "/etc/init.d/zypkg_controller.sh".
    /etc/init.d/rc.shutdown: line 18: /sbin/i2cset: not found
    start kill.
      702 root      2512 S <  /sbin/watchdog -t 8 -T 15 /dev/comcerto_wdt

    BusyBox v1.19.4 (2020-06-04 10:09:11 CST) multi-call binary.
    Usage: swapoff [-a] [DEVICE]
    /etc/init.d/rc.shutdown: line 53: /usr/sbin/vgchange: not found
    umount: /etc/zyxel: not mounted
    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
    ubidetach: error!: cannot detach mtd3
               error 19 (No such device)
    ubidetach: error!: cannot detach mtd5
               error 19 (No such device)
    ubidetach: error!: cannot detach mtd7
               error 19 (No such device)
    Settings for egiga0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Half
        Port: MII
        PHYAD: 4
        Transceiver: external
        Auto-negotiation: off
        Current message level: 0x00000036 (54)
                       probe link ifdown ifup
        Link detected: no
    Settings for egiga1:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Half
        Port: MII
        PHYAD: 6
        Transceiver: external
        Auto-negotiation: off
        Current message level: 0x00000036 (54)
                       probe link ifdown ifup
        Link detected: no
    The system is going down NOW!
    Sent SIGTERM to all processes
    Sent SIGKILL to all processes
    Requesting system reboot
    [   19.293307] Restarting system.
    Maybe OMV USB Stick is missing... i will try this with it and see what happens...

  • udo
    udo Posts: 13
    Friend Collector
    Maybe OMV USB Stick is missing... i will try this with it and see what happens...

    OK... no usb missing... same behavior as before..

  • udo
    udo Posts: 13
    Friend Collector
    edited April 2021
    next try... put in rescue usb sick from zyxel, put it in an boot from kernel 2... maybe reflashing?

    well i must solve the heat problem of the cpu. assembled in the case, there is a pad connected to the frame. and try it again...
  • Mijzelf
    Mijzelf Posts: 2,790  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    Somehow your kernel command line is damaged.
    [    0.000000] Kernel command line: console=ttyS0,115200n8, init=/etc/preinit pcie_gen1_only=yes  mac_addr=,,
    It should contain the layout of the flash partitions. Without that the kernel doesn't know, and the mtd partitions aren't there. You can try to overwrite the env partition, as described in this thread. I pm'ed you a download link.

  • udo
    udo Posts: 13
    Friend Collector
    How to got this file to the NAS via serial connection...
    (install Solarwinds tftp, disable the windows FW or allow Port 69 - get the IP from the tftp-Server(my Laptop, cmd and ipconfig ->ipv4-Adress)
    put the files into the Folder on C:\TFTP-Root -> here gets tftp command from NAS the files

    on NAS/Barebox:
    1. command "dhcp" to get an IP
    2. command "eth0.serverip=xxx.xxx.xxx.xxx" ->put in here the IP of the TFTP server(my Laptop)
    3. check command "devinfo eth0" -> get all IPs and Subnetmask ->must all in one net...
       Example:
                     "dhcp" -> NAS IP 192.168.1.100
                     TFTPServer IP       192.168.1.50 -> my Laptop,  put this into the command at 2. above.

    4. tftp filename -> and it will trasnfer...
    5. check in folder with " ls -l "

Consumer Product Help Center