Оживление почти убитого D-Link DNS 320l

У меня этот чудо девайс работает уже полтора года. Работает отлично, и особых нареканий к нему нет. Разве что стоковая прошивка совсем уж бедная по своим возможностям, и чтобы более полноценно использовать D-Link DNS 320l, желательно установить на него fun_plug, или прошить альтернативной прошивкой Alt-f.

fun_plug я поставил в первую очередь, и он мне очень понравился. Можно ставить дополнительные программы, использовать всю мощь доступа по ssh, в том числе и для бэкапа важных данных через rsync. Все просто замечательно было с fun_plug, если бы не сильно урезанное ядро системы. Уж не знаю зачем, но D-Link в своем firmware из ядра выпилил модуль iptables, и без него невозможно настроить nat, маскарадинг и прочие прелести. А мне вот что-то вдруг захотелось развернуть на своем аппарате OpenVPN, и я решил таки сменить прошивку на Alt-f.

Кстати, Alt-f — молодцы, сделали весьма качественный продукт. Комьюнити проекта пока не очень большое, но оно динамично развивается. Мне прошивка в целом понравилась, но в ней есть и минусы:

1. Веб интерфейс D-Link DNS 320l в прошивке Alt-F весьма убог по сравнению с родым firmware D-Link. Это не так критично, если конфигурировать устройство через консоль, но все равно — неприятно.

2. По умолчанию после установки прошивки у меня не запустился важны демон — dns320l-daemon. Он снимает показания с датчиков температуры и без него вентилятор охлаждения просто не запустится. А это уже серьезно, поскольку чревато перегревом как процессора, так и винчестеров и выходом их из строя. Проблема эта легко устраняется, но надо знать, что проблема существует.

3. Самое раздражающее в новой прошивке — это невозможность выключить сетевое хранилище программно. Нажатие на кнопку Power не выключает его, но останавливает работу всех сервисов и переводит коробочку в режим ожидания. И выключить хранилище по расписанию уже не представляется возможным, оно просто уйдет в спячку и дальше будет гудеть своим вентилятором.

В общем, поигравшись вдоволь с прошивкой Alt-F, я все-таки решил откатиться к прошивке оригинальной D-Link. И тут случилось страшное, во время перепрошивки хранилища пропало питание — и D-Link DNS 320l перестал загружаться. Совсем. Кнопка сброса к заводским установкам не помогла — достучаться до хранилища не было никакой возможности.

Последней надеждой была возможность подключения к хранилищу через serial console, для этого надо было найти соответствующие места на плате хранилища и припаять к ним провода. Но пайка проводов — это полбеды; настоящей проблемой было найти переходник RS232-ttl или USB-ttl. Причем DNS 320l использует низковольтный ttl (3.3 вольта), поэтому далеко не факт, что подойдет переходник на 5-вольтовый TTL. У нас в городе так и не удалось найти ни одного готового переходника, или подходящего телефонного дата-кабеля для создания такого переходника. Пришлось заказывать переходник в Китае, на AliExpress.

Удивительно, но покупка двух переходников на микросхеме PL2303 в Китае с доставкой в Россию оказалась намного выгоднее, чем покупка отдельных деталей и сборка своими силами. Я отдал меньше 1 доллара за каждый из переходников, а заказал я их 2 штуки — поскольку предполагал, что своими неумелыми действиями я могу спалить этот переходник. В общем, мне удалось подключить переходник к плате хранилища, и при включении питания хранилища я мог видеть все сообщения загрузки системы.

Выяснилось, что загрузчик u-boot был в полном порядке, а вот при попытке загрузки ядра выскакивало следующее сообщение:

...
starting pid 538, tty '': '/etc/rc.sh'
** Mounting /etc/fstab
umount: proc: not mounted
umount: proc: not mounted
umount: /usr/local/modules: not mounted
sh: can't open /usr/sbin/pre_usb.sh
umount: /usr/local/tmp/image.cfs: not found
umount: /usr/local/tmp: not mounted
first good block is 0
image len = 1835626867 , image checksum = 5f656761
kernel or ramdisk error
...

Образ рамдиска или ядра был битым во флеш-памяти, я мне надо было его перезаписать по новой. Говорят, как-то можно перезаписать флеш-память командами из u-boot, но я поступил по-другому.

Сначала я скачал firmware Alt-f, и с помощью утилиты dns323-firmware-tools-master извлек из firmware образ ядра и рамдиска:

splitdns323fw -k uKernel -i uInitrd -d uDefaults -s uSquashfs Alt-F-0.1RC4-DNS-320L-rev-A1.bin

На выходе получил файлы uKernel, uInitrd, uDefaults и uSquashfs (последние 2 не понадобились). Далее, развернул сервер tftp и в его корень положил полученные файлы. Потом, при загрузке хранилища в нужном месте нажал пробел и единицу, в результате получил доступ к командной строке u-boot:

 ** MARVELL BOARD: DB-88F6702A-BP LE
U-Boot 1.1.4 (Aug 22 2012 - 17:06:54) Marvell version: 3.6.0.DNS-320L.01
U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFB00
Soc: 88F6702 A1 CPU running @ 1000Mhz L2 running @ 500Mhz
SysClock = 400Mhz , TClock = 166Mhz
DRAM (DDR2) CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM Total size 256MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB
Flash:  0 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>>

Про «Hit any key to stop autoboot» они конечно переврали, надо нажимать строго Пробел и потом цифру 1. Дальше последовательность действий была такой:

setenv ipaddr 192.168.1.7 # прописываю IP адрес сетевого хранилища
setenv serverip 192.168.1.9 # прописываю IP адрес tftp-сервера
tftp 0xa00000 uKernel # загружаю образ ядра в формате u-boot в память по адресу 0xa00000
tftp 0xf00000 uInitrd # загружаю initrd в память по адресу 0xf00000
bootm 0xa00000 0xf00000 # запускаю операционную систему БЕЗ перешивания флеш памяти — если что-то пойдет не так, всегда можно перезагрузиться.

Через некоторое время загрузился интерфейс Alt-F по адресу http://192.168.1.7 В нем уже есть возможность полноценно залить прошивку Alt-F или D-Link во флеш-память. После перепрошивки перезагрузился — и все заработало. Правда, при перепрошивке слетели все настройки — но это уже мелочи, сетевое хранилище удалось оживить.

Оживление почти убитого D-Link DNS 320l: 91 комментарий

  1. у меня кирпич dns-323
    говорит:
    ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Dec 20 2006 – 15:49:31) Marvell version: 1.7.3

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Bad Magic Number
    Marvell>> loadb r
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x005221ca = 5382602 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Erase Ramdisk from 0xff9a0000 to 0xfff7ffff done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    Ramdisk Size = 5382602
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>> ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Dec 20 2006 – 15:49:31) Marvell version: 1.7.3

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Bad Magic Number
    Marvell>> 676
    Unknown command ’676′ – try ‘help’
    Marvell>> ?
    ? – alias for ‘help’
    bootm – boot application image from memory
    cp – memory copy
    echo – echo args to console
    erase – erase FLASH memory
    loadb – load binary file over serial line (kermit mode)
    md – memory display
    printenv- print environment variables
    run – run commands in an environment variable
    setenv – set environment variables
    Marvell>> loadb
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x0016bd5c = 1490268 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Kernel Size = 0
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>> ?
    ? – alias for ‘help’
    bootm – boot application image from memory
    cp – memory copy
    echo – echo args to console
    erase – erase FLASH memory
    loadb – load binary file over serial line (kermit mode)
    md – memory display
    printenv- print environment variables
    run – run commands in an environment variable
    setenv – set environment variables
    Marvell>> bootm
    ## Booting image at 00100000 …
    Image Name: Linux-2.6.12.6-arm1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1490204 Bytes = 1.4 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK

    Starting kernel …

    Uncompressing Linux……………………………………………………………………………………… done, booting the kernel.
    Linux version 2.6.12.6-arm1 (tim@SWTEST2) (gcc version 3.3.3) #47 Mon Nov 30 12:06:02 CST 2009
    CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
    CPU0: D VIVT write-back cache
    CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    Machine: MV-88fxx81
    Using UBoot passing parameters structure
    Sys Clk = 166000000, Tclk = 166000000
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists
    Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
    PID hash table entries: 512 (order: 9, 8192 bytes)
    Console: colour dummy device 80×30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 64MB 0MB 0MB 0MB = 64MB total
    Memory: 61696KB available (2599K code, 462K data, 112K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16

    Marvell Development Board (LSP Version 1.7.6_NAS)– RD-88F5182-NAS-2

    Detected Tclk 166000000 and SysClk 166000000
    Marvell USB EHCI Host controller #0: c03e5b00
    Marvell USB EHCI Host controller #1: c03e5a40
    pexBarOverlapDetect: winNum 2 overlap current 0
    mvPexInit:Warning :Bar 2 size is illigal
    it will be disabled
    please check Pex and CPU windows configuration
    PCI: bus0: Fast back to back transfers enabled
    PCI: bus1: Fast back to back transfers enabled
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    cesadev_init(c0012468)
    Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
    inotify device minor=63
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 3.3 (2007/10/31) Phillip Lougher
    squashfs: LZMA suppport for slax.org by jro
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    Initializing Cryptographic API
    Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing disabled
    ttyS0 at MMIO 0×0 (irq = 3) is a 16550A
    io scheduler noop registered
    io scheduler deadline registered
    RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
    loop: loaded (max 8 devices)
    Marvell Gigabit Ethernet Driver ‘egiga’:
    o Ethernet descriptors in DRAM
    o DRAM SW cache-coherency
    o Checksum offload enabled
    o Loading network interface ‘egiga0′
    Intergrated Sata device found
    scsi0 : Marvell SCSI to SATA adapter
    scsi1 : Marvell SCSI to SATA adapter
    physmap flash device: 800000 at ff800000
    phys_mapped_flash: Found 1 x16 devices at 0×0 in 8-bit bank
    Amd/Fujitsu Extended Query Table at 0×0040
    number of CFI chips: 1
    cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
    cmdlinepart partition parsing not available
    RedBoot partition parsing not available
    Using physmap partition definition
    Creating 5 MTD partitions on “phys_mapped_flash”:
    0×00000000-0×00010000 : “MTD1″
    0×00010000-0×00020000 : “MTD2″
    0×00020000-0x001a0000 : “Linux Kernel”
    0x001a0000-0x007d0000 : “File System”
    0x007d0000-0×00800000 : “u-boot”
    ehci_platform ehci_platform.20865: EHCI Host Controller
    ehci_platform ehci_platform.20865: new USB bus registered, assigned bus number 1
    ehci_platform ehci_platform.20865: irq 17, io mem 0×00000000
    ehci_platform ehci_platform.20865: park 0
    ehci_platform ehci_platform.20865: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    ehci_platform ehci_platform.86401: EHCI Host Controller
    ehci_platform ehci_platform.86401: new USB bus registered, assigned bus number 2
    ehci_platform ehci_platform.86401: irq 12, io mem 0×00000000
    ehci_platform ehci_platform.86401: park 0
    ehci_platform ehci_platform.86401: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    mice: PS/2 mouse device common for all mice
    md: linear personality registered as nr 1
    md: raid0 personality registered as nr 2
    md: raid1 personality registered as nr 3
    md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
    device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
    NET: Registered protocol family 2
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    md: Autodetecting RAID arrays.
    md: autorun …
    md: … autorun DONE.
    Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
    ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Dec 20 2006 – 15:49:31) Marvell version: 1.7.3

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Bad Magic Number
    Marvell>>
    Marvell>> bootm
    ## Booting image at 00400000 …
    Bad Magic Number
    Marvell>> ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Dec 20 2006 – 15:49:31) Marvell version: 1.7.3

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Bad Magic Number
    Marvell>> ?
    ? – alias for ‘help’
    bootm – boot application image from memory
    cp – memory copy
    echo – echo args to console
    erase – erase FLASH memory
    loadb – load binary file over serial line (kermit mode)
    md – memory display
    printenv- print environment variables
    run – run commands in an environment variable
    setenv – set environment variables
    Marvell>> loadb r
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x0016bd5c = 1490268 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Erase Ramdisk from 0xff9a0000 to 0xfff7ffff done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    Ramdisk Size = 1490268
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>> bootm
    ## Booting image at 00100000 …
    Image Name: Linux-2.6.12.6-arm1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1490204 Bytes = 1.4 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK

    Starting kernel …

    Uncompressing Linux……………………………………………………………………………………… done, booting the kernel.
    Linux version 2.6.12.6-arm1 (tim@SWTEST2) (gcc version 3.3.3) #47 Mon Nov 30 12:06:02 CST 2009
    CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
    CPU0: D VIVT write-back cache
    CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    Machine: MV-88fxx81
    Using UBoot passing parameters structure
    Sys Clk = 166000000, Tclk = 166000000
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists
    Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
    PID hash table entries: 512 (order: 9, 8192 bytes)
    Console: colour dummy device 80×30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 64MB 0MB 0MB 0MB = 64MB total
    Memory: 61696KB available (2599K code, 462K data, 112K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16

    Marvell Development Board (LSP Version 1.7.6_NAS)– RD-88F5182-NAS-2

    Detected Tclk 166000000 and SysClk 166000000
    Marvell USB EHCI Host controller #0: c03e5b00
    Marvell USB EHCI Host controller #1: c03e5a40
    pexBarOverlapDetect: winNum 2 overlap current 0
    mvPexInit:Warning :Bar 2 size is illigal
    it will be disabled
    please check Pex and CPU windows configuration
    PCI: bus0: Fast back to back transfers enabled
    PCI: bus1: Fast back to back transfers enabled
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    cesadev_init(c0012468)
    Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
    inotify device minor=63
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 3.3 (2007/10/31) Phillip Lougher
    squashfs: LZMA suppport for slax.org by jro
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    Initializing Cryptographic API
    Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing disabled
    ttyS0 at MMIO 0×0 (irq = 3) is a 16550A
    io scheduler noop registered
    io scheduler deadline registered
    RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
    loop: loaded (max 8 devices)
    Marvell Gigabit Ethernet Driver ‘egiga’:
    o Ethernet descriptors in DRAM
    o DRAM SW cache-coherency
    o Checksum offload enabled
    o Loading network interface ‘egiga0′
    Intergrated Sata device found
    scsi0 : Marvell SCSI to SATA adapter
    scsi1 : Marvell SCSI to SATA adapter
    physmap flash device: 800000 at ff800000
    phys_mapped_flash: Found 1 x16 devices at 0×0 in 8-bit bank
    Amd/Fujitsu Extended Query Table at 0×0040
    number of CFI chips: 1
    cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
    cmdlinepart partition parsing not available
    RedBoot partition parsing not available
    Using physmap partition definition
    Creating 5 MTD partitions on “phys_mapped_flash”:
    0×00000000-0×00010000 : “MTD1″
    0×00010000-0×00020000 : “MTD2″
    0×00020000-0x001a0000 : “Linux Kernel”
    0x001a0000-0x007d0000 : “File System”
    0x007d0000-0×00800000 : “u-boot”
    ehci_platform ehci_platform.20865: EHCI Host Controller
    ehci_platform ehci_platform.20865: new USB bus registered, assigned bus number 1
    ehci_platform ehci_platform.20865: irq 17, io mem 0×00000000
    ehci_platform ehci_platform.20865: park 0
    ehci_platform ehci_platform.20865: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    ehci_platform ehci_platform.86401: EHCI Host Controller
    ehci_platform ehci_platform.86401: new USB bus registered, assigned bus number 2
    ehci_platform ehci_platform.86401: irq 12, io mem 0×00000000
    ehci_platform ehci_platform.86401: park 0
    ehci_platform ehci_platform.86401: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    mice: PS/2 mouse device common for all mice
    md: linear personality registered as nr 1
    md: raid0 personality registered as nr 2
    md: raid1 personality registered as nr 3
    md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
    device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
    NET: Registered protocol family 2
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    md: Autodetecting RAID arrays.
    md: autorun …
    md: … autorun DONE.
    Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
    ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Dec 20 2006 – 15:49:31) Marvell version: 1.7.3

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Bad Magic Number
    Marvell>> ?
    ? – alias for ‘help’
    bootm – boot application image from memory
    cp – memory copy
    echo – echo args to console
    erase – erase FLASH memory
    loadb – load binary file over serial line (kermit mode)
    md – memory display
    printenv- print environment variables
    run – run commands in an environment variable
    setenv – set environment variables
    Marvell>> loadb r
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x0016bd5c = 1490268 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Erase Ramdisk from 0xff9a0000 to 0xfff7ffff done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    Ramdisk Size = 1490268
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>> bootb r
    Unknown command ‘bootb’ – try ‘help’
    Marvell>> ?
    ? – alias for ‘help’
    bootm – boot application image from memory
    cp – memory copy
    echo – echo args to console
    erase – erase FLASH memory
    loadb – load binary file over serial line (kermit mode)
    md – memory display
    printenv- print environment variables
    run – run commands in an environment variable
    setenv – set environment variables
    Marvell>> loadb r
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x00540a6b = 5507691 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Erase Ramdisk from 0xff9a0000 to 0xfff7ffff done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    Ramdisk Size = 5507691
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>> bootm
    ## Booting image at 00100000 …
    Image Name: Ramdisk
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 5507627 Bytes = 5.3 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK
    Wrong Image Type for bootm command
    Marvell>> ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Dec 20 2006 – 15:49:31) Marvell version: 1.7.3

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Bad Magic Number
    Marvell>> ?
    ? – alias for ‘help’
    bootm – boot application image from memory
    cp – memory copy
    echo – echo args to console
    erase – erase FLASH memory
    loadb – load binary file over serial line (kermit mode)
    md – memory display
    printenv- print environment variables
    run – run commands in an environment variable
    setenv – set environment variables
    Marvell>> loadb r
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x0016bd5c = 1490268 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Erase Ramdisk from 0xff9a0000 to 0xfff7ffff done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    Ramdisk Size = 1490268
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>> bootm
    ## Booting image at 00100000 …
    Image Name: Linux-2.6.12.6-arm1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1490204 Bytes = 1.4 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK

    Starting kernel …

    Uncompressing Linux……………………………………………………………………………………… done, booting the kernel.
    Linux version 2.6.12.6-arm1 (tim@SWTEST2) (gcc version 3.3.3) #47 Mon Nov 30 12:06:02 CST 2009
    CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
    CPU0: D VIVT write-back cache
    CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    Machine: MV-88fxx81
    Using UBoot passing parameters structure
    Sys Clk = 166000000, Tclk = 166000000
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists
    Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
    PID hash table entries: 512 (order: 9, 8192 bytes)
    Console: colour dummy device 80×30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 64MB 0MB 0MB 0MB = 64MB total
    Memory: 61696KB available (2599K code, 462K data, 112K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16

    Marvell Development Board (LSP Version 1.7.6_NAS)– RD-88F5182-NAS-2

    Detected Tclk 166000000 and SysClk 166000000
    Marvell USB EHCI Host controller #0: c03e5b00
    Marvell USB EHCI Host controller #1: c03e5a40
    pexBarOverlapDetect: winNum 2 overlap current 0
    mvPexInit:Warning :Bar 2 size is illigal
    it will be disabled
    please check Pex and CPU windows configuration
    PCI: bus0: Fast back to back transfers enabled
    PCI: bus1: Fast back to back transfers enabled
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    cesadev_init(c0012468)
    Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
    inotify device minor=63
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 3.3 (2007/10/31) Phillip Lougher
    squashfs: LZMA suppport for slax.org by jro
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    Initializing Cryptographic API
    Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing disabled
    ttyS0 at MMIO 0×0 (irq = 3) is a 16550A
    io scheduler noop registered
    io scheduler deadline registered
    RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
    loop: loaded (max 8 devices)
    Marvell Gigabit Ethernet Driver ‘egiga’:
    o Ethernet descriptors in DRAM
    o DRAM SW cache-coherency
    o Checksum offload enabled
    o Loading network interface ‘egiga0′
    Intergrated Sata device found
    scsi0 : Marvell SCSI to SATA adapter
    scsi1 : Marvell SCSI to SATA adapter
    physmap flash device: 800000 at ff800000
    phys_mapped_flash: Found 1 x16 devices at 0×0 in 8-bit bank
    Amd/Fujitsu Extended Query Table at 0×0040
    number of CFI chips: 1
    cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
    cmdlinepart partition parsing not available
    RedBoot partition parsing not available
    Using physmap partition definition
    Creating 5 MTD partitions on “phys_mapped_flash”:
    0×00000000-0×00010000 : “MTD1″
    0×00010000-0×00020000 : “MTD2″
    0×00020000-0x001a0000 : “Linux Kernel”
    0x001a0000-0x007d0000 : “File System”
    0x007d0000-0×00800000 : “u-boot”
    ehci_platform ehci_platform.20865: EHCI Host Controller
    ehci_platform ehci_platform.20865: new USB bus registered, assigned bus number 1
    ehci_platform ehci_platform.20865: irq 17, io mem 0×00000000
    ehci_platform ehci_platform.20865: park 0
    ehci_platform ehci_platform.20865: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    ehci_platform ehci_platform.86401: EHCI Host Controller
    ehci_platform ehci_platform.86401: new USB bus registered, assigned bus number 2
    ehci_platform ehci_platform.86401: irq 12, io mem 0×00000000
    ehci_platform ehci_platform.86401: park 0
    ehci_platform ehci_platform.86401: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    mice: PS/2 mouse device common for all mice
    md: linear personality registered as nr 1
    md: raid0 personality registered as nr 2
    md: raid1 personality registered as nr 3
    md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
    device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
    NET: Registered protocol family 2
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    md: Autodetecting RAID arrays.
    md: autorun …
    md: … autorun DONE.
    Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
    ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Dec 20 2006 – 15:49:31) Marvell version: 1.7.3

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Bad Magic Number
    Marvell>> ?
    ? – alias for ‘help’
    bootm – boot application image from memory
    cp – memory copy
    echo – echo args to console
    erase – erase FLASH memory
    loadb – load binary file over serial line (kermit mode)
    md – memory display
    printenv- print environment variables
    run – run commands in an environment variable
    setenv – set environment variables
    Marvell>> loadb k
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x0016bd5c = 1490268 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Erase Kernel from 0xff820000 to 0xff99ffff done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    done
    Erased 1 sectors
    Kernel Size = 1490268
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>>


    скажите, что не так?

  2. moo, изначально у тебя было битое ядро и битый initrd. Ты успешно перезаписал новое ядро вместо старого, но initrd остался битым, поэтому ядро успешно загружается. Но оно не может найти точки монтирования, поэтому и сваливается в kernel panic.

    Теперь тебе надо найти нормальный образ рамдиска (initrd) для своего устройства, и загрузить его во флеш-память. Адрес загрузки образа рамдиска для DNS 323 я не знаю, но у меня на DNS 320l он загружался по адресу 0xf00000. Возможно, у тебя адрес будет таким же.

  3. да проблемы с моими uKernel и uRamdisk…
    оч. много Erased 1 sectors…
    с бубном вгрузил, кирпич говорит:

    ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Dec 20 2006 – 15:49:31) Marvell version: 1.7.3

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Image Name: Linux-2.6.12.6-arm1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1490204 Bytes = 1.4 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at ff9a0000 …
    Image Name: Ramdisk
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 5507627 Bytes = 5.3 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK

    Starting kernel …

    Uncompressing Linux……………………………………………………………………………………… done, booting the kernel.
    Linux version 2.6.12.6-arm1 (tim@SWTEST2) (gcc version 3.3.3) #47 Mon Nov 30 12:06:02 CST 2009
    CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
    CPU0: D VIVT write-back cache
    CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    Machine: MV-88fxx81
    Using UBoot passing parameters structure
    Sys Clk = 166000000, Tclk = 166000000
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists
    Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
    PID hash table entries: 512 (order: 9, 8192 bytes)
    Console: colour dummy device 80×30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 64MB 0MB 0MB 0MB = 64MB total
    Memory: 56192KB available (2599K code, 462K data, 112K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    checking if image is initramfs…it isn’t (no cpio magic); looks like an initrd
    Freeing initrd memory: 5378K
    NET: Registered protocol family 16

    Marvell Development Board (LSP Version 1.7.6_NAS)– RD-88F5182-NAS-2

    Detected Tclk 166000000 and SysClk 166000000
    Marvell USB EHCI Host controller #0: c0d43b00
    Marvell USB EHCI Host controller #1: c0d43a40
    pexBarOverlapDetect: winNum 2 overlap current 0
    mvPexInit:Warning :Bar 2 size is illigal
    it will be disabled
    please check Pex and CPU windows configuration
    PCI: bus0: Fast back to back transfers enabled
    PCI: bus1: Fast back to back transfers enabled
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    cesadev_init(c0012468)
    Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
    inotify device minor=63
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 3.3 (2007/10/31) Phillip Lougher
    squashfs: LZMA suppport for slax.org by jro
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    Initializing Cryptographic API
    Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing disabled
    ttyS0 at MMIO 0×0 (irq = 3) is a 16550A
    io scheduler noop registered
    io scheduler deadline registered
    RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
    loop: loaded (max 8 devices)
    Marvell Gigabit Ethernet Driver ‘egiga’:
    o Ethernet descriptors in DRAM
    o DRAM SW cache-coherency
    o Checksum offload enabled
    o Loading network interface ‘egiga0′
    Intergrated Sata device found
    scsi0 : Marvell SCSI to SATA adapter
    scsi1 : Marvell SCSI to SATA adapter
    physmap flash device: 800000 at ff800000
    phys_mapped_flash: Found 1 x16 devices at 0×0 in 8-bit bank
    Amd/Fujitsu Extended Query Table at 0×0040
    number of CFI chips: 1
    cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
    cmdlinepart partition parsing not available
    RedBoot partition parsing not available
    Using physmap partition definition
    Creating 5 MTD partitions on “phys_mapped_flash”:
    0×00000000-0×00010000 : “MTD1″
    0×00010000-0×00020000 : “MTD2″
    0×00020000-0x001a0000 : “Linux Kernel”
    0x001a0000-0x007d0000 : “File System”
    0x007d0000-0×00800000 : “u-boot”
    ehci_platform ehci_platform.20865: EHCI Host Controller
    ehci_platform ehci_platform.20865: new USB bus registered, assigned bus number 1
    ehci_platform ehci_platform.20865: irq 17, io mem 0×00000000
    ehci_platform ehci_platform.20865: park 0
    ehci_platform ehci_platform.20865: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    ehci_platform ehci_platform.86401: EHCI Host Controller
    ehci_platform ehci_platform.86401: new USB bus registered, assigned bus number 2
    ehci_platform ehci_platform.86401: irq 12, io mem 0×00000000
    ehci_platform ehci_platform.86401: park 0
    ehci_platform ehci_platform.86401: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    mice: PS/2 mouse device common for all mice
    md: linear personality registered as nr 1
    md: raid0 personality registered as nr 2
    md: raid1 personality registered as nr 3
    md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
    device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
    NET: Registered protocol family 2
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    md: Autodetecting RAID arrays.
    md: autorun …
    md: … autorun DONE.
    RAMDISK: Compressed image found at block 0
    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
    VFS: Mounted root (ext2 filesystem).
    Freeing init memory: 112K
    init started: BusyBox v1.11.2 (2010-02-02 10:50:14 CST)
    starting pid 215, tty ”: ‘/etc/rc.sh’
    ** Mounting /etc/fstab
    umount: proc: not mounted
    umount: proc: not mounted
    umount: /image.cfs: not mounted
    umount: /image.cfs: not mounted
    ln: /usr/sbin/system_init: File exists
    Check MTD block device V2.06.12242009
    MTD1 mount ok
    mtd1 free size is 17408
    MTD2 mount ok
    mtd2 free size is 17408
    ** copy mtd1 files
    cp: cannot stat ‘/sys/mtd1/firmwareupdate’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/codepage’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/upnp_serialnum.conf’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/MountError’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/mediaserver.udn’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/upnpav_portnumber’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/web_NToR1′: No such file or directory
    cp: cannot stat ‘/sys/mtd1/dsk_mapping’: No such file or directory
    rm: cannot remove ‘/sys/mtd1/udhcpd.leases’: No such file or directory
    mv: cannot rename ‘/sys/mtd1/firmwareupdate’: No such file or directory
    mv: cannot rename ‘/sys/mtd1/restore’: No such file or directory
    mv: cannot rename ‘/sys/mtd1/format_ok’: No such file or directory
    mv: cannot rename ‘/sys/mtd1/pls_sync’: No such file or directory
    mv: cannot rename ‘/sys/mtd1/pls_chmod_a2′: No such file or directory
    mv: cannot rename ‘/sys/mtd1/pls_chmod_b2′: No such file or directory
    mv: cannot rename ‘/sys/mtd1/spare_dsk’: No such file or directory
    mv: cannot rename ‘/sys/mtd1/std_raid1′: No such file or directory
    mv: cannot rename ‘/sys/mtd1/old_prescan_version’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/ez-ipupdate.cache’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/ftpgroup’: No such file or directory
    ** link lib **
    ** link web **
    ** link /usr/bin **
    ** link /usr/sbin **
    usbcore: registered new driver usblp
    drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
    ** link /usr/local/LPRng **
    cp: cannot stat ‘/sys/crfs/default/server-key-nopassword.pem’: No such file or directory
    mode: 16384
    -o offset: 0
    -f frequency: 0
    maxerror: 16384000
    esterror: 16384000
    status: 64 (UNSYNC)
    -p timeconstant: 2
    precision: 1
    tolerance: 33554432
    -t tick: 9960
    time.tv_sec: 1432890346
    time.tv_usec: 430738
    return value: 5 (clock not synchronized)
    : getRTC time= 15/5/29 9:5:47

    ** set loopback interface
    read mac from /dev/mtdblock4
    MAC = 00:1C:F0:8E:1A:0B
    egiga0: mac address changed
    ** Activate Gigabit Interface
    Stop fan
    Set fan to low speed(2700)
    ** execute rc.init.sh
    route: SIOCADDRT: Network is unreachable
    Setting hostname …. dlink-8E1A0B
    Starting DHCP client ….
    169.254.180.53
    requested_ip=169.254.180.53
    udhcpc (v1.11.2) started
    Sending discover…
    Sending discover…
    Sending discover…
    No lease, forking to background
    hd verify v1.24.12222010
    can not detect hd
    Set Timezone=(GMT-08:00) Pacific Time(US & Canada); Tijuana
    1.Set Date & time …(command: sntp -r ntp1.dlink.com &)
    get IP = [NONE SET]
    sntp: unable to locate IP address/number
    sntp: Success
    : getRTC time= 15/5/29 9:6:9
    May 29 09:06:09 crond[634]: crond (busybox 1.11.2) started, log level 8

    check button V2.77.02242011
    1.10(1.82.0406.2011)
    04/06/2011
    mfg_search
    create /tmp/fatmount script file
    mount FAT storage devices
    ** Get MAC Addr
    mount: /dev/sda is not a valid block device
    mount: /dev/sdb is not a valid block device
    mount: /dev/sdc is not a valid block device
    Old BT binanry
    does not exist directory
    /usr/sbin/start_bt: line 20: ./btdog: not found
    mount: /dev/sda1 is not a valid block device
    mount: /dev/sdb1 is not a valid block device
    mount: /dev/sdc1 is not a valid block device
    /etc/shared_name: No such file or directory
    Fan:Auto(Off/Low/High)
    set fan speed to h
    format error
    op_server 3 3 3 &
    Set fan to high speed(7000)
    op_server v2.01.06012006
    This may not a UPS device , please check it
    sh: you need to specify whom to kill
    posix_main begin
    starting pid 723, tty ”: ‘-/bin/sh’

    BusyBox v1.11.2 (2010-02-02 10:50:14 CST) built-in shell (ash)
    Enter ‘help’ for a list of built-in commands.

    posix_main begin
    Detect 5182 chip
    May 29 09:06:13 crond[735]: crond (busybox 1.11.2) started, log level 8

    detect phy 1111
    kill process
    May 29 09:06:14 crond[753]: crond (busybox 1.11.2) started, log level 8

    rm: cannot remove ‘/tmp/set_ddns_done’: No such file or directory
    rm: cannot remove ‘/tmp/set_ddns_error’: No such file or directory
    usbcore: deregistering driver usblp
    $Shutting down SMB services: language=ENGLISH

    $Shutting down NMB services:
    set fan speed to s
    Stop fan
    No found HD
    egiga0: link up, full duplex, speed 100 Mbps
    route: SIOCADDRT: Network is unreachable
    Setting hostname …. dlink-8E1A0B
    Starting DHCP client ….
    169.254.180.53
    requested_ip=169.254.180.53
    udhcpc (v1.11.2) started
    Sending discover…
    Sending discover…
    Sending discover…
    No lease, forking to background

    по сети:
    ssh – молчит, веб морды – нет…
    con4:
    5784468 – есть доступ

    можно попросить Вас изготовить uKernel и uRamdisk из ftp://ftp.dlink.ru/pub/NAS/DNS-323/Firmware/DNS-323_B1_FW_v1.06.rar
    заранее спасибо…

  4. Да, отлично, почти получилось. В логах видно, что сетевая карта не получила айпишник от DHCP-сервера.

    Ссылки на скачивание частей прошивки:

    http://www.bloged.org/downloads/D-Link-DNS-323/Firmware_images/1.06b65_1.55.1203.2008/uDefaults

    http://www.bloged.org/downloads/D-Link-DNS-323/Firmware_images/1.06b65_1.55.1203.2008/uInitrd

    http://www.bloged.org/downloads/D-Link-DNS-323/Firmware_images/1.06b65_1.55.1203.2008/uKernel

    Отпишись потом, помогло или нет.

  5. Здравствуйте! Меня зовут Дмитрий! Я прошу у Вас помощи. У меня есть DNS-320 Rev. A1 И после прошивки его на альтернативную прошивку ALT-F он перестал загружаться. Купил на Aliexpress USB-TTL переходник и добрался до загрузки данного устройства во время включения. Вот что он выдаёт:

    ** MARVELL BOARD: DB-88F6281A-BP LE

    U-Boot 1.1.4 (Jan 21 2011 – 11:56:48) Marvell version: 3.4.14.DNS-320_03

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

    Soc: MV88F6281 Rev 3 (DDR2)
    CPU running @ 800Mhz L2 running @ 400Mhz
    SysClock = 200Mhz , TClock = 166Mhz

    DRAM CAS Latency = 3 tRP = 3 tRAS = 8 tRCD=3
    DRAM CS[0] base 0×00000000 size 128MB
    DRAM Total size 128MB 16bit width
    Flash: 0 kB
    Addresses 8M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (8M – 7M): Done
    NAND:128 MB
    *** Warning – bad CRC or NAND, using default environment

    CPU : Marvell Feroceon (Rev 1)

    Streaming disabled
    Write allocate disabled

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

    NAND read: device 0 offset 0×100000, size 0×300000
    load addr …. =a00000

    3145728 bytes read: OK

    NAND read: device 0 offset 0×600000, size 0×300000
    load addr …. =f00000

    3145728 bytes read: OK
    ## Booting image at 00a00000 …
    Image Name: Linux-2.6.22.18
    Created: 2011-05-25 7:48:34 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2211624 Bytes = 2.1 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at 00f00000 …
    Image Name: Alt-F-0.1RC4, initrd
    Created: 2014-06-23 18:02:20 UTC
    Image Type: ARM Linux RAMDisk Image (uncompressed)
    Data Size: 2945024 Bytes = 2.8 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK

    Starting kernel …

    Uncompressing Linux…………………………………………………………………………………………………………………………… done, booting the kernel.
    Linux version 2.6.22.18 (jack@swtest4) (gcc version 4.2.1) #23 Wed May 25 15:48:30 CST 2011
    CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053977
    Machine: Feroceon-KW
    Using UBoot passing parameters structure
    Memory policy: ECC disabled, Data cache writeback
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    Built 1 zonelists. Total pages: 32512
    Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
    PID hash table entries: 512 (order: 9, 2048 bytes)
    Console: colour dummy device 80×30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB 0MB 0MB 0MB = 128MB total
    Memory: 122368KB available (4148K code, 252K data, 124K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16

    CPU Interface
    ————-
    SDRAM_CS0 ….base 00000000, size 128MB
    SDRAM_CS1 ….disable
    SDRAM_CS2 ….disable
    SDRAM_CS3 ….disable
    PEX0_MEM ….base e8000000, size 128MB
    PEX0_IO ….base f2000000, size 1MB
    INTER_REGS ….base f1000000, size 1MB
    NFLASH_CS ….base fa000000, size 2MB
    SPI_CS ….base f4000000, size 16MB
    BOOT_ROM_CS ….no such
    DEV_BOOTCS ….no such
    CRYPT_ENG ….base f0000000, size 2MB

    Marvell Development Board (LSP Version KW_LSP_4.3.4_patch30)– DB-88F6281A-BP Soc: 88F6281 A1 LE

    Detected Tclk 166666667 and SysClk 200000000
    MV Buttons Device Load
    Marvell USB EHCI Host controller #0: c0af3600
    PEX0 interface detected no Link.
    PCI: bus0: Fast back to back transfers enabled
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    NET: Registered protocol family 2
    Time: kw_clocksource clocksource has been installed.
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    checking if image is initramfs…it isn't (bad gzip magic numbers); looks like an initrd
    Freeing initrd memory: 2876K
    cpufreq: Init kirkwood cpufreq driver
    XOR registered 1 NET_DMA over 4 channels
    XOR 2nd invalidate WA enabled
    cesadev_init(c00119d8)
    mvCesaInit: sessions=640, queue=64, pSram=f0000000
    Warning: TS unit is powered off.
    MV Buttons Driver Load
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 3.3 (2007/10/31) Phillip Lougher
    squashfs: LZMA suppport for slax.org by jro
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    fuse init (API version 7.8)
    SGI XFS with large block numbers, no debug enabled
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    Serial: 8250/16550 driver $Revision: 1.7 $ 4 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
    serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
    RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
    loop: module loaded
    Loading Marvell Ethernet Driver:
    o Cached descriptors in DRAM
    o DRAM SW cache-coherency
    o Single RX Queue support – ETH_DEF_RXQ=0
    o Single TX Queue support – ETH_DEF_TXQ=0
    o TCP segmentation offload enabled
    o LRO support supported
    o Receive checksum offload enabled
    o Transmit checksum offload enabled
    o Network Fast Processing (Routing) supported
    o Driver ERROR statistics enabled
    o Driver INFO statistics enabled
    o Proc tool API enabled
    o SKB Reuse supported
    o SKB Resycle supported
    o Rx descripors: q0=128
    o Tx descripors: q0=532
    o Loading network interface(s):
    o register under egiga0 platform
    o egiga0, ifindex = 1, GbE port = 0

    Warning: Giga 1 is Powered Off

    mvFpRuleDb (c7efb000): 1024 entries, 4096 bytes
    Integrated Sata device found
    scsi0 : Marvell SCSI to SATA adapter
    scsi1 : Marvell SCSI to SATA adapter
    NFTL driver: nftlcore.c $Revision: 1.1.1.1 $, nftlmount.c $Revision: 1.1.1.1 $
    NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
    Scanning device for bad blocks
    Bad eraseblock 97 at 0x00c20000
    Using static partition definition
    Creating 6 MTD partitions on "nand_mtd":
    0×00000000-0×00100000 : "u-boot"
    0×00100000-0×00600000 : "uImage"
    0×00600000-0x00b00000 : "ramdisk"
    0x00b00000-0×07100000 : "image"
    0×07100000-0x07b00000 : "mini firmware"
    0x07b00000-0×08000000 : "config"
    ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
    ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
    ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
    ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    USB Universal Host Controller Interface driver v3.0
    mice: PS/2 mouse device common for all mice
    i2c /dev entries driver
    md: linear personality registered for level -1
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
    dm_crypt using the OCF package.
    usbcore: registered new interface driver usbhid
    drivers/hid/usbhid/hid-core.c: v2.6:USB HID sore driver
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    md: Autodetecting RAID arrays.
    md: autorun …
    md: … autorun DONE.
    RAMDISK: squashfs filesystem found at block 0
    RAMDISK: image too big! (732498KiB/10240KiB)
    UDF-fs: No partition found (1)
    List of all partitions:
    1f00 1024 mtdblock0 (driver?)
    1f01 5120 mtdblock1 (driver?)
    1f02 5120 mtdblock2 (driver?)
    1f03 104448 mtdblock3 (driver?)
    1f04 10240 mtdblock4 (driver?)
    1f05 5120 mtdblock5 (driver?)
    No filesystem could mount root, tried: ext3 ext2 squashfs iso9660 jffs2 fuseblk udf xfs
    Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

    Подскажите мне, пожалуйста, что мне делать дальше? Нигде не могу найти приличного how to. Если можно, то хочу попросить Вас изготовить uKernel и uRamdisk из http://ftp.dlink.ru/pub/NAS/DNS-320/Firmware/DNS-320_A1_FW_v2.02b01.zip
    У меня не получается:
    homeuser@HomeUser-PC:~/Временные файлы и папки/dns323-firmware-tools-0.5$ sudo ./splitdns323fw -k uKernel -i uRamdisk DLINK_DNS320.2.02b01
    ./splitdns323fw:76:in `signature': Unparseable signature string: "\t(@7\x00\xF0|\x01\x12\x1CG\xC6" (RuntimeError)
    from ./splitdns323fw:289:in `splitdns323fw'
    from ./splitdns323fw:331:in `’
    homeuser@HomeUser-PC:~/Временные файлы и папки/dns323-firmware-tools-0.5$ ./splitdns323fw -k uKernel -i uRamdisk DLINK_DNS320.2.02b01
    ./splitdns323fw:76:in `signature’: Unparseable signature string: “\t(@7\x00\xF0|\x01\x12\x1CG\xC6″ (RuntimeError)
    from ./splitdns323fw:289:in `splitdns323fw’
    from ./splitdns323fw:331:in `’
    На этом мои познания в Linux заканчиваются и я начинаю тормозить. ;-)
    Если Вам не трудно распишите, пожалуйста, последовательно что и куда писать в serial console.
    ОЧЕНЬ надеюсь на Вашу помощь. Заранее Вам благодарен. С уважением, Дмитрий.

  6. Дмитрий, приветствую. Похоже, что у вас ситуация такая же, как и у меня.
    Попробуйте при загрузке вашего устройства, как только увидите надпись:

    Hit any key to stop autoboot:

    нажать на пробел, и потом на единицу. Если попадете в командную строку U-boot, ваш NAS можно попробовать оживить. Вам понадобится разобранный на части (uKernel, uRamdisk) образ прошивки (Alt-F или D-Link), еще надо будет развернуть у себя tftp-сервер и соединить NAS с сервером. А дальше по инструкции из статьи, посмотрите после слов «Hit any key to stop autoboot»

  7. Здравствуйте, Ed!
    Очень благодарен Вам, что ответили на мой призыв о помощи.
    “…Вам понадобится разобранный на части (uKernel, uRamdisk) образ прошивки (Alt-F или D-Link)…” – вот, как раз, я и не могу получить (разобрать на части) uKernel и uRamdisk из официальной прошивки и из прошивки ALT-F! Чуть ранее ( в предыдущем комментарии) я уже показал лог работы splitdns323fw. Программа выдаёт ошибку. Хотя я проделывал эту операцию и на других компьютерах. Та же ошибка. Скачивал эту программу (splitdns323fw) с сайта производителя. В интернетах нашёл информацию о том, что можно использовать программу binwalk для распаковки прошивки на части. Но описанных примеров работы этой программы я не нашёл. К сожалению, я копипастер в таких делах и не могу сам довести дело до логического конца. Если можно, Ed, подскажите: как ещё можно получить части прошики. Ed, если у Вас осталась программа splitdns323fw, не могли бы Вы выложить её для скачивания, я попробую разложить прошивку на части с помощью Вашей версии программы. Благодарю Вас, Ed, за помощь! С уважением, Дмитрий!

  8. Дмитрий, я выложил свою разобранную прошивку Alt-F-0.1RC4-DNS-320L-rev-A1, которую использовал для оживления своего NAS:

    uInitrd
    uKernel
    uSquashfs

    Я только не уверен, что эти образы подойдут к Вашему оборудованию, все же у меня D-Link DNS 320l, там железо немного другое.

    Программа splitdns323fw у меня сохранилась, код у нее открыт и она написана на Ruby. Она требует отдельно установленные модули ffi и optparse; поэтому она у Вас работать не будет, если у Вас Ruby с необходимыми модулями не установлен.

    Предлагаю вот что, Вы мне даете ссылки на прошивку для Вашего оборудования (Alt-F или D-link, не важно), а я у себя локально извлеку ядро, рамдиск и файлы по умолчанию, и выложу где-нибудь у себя. Ну а Вас попрошу потом рассказать, получилось ли оживить Ваше устройство, или нет.

  9. Здравствуйте, Ed!

    Перепроверил ещё раз всё, что я делал. Оказывается dns323-firmware-tools есть в репозиториях ubuntu 12.04-15.04 Переустановил убунту, установил dns323-firmware-tools, скачал прошивки от ALT-F и родную D-Link. Ввожу команду из Вашей статьи:
    splitdns323fw -k uKernel -i uInitrd -d uDefaults -s uSquashfs Alt-F-0.1RC4.1-DNS-320-rev-A1A2.bin
    Ответ:
    /usr/bin/splitdns323fw:273:in `splitdns323fw’: invalid option: -s (OptionParser::InvalidOption)
    from /usr/bin/splitdns323fw:331:in `’
    Убираю опции -d и -s (по Вашей статье – они всё-равно не нужны), оставляю -k и -i
    Ввожу снова команду:
    splitdns323fw -k uKernel -i uInitrd Alt-F-0.1RC4.1-DNS-320-rev-A1A2.bin
    Ответ:
    /usr/bin/splitdns323fw:76:in `signature’: Unparseable signature string: “\x9B|-\xE5\xE5\x83\xE3K\x00\x00\x00\x00″ (RuntimeError)
    from /usr/bin/splitdns323fw:289:in `splitdns323fw’
    from /usr/bin/splitdns323fw:331:in `’
    Повторяю с другой прошивкой:
    splitdns323fw -k uKernel -i uInitrd DNS-320_A1_FW_v2.00
    Ответ:
    /usr/bin/splitdns323fw:76:in `signature’: Unparseable signature string: “nK\”\xC9\x00\xE0n\x01q\x1F\xB1\xCE” (RuntimeError)
    from /usr/bin/splitdns323fw:289:in `splitdns323fw’
    from /usr/bin/splitdns323fw:331:in `’
    Мне эти ответы ни о чём не говорят. Гугление по этим ошибкам не помогло. Что делать – незнаю! Вот так! Поможете?

    С уважением, Дмитрий!

  10. Видимо, не та версия программы. Я скачал образ прошивки Alt-F-0.1RC4.1-DNS-320-rev-A1A2.bin, и вот что у меня получилось:

    uInitrd
    uKernel
    uSquashfs

  11. Здравствуйте, Ed!
    Скачал, выложенные Вами файлы. Сегодня буду пробовать. Сегодня же или завтра вечером Вам отпишусь о проделанной работе. Огромное Вам спасибо за поддержку.

  12. …Ни как не могу успеть нажать пробел и цифру 1… Загрузка проскакивает дальше и всё…

  13. Дмитрий, это может быть по двум причинам – или Вы действительно не успели нажать на кнопку, или плохо припаян провод Tx – на передачу данных из терминала на NAS.

    Надеюсь, что все получится – у меня тоже не сразу получилось попасть в меню загрузки шлюза.

  14. Здравствуйте, Ed!
    Наконец-то смог получить “код безопасности” для комментария. Заходя по прямой ссылке на страницу с описанием про восстановление DNS-320L, “код безопасности” иногда не отображается, видны только полоски, а самого кода нет. Но сегодня выяснил, что если перейти по ссылке вверху страницы на главную страницу, а потом нажать кнопочку назад в браузере, то “код безопасности” чудесным образом появляется. Данный баг проявляется в IE и Firefox.
    =============================================================
    Ed, поздравте меня! У меня всё получилось, как в Вашей инструкции. УРА!!!

    Но рано радоваться!!!

    В Web-интерфейс я так и не смог войти. Проверил в роутере ip-адреса, нашёл тот, который выбрал себе NAS-сервер, попытался по нему зайти через браузер, но так и не смог. Браузер сказал, что такой страницы не существует.
    Хочу привести лог своей работы:

    Marvell_DNS320>> setenv ipaddr 192.168.0.100
    Marvell_DNS320>> setenv serverip 192.168.0.2
    Marvell_DNS320>> tftp 0xa00000 uKernel
    Using egiga0 device
    TFTP from server 192.168.0.2; our IP address is 192.168.0.100
    Filename ‘uKernel’.
    Load address: 0xa00000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ############################
    done
    Bytes transferred = 1803508 (1b84f4 hex)
    Marvell_DNS320>> tftp 0xf00000 uInitrd
    Using egiga0 device
    TFTP from server 192.168.0.2; our IP address is 192.168.0.100
    Filename ‘uInitrd’.
    Load address: 0xf00000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ############
    done
    Bytes transferred = 3055680 (2ea040 hex)
    Marvell_DNS320>> bootm 0xa00000 0xf00000
    ## Booting image at 00a00000 …
    Image Name: Alt-F-0.1RC4.1, kernel 3.10.32
    Created: 2015-02-03 14:52:08 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1803444 Bytes = 1.7 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at 00f00000 …
    Image Name: Alt-F-0.1RC4.1, initrd
    Created: 2015-02-03 14:52:07 UTC
    Image Type: ARM Linux RAMDisk Image (uncompressed)
    Data Size: 3055616 Bytes = 2.9 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK

    Starting kernel …

    Uncompressing Linux… done, booting the kernel.
    Booting Linux on physical CPU 0×0
    Linux version 3.10.32 (jcard@silver) (gcc version 4.3.3 (GCC) ) #1 Fri Jan 30 16:37:58 WET 2015
    CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
    CPU: VIVT data cache, VIVT instruction cache
    Machine: Marvell Kirkwood (Flattened Device Tree), model: D-Link DNS-320 NAS (Rev A1/A2)
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
    Kernel command line: console=ttyS0,115200 root=/dev/ram0 init=/init
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB = 128MB total
    Memory: 121932k/121932k available, 9140k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 – 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 – 0xfffe0000 ( 896 kB)
    vmalloc : 0xc8800000 – 0xff000000 ( 872 MB)
    lowmem : 0xc0000000 – 0xc8000000 ( 128 MB)
    modules : 0xbf000000 – 0xc0000000 ( 16 MB)
    .text : 0xc0008000 – 0xc0467fac (4480 kB)
    .init : 0xc0468000 – 0xc0493354 ( 173 kB)
    .data : 0xc0494000 – 0xc04c22a0 ( 185 kB)
    .bss : 0xc04c22a0 – 0xc04d7fe4 ( 88 kB)
    NR_IRQS:114
    sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
    Calibrating delay loop… 795.44 BogoMIPS (lpj=3977216)
    pid_max: default: 4096 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    Setting up static identity map for 0xc03cb4c8 – 0xc03cb504
    xor: measuring software checksum speed
    arm4regs : 724.800 MB/sec
    8regs : 537.200 MB/sec
    32regs : 587.200 MB/sec
    xor: using function: arm4regs (724.800 MB/sec)
    pinctrl core: initialized pinctrl subsystem
    regulator-dummy: no parameters
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    Kirkwood: MV88F6281-A1, TCLK=166666667.
    Feroceon L2: Enabling L2
    Feroceon L2: Cache support initialised.
    dnskw: Failed to register dnskw:power:recover
    No ATAGs?
    bio: create slab at 0
    raid6: int32x1 80 MB/s
    raid6: int32x2 98 MB/s
    raid6: int32x4 80 MB/s
    raid6: int32x8 80 MB/s
    raid6: using algorithm int32x2 (98 MB/s)
    raid6: using intx1 recovery algorithm
    SATA0 Power: Failed to request enable GPIO39: -517
    reg-fixed-voltage 1.regulator: Failed to register regulator: -517
    platform 1.regulator: Driver reg-fixed-voltage requests probe deferral
    SATA1 Power: Failed to request enable GPIO40: -517
    reg-fixed-voltage 2.regulator: Failed to register regulator: -517
    platform 2.regulator: Driver reg-fixed-voltage requests probe deferral
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Switching to clocksource orion_clocksource
    NET: Registered protocol family 2
    TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 1024 bind 1024)
    TCP: reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Trying to unpack rootfs image as initramfs…
    rootfs image is not initramfs (junk in compressed archive); looks like an initrd
    Freeing initrd memory: 2984K (c0800000 – c0aea000)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    jffs2: version 2.2. (NAND) В© 2001-2006 Red Hat, Inc.
    aufs 3.10.x-20140127
    msgmni has been set to 243
    async_tx: api initialized (async)
    io scheduler noop registered
    io scheduler cfq registered (default)
    kirkwood-pinctrl f1010000.pinctrl: registered pinctrl driver
    mv_xor f1060800.xor: Marvell shared XOR driver
    mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
    mv_xor f1060800.xor: Marvell XOR: ( xor fill cpy )
    mv_xor f1060900.xor: Marvell shared XOR driver
    mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
    mv_xor f1060900.xor: Marvell XOR: ( xor fill cpy )
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
    console [ttyS0] enabled
    f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
    brd: module loaded
    loop: module loaded
    sata_mv f1080000.sata: slots 32 ports 2
    scsi0 : sata_mv
    scsi1 : sata_mv
    ata1: SATA max UDMA/133 irq 21
    ata2: SATA max UDMA/133 irq 21
    NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
    Scanning device for bad blocks
    Bad eraseblock 97 at 0x000000c20000
    6 ofpart partitions found on MTD device orion_nand
    Creating 6 MTD partitions on “orion_nand”:
    0×000000000000-0×000000100000 : “u-boot”
    0×000000100000-0×000000600000 : “uImage”
    0×000000600000-0x000000b00000 : “ramdisk”
    0x000000b00000-0×000007100000 : “image”
    0×000007100000-0x000007b00000 : “mini firmware”
    0x000007b00000-0×000008000000 : “config”
    libphy: orion_mdio_bus: probed
    mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
    mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:18:06:04
    ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
    ehci-pci: EHCI PCI platform driver
    ehci-orion: EHCI orion driver
    orion-ehci f1050000.ehci: EHCI Host Controller
    orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
    orion-ehci f1050000.ehci: irq 19, io mem 0xf1050000
    orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usbcore: registered new interface driver usb-storage
    rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
    i2c /dev entries driver
    gpio-fan gpio_fan.2: GPIO fan initialized
    md: linear personality registered for level -1
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    md: raid6 personality registered for level 6
    md: raid5 personality registered for level 5
    md: raid4 personality registered for level 4
    cpuidle: using governor ladder
    cpuidle: using governor menu
    leds-gpio gpio-leds.5: pins are not configured from the driver
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    TCP: cubic registered
    NET: Registered protocol family 17
    SATA0 Power: 5000 mV
    SATA1 Power: 5000 mV
    input: gpio_keys.1 as /devices/gpio_keys.1/input/input0
    rtc-mv f1010300.rtc: setting system clock to 2099-08-31 19:17:28 UTC (4091887048)
    ata1: SATA link down (SStatus 0 SControl F300)
    ata2: SATA link down (SStatus 0 SControl F300)
    md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
    RAMDISK: squashfs filesystem found at block 0
    RAMDISK: Loading 2982KiB [1 disk] into ram disk… done.
    VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
    Freeing unused kernel memory: 172K (c0468000 – c0493000)
    pre-init started, pid=1
    pre-init: squash-rd
    init started: BusyBox v1.20.2 (2015-01-30 16:18:45 WET)
    sed: /proc/atags: No such file or directory
    rcS: Reading RCT in UTC and setting system time and date
    hwclock: settimeofday: Invalid argument
    rcS: Board: DNS-320-A1A2
    rcS: Flashed Firmware: Linux-2.6.22.18
    rcS: loadsave_settings: loaded set_2014-10-17_17:29:07.tgz settings file.
    rcS: IP from flash-defaults
    mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
    udhcpc (v1.20.2) started
    udhcpc: Deconfiguring eth0
    Sending discover…
    mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
    Sending discover…
    Sending select for 192.168.0.101…
    Lease of 192.168.0.101 obtained, lease time 7200
    udhcpc: Renew: Using 192.168.0.101 for 7200 seconds
    udhcpc: Updating /etc/hosts: 192.168.0.101 HOME-NAS-SERVER.localnet HOME-NAS-SERVER
    udhcpc: Updating /etc/httpd.conf: allow 192.168.0.0/255.255.255.0
    udhcpc: Updating /etc/samba/smb.conf: allow 192.168.0.0/255.255.255.0
    udhcpc: Updating eth0 default route: adding route 192.168.0.1
    udhcpc: Updating /etc/resolv.conf: adding nameserver 208.67.222.222 208.67.220.220
    root: Starting syslogd: OK.
    Starting klogd: OK.
    root: Starting sslcert: OK.
    root: Starting urandom: OK.
    root: Starting modload: OK.
    root:
    root: Starting sysctrl: OK.
    root: Starting crond: OK.
    root: Starting smartd: Fail.
    root: Starting cleanup: OK.
    root: Starting news: OK.
    root: Starting inetd: OK.
    nmbd: can’t load library ‘libiconv.so.2′
    smbd: can’t load library ‘libiconv.so.2′
    root: Starting nmbd: Fail.
    Starting smbd: Fail.
    transmission: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
    root:

    / #
    ============================================================
    Все адреса, о которых Вы беспокоились, подошли. Но, я думаю, что в моём случае, нужна ещё команда, по которой я могу прописать uSquashfs (наподобие “tftp 0xa00000 uKernel”). К сожалению, в интернетах я не смог найти примеров для этой команды. Поэтому вновь прошу помощи у Вас, Ed.
    Есть ли команда в uboot, которая позволит прописать uSquashfs по определённым адресам? Вернее, сама команда есть (“tftp 0xa00000 uSquashfs”), но в какой адрес в памяти её прописывать? Хотя, может быть я во всём этом могу и ошибаться!
    Я вспомнил, что когда я устанавливал ALT-F, я пользовался им, но потом решил вернуться на родную прошивку. И вот во время процедуры записи новой (родной) прошивки погас свет во всей квартире (сосед искал свои выключатели в электрощите в коридоре).
    Поэтому хочу с Вами, Ed, поделиться своими соображениями по этому поводу.
    1. Может выходом из данной ситуации будет дополнительная команда, наподобие “tftp 0xa00000 uSquashfs”, только с адресом в памяти нужно разобраться?
    2. Может выходом из данной ситуации будет разборка на части родной прошивки, которая находится по адресу:
    http://ftp.dlink.ru/pub/NAS/DNS-320/Firmware/DNS-320_A1_FW_v2.02b01.zip
    И уже с ней проделывать все те же процедуры, которые описаны в Вашей инструкции? Тогда, Ed, я вновь хочу Вас попросить Вас разобрать на части прошивку для моего аппарата DNS-320, но уже родную. Я Вам буду очень благодарен за оказанную мне помощь.
    Хочу пояснить, что загрузившись в Ubuntu 14.04 я стал искать в репозиториях дополнительные плагины для Ruby: ffi и optparse. ffi я нашёл, optparse в репозиториях нет, а есть cmdparse. Я их установил, но при запуске той же коамнды:
    splitdns323fw -k uKernel -i uInitrd -d uDefaults -s uSquashfs Alt-F-0.1RC4.1-DNS-320-rev-A1A2.bin
    Получаю тот же ответ:
    /usr/bin/splitdns323fw:273:in `splitdns323fw’: invalid option: -s (OptionParser::InvalidOption)
    from /usr/bin/splitdns323fw:331:in `’

    Опять же убираю опции -d и -s, оставляю -k и -i
    Ввожу снова команду:
    splitdns323fw -k uKernel -i uInitrd Alt-F-0.1RC4.1-DNS-320-rev-A1A2.bin
    И тот же ответ:
    /usr/bin/splitdns323fw:76:in `signature’: Unparseable signature string: “\x9B|-\xE5\xE5\x83\xE3K\x00\x00\x00\x00″ (RuntimeError)
    from /usr/bin/splitdns323fw:289:in `splitdns323fw’
    from /usr/bin/splitdns323fw:331:in `’
    ============================================================
    Вот так.
    Итог: всё получилось, но не до конца. Осталось попасть в web-интерфейс и уже из него восстановить прошивку. Очень надеюсь на Вашу, Ed, помощь в этом.

    С уважением, Дмитрий!

  15. Ed, хочу дописать ещё вот что: в самом начале я не мог прервать загрузку устройства, подключившись к нему через USB-TTL переходник. Сколько бы я не нажимал пробел и клавишу цифры 1, не мог я прервать загрузку устройства.
    Стал искать информацию в интернетах. И знаете – нашёл! На забугорном форуме http://forum.dlink.com. После перевода одной страницы, на которой парень обращался к форумчанам с такой же проблемой, я понял из описания, что нужно обязательно подключать провод GND (земля), т.е. к устройству должны быть подключены три провода: TX – RX – GND. После этого, подключив USB-TTL и в окне терминала, после слов «Hit any key to stop autoboot», нажав пробел и клавишу цифры 1, я спокойно прервал загрузку устройства и прешёл в режим ожидания команды.
    Вот. Спасибо Вам за помощь! Надеюсь с помощью Вас довести дело до конца!

  16. Дмитрий, я рад, что у Вас получилось залить прошивку.

    По какому адресу Вы пытались зайти на Ваш NAS? Руками Вы прописывали 192.168.0.100 , но в процессе загрузки я заметил, что IP адрес изменился на 192.168.0.101:

    Sending select for 192.168.0.101…
    Lease of 192.168.0.101 obtained, lease time 7200
    udhcpc: Renew: Using 192.168.0.101 for 7200 seconds
    udhcpc: Updating /etc/hosts: 192.168.0.101 HOME-NAS-SERVER.localnet

    И кстати, squashfs нормально подцепился во время загрузки, судя по логам:

    md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
    RAMDISK: squashfs filesystem found at block 0
    RAMDISK: Loading 2982KiB [1 disk] into ram disk… done.
    VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
    Freeing unused kernel memory: 172K (c0468000 – c0493000)

    Может, просто стоило попробовать зайти на NAS по адресу http://192.168.0.101 ?

    Спасибо за то, что протестировали возможность оставить мне голосовое сообщение – я его получил.

    Кстати, D-Link’овский образ у меня не распаковался на ядро и рамдиск:

    $ ./splitdns323fw -k uKernel -i uInitrd DLINK_DNS320.2.02b01
    ‘DNS323D1′ firmware signature found
    Kernel is 2211688 bytes
    initrd is 1565868 bytes
    ./splitdns323fw:87:in `validate’: wrong number of arguments (1 for 0) (ArgumentError)
    from ./splitdns323fw:145:in `validate’
    from ./splitdns323fw:656:in `splitdns323fw’
    from ./splitdns323fw:706:in `’

  17. Ed, здравствуйте! Я повторил сегодня всю процедуру с теми файлами, которые Вы мне дали. Всё произошло так же, как и вчера. Устройство появилось по адресу 192.168.0.101, но как и вчера браузер говорит, что данная страница не доступна. Так же пробовал зайти по адресу 192.168.0.100, но ответ такой же. Может после адреса через слеш / нужно что-нибудь прописать?
    Все-таки меня интересует, как можно принудительно записать squashfs в память? Просканировал свою сетку санером и определил только этот адрес 192.168.0.101.
    Может быть можно как-нибуть залить всю прошику целиком с помощью одной команды?

  18. Дмитрий, а были ли воткнуты винчестер(ы) в NAS при загрузке ядра и рамдиска через tftp ?

    Может быть у Вас просто не запустился вебсервер на NAS ? Попробуйте зайти на NAS с помощью telnet или ssh по IP 192.168.0.101, и еще можно попробовать зайти по https://192.168.0.101

    Вообще, 2-х файлов достаточно для перепрошивки, я нигде не видел, чтобы еще пытались подсунуть squashfs или defaults.

  19. Ed, нет дисков не было, но за наводку спасибо – попробую. По https тоже не заходит и по телнету и ssh он не видится. Я пробовал. Да и по логу не видно, чтобы были запущены эти демоны.

  20. Здравствуйте, Ed!
    Если сказать кратко, то у меня так ничего и не выходит: веб-интерфейс я загрузить никак не могу. Но мне удалось загрузиться в интерфейс SSH от пользователя root, предварительно изменив пароль пользователя root. Но что делать дальше я не знаю – опыта не хватает. В голове понимаю, что можно каким-то образом накатить другую прошивку и без веб-интерфейса, но я не знаю команд для этого. Ed, одна голова – хорошо, а две – лучше! Что ещё можно сделать для перепрошивки данного устройства? Ведь есть доступ от пользователя root к консоли и это уже хорошо.
    Вот мой лог работы:

    ** MARVELL BOARD: DB-88F6281A-BP LE

    U-Boot 1.1.4 (Jan 21 2011 – 11:56:48) Marvell version: 3.4.14.DNS-320_03

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

    Soc: MV88F6281 Rev 3 (DDR2)
    CPU running @ 800Mhz L2 running @ 400Mhz
    SysClock = 200Mhz , TClock = 166Mhz

    DRAM CAS Latency = 3 tRP = 3 tRAS = 8 tRCD=3
    DRAM CS[0] base 0×00000000 size 128MB
    DRAM Total size 128MB 16bit width
    Flash: 0 kB
    Addresses 8M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (8M – 7M): Done
    NAND:128 MB
    *** Warning – bad CRC or NAND, using default environment

    CPU : Marvell Feroceon (Rev 1)

    Streaming disabled
    Write allocate disabled

    USB 0: host mode
    PEX 0: interface detected no Link.
    Net: egiga0 [PRIME]
    Hit any key to stop autoboot: 0
    Marvell_DNS320>> setenv ipaddr 192.168.1.101
    Marvell_DNS320>> setenv serverip 192.168.1.2
    Marvell_DNS320>> tftp 0xa00000 uKernel
    Using egiga0 device
    TFTP from server 192.168.1.2; our IP address is 192.168.1.101
    Filename ‘uKernel’.
    Load address: 0xa00000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ############################
    done
    Bytes transferred = 1803508 (1b84f4 hex)
    Marvell_DNS320>> tftp 0xf00000 uInitrd
    Using egiga0 device
    TFTP from server 192.168.1.2; our IP address is 192.168.1.101
    Filename ‘uInitrd’.
    Load address: 0xf00000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ############
    done
    Bytes transferred = 3055680 (2ea040 hex)
    Marvell_DNS320>> bootm 0xa00000 0xf00000
    ## Booting image at 00a00000 …
    Image Name: Alt-F-0.1RC4.1, kernel 3.10.32
    Created: 2015-02-03 14:52:08 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1803444 Bytes = 1.7 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at 00f00000 …
    Image Name: Alt-F-0.1RC4.1, initrd
    Created: 2015-02-03 14:52:07 UTC
    Image Type: ARM Linux RAMDisk Image (uncompressed)
    Data Size: 3055616 Bytes = 2.9 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK

    Starting kernel …

    Uncompressing Linux… done, booting the kernel.
    Booting Linux on physical CPU 0×0
    Linux version 3.10.32 (jcard@silver) (gcc version 4.3.3 (GCC) ) #1 Fri Jan 30 16:37:58 WET 2015
    CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
    CPU: VIVT data cache, VIVT instruction cache
    Machine: Marvell Kirkwood (Flattened Device Tree), model: D-Link DNS-320 NAS (Rev A1/A2)
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
    Kernel command line: console=ttyS0,115200 root=/dev/ram0 init=/init
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB = 128MB total
    Memory: 121932k/121932k available, 9140k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 – 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 – 0xfffe0000 ( 896 kB)
    vmalloc : 0xc8800000 – 0xff000000 ( 872 MB)
    lowmem : 0xc0000000 – 0xc8000000 ( 128 MB)
    modules : 0xbf000000 – 0xc0000000 ( 16 MB)
    .text : 0xc0008000 – 0xc0467fac (4480 kB)
    .init : 0xc0468000 – 0xc0493354 ( 173 kB)
    .data : 0xc0494000 – 0xc04c22a0 ( 185 kB)
    .bss : 0xc04c22a0 – 0xc04d7fe4 ( 88 kB)
    NR_IRQS:114
    sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
    Calibrating delay loop… 795.44 BogoMIPS (lpj=3977216)
    pid_max: default: 4096 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    Setting up static identity map for 0xc03cb4c8 – 0xc03cb504
    xor: measuring software checksum speed
    arm4regs : 724.800 MB/sec
    8regs : 537.200 MB/sec
    32regs : 587.200 MB/sec
    xor: using function: arm4regs (724.800 MB/sec)
    pinctrl core: initialized pinctrl subsystem
    regulator-dummy: no parameters
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    Kirkwood: MV88F6281-A1, TCLK=166666667.
    Feroceon L2: Enabling L2
    Feroceon L2: Cache support initialised.
    dnskw: Failed to register dnskw:power:recover
    No ATAGs?
    bio: create slab at 0
    raid6: int32x1 80 MB/s
    raid6: int32x2 98 MB/s
    raid6: int32x4 80 MB/s
    raid6: int32x8 80 MB/s
    raid6: using algorithm int32x2 (98 MB/s)
    raid6: using intx1 recovery algorithm
    SATA0 Power: Failed to request enable GPIO39: -517
    reg-fixed-voltage 1.regulator: Failed to register regulator: -517
    platform 1.regulator: Driver reg-fixed-voltage requests probe deferral
    SATA1 Power: Failed to request enable GPIO40: -517
    reg-fixed-voltage 2.regulator: Failed to register regulator: -517
    platform 2.regulator: Driver reg-fixed-voltage requests probe deferral
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Switching to clocksource orion_clocksource
    NET: Registered protocol family 2
    TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 1024 bind 1024)
    TCP: reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Trying to unpack rootfs image as initramfs…
    rootfs image is not initramfs (junk in compressed archive); looks like an initrd
    Freeing initrd memory: 2984K (c0800000 – c0aea000)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    aufs 3.10.x-20140127
    msgmni has been set to 243
    async_tx: api initialized (async)
    io scheduler noop registered
    io scheduler cfq registered (default)
    kirkwood-pinctrl f1010000.pinctrl: registered pinctrl driver
    mv_xor f1060800.xor: Marvell shared XOR driver
    mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
    mv_xor f1060800.xor: Marvell XOR: ( xor fill cpy )
    mv_xor f1060900.xor: Marvell shared XOR driver
    mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
    mv_xor f1060900.xor: Marvell XOR: ( xor fill cpy )
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
    console [ttyS0] enabled
    f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
    brd: module loaded
    loop: module loaded
    sata_mv f1080000.sata: slots 32 ports 2
    scsi0 : sata_mv
    scsi1 : sata_mv
    ata1: SATA max UDMA/133 irq 21
    ata2: SATA max UDMA/133 irq 21
    NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
    Scanning device for bad blocks
    Bad eraseblock 97 at 0x000000c20000
    6 ofpart partitions found on MTD device orion_nand
    Creating 6 MTD partitions on “orion_nand”:
    0×000000000000-0×000000100000 : “u-boot”
    0×000000100000-0×000000600000 : “uImage”
    0×000000600000-0x000000b00000 : “ramdisk”
    0x000000b00000-0×000007100000 : “image”
    0×000007100000-0x000007b00000 : “mini firmware”
    0x000007b00000-0×000008000000 : “config”
    libphy: orion_mdio_bus: probed
    mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
    mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:48:14:1d
    ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
    ehci-pci: EHCI PCI platform driver
    ehci-orion: EHCI orion driver
    orion-ehci f1050000.ehci: EHCI Host Controller
    orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
    orion-ehci f1050000.ehci: irq 19, io mem 0xf1050000
    orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usbcore: registered new interface driver usb-storage
    rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
    i2c /dev entries driver
    gpio-fan gpio_fan.2: GPIO fan initialized
    md: linear personality registered for level -1
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    md: raid6 personality registered for level 6
    md: raid5 personality registered for level 5
    md: raid4 personality registered for level 4
    cpuidle: using governor ladder
    cpuidle: using governor menu
    leds-gpio gpio-leds.5: pins are not configured from the driver
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    TCP: cubic registered
    NET: Registered protocol family 17
    SATA0 Power: 5000 mV
    SATA1 Power: 5000 mV
    input: gpio_keys.1 as /devices/gpio_keys.1/input/input0
    rtc-mv f1010300.rtc: setting system clock to 2099-09-02 13:37:19 UTC (4092039439)
    ata1: SATA link down (SStatus 0 SControl F300)
    ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
    ata2.00: ATA-8: WDC WD2500BEVS-60UST0, 01.01A01, max UDMA/100
    ata2.00: 488397168 sectors, multi 0: LBA48
    ata2.00: configured for UDMA/100
    scsi 1:0:0:0: Direct-Access ATA WDC WD2500BEVS-6 01.0 PQ: 0 ANSI: 5
    sd 1:0:0:0: Attached scsi generic sg0 type 0
    sd 1:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
    sd 1:0:0:0: [sda] Write Protect is off
    sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
    sda: sda1
    sd 1:0:0:0: [sda] Attached SCSI disk
    md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
    RAMDISK: squashfs filesystem found at block 0
    RAMDISK: Loading 2982KiB [1 disk] into ram disk… done.
    VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
    Freeing unused kernel memory: 172K (c0468000 – c0493000)
    pre-init started, pid=1
    pre-init: squash-rd
    init started: BusyBox v1.20.2 (2015-01-30 16:18:45 WET)
    sed: /proc/atags: No such file or directory
    rcS: Reading RCT in UTC and setting system time and date
    hwclock: settimeofday: Invalid argument
    rcS: Board: DNS-320-A1A2
    rcS: Flashed Firmware: Linux-2.6.22.18
    rcS: loadsave_settings: loaded set_2014-10-17_17:29:07.tgz settings file.
    rcS: IP from flash-defaults
    mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
    udhcpc (v1.20.2) started
    udhcpc: Deconfiguring eth0
    EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    Sending discover…
    mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
    Sending discover…
    Sending select for 192.168.1.101…
    Lease of 192.168.1.101 obtained, lease time 7200
    udhcpc: Renew: Using 192.168.1.101 for 7200 seconds
    udhcpc: Updating /etc/hosts: 192.168.1.101 HOME-NAS-SERVER.localnet HOME-NAS-SERVER
    udhcpc: Updating /etc/httpd.conf: allow 192.168.1.0/255.255.255.0
    udhcpc: Updating /etc/samba/smb.conf: allow 192.168.1.0/255.255.255.0
    udhcpc: Updating eth0 default route: adding route 192.168.1.1
    udhcpc: Updating /etc/resolv.conf: adding nameserver 208.67.222.222 208.67.220.220
    root: Starting syslogd: OK.
    Starting klogd: OK.
    root: Starting sslcert: OK.
    root: Starting urandom: OK.
    root: Starting modload: OK.
    root: quota on sda1 is disabled
    root: Starting sysctrl: OK.
    root: Starting crond: OK.
    root: Starting smartd: OK.
    root: Starting cleanup: OK.
    root: Starting news: OK.
    root: Starting inetd: OK.
    nmbd: can’t load library ‘libiconv.so.2′
    smbd: can’t load library ‘libiconv.so.2′
    root: Starting nmbd: Fail.
    Starting smbd: Fail.
    transmission: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
    root:

    / # passwd
    Changing password for root
    New password:
    Retype password:
    Password for root changed by root
    / #
    А это от пользователя root:
    login as: root
    root@192.168.1.101‘s password:
    COLUMNS=80;LINES=24;export COLUMNS LINES;
    [root@HOME-NAS-SERVER]# mc
    -sh: mc: not found
    [root@HOME-NAS-SERVER]# ls
    [root@HOME-NAS-SERVER]#

  21. Ed, снова хочу Вас попросить разобрать на части родные прошивки от моего аппарата. Может быть с ними получится запустить веб-интерфейс?
    Они находятся по этим адресам:
    http://ftp.dlink.ru/pub/NAS/DNS-320/Firmware/
    Можно попробовать с этой:
    http://ftp.dlink.ru/pub/NAS/DNS-320/Firmware/DNS-320_A1_FW_v2.00.rar
    Или с этой:
    http://ftp.dlink.ru/pub/NAS/DNS-320/Firmware/DNS-320_A2_FW_v2.03b03.rar
    Или с этой:
    http://ftp.dlink.ru/pub/NAS/DNS-320/Firmware/DNS-320_A2_FW_v2.05b08.zip
    Думаю, какая-то из них должна разобраться на части.

    Очень благодарен Вам за помощь мне! С уважением, Дмитрий!

  22. Ed, ещё хочу добавить, что в логе, показанном мною чуть выше, видно как загружаются какие-то сохранённые настройки:

    rcS: loadsave_settings: loaded set_2014-10-17_17:29:07.tgz settings file.

    Может быть, если их каким-то образом их удалить, то получится сбросить все настройки устройства по-умолчанию? И тогда проделав всю процедуру заново, получится запустить веб-интерфейс?

  23. Дмитрий, попробуйте вот что:

    How to recover from Lost access after power outage

    If the box can be accessed through MS-Windows (Samba/SMB/CIFS), but ftp/ssh/telnet/webUI etc can’t be used, then ‘inetd’ is not being run. Press the back recessed reset button for more than 10 seconds but less than 20 seconds (the two front leds should start flashing twice a second) and you can telnet the box at port 26 as the ‘root’ without password. Then execute the command ‘rcinetd start’ and if it starts OK then the webUI should be accessible. Don’t forget to “save settings”. Read the “Button Recovery Actions” in the “About Buttons and Leds” on the wiki
    https://groups.google.com/d/topic/alt-f/8Sm5u5zNWcM

    Сначала (до использования Reset Button) надо попробовать зайти по ssh, и посмотреть, запущен ли inetd. Если не запущен, попробовать его запустить и посмотреть, стал ли NAS доступен по http. В крайнем случае можно сбросить настройки к заводским.

    Есть еще запасной план, мне удалось расковырять одну из D-Link’овских прошивок:

    uKernel
    uInitrd
    uDefaults
    uSquashfs

  24. ** MARVELL BOARD: DB-88F6281A-BP LE

    U-Boot 1.1.4 (Jan 21 2011 – 11:56:48) Marvell version: 3.4.14.DNS-320_03

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

    Soc: MV88F6281 Rev 3 (DDR2)
    CPU running @ 800Mhz L2 running @ 400Mhz
    SysClock = 200Mhz , TClock = 166Mhz

    DRAM CAS Latency = 3 tRP = 3 tRAS = 8 tRCD=3
    DRAM CS[0] base 0×00000000 size 128MB
    DRAM Total size 128MB 16bit width
    Flash: 0 kB
    Addresses 8M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (8M – 7M): Done
    NAND:128 MB
    *** Warning – bad CRC or NAND, using default environment

    CPU : Marvell Feroceon (Rev 1)

    Streaming disabled
    Write allocate disabled

    USB 0: host mode
    PEX 0: interface detected no Link.
    Net: egiga0 [PRIME]
    Hit any key to stop autoboot: 0
    Marvell_DNS320>> setenv ipaddr 192.168.1.101
    Marvell_DNS320>> setenv serverip 192.168.1.2
    Marvell_DNS320>> tftp 0xa00000 uKernel
    Using egiga0 device
    TFTP from server 192.168.1.2; our IP address is 192.168.1.101
    Filename ‘uKernel’.
    Load address: 0xa00000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ############################
    done
    Bytes transferred = 1803508 (1b84f4 hex)
    Marvell_DNS320>> tftp 0xf00000 uInitrd
    Using egiga0 device
    TFTP from server 192.168.1.2; our IP address is 192.168.1.101
    Filename ‘uInitrd’.
    Load address: 0xf00000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ############
    done
    Bytes transferred = 3055680 (2ea040 hex)
    Marvell_DNS320>> bootm 0xa00000 0xf00000
    ## Booting image at 00a00000 …
    Image Name: Alt-F-0.1RC4.1, kernel 3.10.32
    Created: 2015-02-03 14:52:08 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1803444 Bytes = 1.7 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at 00f00000 …
    Image Name: Alt-F-0.1RC4.1, initrd
    Created: 2015-02-03 14:52:07 UTC
    Image Type: ARM Linux RAMDisk Image (uncompressed)
    Data Size: 3055616 Bytes = 2.9 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK

    Starting kernel …

    Uncompressing Linux… done, booting the kernel.
    Booting Linux on physical CPU 0×0
    Linux version 3.10.32 (jcard@silver) (gcc version 4.3.3 (GCC) ) #1 Fri Jan 30 16:37:58 WET 2015
    CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
    CPU: VIVT data cache, VIVT instruction cache
    Machine: Marvell Kirkwood (Flattened Device Tree), model: D-Link DNS-320 NAS (Rev A1/A2)
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
    Kernel command line: console=ttyS0,115200 root=/dev/ram0 init=/init
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB = 128MB total
    Memory: 121932k/121932k available, 9140k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 – 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 – 0xfffe0000 ( 896 kB)
    vmalloc : 0xc8800000 – 0xff000000 ( 872 MB)
    lowmem : 0xc0000000 – 0xc8000000 ( 128 MB)
    modules : 0xbf000000 – 0xc0000000 ( 16 MB)
    .text : 0xc0008000 – 0xc0467fac (4480 kB)
    .init : 0xc0468000 – 0xc0493354 ( 173 kB)
    .data : 0xc0494000 – 0xc04c22a0 ( 185 kB)
    .bss : 0xc04c22a0 – 0xc04d7fe4 ( 88 kB)
    NR_IRQS:114
    sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
    Calibrating delay loop… 795.44 BogoMIPS (lpj=3977216)
    pid_max: default: 4096 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    Setting up static identity map for 0xc03cb4c8 – 0xc03cb504
    xor: measuring software checksum speed
    arm4regs : 724.800 MB/sec
    8regs : 537.200 MB/sec
    32regs : 587.200 MB/sec
    xor: using function: arm4regs (724.800 MB/sec)
    pinctrl core: initialized pinctrl subsystem
    regulator-dummy: no parameters
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    Kirkwood: MV88F6281-A1, TCLK=166666667.
    Feroceon L2: Enabling L2
    Feroceon L2: Cache support initialised.
    dnskw: Failed to register dnskw:power:recover
    No ATAGs?
    bio: create slab at 0
    raid6: int32x1 80 MB/s
    raid6: int32x2 98 MB/s
    raid6: int32x4 80 MB/s
    raid6: int32x8 80 MB/s
    raid6: using algorithm int32x2 (98 MB/s)
    raid6: using intx1 recovery algorithm
    SATA0 Power: Failed to request enable GPIO39: -517
    reg-fixed-voltage 1.regulator: Failed to register regulator: -517
    platform 1.regulator: Driver reg-fixed-voltage requests probe deferral
    SATA1 Power: Failed to request enable GPIO40: -517
    reg-fixed-voltage 2.regulator: Failed to register regulator: -517
    platform 2.regulator: Driver reg-fixed-voltage requests probe deferral
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Switching to clocksource orion_clocksource
    NET: Registered protocol family 2
    TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 1024 bind 1024)
    TCP: reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Trying to unpack rootfs image as initramfs…
    rootfs image is not initramfs (junk in compressed archive); looks like an initrd
    Freeing initrd memory: 2984K (c0800000 – c0aea000)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    aufs 3.10.x-20140127
    msgmni has been set to 243
    async_tx: api initialized (async)
    io scheduler noop registered
    io scheduler cfq registered (default)
    kirkwood-pinctrl f1010000.pinctrl: registered pinctrl driver
    mv_xor f1060800.xor: Marvell shared XOR driver
    mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
    mv_xor f1060800.xor: Marvell XOR: ( xor fill cpy )
    mv_xor f1060900.xor: Marvell shared XOR driver
    mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
    mv_xor f1060900.xor: Marvell XOR: ( xor fill cpy )
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
    console [ttyS0] enabled
    f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
    brd: module loaded
    loop: module loaded
    sata_mv f1080000.sata: slots 32 ports 2
    scsi0 : sata_mv
    scsi1 : sata_mv
    ata1: SATA max UDMA/133 irq 21
    ata2: SATA max UDMA/133 irq 21
    NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
    Scanning device for bad blocks
    Bad eraseblock 97 at 0x000000c20000
    6 ofpart partitions found on MTD device orion_nand
    Creating 6 MTD partitions on “orion_nand”:
    0×000000000000-0×000000100000 : “u-boot”
    0×000000100000-0×000000600000 : “uImage”
    0×000000600000-0x000000b00000 : “ramdisk”
    0x000000b00000-0×000007100000 : “image”
    0×000007100000-0x000007b00000 : “mini firmware”
    0x000007b00000-0×000008000000 : “config”
    libphy: orion_mdio_bus: probed
    mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
    mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:19:19:01
    ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
    ehci-pci: EHCI PCI platform driver
    ehci-orion: EHCI orion driver
    orion-ehci f1050000.ehci: EHCI Host Controller
    orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
    orion-ehci f1050000.ehci: irq 19, io mem 0xf1050000
    orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usbcore: registered new interface driver usb-storage
    rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
    i2c /dev entries driver
    gpio-fan gpio_fan.2: GPIO fan initialized
    md: linear personality registered for level -1
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    md: raid6 personality registered for level 6
    md: raid5 personality registered for level 5
    md: raid4 personality registered for level 4
    cpuidle: using governor ladder
    cpuidle: using governor menu
    leds-gpio gpio-leds.5: pins are not configured from the driver
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    TCP: cubic registered
    NET: Registered protocol family 17
    SATA0 Power: 5000 mV
    SATA1 Power: 5000 mV
    input: gpio_keys.1 as /devices/gpio_keys.1/input/input0
    rtc-mv f1010300.rtc: setting system clock to 2099-09-02 18:03:15 UTC (4092055395)
    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
    ata1.00: ATA-8: WDC WD2500BEVS-60UST0, 01.01A01, max UDMA/100
    ata1.00: 488397168 sectors, multi 0: LBA48
    ata1.00: configured for UDMA/100
    scsi 0:0:0:0: Direct-Access ATA WDC WD2500BEVS-6 01.0 PQ: 0 ANSI: 5
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
    sda: sda1
    sd 0:0:0:0: [sda] Attached SCSI disk
    ata2: SATA link down (SStatus 0 SControl F300)
    md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
    RAMDISK: squashfs filesystem found at block 0
    RAMDISK: Loading 2982KiB [1 disk] into ram disk… done.
    VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
    Freeing unused kernel memory: 172K (c0468000 – c0493000)
    pre-init started, pid=1
    pre-init: squash-rd
    init started: BusyBox v1.20.2 (2015-01-30 16:18:45 WET)
    sed: /proc/atags: No such file or directory
    rcS: Reading RCT in UTC and setting system time and date
    hwclock: settimeofday: Invalid argument
    rcS: Board: DNS-320-A1A2
    rcS: Flashed Firmware: Linux-2.6.22.18
    rcS: loadsave_settings: loaded set_2014-10-17_17:29:07.tgz settings file.
    rcS: IP from flash-defaults
    mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
    udhcpc (v1.20.2) started
    EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    udhcpc: Deconfiguring eth0
    Sending discover…
    mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
    Sending discover…
    Sending select for 192.168.1.101…
    Lease of 192.168.1.101 obtained, lease time 7200
    udhcpc: Renew: Using 192.168.1.101 for 7200 seconds
    udhcpc: Updating /etc/hosts: 192.168.1.101 HOME-NAS-SERVER.localnet HOME-NAS-SERVER
    udhcpc: Updating /etc/httpd.conf: allow 192.168.1.0/255.255.255.0
    udhcpc: Updating /etc/samba/smb.conf: allow 192.168.1.0/255.255.255.0
    udhcpc: Updating eth0 default route: adding route 192.168.1.1
    udhcpc: Updating /etc/resolv.conf: adding nameserver 208.67.222.222 208.67.220.220
    root: Starting syslogd: OK.
    Starting klogd: OK.
    root: Starting sslcert: OK.
    root: Starting urandom: OK.
    root: Starting modload: OK.
    root: quota on sda1 is disabled
    root: Starting sysctrl: OK.
    root: Starting crond: OK.
    root: Starting smartd: OK.
    root: Starting cleanup: OK.
    root: Starting news: OK.
    root: Starting inetd: OK.
    nmbd: can’t load library ‘libiconv.so.2′
    smbd: can’t load library ‘libiconv.so.2′
    root: Starting nmbd: Fail.
    Starting smbd: Fail.
    transmission: Alt-F folder not yet available.\nUse menu Packages->Alt-F to install Alt-F packages folder if you have not yet done it.
    root:

    / # printenv
    USER=root
    HOME=/
    OLDPWD=/
    TERM=vt100
    PATH=/sbin:/usr/sbin:/bin:/usr/bin
    SHELL=/bin/sh
    PWD=/
    / # passwd
    Changing password for root
    New password:
    Retype password:
    Password for root changed by root
    ===========================================================
    Это первый лог с файлами от ALT-F
    ===========================================================
    login as: root
    root@192.168.1.101‘s password:
    COLUMNS=80;LINES=24;export COLUMNS LINES;
    [root@HOME-NAS-SERVER]# rcinitd start
    -sh: rcinitd: not found
    [root@HOME-NAS-SERVER]# rcinitd status
    -sh: rcinitd: not found
    [root@HOME-NAS-SERVER]# initd status
    -sh: initd: not found
    [root@HOME-NAS-SERVER]# webui
    -sh: webui: not found
    [root@HOME-NAS-SERVER]# services status
    -sh: services: not found
    [root@HOME-NAS-SERVER]# help
    -sh: help: not found
    [root@HOME-NAS-SERVER]# /?
    -sh: /?: not found
    [root@HOME-NAS-SERVER]# ?
    -sh: ?: not found
    [root@HOME-NAS-SERVER]# uname -a
    Linux HOME-NAS-SERVER 3.10.32 #1 Fri Jan 30 16:37:58 WET 2015 armv5tel GNU/Linux
    [root@HOME-NAS-SERVER]# who a me
    BusyBox v1.20.2 (2015-01-30 16:18:45 WET) multi-call binary.

    Usage: who [-a]

    Show who is logged on

    -a Show all
    -H Print column headers

    [root@HOME-NAS-SERVER]# who -a
    LOGIN ttyS0 00:03 Jan 1 03:00:17
    root pts/0 00:00 Jan 1 03:01:10 192.168.1.2
    [root@HOME-NAS-SERVER]# initd
    -sh: initd: not found
    [root@HOME-NAS-SERVER]# login as: root
    root@192.168.1.101‘s password:
    COLUMNS=80;LINES=24;export COLUMNS LINES;
    [root@HOME-NAS-SERVER]# rcinitd start
    -sh: rcinitd: not found
    [root@HOME-NAS-SERVER]# rcinitd status
    -sh: rcinitd: not found
    [root@HOME-NAS-SERVER]# initd status
    -sh: initd: not found
    [root@HOME-NAS-SERVER]# webui
    -sh: webui: not found
    Password:
    [root@HOME-NAS-SERVER]# help
    -sh: help: not found
    [root@HOME-NAS-SERVER]# /?
    -sh: /?: not found
    [root@HOME-NAS-SERVER]# ?
    -sh: ?: not found
    [root@HOME-NAS-SERVER]# uname -a
    Linux HOME-NAS-SERVER 3.10.32 #1 Fri Jan 30 16:37:58 WET 2015 armv5tel GNU/Linux
    [root@HOME-NAS-SERVER]# who a me
    BusyBox v1.20.2 (2015-01-30 16:18:45 WET) multi-call binary.

    Usage: who [-a]

    Show who is logged on

    -a Show all
    -H Print column headers

    [root@HOME-NAS-SERVER]# who -a
    LOGIN ttyS0 00:03 Jan 1 03:00:17
    root pts/0 00:00 Jan 1 03:01:10 192.168.1.2
    [root@HOME-NAS-SERVER]# initd
    -sh: initd: not found
    [root@HOME-NAS-SERVER]#
    Login incorrect
    HOME-NAS-SERVER login: root
    Password:
    COLUMNS=109;LINES=36;export COLUMNS LINES;
    [root@HOME-NAS-SERVER]#
    ============================================================
    Это лог подключения по SSH
    ============================================================
    / # rcinetd start
    Starting inetd: OK.
    / #
    ============================================================
    Это лог подключения по Telnet
    ============================================================
    Результат один веб-интерфейса нет.

  25. Здравствуйте, Ed!
    ==========================================================
    Нас с Вами можно поздравить с успешным окончанием поставленной задачи – восстановления устройства хранения информации DNS-320 rev. A1!!!
    УРА!!!!!!!!!!!!!!!!!!!!!!!
    ==========================================================
    Вчера, когда я написал последний комментарий – я ошибся! Время уже поджимало. До выхода из дома на работу оставалось минут 20, надо было собираться. Но я решил, всё-таки, добить до конца поставленную перед собой задачу и отсечь все не приемлемые решения.
    Я прочитал Ваш последний комментарий и стал вникать в суть: ошибка моя была в том, что я был не внимателен к мелочам, а в них вся суть и есть. Чуть позже, находясь на работе, я понял, что проблему можно было решить и раньше, если бы было понимание того что происходит в окне консоли, подключенной через переходник USB-TTL к устройству.
    ==========================================================
    В общем, проделав, в очередной раз, всю процедуру заливки образов uKernel и uInitrd в память устройства, я стал вновь пробовать подключаться к веб-интерфейсу устройства. Но как и в прошлые разы меня ждало разочарование.
    Чуть ранее я обратил Ваше внимание на одну деталь и указал на одну строку в логе загрузки устройства, а именно:

    rcS: loadsave_settings: loaded set_2014-10-17_17:29:07.tgz settings file.

    Получается, что что-то было не в порядке с сохранённым файлом настроек, который хранился в где-то в памяти устройства и по-идее нужно было сбросить все настройки по умолчанию. Но я почему-то думал, что, нажав кнопку “Reset”, я отправлю устройство на перезагрузку и те файлы образов uKernel и uInitrd, которые я, чуть ранее, загрузил в устройство “слетят”, что сделает не возможным восстановление настроек по-умолчанию.
    Как же я ошибался!!!
    Итак, загрузив образы uKernel и uInitrd в память устройства, я решил перечитать Ваш последний комментарий. Там говорилось, что (не дословно), находясь в том состоянии загрузки, о котором я говорю, можно было попытаться сбросить настройки по-умолчанию, нажав на кнопку “Reset”, и держать её от 10 до 20 секунд, при этом поочерёдно, через секунду, будут мигать два индикатора, жёлтым цветом.
    Я так и поступил, а в окне консоли, подключенной к устройству через переходник USB-TTL, я увидел как устройство сбрасывает все настройки и перезагружается. Но самое интересное в том, что оно перезагрузившись, показало мне веб-интерфейс, через который я и восстановил (по нормальному) прошивку от ALT-F.
    ========================================================
    А вот и лог загрузки устройства после перепрошивки:

    ** MARVELL BOARD: DB-88F6281A-BP LE

    U-Boot 1.1.4 (Jan 21 2011 – 11:56:48) Marvell version: 3.4.14.DNS-320_03

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

    Soc: MV88F6281 Rev 3 (DDR2)
    CPU running @ 800Mhz L2 running @ 400Mhz
    SysClock = 200Mhz , TClock = 166Mhz

    DRAM CAS Latency = 3 tRP = 3 tRAS = 8 tRCD=3
    DRAM CS[0] base 0×00000000 size 128MB
    DRAM Total size 128MB 16bit width
    Flash: 0 kB
    Addresses 8M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (8M – 7M): Done
    NAND:128 MB
    *** Warning – bad CRC or NAND, using default environment

    CPU : Marvell Feroceon (Rev 1)

    Streaming disabled
    Write allocate disabled

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

    NAND read: device 0 offset 0×100000, size 0×300000
    load addr …. =a00000

    3145728 bytes read: OK

    NAND read: device 0 offset 0×600000, size 0×300000
    load addr …. =f00000

    3145728 bytes read: OK
    ## Booting image at 00a00000 …
    Image Name: Alt-F-0.1RC4.1, kernel 3.10.32
    Created: 2015-02-03 14:52:08 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1803444 Bytes = 1.7 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at 00f00000 …
    Image Name: Alt-F-0.1RC4.1, initrd
    Created: 2015-02-03 14:52:07 UTC
    Image Type: ARM Linux RAMDisk Image (uncompressed)
    Data Size: 3055616 Bytes = 2.9 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK

    Starting kernel …

    Uncompressing Linux… done, booting the kernel.
    Booting Linux on physical CPU 0×0
    Linux version 3.10.32 (jcard@silver) (gcc version 4.3.3 (GCC) ) #1 Fri Jan 30 16:37:58 WET 2015
    CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
    CPU: VIVT data cache, VIVT instruction cache
    Machine: Marvell Kirkwood (Flattened Device Tree), model: D-Link DNS-320 NAS (Rev A1/A2)
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
    Kernel command line: console=ttyS0,115200 root=/dev/ram0 init=/init
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB = 128MB total
    Memory: 121932k/121932k available, 9140k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 – 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 – 0xfffe0000 ( 896 kB)
    vmalloc : 0xc8800000 – 0xff000000 ( 872 MB)
    lowmem : 0xc0000000 – 0xc8000000 ( 128 MB)
    modules : 0xbf000000 – 0xc0000000 ( 16 MB)
    .text : 0xc0008000 – 0xc0467fac (4480 kB)
    .init : 0xc0468000 – 0xc0493354 ( 173 kB)
    .data : 0xc0494000 – 0xc04c22a0 ( 185 kB)
    .bss : 0xc04c22a0 – 0xc04d7fe4 ( 88 kB)
    NR_IRQS:114
    sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
    Calibrating delay loop… 795.44 BogoMIPS (lpj=3977216)
    pid_max: default: 4096 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    Setting up static identity map for 0xc03cb4c8 – 0xc03cb504
    xor: measuring software checksum speed
    arm4regs : 724.400 MB/sec
    8regs : 537.200 MB/sec
    32regs : 587.200 MB/sec
    xor: using function: arm4regs (724.400 MB/sec)
    pinctrl core: initialized pinctrl subsystem
    regulator-dummy: no parameters
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    Kirkwood: MV88F6281-A1, TCLK=166666667.
    Feroceon L2: Enabling L2
    Feroceon L2: Cache support initialised.
    dnskw: Failed to register dnskw:power:recover
    No ATAGs?
    bio: create slab at 0
    raid6: int32x1 80 MB/s
    raid6: int32x2 98 MB/s
    raid6: int32x4 80 MB/s
    raid6: int32x8 80 MB/s
    raid6: using algorithm int32x2 (98 MB/s)
    raid6: using intx1 recovery algorithm
    SATA0 Power: Failed to request enable GPIO39: -517
    reg-fixed-voltage 1.regulator: Failed to register regulator: -517
    platform 1.regulator: Driver reg-fixed-voltage requests probe deferral
    SATA1 Power: Failed to request enable GPIO40: -517
    reg-fixed-voltage 2.regulator: Failed to register regulator: -517
    platform 2.regulator: Driver reg-fixed-voltage requests probe deferral
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Switching to clocksource orion_clocksource
    NET: Registered protocol family 2
    TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 1024 bind 1024)
    TCP: reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Trying to unpack rootfs image as initramfs…
    rootfs image is not initramfs (junk in compressed archive); looks like an initrd
    Freeing initrd memory: 2984K (c0800000 – c0aea000)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    aufs 3.10.x-20140127
    msgmni has been set to 243
    async_tx: api initialized (async)
    io scheduler noop registered
    io scheduler cfq registered (default)
    kirkwood-pinctrl f1010000.pinctrl: registered pinctrl driver
    mv_xor f1060800.xor: Marvell shared XOR driver
    mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
    mv_xor f1060800.xor: Marvell XOR: ( xor fill cpy )
    mv_xor f1060900.xor: Marvell shared XOR driver
    mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
    mv_xor f1060900.xor: Marvell XOR: ( xor fill cpy )
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
    console [ttyS0] enabled
    f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
    brd: module loaded
    loop: module loaded
    sata_mv f1080000.sata: slots 32 ports 2
    scsi0 : sata_mv
    scsi1 : sata_mv
    ata1: SATA max UDMA/133 irq 21
    ata2: SATA max UDMA/133 irq 21
    NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
    Scanning device for bad blocks
    Bad eraseblock 97 at 0x000000c20000
    6 ofpart partitions found on MTD device orion_nand
    Creating 6 MTD partitions on “orion_nand”:
    0×000000000000-0×000000100000 : “u-boot”
    0×000000100000-0×000000600000 : “uImage”
    0×000000600000-0x000000b00000 : “ramdisk”
    0x000000b00000-0×000007100000 : “image”
    0×000007100000-0x000007b00000 : “mini firmware”
    0x000007b00000-0×000008000000 : “config”
    libphy: orion_mdio_bus: probed
    mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
    mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:42:14:10
    ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
    ehci-pci: EHCI PCI platform driver
    ehci-orion: EHCI orion driver
    orion-ehci f1050000.ehci: EHCI Host Controller
    orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
    orion-ehci f1050000.ehci: irq 19, io mem 0xf1050000
    orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usbcore: registered new interface driver usb-storage
    rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
    i2c /dev entries driver
    gpio-fan gpio_fan.2: GPIO fan initialized
    md: linear personality registered for level -1
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    md: raid6 personality registered for level 6
    md: raid5 personality registered for level 5
    md: raid4 personality registered for level 4
    cpuidle: using governor ladder
    cpuidle: using governor menu
    leds-gpio gpio-leds.5: pins are not configured from the driver
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    TCP: cubic registered
    NET: Registered protocol family 17
    SATA0 Power: 5000 mV
    SATA1 Power: 5000 mV
    input: gpio_keys.1 as /devices/gpio_keys.1/input/input0
    rtc-mv f1010300.rtc: setting system clock to 2015-09-13 12:16:38 UTC (1442146598)
    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
    ata1.00: ATA-8: WDC WD2500BEVS-60UST0, 01.01A01, max UDMA/100
    ata1.00: 488397168 sectors, multi 0: LBA48
    ata1.00: configured for UDMA/100
    scsi 0:0:0:0: Direct-Access ATA WDC WD2500BEVS-6 01.0 PQ: 0 ANSI: 5
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
    sda: sda1
    sd 0:0:0:0: [sda] Attached SCSI disk
    ata2: SATA link down (SStatus 0 SControl F300)
    md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
    RAMDISK: squashfs filesystem found at block 0
    RAMDISK: Loading 2982KiB [1 disk] into ram disk… done.
    VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
    Freeing unused kernel memory: 172K (c0468000 – c0493000)
    pre-init started, pid=1
    pre-init: squash-rd
    init started: BusyBox v1.20.2 (2015-01-30 16:18:45 WET)
    sed: /proc/atags: No such file or directory
    rcS: Reading RCT in UTC and setting system time and date
    rcS: Board: DNS-320-A1A2
    rcS: Flashed Firmware: Alt-F-0.1RC4.1, kernel 3.10.32
    rcS: loadsave_settings: empty or no file found!
    EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
    mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
    udhcpc (v1.20.2) started
    Sending discover…
    Sending select for 192.168.1.101…
    Lease of 192.168.1.101 obtained, lease time 7200
    rcS: IP from dhcp server
    udhcpc (v1.20.2) started
    udhcpc: Deconfiguring eth0
    Sending discover…
    Sending select for 192.168.1.101…
    Lease of 192.168.1.101 obtained, lease time 7200
    udhcpc: Renew: Using 192.168.1.101 for 7200 seconds
    udhcpc: Updating /etc/hosts: 192.168.1.101 dns325.localnet dns325
    hostname: dns325: Unknown host
    udhcpc: Updating /etc/httpd.conf: allow 192.168.1.0/255.255.255.0
    udhcpc: Updating /etc/samba/smb.conf: allow 192.168.1.0/255.255.255.0
    udhcpc: Updating eth0 default route: adding route 192.168.1.1
    udhcpc: Updating /etc/resolv.conf: adding nameserver 208.67.222.222 208.67.220.220
    root: Starting syslogd: OK.
    Starting klogd: OK.
    root: Starting sslcert: Creating SSL self-signed certificate… OK.
    root: Starting urandom: OK.
    root: Starting modload: OK.
    root: quota on sda1 is disabled
    root: Starting sysctrl: OK.
    root: Starting crond: OK.
    Starting news: OK.
    usbcore: registered new interface driver usblp
    root: dropbear: generating rsa key…
    dropbear: generating dsa key…
    dropbear: generating ecdsa key…
    Starting inetd: OK.
    root: Starting nmbd: OK.
    Starting smbd: OK.
    root: Starting ffp: No ffp instalation found.
    root: Starting user: OK.

    / #
    =======================================================

  26. Здравствуйте, Ed!
    Хочу ещё раз Вас поблагодарить за оказанную мне помощь!
    Низко кланяюсь Вам! С уважением, Дмитрий.

  27. Дмитрий, поздравляю с оживлением устройства. Рад был помочь.

  28. доброго времени суток!

    помогите советом пожалуйста,
    у меня кирпич dns-320L, моргает PWR, загрузчика не вижу, либо обрыв на плате, либо сигнала нет (сдох бутлодер)

    возможно у Вас есть опыт в подобных случаях.

    благодарю!

  29. Alex, к сожалению, такого опыта у меня нет. Если bootloader’a нет, то программно мало что можно исправить.

  30. Благодарю Вас, Ed, за быстрый ответ!

  31. Страница не найдена! Перезалейте пожалуйста!
    Ed 09.09.2015 в 16:57 пишет:

    Дмитрий, я выложил свою разобранную прошивку Alt-F-0.1RC4-DNS-320L-rev-A1, которую использовал для оживления своего NAS:

    uInitrd
    uKernel
    uSquashfs

  32. Николай, я поправил ссылки на файлы uInitrd, uKernel, uSquashfs

  33. Огромнейшее спасибо!!!!!!!!!!
    Дочка два дня назад подарила D-Link DNS 320l
    уже угробил :( (

  34. В память загрузил Вэб интерфейс появляется но при перепрошивке из Вэб любой родной или Alt-t доходит только до
    Starting kernel …
    Uncompressing Linux… done, booting the kernel.
    Не грузится вобщем.
    Не подскажите как загнать во флеш какие команды

    setenv ipaddr 192.168.1.7 # прописываю IP адрес сетевого хранилища
    setenv serverip 192.168.1.9 # прописываю IP адрес tftp-сервера
    tftp 0xa00000 uKernel # загружаю образ ядра в формате u-boot в память по адресу 0xa00000
    tftp 0xf00000 uInitrd # загружаю initrd в память по адресу 0xf00000
    bootm 0xa00000 0xf00000 # запускаю операционную систему БЕЗ перешивания флеш памяти — если что-то пойдет не так, всегда можно перезагрузиться.

  35. Николай, эти команды во флеш-память загонять не надо. Попробуйте еще раз перепрошить свое устройство с помощью веб-интерфейса. Не исключено, что со второго-третьего раза все получится. Попробуйте перепрошиться на оригинальную D-Link’овскую прошивку после загрузки интерфейса – у меня получилось.

  36. Большое спасибо перепрошил на заводскую.Это он в Опере не хотел а в IE прошил на ура.

  37. Николай, спасибо за информацию. Рад был помочь.

  38. Доброго времени суток!
    Ed может и мне с моим 323 поможете?
    Оч много перелопатил сайтов и материала, но пока как-то всё безуспешно.
    Я как-то не удачно попытался откатиться с Alt-F и сейчас прибор отключается не успев загрузиться. При попытке прошить через терминал пишет, что не может стереть память:
    Marvell>> loadb k
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x0000c800 = 51200 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Erase Kernel from 0xff820000 to 0xff99ffff Can’t erase unknown flash type – abor ted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Kernel Size = 51200
    Copy to Flash… done
    Может быть я что-то не так делаю?
    Благодарю.

  39. Alex, с такой проблемой я не сталкивался. Похоже, что флеш-память приказала долго жить. И если действительно так, то кирпич вряд ли снова оживет.

  40. Ed посмотрите пожалуйста его лог.
    Чего ему не нравится?!!))))
    ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Feb 26 2009 – 11:33:03) Marvell version: 1.7.3.003

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    Detect phy 1118
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Image Name: Linux-2.6.12.6-arm1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1429256 Bytes = 1.4 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at ff9a0000 …
    Image Name: Ramdisk
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 6346259 Bytes = 6.1 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK

    Starting kernel …

    Uncompressing Linux……………………………………………………. ……………………………. done, booting the kernel.
    Linux version 2.6.12.6-arm1 (jack@SWTEST2) (gcc version 3.3.3) #29 Wed Apr 30 10 :03:59 CST 2008
    CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
    CPU0: D VIVT write-back cache
    CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    Machine: MV-88fxx81
    Using UBoot passing parameters structure
    Sys Clk = 166000000, Tclk = 166000000
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists
    Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
    PID hash table entries: 512 (order: 9, 8192 bytes)
    Console: colour dummy device 80×30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 64MB 0MB 0MB 0MB = 64MB total
    Memory: 55552KB available (2470K code, 453K data, 112K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    checking if image is initramfs…it isn’t (no cpio magic); looks like an initrd
    Freeing initrd memory: 6197K
    NET: Registered protocol family 16

    Marvell Development Board (LSP Version 1.7.6_NAS)– RD-88F5182-NAS-2

    Detected Tclk 166000000 and SysClk 166000000
    Marvell USB EHCI Host controller #0: c0e28980
    Marvell USB EHCI Host controller #1: c0e28b00
    pexBarOverlapDetect: winNum 2 overlap current 0
    mvPexInit:Warning :Bar 2 size is illigal
    it will be disabled
    please check Pex and CPU windows configuration
    PCI: bus0: Fast back to back transfers enabled
    PCI: bus1: Fast back to back transfers enabled
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    cesadev_init(c0012498)
    Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    Initializing Cryptographic API
    Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing disabled
    ttyS0 at MMIO 0×0 (irq = 3) is a 16550A
    io scheduler noop registered
    io scheduler deadline registered
    RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
    loop: loaded (max 8 devices)
    Marvell Gigabit Ethernet Driver ‘egiga’:
    o Ethernet descriptors in DRAM
    o DRAM SW cache-coherency
    o Checksum offload enabled
    o Loading network interface ‘egiga0′
    Intergrated Sata device found
    scsi0 : Marvell SCSI to SATA adapter
    scsi1 : Marvell SCSI to SATA adapter
    Vendor: SAMSUNG Model: HM321HI Rev: 2AJ1
    Type: Direct-Access ANSI SCSI revision: 03
    Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
    physmap flash device: 800000 at ff800000
    phys_mapped_flash: Found 1 x16 devices at 0×0 in 8-bit bank
    Amd/Fujitsu Extended Query Table at 0×0040
    number of CFI chips: 1
    cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
    cmdlinepart partition parsing not available
    RedBoot partition parsing not available
    Using physmap partition definition
    Creating 5 MTD partitions on “phys_mapped_flash”:
    0×00000000-0×00010000 : “MTD1″
    0×00010000-0×00020000 : “MTD2″
    0×00020000-0x001a0000 : “Linux Kernel”
    0x001a0000-0x007d0000 : “File System”
    0x007d0000-0×00800000 : “u-boot”
    ehci_platform ehci_platform.20865: EHCI Host Controller
    ehci_platform ehci_platform.20865: new USB bus registered, assigned bus number 1
    ehci_platform ehci_platform.20865: irq 17, io mem 0×00000000
    ehci_platform ehci_platform.20865: park 0
    ehci_platform ehci_platform.20865: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    ehci_platform ehci_platform.86401: EHCI Host Controller
    ehci_platform ehci_platform.86401: new USB bus registered, assigned bus number 2
    ehci_platform ehci_platform.86401: irq 12, io mem 0×00000000
    ehci_platform ehci_platform.86401: park 0
    ehci_platform ehci_platform.86401: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    mice: PS/2 mouse device common for all mice
    md: linear personality registered as nr 1
    md: raid0 personality registered as nr 2
    md: raid1 personality registered as nr 3
    md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
    device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
    NET: Registered protocol family 2
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    md: Autodetecting RAID arrays.
    md: autorun …
    md: … autorun DONE.
    RAMDISK: Compressed image found at block 0
    EXT2-fs warning: maximal mount count reached, running e2fsck is recommended
    VFS: Mounted root (ext2 filesystem).
    Freeing init memory: 112K
    init started: BusyBox v1.00-pre1 (2007.12.10-08:03+0000) multi-call binary
    init started: BusyBox v1.00-pre1 (2007.12.10-08:03+0000) multi-call binary
    Starting pid 218, console /dev/ttyS0: ‘/etc/rc.sh’
    ** Mounting /etc/fstab
    umount: proc: not mounted
    umount: proc: not mounted
    umount: /image.cfs: not mounted
    umount: /image.cfs: not mounted
    Check MTD block device V2.04.08242007
    MTDC: Mount MTD1 done.
    MTDC: Mount MTD2 done.
    Error: Can’t open file /sys/mtd1/raidtab in mtd1.
    Bad inode number on dev mtdblock1: 65535 is out of range
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    MTDC: Backup files from MTD1 to MTD2.
    ** check raid Config version
    Don’t Update raidtab2web
    ** copy mtd1 files
    cp: /sys/mtd1/firmwareupdate: No such file or directory
    cp: /sys/mtd1/raidtab: No such file or directory
    cp: /sys/mtd1/ftp_tbl: No such file or directory
    cp: /sys/mtd1/codepage: No such file or directory
    cp: /sys/mtd1/hd_magic_num: No such file or directory
    cp: /sys/mtd1/MountError: No such file or directory
    cp: /sys/mtd1/web_NToR1: No such file or directory
    mv: /sys/mtd1/firmwareupdate: No such file or directory
    mv: /sys/mtd1/restore: No such file or directory
    mv: /sys/mtd1/format_ok: No such file or directory
    mv: /sys/mtd1/pls_sync: No such file or directory
    mv: /sys/mtd1/pls_chmod_a2: No such file or directory
    mv: /sys/mtd1/pls_chmod_b2: No such file or directory
    mv: /sys/mtd1/spare_dsk: No such file or directory
    mv: /sys/mtd1/std_raid1: No such file or directory
    cp: /sys/mtd1/ftpgroup: No such file or directory
    mv: unable to rename `/tmp/hd_magic_num’: No such file or directory
    ** link lib **
    ** link web **
    ** link /usr/bin **
    ** link /usr/sbin **
    SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
    SCSI device sda: drive cache: write back
    SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
    SCSI device sda: drive cache: write back
    sda: sda2
    Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
    usbcore: registered new driver usblp
    drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
    ** link /usr/local/LPRng **
    cp: /sys/crfs/default/server-key-nopassword.pem: No such file or directory
    mode: 16384
    -o offset: 0
    -f frequency: 0
    maxerror: 16384000
    esterror: 16384000
    status: 64 ( UNSYNC )
    -p timeconstant: 2
    precision: 1
    tolerance: 33554432
    -t tick: 9960
    time.tv_sec: 1104782434
    time.tv_usec: 225416
    return value: 5 (clock not synchronized)
    : getRTC time= 5/1/3 20:0:34

    ** set loopback interface
    MAC = 1C:AF:F7:35:40:B9
    egiga0: mac address changed
    ** Activate Gigabit Interface
    ** execute rc.init.sh
    SIOCADDRT: Network is unreachable
    Setting hostname …. dlink-3540B9
    Starting DHCP client ….
    *****8192.168.0.32
    info, udhcpc (v0.9.9-pre) started
    get IP = [NONE SET]
    debug, Sending discover…
    debug, Sending discover…
    debug, Sending discover…
    info, No lease, forking to background.
    ————>ifconfig egiga0 192.168.0.32

    The number of cylinders for this disk is set to 38913.
    There is nothing wrong with that, but this is larger than 1024,
    and could in certain setups cause problems with:
    1) software that runs at boot time (e.g., old versions of LILO)
    2) booting and partitioning software from other OSs
    (e.g., DOS FDISK, OS/2 FDISK)
    partitions = 5, sys_ind = 0×0
    exit status 0
    success
    HidePartition = 0
    hd verify v1.09.0430008
    DEVICE_A = HD_a2
    DEVICE_B = HD_b2
    *************** hd_verify start******************
    size = 1
    Partitions = 1
    Partitions = 0
    raid_status = 0
    raid_mode = 1
    Can not find raid table from hard disk hidden partition
    cp tmp raid table
    get IP = 192.168.0.32
    RAID start
    Raid Table Parser version v1.10
    size of raid_config_t = 180, items = 6
    Assemble the previously created Raid array.
    /tmp/spare_dsk not exist!!!
    /tmp/std_raid1 not exist!!!
    buf = raiddev, raid_tab[0].name = raiddev
    raid_tab[0].value = /dev/md0
    buf = raid-level, raid_tab[1].name = raid-level
    raid_tab[1].value = raid1
    buf = nr-raid-disks, raid_tab[2].name = nr-raid-disks
    raid_tab[2].value = 2
    buf = chunk-size, raid_tab[3].name = chunk-size
    raid_tab[3].value = 64
    buf = persistent-superblock, raid_tab[4].name = device
    buf = 1, raimd: md0 stopped.
    d_tab[4].name = device
    buf = device, raid_tab[4].name = device
    raid_tab[4].value = /dev/sda2
    buf = raid-disk, raid_tab[5].name = device
    buf = 0, raid_tab[5].name = device
    buf = device, raid_tab[5].name = device
    raid_tab[5].value = /dev/sdb2
    nr_raid_disks = 2
    create_raid[0] = null
    raidtool = mdadm -Ac partitions -R -m 0 /dev/md0
    mdadm: no devices found for /dev/md0
    raillevel = /usr/sbin/raidlevel_parser
    Raid Level Parser version v1.01
    Memory allocation failure or no active mdx!!!
    buf = raid-disk, raid_tab[0].name = raiddev
    buf = 1, raid_tab[0].name = raiddev
    buf = raiddev, raid_tab[0].name = raiddev
    raid_tab[0].value = /dev/md1
    buf = raid-level, raid_tab[1].name = raid-level
    raid_tab[1].value = linear
    buf = nr-raid-disks, raid_tab[2].name = nr-raid-disks
    raid_tab[2].value = 2
    buf = chunk-size, raid_tab[3].name = chunk-size
    raid_tab[3].value = 64
    buf = persistent-superblock, raid_tab[4].name = device
    buf = 1, raid_tab[4].name = device
    buf = device, raid_tab[4].name = device
    raid_tab[4].value = /dev/sda3
    buf = raid-disk, raid_tab[5].name = device
    buf = 0, raid_tabmd: md1 stopped.
    [5].name = device
    buf = device, raid_tab[5].name = device
    raid_tab[5].value = /dev/sdb3
    nr_raid_disks = 2
    create_raid[1] = null
    raidtool = mdadm -Ac partitions -R -m 1 /dev/md1
    mdadm: no devices found for /dev/md1
    raillevel = /usr/sbin/raidlevel_parser
    Raid Level Parser version v1.01
    Memory allocation failure or no active mdx!!!
    buf = raid-disk, raid_tab[0].name = raiddev
    buf = 1, raid_tab[0].name = raiddev
    buf = Version, raid_tab[0].name = raiddev
    buf = 1.3, raid_tab[0].name = raiddev
    buf = 1.3, raid_tab[0].name = raiddev
    Raid Table Parser version v1.10
    size of raid_config_t = 180, items = 6
    Assemble the previously created Raid array.
    /tmp/spare_dsk not exist!!!
    /tmp/std_raid1 not exist!!!
    md: md0 stopped.
    argv[1] = 1, argv[2] = (null)
    sync =
    raid dev need to format = X
    format single raid = 0
    Mounting single device in raid1 = 1
    buf = raiddev, raid_tab[0].name = raiddev
    raid_tab[0].value = /dev/md0
    buf = raid-level, raid_tab[1].name = raid-level
    raid_tab[1].value = raid1
    buf = nr-raid-disks, raid_tab[2].name = nr-raid-disks
    raid_tab[2].value = 2
    buf = chunk-size, raid_tab[3].name = chunk-size
    raid_tab[3].value = 64
    buf = persistent-superblock, raid_tab[4].name = device
    buf = 1, raid_tab[4].name = device
    buf = device, raid_tab[4].name = device
    raid_tab[4].value = /dev/sda2
    buf = raid-disk, raid_tab[5].name = device
    buf = 0, raid_tab[5].name = device
    buf = device, raid_tab[5].name = device
    raid_tab[5].value = /dev/sdb2
    nr_raid_disks = 1
    name[0] = raiddev, value[0] = /dev/md0
    name[1] = raid-level, value[1] = raid1
    name[2] = nr-raid-disks, value[2] = 1
    name[3] = chunk-size, value[3] = 64
    name[4] = device, value[4] = /dev/sda2
    raidtool = mdadm -Ac partitions -R -U super-minor -m 0 /dev/md0
    mdadm: no devices found for /dev/md0
    name[5] = device, value[5] = /dev/sdb2
    raidtool = mdadm -Ac partitions -R -U super-minor -m 0 /dev/md0
    md: md0 stopped.
    mdadm: no devices found for /dev/md0
    raillevel = /usr/sbin/raidlevel_parser
    Raid Level Parser version v1.01
    Memory allocation failure or no active mdx!!!
    buf = raid-disk, raid_tab[0].name = raiddev
    buf = 1, raid_tab[0].name = raiddev
    buf = raiddev, raid_tab[0].nammd: md1 stopped.
    e = raiddev
    raid_tab[0].value = /dev/md1
    buf = raid-level, raid_tab[1].name = raid-level
    raid_tab[1].value = linear
    buf = nr-raid-disks, raid_tab[2].name = nr-raid-disks
    raid_tab[2].value = 2
    buf = chunk-size, raid_tab[3].name = chunk-size
    raid_tab[3].value = 64
    buf = persistent-superblock, raid_tab[4].name = device
    buf = 1, raid_tab[4].name = device
    buf = device, raid_tab[4].name = device
    raid_tab[4].value = /dev/sda3
    buf = raid-disk, raid_tab[5].name = device
    buf = 0, raid_tab[5].name = device
    buf = device, raid_tab[5].name = device
    raid_tab[5].value = /dev/sdb3
    nr_raid_disks = 1
    name[0] = raiddev, value[0] = /dev/md1
    name[1] = raid-level, value[1] = linear
    name[2] = nr-raid-disks, value[2] = 1
    name[3] = chunk-size, value[3] = 64
    name[4] = device, value[4] = /dev/sda3
    raidtool = mdadm -Ac partitions -R -U super-minor -m 1 /dev/md1
    mdadm: no devices found for /dev/md1
    name[5] = device, value[5] = /dev/sdb3
    raidtool = mdadm -Ac partitions -R -U super-minor -m 1 /dev/md1
    md: md1 stopped.
    mdadm: no devices found for /dev/md1
    raillevel = /usr/sbin/raidlevel_parser
    Raid Level Parser version v1.01
    Memory allocation failure or no active mdx!!!
    buf = raid-disk, raid_tab[0].name = raiddev
    buf = 1, raid_tab[0].name = raiddev
    buf = Version, raid_tab[0].name = raiddev
    buf = 1.3, raid_tab[0].name = raiddev
    buf = 1.3, raid_tab[0].name = raiddev

    The number of cylinders for this disk is set to 38913.
    There is nothing wrong with that, but this is larger than 1024,
    and could in certain setups cause problems with:
    1) software that runs at boot time (e.g., old versions of LILO)
    2) booting and partitioning software from other OSs
    (e.g., DOS FDISK, OS/2 FDISK)
    partitions = 5, sys_ind = 0×0
    exit status 0
    success
    grep: /etc/codepage: No such file or directory
    attempt to access beyond end of device
    sda2: rw=0, want=4, limit=2
    EXT3-fs: unable to read superblock
    mount: wrong fs type, bad option, bad superblock on /dev/sda2,
    missing codepage or other error
    (aren’t you trying to mount an extended partition,
    instead of some logical partition inside?)
    In some cases useful info is found in syslog – try
    dmesg | tail or so

    attempt to access beyond end of device
    sda2: rw=0, want=4, limit=2
    EXT2-fs: unable to read superblock
    mount: wrong fs type, bad option, bad superblock on /dev/sda2,
    missing codepage or other error
    (aren’t you trying to mount an extended partition,
    instead of some logical partition inside?)
    In some cases useful info is found in syslog – try
    dmesg | tail or so

    attempt to access beyond end of device
    sda2: rw=0, want=4, limit=2
    EXT3-fs: unable to read superblock
    mount: wrong fs type, bad option, bad superblock on /dev/sda2,
    missing codepage or other error
    (aren’t you trying to mount an extended partition,
    instead of some logical partition inside?)
    In some cases useful info is found in syslog – try
    dmesg | tail or so

    attempt to access beyond end of device
    sda2: rw=0, want=4, limit=2
    EXT2-fs: unable to read superblock
    mount: wrong fs type, bad option, bad superblock on /dev/sda2,
    missing codepage or other error
    (aren’t you trying to mount an extended partition,
    instead of some logical partition inside?)
    In some cases useful info is found in syslog – try
    dmesg | tail or so

    md: md0 stopped.
    mdadm: stopped md: md1 stopped.
    /dev/md0
    mdadm: stopped /dev/md1
    Mount Normal
    grep: /etc/codepage: No such file or directory
    attempt to access beyond end of device
    sda2: rw=0, want=4, limit=2
    EXT3-fs: unable to read superblock
    mount: wrong fs type, bad option, bad superblock on /dev/sda2,
    missing codepage or other error
    (aren’t you trying to mount an extended partition,
    instead of some logical partition inside?)
    In some cases useful info is found in syslog – try
    dmesg | tail or so

    attempt to access beyond end of device
    sda2: rw=0, want=4, limit=2
    EXT2-fs: unable to read superblock
    mount: wrong fs type, bad option, bad superblock on /dev/sda2,
    missing codepage or other error
    (aren’t you trying to mount an extended partition,
    instead of some logical partition inside?)
    In some cases useful info is found in syslog – try
    dmesg | tail or so

    attempt to access beyond end of device
    sda2: rw=0, want=4, limit=2
    EXT3-fs: unable to read superblock
    mount: wrong fs type, bad option, bad superblock on /dev/sda2,
    missing codepage or other error
    (aren’t you trying to mount an extended partition,
    instead of some logical partition inside?)
    In some cases useful info is found in syslog – try
    dmesg | tail or so

    attempt to access beyond end of device
    sda2: rw=0, want=4, limit=2
    EXT2-fs: unable to read superblock
    mount: wrong fs type, bad option, bad superblock on /dev/sda2,
    missing codepage or other error
    (aren’t you trying to mount an extended partition,
    instead of some logical partition inside?)
    In some cases useful info is found in syslog – try
    dmesg | tail or so

    grep: /etc/codepage: No such file or directory
    Normal mode only has one disk
    old_channel = 1
    disk = 1
    Serial Number = S24PJ9BZB10683
    Serial Number =
    RandValue = 468038
    swap = 0
    NORMAL mode
    umount: /mnt/HD_a*: not found
    grep: /etc/shared_name: No such file or directory
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    Refresh Shared Name Table version v1.04
    /etc/shared_name failed to open.!!!
    *************** hd_verify end ******************
    Set Timezone=-8
    1.Set Date & time …(command: sntp -r ntp1.dlink.com &)
    get IP = 192.168.0.32
    sntp: unable to locate IP address/number
    sntp: Success
    : getRTC time= 5/1/3 20:1:2
    Jan 3 20:01:02 crond[1120]: crond 2.3.2 dillon, started, log level 8

    check button V2.31.04232008
    1.05(1.47.0505.2008)
    05/05/2008
    mfg_search
    create /tmp/fatmount script file
    mount FAT storage devices
    ** Get MAC Addr
    FAT: bogus number of reserved sectors
    VFS: Can’t find a valid FAT filesystem on dev sda.
    mount: wrong fs type, bad option, bad superblock on /dev/sda,
    missing codepage or other error
    In some cases useful info is found in syslog – try
    dmesg | tail or so

    mount: /dev/sdb is not a valid block device
    UPNPAV_MGR: Generate key failed.
    UPNPMGR: Get ShareFolder=/mnt.
    upnpav_path=/mnt
    Have not diskB
    /etc/shared_name: No such file or directory
    Quota Stop
    Set Daylight :/usr/sbin/daylight f &
    mount: /dev/sdc is not a valid block device
    country = 66
    Daylight mode : NONE
    rm: cannot remove `/tmp/set_ddns_done’: No such file or directory
    rm: cannot remove `/tmp/set_ddns_error’: No such file or directory
    mount: /dev/sda1 is not a valid block device
    rm: cannot remove `/web/ddns_start’: No such file or directory
    $Shutting down SMB services: mount: /dev/sdb1 is not a valid block device

    $Shutting down NMB services:
    $Starting SMB services: mount: /dev/sdc1 is not a valid block device

    $Starting NMB services:
    language=1
    op_server 3 3 3 &
    does not exist directory
    /usr/sbin/start_bt: ./btdog: No such file or directory
    Starting pid 1229, console /dev/ttyS0: ‘/bin/sh’

    BusyBox v1.00-pre1 (2007.12.10-08:03+0000) Built-in shell (ash)
    Enter ‘help’ for a list of built-in commands.

  41. Alex, похоже на то, что система пытается прочитать конфигурацию с подключенных дисков и по каким-то причинам она этого сделать не может:

    Check MTD block device V2.04.08242007
    MTDC: Mount MTD1 done.
    MTDC: Mount MTD2 done.
    Error: Can’t open file /sys/mtd1/raidtab in mtd1.
    Bad inode number on dev mtdblock1: 65535 is out of range
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output erro r
    MTDC: Backup files from MTD1 to MTD2.
    ** check raid Config version
    Don’t Update raidtab2web
    ** copy mtd1 files
    cp: /sys/mtd1/firmwareupdate: No such file or directory
    cp: /sys/mtd1/raidtab: No such file or directory
    cp: /sys/mtd1/ftp_tbl: No such file or directory
    cp: /sys/mtd1/codepage: No such file or directory
    cp: /sys/mtd1/hd_magic_num: No such file or directory
    cp: /sys/mtd1/MountError: No such file or directory
    cp: /sys/mtd1/web_NToR1: No such file or directory
    mv: /sys/mtd1/firmwareupdate: No such file or directory
    mv: /sys/mtd1/restore: No such file or directory
    mv: /sys/mtd1/format_ok: No such file or directory
    mv: /sys/mtd1/pls_sync: No such file or directory
    mv: /sys/mtd1/pls_chmod_a2: No such file or directory
    mv: /sys/mtd1/pls_chmod_b2: No such file or directory
    mv: /sys/mtd1/spare_dsk: No such file or directory
    mv: /sys/mtd1/std_raid1: No such file or directory
    cp: /sys/mtd1/ftpgroup: No such file or directory
    mv: unable to rename `/tmp/hd_magic_num’: No such file or directory

    Попробуй отключить диски и загрузить NAS без них в консольном режиме, провести необходимые манипуляции с прошивкой, перезагрузить еще раз без дисков и посмотреть на результат. Если ошибок монтирования не будет, попробуй загрузить устройство с подключенными дисками.

  42. Вот и не понятно, что он ищет на диске?!
    Я изначально воткнул один маленький пустой “ноутбучный” диск, просто поиграться. Доигрался называется…)))
    Вот, что он пишет без диска:
    ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Feb 26 2009 – 11:33:03) Marvell version: 1.7.3.003

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    Detect phy 1118
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Image Name: Linux-2.6.12.6-arm1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1429256 Bytes = 1.4 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at ff9a0000 …
    Image Name: Ramdisk
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 6346259 Bytes = 6.1 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK

    Starting kernel …

    Uncompressing Linux………………………………………………………………………………….. done, booting the kernel.
    Linux version 2.6.12.6-arm1 (jack@SWTEST2) (gcc version 3.3.3) #29 Wed Apr 30 10:03:59 CST 2008
    CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
    CPU0: D VIVT write-back cache
    CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    Machine: MV-88fxx81
    Using UBoot passing parameters structure
    Sys Clk = 166000000, Tclk = 166000000
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists
    Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
    PID hash table entries: 512 (order: 9, 8192 bytes)
    Console: colour dummy device 80×30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 64MB 0MB 0MB 0MB = 64MB total
    Memory: 55552KB available (2470K code, 453K data, 112K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    checking if image is initramfs…it isn’t (no cpio magic); looks like an initrd
    Freeing initrd memory: 6197K
    NET: Registered protocol family 16

    Marvell Development Board (LSP Version 1.7.6_NAS)– RD-88F5182-NAS-2

    Detected Tclk 166000000 and SysClk 166000000
    Marvell USB EHCI Host controller #0: c0e28980
    Marvell USB EHCI Host controller #1: c0e28b00
    pexBarOverlapDetect: winNum 2 overlap current 0
    mvPexInit:Warning :Bar 2 size is illigal
    it will be disabled
    please check Pex and CPU windows configuration
    PCI: bus0: Fast back to back transfers enabled
    PCI: bus1: Fast back to back transfers enabled
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    cesadev_init(c0012498)
    Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    Initializing Cryptographic API
    Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing disabled
    ttyS0 at MMIO 0×0 (irq = 3) is a 16550A
    io scheduler noop registered
    io scheduler deadline registered
    RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
    loop: loaded (max 8 devices)
    Marvell Gigabit Ethernet Driver ‘egiga’:
    o Ethernet descriptors in DRAM
    o DRAM SW cache-coherency
    o Checksum offload enabled
    o Loading network interface ‘egiga0′
    Intergrated Sata device found
    scsi0 : Marvell SCSI to SATA adapter
    scsi1 : Marvell SCSI to SATA adapter
    physmap flash device: 800000 at ff800000
    phys_mapped_flash: Found 1 x16 devices at 0×0 in 8-bit bank
    Amd/Fujitsu Extended Query Table at 0×0040
    number of CFI chips: 1
    cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
    cmdlinepart partition parsing not available
    RedBoot partition parsing not available
    Using physmap partition definition
    Creating 5 MTD partitions on “phys_mapped_flash”:
    0×00000000-0×00010000 : “MTD1″
    0×00010000-0×00020000 : “MTD2″
    0×00020000-0x001a0000 : “Linux Kernel”
    0x001a0000-0x007d0000 : “File System”
    0x007d0000-0×00800000 : “u-boot”
    ehci_platform ehci_platform.20865: EHCI Host Controller
    ehci_platform ehci_platform.20865: new USB bus registered, assigned bus number 1
    ehci_platform ehci_platform.20865: irq 17, io mem 0×00000000
    ehci_platform ehci_platform.20865: park 0
    ehci_platform ehci_platform.20865: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    ehci_platform ehci_platform.86401: EHCI Host Controller
    ehci_platform ehci_platform.86401: new USB bus registered, assigned bus number 2
    ehci_platform ehci_platform.86401: irq 12, io mem 0×00000000
    ehci_platform ehci_platform.86401: park 0
    ehci_platform ehci_platform.86401: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    mice: PS/2 mouse device common for all mice
    md: linear personality registered as nr 1
    md: raid0 personality registered as nr 2
    md: raid1 personality registered as nr 3
    md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
    device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
    NET: Registered protocol family 2
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    md: Autodetecting RAID arrays.
    md: autorun …
    md: … autorun DONE.
    RAMDISK: Compressed image found at block 0
    EXT2-fs warning: maximal mount count reached, running e2fsck is recommended
    VFS: Mounted root (ext2 filesystem).
    Freeing init memory: 112K
    init started: BusyBox v1.00-pre1 (2007.12.10-08:03+0000) multi-call binary
    init started: BusyBox v1.00-pre1 (2007.12.10-08:03+0000) multi-call binary
    Starting pid 215, console /dev/ttyS0: ‘/etc/rc.sh’
    ** Mounting /etc/fstab
    umount: proc: not mounted
    umount: proc: not mounted
    umount: /image.cfs: not mounted
    umount: /image.cfs: not mounted
    Check MTD block device V2.04.08242007
    MTDC: Mount MTD1 done.
    MTDC: Mount MTD2 done.
    Error: Can’t open file /sys/mtd1/raidtab in mtd1.
    Bad inode number on dev mtdblock1: 65535 is out of range
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output error
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output error
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output error
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output error
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output error
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output error
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output error
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output error
    rm: unable to stat `/sys/mtd2/яяяяяяяяяяяяяяяяяяяяяяяяяяяяяя’: Input/output error
    MTDC: Backup files from MTD1 to MTD2.
    ** check raid Config version
    Don’t Update raidtab2web
    ** copy mtd1 files
    cp: /sys/mtd1/firmwareupdate: No such file or directory
    cp: /sys/mtd1/raidtab: No such file or directory
    cp: /sys/mtd1/ftp_tbl: No such file or directory
    cp: /sys/mtd1/codepage: No such file or directory
    cp: /sys/mtd1/hd_magic_num: No such file or directory
    cp: /sys/mtd1/MountError: No such file or directory
    cp: /sys/mtd1/web_NToR1: No such file or directory
    mv: /sys/mtd1/firmwareupdate: No such file or directory
    mv: /sys/mtd1/restore: No such file or directory
    mv: /sys/mtd1/format_ok: No such file or directory
    mv: /sys/mtd1/pls_sync: No such file or directory
    mv: /sys/mtd1/pls_chmod_a2: No such file or directory
    mv: /sys/mtd1/pls_chmod_b2: No such file or directory
    mv: /sys/mtd1/spare_dsk: No such file or directory
    mv: /sys/mtd1/std_raid1: No such file or directory
    cp: /sys/mtd1/ftpgroup: No such file or directory
    mv: unable to rename `/tmp/hd_magic_num’: No such file or directory
    ** link lib **
    ** link web **
    ** link /usr/bin **
    ** link /usr/sbin **
    usbcore: registered new driver usblp
    drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
    ** link /usr/local/LPRng **
    cp: /sys/crfs/default/server-key-nopassword.pem: No such file or directory
    mode: 16384
    -o offset: 0
    -f frequency: 0
    maxerror: 16384000
    esterror: 16384000
    status: 64 ( UNSYNC )
    -p timeconstant: 2
    precision: 1
    tolerance: 33554432
    -t tick: 9960
    time.tv_sec: 1104850001
    time.tv_usec: 70828
    return value: 5 (clock not synchronized)
    : getRTC time= 5/1/4 14:46:41

    ** set loopback interface
    MAC = 1C:AF:F7:35:40:B9
    egiga0: mac address changed
    ** Activate Gigabit Interface
    ** execute rc.init.sh
    SIOCADDRT: Network is unreachable
    Setting hostname …. dlink-3540B9
    Starting DHCP client ….
    *****8192.168.0.32
    info, udhcpc (v0.9.9-pre) started
    get IP = [NONE SET]
    debug, Sending discover…
    debug, Sending discover…
    debug, Sending discover…
    info, No lease, forking to background.
    ————>ifconfig egiga0 192.168.0.32
    HidePartition = 0
    hd verify v1.09.0430008
    DEVICE_A = HD_a2
    DEVICE_B = HD_b2
    *************** hd_verify start******************
    Partitions = 0
    Partitions = 0
    raid_status = 0
    raid_mode = 1
    Can not find raid table from hard disk hidden partition
    cp tmp raid table
    get IP = 192.168.0.32
    RAID start
    Raid Table Parser version v1.10
    size of raid_config_t = 180, items = 6
    Assemble the previously created Raid array.
    /tmp/spare_dsk not exist!!!
    /tmp/std_raid1 not exist!!!
    buf = raiddev, raid_tab[0].name = raiddev
    raid_tab[0].value = /dev/md0
    buf = raid-level, raid_tab[1].name = raid-level
    raid_tab[1].value = raid1
    buf = nr-raid-disks, raid_tab[2].name = nr-raid-disks
    raid_tab[2].value = 2
    buf = chunk-size, raid_tab[3].name = chunk-size
    raid_tab[3].value = 64
    buf = persistent-superblock, raid_tab[4].name = device
    buf = 1, raimd: md0 stopped.
    d_tab[4].name = device
    buf = device, raid_tab[4].name = device
    raid_tab[4].value = /dev/sda2
    buf = raid-disk, raid_tab[5].name = device
    buf = 0, raid_tab[5].name = device
    buf = device, raid_tab[5].name = device
    raid_tab[5].value = /dev/sdb2
    nr_raid_disks = 2
    create_raid[0] = null
    raidtool = mdadm -Ac partitions -R -m 0 /dev/md0
    mdadm: no devices found for /dev/md0
    raillevel = /usr/sbin/raidlevel_parser
    Raid Level Parser version v1.01
    Memory allocation failure or no active mdx!!!
    buf = raid-disk, raid_tab[0].name = raiddev
    buf = 1, raid_tab[0].name = raiddev
    buf = raiddev, raid_tab[0].name = raiddev
    raid_tab[0].value = /dev/md1
    buf = raid-level, raid_tab[1].name = raid-level
    raid_tab[1].value = linear
    buf = nr-raid-disks, raid_tab[2].name = nr-raid-disks
    raid_tab[2].value = 2
    buf = chunk-size, raid_tab[3].name = chunk-size
    raid_tab[3].value = 64
    buf = persistent-superblock, raid_tab[4].name = device
    buf = 1, raid_tab[4].name = device
    buf = device, raid_tab[4].name = device
    raid_tab[4].value = /dev/sda3
    buf = raid-disk, raid_tab[5].name = device
    buf = 0, raid_tab[5].name = devicmd: md1 stopped.
    e
    buf = device, raid_tab[5].name = device
    raid_tab[5].value = /dev/sdb3
    nr_raid_disks = 2
    create_raid[1] = null
    raidtool = mdadm -Ac partitions -R -m 1 /dev/md1
    mdadm: no devices found for /dev/md1
    raillevel = /usr/sbin/raidlevel_parser
    Raid Level Parser version v1.01
    Memory allocation failure or no active mdx!!!
    buf = raid-disk, raid_tab[0].name = raiddev
    buf = 1, raid_tab[0].name = raiddev
    buf = Version, raid_tab[0].name = raiddev
    buf = 1.3, raid_tab[0].name = raiddev
    buf = 1.3, raid_tab[0].name = raiddev
    Raid Table Parser version v1.10
    size of raid_config_t = 180, items = 6
    Assemble the previously created Raid array.
    /tmp/spare_dsk not exist!!!
    /tmp/std_raid1 not exist!!!
    md: md0 stopped.
    argv[1] = 1, argv[2] = (null)
    sync =
    raid dev need to format = X
    format single raid = 0
    Mounting single device in raid1 = 1
    buf = raiddev, raid_tab[0].name = raiddev
    raid_tab[0].value = /dev/md0
    buf = raid-level, raid_tab[1].name = raid-level
    raid_tab[1].value = raid1
    buf = nr-raid-disks, raid_tab[2].name = nr-raid-disks
    raid_tab[2].value = 2
    buf = chunk-size, raid_tab[3].name = chunk-size
    raid_tab[3].value = 64
    buf = persistent-superblock, raid_tab[4].name = device
    buf = 1, raid_tab[4].name = device
    buf = device, raid_tab[4].name = device
    raid_tab[4].value = /dev/sda2
    buf = raid-disk, raid_tab[5].name = device
    buf = 0, raid_tab[5].name = device
    buf = device, raid_tab[5].name = device
    raid_tab[5].value = /dev/sdb2
    nr_raid_disks = 1
    name[0] = raiddev, value[0] = /dev/md0
    name[1] = raid-level, value[1] = raid1
    name[2] = nr-raid-disks, value[2] = 1
    name[3] = chunk-size, value[3] = 64
    name[4] = device, value[4] = /dev/sda2
    raidtool = mdadm -Ac partitions -R -U super-minor -m 0 /dev/md0
    mdadm: no devices found for /dev/md0
    name[5] = device, value[5] = /dev/sdb2
    raidtool = mdadm -Ac partitions -R -U super-minor -m 0 /dev/md0md: md0 stopped.

    mdadm: no devices found for /dev/md0
    raillevel = /usr/sbin/raidlevel_parser
    Raid Level Parser version v1.01
    Memory allocation failure or no active mdx!!!
    buf = raid-disk, raid_tab[0].name = raiddev
    buf = 1, raid_tab[0].name = raiddev
    buf = raiddev, raid_tab[0].nammd: md1 stopped.
    e = raiddev
    raid_tab[0].value = /dev/md1
    buf = raid-level, raid_tab[1].name = raid-level
    raid_tab[1].value = linear
    buf = nr-raid-disks, raid_tab[2].name = nr-raid-disks
    raid_tab[2].value = 2
    buf = chunk-size, raid_tab[3].name = chunk-size
    raid_tab[3].value = 64
    buf = persistent-superblock, raid_tab[4].name = device
    buf = 1, raid_tab[4].name = device
    buf = device, raid_tab[4].name = device
    raid_tab[4].value = /dev/sda3
    buf = raid-disk, raid_tab[5].name = device
    buf = 0, raid_tab[5].name = device
    buf = device, raid_tab[5].name = device
    raid_tab[5].value = /dev/sdb3
    nr_raid_disks = 1
    name[0] = raiddev, value[0] = /dev/md1
    name[1] = raid-level, value[1] = linear
    name[2] = nr-raid-disks, value[2] = 1
    name[3] = chunk-size, value[3] = 64
    name[4] = device, value[4] = /dev/sda3
    raidtool = mdadm -Ac partitions -R -U super-minor -m 1 /dev/md1
    mdadm: no devices found for /dev/md1
    name[5] = device, value[5] = /dev/sdb3
    raidtool = mdadm -Ac partitions -R -U super-minor -m 1 /dev/md1
    md: md1 stopped.
    mdadm: no devices found for /dev/md1
    raillevel = /usr/sbin/raidlevel_parser
    Raid Level Parser version v1.01
    Memory allocation failure or no active mdx!!!
    buf = raid-disk, raid_tab[0].name = raiddev
    buf = 1, raid_tab[0].name = raiddev
    buf = Version, raid_tab[0].name = raiddev
    buf = 1.3, raid_tab[0].name = raiddev
    buf = 1.3, raid_tab[0].name = raiddev
    grep: /etc/codepage: No such file or directory
    md: md0 stopped.
    mdadm: stopped md: md1 stopped.
    /dev/md0
    mdadm: stopped /dev/md1
    Mount Normal
    grep: /etc/codepage: No such file or directory
    grep: /etc/codepage: No such file or directory
    Normal mode only has one disk
    old_channel = 2
    disk = 0
    Serial Number =
    Serial Number =
    RandValue = 890796
    swap = 0
    NORMAL mode
    *************** hd_verify end ******************
    Set Timezone=-8
    1.Set Date & time …(command: sntp -r ntp1.dlink.com &)
    get IP = 192.168.0.32
    sntp: unable to locate IP address/number
    sntp: Success
    : getRTC time= 5/1/4 14:47:6
    check button V2.31.04232008
    Jan 4 14:47:06 crond[797]: crond 2.3.2 dillon, started, log level 8

    1.05(1.47.0505.2008)
    05/05/2008
    mfg_search
    create /tmp/fatmount script file
    mount FAT storage devices
    ** Get MAC Addr
    mount: /dev/sda is not a valid block device
    mount: /dev/sdb is not a valid block device
    mount: /dev/sdc is not a valid block device
    UPNPAV_MGR: Generate key failed.
    UPNPMGR: Get ShareFolder=/mnt.
    upnpav_path=/mnt
    Have not diskA
    Have not diskB
    Quota Stop
    Set Daylight :/usr/sbin/daylight f &
    /etc/shared_name: No such file or directory
    mount: /dev/sda1 is not a valid block device
    country = 66
    Daylight mode : NONE
    rm: cannot remove `/tmp/set_ddns_done’: No such file or directory
    rm: cannot remove `/tmp/set_ddns_error’: No such file or directory
    mount: /dev/sdb1 is not a valid block device
    rm: cannot remove `/web/ddns_start’: No such file or directory
    $Shutting down SMB services:
    $Shutting down NMB services:
    $Starting SMB services: mount: /dev/sdc1 is not a valid block device

    $Starting NMB services:
    language=1
    op_server 3 3 3 &
    does not exist directory
    /usr/sbin/start_bt: ./btdog: No such file or directory
    Starting pid 905, console /dev/ttyS0: ‘/bin/sh’

    BusyBox v1.00-pre1 (2007.12.10-08:03+0000) Built-in shell (ash)
    Enter ‘help’ for a list of built-in commands.

    No found HD

  43. Как бы его из этого замкнутого круга вытолкнуть?! Я уже взял отформатировал диск в Ext2 и засунул обратно. Но не помогло))

  44. А прошивать он себя не даёт, пишет: Can’t erase и т.д. Может быть ему на жесткий диск какой-нибудь инсталятор положить?! От какого-нибудь Linuxa? Ну что бы он хоть во что-то загрузился..

  45. Вот результат попытки прошить Kernel. Файлы взяты в этой ветке выше.
    Marvell>> loadb k
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0×00162888 = 1452168 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Erase Kernel from 0xff820000 to 0xff99ffff Can’t erase unknown flash type – abor ted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Kernel Size = 1452168
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>>

  46. Очевидно вот что:
    1. У тебя записана битая прошивка, которая не загружается, вместо записанной прошивки у тебя стартует заводская прошивка (она обычно используется как для rescue mode):

    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    2. В ядре той прошивки есть какая-то неведомая фигня, которая не позволяет что-то делать с флеш-памятью:

    cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.

    Такой ошибки у меня не было, поэтому у меня все перешивалось хорошо.

    3. Из-за нее ты можешь загрузить в область памяти RAM новую прошивку, но записать ее во флеш ты не можешь. Может флеш-память и не битая, но из-за отключения возможности прошить у тебя прошить флеш не получится.

    Попробуй загрузить устройство без дисков и попробуй зайти в веб-интерфейс управления устройством. Возможно, там получится загрузить новую прошивку и записать ее во флеш. Но не факт, что интерфейс у тебя стартанет с такой конфигурацией.

  47. Я пробовал.
    Веб морда (во всяком случае заставка с полем логин и пароль) становится доступной на 2-3 секунды, но устройство тут же отключается. И всё по новой.
    Я вот думаю, если я куплю пустую микросхему памяти и перепаяю её, это мне как-то поможет или нет?

  48. Я не уверен, что поможет. На новую микросхему надо будет залить дефолтные конфиги, ядро и загрузчик. А как это сделать без специального оборудования, я не представляю.

  49. Благодарю за подробные, развернутые ответы и желание помочь!
    Спасибо.

  50. Снова я!))
    Так как ваша ветка самая “отзывчивая” и многие читают, то и решение свой проблемы я пожалуй (с вашего позволения) напишу здесь.
    В общем мне помог вот этот способ: http://forum.dsmg600.info/viewtopic.php?pid=35122#p35122

  51. Спасибо за информацию. Я не пробовал описанный по ссылке способ, но вдруг кому-то пригодится.

  52. Огромное спасибо автору за публикацию! По восстановлению все расписано просто и доступно даже для новичка. Но все-же прошу помощи в доведении до ума.

    Имеется D-link DNS-325, симптомы похожи на описанные в статье. Подпаялся, загрузил в память приложенные uKernel и uInitrd от Alt-F для 320l. Даже с ними появилась вебморда – уже веселее.

    Перешить через вебморду на родную D-Link 325 прошивку конечно не пускало, т.к. думало, что у меня железо 320l. Извлек uKernel и uInitrd от Alt-F RC4 для DNS-325. С ними родная прошивка проходила предварительную проверку на совместимость, но шиться все-равно отказывалась.

    Обновил через вебморду на более свежую Alt-F RC5, с ней пошло еще дальше, и перешивка на родную запускалась без вопросов, но на моменте верификации sqimage выдавало «failed». И возвращалось к исходному состоянию кирпича. Не помогла также и заливка uKernel и uInitrd от последней заводской прошивки для DNS-325.

    В итоге получилось вернуть NAS к жизни при установленной прошивке Alt-F, за что автору огромный + в карму. Но для хозяина NAS эта прошивка будет сложновата, поэтому вопрос возврата на заводскую прошивку актуален. Ход загрузки после установленной родной прошивки прилагаю и прошу помощи – мне в этой «простыне» не разобраться.

  53. ** MARVELL BOARD: DB-88F6281A-BP LE

    U-Boot 1.1.4 (May 16 2011 – 10:40:38) Marvell version: 3.4.14.DNS-325.03

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

    Soc: MV88F6281 Rev 3 (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 0×00000000 size 256MB
    DRAM Total size 256MB 16bit width
    Flash: 0 kB
    Addresses 8M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (8M – 7M): Done
    NAND:128 MB

    CPU : Marvell Feroceon (Rev 1)

    Streaming disabled
    Write allocate disabled

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

    NAND read: device 0 offset 0×100000, size 0×300000
    load addr …. =a00000

    3145728 bytes read: OK

    NAND read: device 0 offset 0×600000, size 0×300000
    load addr …. =f00000

    3145728 bytes read: OK
    ## Booting image at 00a00000 …
    Image Name: Linux-2.6.31.8
    Created: 2012-06-26 3:38:43 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2565784 Bytes = 2.4 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at 00f00000 …
    Image Name: Ramdisk
    Created: 2014-01-21 4:33:41 UTC
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 1581012 Bytes = 1.5 MB
    Load Address: 00e00000
    Entry Point: 00e00000
    Verifying Checksum … OK

    Starting kernel …

    Uncompressing Linux……………………………………………………………………………………………………………………………………………….. done, booting the kernel.
    Linux version 2.6.31.8 (jack@swtest6) (gcc version 4.2.1) #8 Tue Jun 26 11:38:41 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: 65024
    Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
    PID hash table entries: 1024 (order: 10, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 256MB = 256MB total
    Memory: 246528KB available (4828K code, 323K data, 136K init, 0K highmem)
    Hierarchical RCU implementation.
    NR_IRQS:128

  54. Console: colour dummy device 80×30
    Calibrating delay loop… 1186.20 BogoMIPS (lpj=5931008)
    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_patch29)– DB-88F6281A-BP Soc: 88F6281 A1 LE

    Detected Tclk 200000000 and SysClk 400000000
    MV Buttons Device Load
    Marvell USB EHCI Host controller #0: c8040740
    PEX0 interface detected no Link.
    PCI: bus0: Fast back to back transfers enabled
    mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
    bio: create slab at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    TCP reno registered
    NET: Registered protocol family 1
    Trying to unpack rootfs image as initramfs…
    rootfs image is not initramfs (no cpio magic); looks like an initrd
    Freeing initrd memory: 1540K
    rtc mv_rtc: rtc core: registered kw-rtc as rtc0
    RTC registered
    cpufreq: Init kirkwood cpufreq driver
    XOR registered 4 channels
    XOR 2nd invalidate WA enabled
    cesadev_init(c000edb8)
    mvCesaInit: sessions=640, queue=64, pSram=f0000000
    MV Buttons Driver Load
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    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)
    msgmni has been set to 485
    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 lzma (lzma-generic)
    alg: No test for stdrng (krng)
    alg: No test for hmac(digest_null) (hmac(digest_null-generic))
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    Initializing ths8200_init
    Initializing dove_adi9889_init
    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
    scsi0 : Marvell SCSI to SATA adapter
    scsi1 : Marvell SCSI to SATA adapter
    scsi 0:0:0:0: Direct-Access SPCC Solid State Disk S8FM PQ: 0 ANSI: 5
    sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
    sd 0:0:0:0: [sda] 62531183 512-byte logical blocks: (32.0 GB/29.8 GiB)
    sd 0:0:0:0: [sda] 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
    Loading Marvell Ethernet Driver:
    o Cached descriptors in DRAM
    o DRAM SW cache-coherency
    o 2 Giga ports supported
    o Single RX Queue support – ETH_DEF_RXQ=0
    o Single TX Queue support – ETH_DEF_TXQ=0

  55. 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
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
    sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
    o egiga0, ifindex = 2, GbE port = 0

    Warning: Giga 1 is Powered Off

    mvFpRuleDb (c8674000): 2048 entries, 8192 bytes
    Counter=0, opIdx=6, overhead=16
    Counter=1, opIdx=2, overhead=0
    Counter=2, opIdx=1, overhead=18
    Counter=3, opIdx=2, overhead=0
    NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
    Scanning device for bad blocks
    Using static partition definition
    Creating 6 MTD partitions on “nand_mtd”:
    0×000000000000-0×000000100000 : “u-boot”
    sda: sda1 sda2
    sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
    0×000000100000-0×000000600000 : “uImage”
    sd 0:0:0:0: [sda] Attached SCSI disk
    0×000000600000-0x000000b00000 : “ramdisk”
    0x000000b00000-0×000007100000 : “image”
    0×000007100000-0x000007b00000 : “mini firmware”
    0x000007b00000-0×000008000000 : “config”
    ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
    ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
    ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
    ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
    ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
    uhci_hcd: USB Universal Host Controller Interface driver
    mice: PS/2 mouse device common for all mice
    i2c /dev entries driver
    md: linear personality registered for level -1
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    TCP cubic registered
    NET: Registered protocol family 17
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    802.1Q VLAN Support v1.8 Ben Greear
    All bugs added by David S. Miller
    rtc mv_rtc: setting system clock to 2000-01-02 03:27:34 UTC (946783654)
    md: Waiting for all devices to be available before autodetect
    md: If you don’t use raid, use raid=noautodetect

  56. md: Autodetecting RAID arrays.
    md: Scanned 0 and added 0 devices.
    md: autorun …
    md: … autorun DONE.
    RAMDISK: gzip image found at block 0
    VFS: Mounted root (ext2 filesystem) on device 1:0.
    Freeing init memory: 136K
    EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #11: : unaligned directory entry – offset=0, inode=1107296256, rec_len=411, name_len=129
    Warning: unable to open an initial console.
    Kernel panic – not syncing: No init found. Try passing init= option to kernel.

  57. Kirill, с такой проблемой я раньше не сталкивался. Судя по тексту ошибки в последнем посте, структура файловой системы, загружаемая с рамдиска, битая – какая-то из директорий не опознается. Попробуй залить не только uKernel и uInitrd, но еще и uDefaults и uSquashfs из последней прошивки.

  58. Спасибо, попробую. А как определить адреса памяти куда загружать uDefaults и uSquashfs?

  59. Попробуй определить адреса загрузки с помощью команды mtdparts:

    U-Boot > mtdparts

    device nand0 , # parts = 4
    #: name size offset mask_flags
    0: env 0×00020000 0×00020000 0
    1: u-boot 0×00100000 0×00040000 0
    2: linux 0×00400000 0×00140000 0
    3: rootfs 0x07ac0000 0×00540000 0

    Я сам не пробовал, но нашел это здесь:
    https://lists.denx.de/pipermail/eldk/2013-January/002257.html

  60. Привет, я из Бразилии, и мне трудно решить проблему моего NAS, см. Журнал.
    Я могу оплатить paypal любое разрешение моей проблемы.

    ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Feb 26 2009 – 11:33:03) Marvell version: 1.7.3.003

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    Detect phy 1118
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    Marvell>> loadb k
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x0016bd5c = 1490268 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Erase Kernel from 0xff820000 to 0xff99ffff Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Kernel Size = 1490268
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>> loadb r
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x00540a6b = 5507691 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Erase Ramdisk from 0xff9a0000 to 0xfff7ffff Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Can’t erase unknown flash type – aborted
    Erased 1 sectors
    Ramdisk Size = 5507691
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>>

  61. Jorge, приветствую. Я сам с такой проблемой не сталкивался на своем железе, но похожая проблема решалась здесь, посмотри сообщение от пользователя bernd123 (2010-03-08 21:59:33 #2). Возможно, что в твоей Flash памяти потребуется загрузить ядро по другому адресу.

  62. Добрый день.
    Пытаюсь поднять DNS-320L rev.A3. Не пойму, почему не поднимается сеть. Или прошивку криво “раскрыл”. И в DNS-320L нагулохо засела прошивка OpenWrt Chaos Calmer для DNS-320L. Те она запускается, а обновить на стоковую ни как не могу…
    Есть какой-то способ прошить под ноль, как с завода?

  63. Борис, я не устанавливал OpenWrt Chaos Calmer для DNS-320L. Ты уже пробовал нажимать на кнопку сброса к заводским настройкам? Если копия старой прошивки не повреждена, то может быть тебе повезет и заводские настройки восстановятся.

  64. на ресет нет вообще ни какой реакции(

    Marvell>> bootm 0xa00000 0xf00000
    ## Booting image at 00a00000 …
    Image Name: Alt-F-0.1RC4.1, kernel 3.10.32
    Created: 2015-02-03 14:52:09 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1794472 Bytes = 1.7 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at 00f00000 …
    Image Name: Alt-F-0.1RC4.1, initrd
    Created: 2015-02-03 14:52:07 UTC
    Image Type: ARM Linux RAMDisk Image (uncompressed)
    Data Size: 3055616 Bytes = 2.9 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK

    Starting kernel …

    Uncompressing Linux… done, booting the kernel.
    Booting Linux on physical CPU 0×0
    Linux version 3.10.32 (jcard@silver) (gcc version 4.3.3 (GCC) ) #1 Fri Jan 30 16:37:58 WET 2015
    CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
    CPU: VIVT data cache, VIVT instruction cache
    Machine: DNS-320L-A1
    Ignoring tag cmdline (using the default kernel command line)
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
    Kernel command line: console=ttyS0,115200 root=/dev/ram0 init=/init
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 256MB = 256MB total
    Memory: 251904k/251904k available, 10240k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 – 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 – 0xfffe0000 ( 896 kB)
    vmalloc : 0xd0800000 – 0xff000000 ( 744 MB)
    lowmem : 0xc0000000 – 0xd0000000 ( 256 MB)
    modules : 0xbf000000 – 0xc0000000 ( 16 MB)
    .text : 0xc0008000 – 0xc0467fac (4480 kB)
    .init : 0xc0468000 – 0xc0493354 ( 173 kB)
    .data : 0xc0494000 – 0xc04c22a0 ( 185 kB)
    .bss : 0xc04c22a0 – 0xc04d7fe4 ( 88 kB)
    NR_IRQS:114
    sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
    Calibrating delay loop… 996.14 BogoMIPS (lpj=4980736)
    pid_max: default: 4096 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    Setting up static identity map for 0xc03cb4c8 – 0xc03cb504
    xor: measuring software checksum speed
    arm4regs : 908.400 MB/sec
    8regs : 673.600 MB/sec
    32regs : 736.400 MB/sec
    xor: using function: arm4regs (908.400 MB/sec)
    pinctrl core: initialized pinctrl subsystem
    regulator-dummy: no parameters
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    Kirkwood: MV88F67-2-Rev-A1, TCLK=166666667.
    Feroceon L2: Enabling L2
    Feroceon L2: Cache support initialised.
    bio: create slab at 0
    raid6: int32x1 101 MB/s
    raid6: int32x2 122 MB/s
    raid6: int32x4 101 MB/s
    raid6: int32x8 100 MB/s
    raid6: using algorithm int32x2 (122 MB/s)
    raid6: using intx1 recovery algorithm
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Switching to clocksource orion_clocksource
    NET: Registered protocol family 2
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    TCP: Hash tables configured (established 2048 bind 2048)
    TCP: reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Trying to unpack rootfs image as initramfs…
    rootfs image is not initramfs (junk in compressed archive); looks like an initrd
    Freeing initrd memory: 2980K (c0f01000 – c11ea000)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    aufs 3.10.x-20140127
    msgmni has been set to 497
    async_tx: api initialized (async)
    io scheduler noop registered
    io scheduler cfq registered (default)
    mv_xor mv_xor.0: Marvell shared XOR driver
    mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
    mv_xor mv_xor.0: Marvell XOR: ( xor fill cpy )
    mv_xor mv_xor.1: Marvell shared XOR driver
    mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
    mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
    console [ttyS0] enabled
    serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
    brd: module loaded
    loop: module loaded
    sata_mv sata_mv.0: cannot get optional clkdev
    sata_mv sata_mv.0: slots 32 ports 2
    scsi0 : sata_mv
    scsi1 : sata_mv
    ata1: SATA max UDMA/133 irq 21
    ata2: SATA max UDMA/133 irq 21
    ONFI param page 0 valid
    ONFI flash detected
    NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix H27U1G8F2BTR-BC), 128MiB, page size: 2048, OOB size: 64
    Scanning device for bad blocks
    Bad eraseblock 279 at 0x0000022e0000
    Bad eraseblock 594 at 0x000004a40000
    Bad eraseblock 835 at 0×000006860000
    Creating 7 MTD partitions on “orion_nand”:
    0×000000000000-0×000000100000 : “u-boot”
    0×000000100000-0×000000600000 : “uImage”
    0×000000600000-0x000000b00000 : “ramdisk”
    0x000000b00000-0x000006f00000 : “image”
    0x000006f00000-0×000007900000 : “rescue firmware”
    0×000007900000-0x000007e00000 : “config”
    0x000007e00000-0×000008000000 : “my-dlink”
    libphy: orion_mdio_bus: probed
    mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
    mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:00:02:02
    ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
    ehci-pci: EHCI PCI platform driver
    ehci-orion: EHCI orion driver
    orion-ehci orion-ehci.0: EHCI Host Controller
    orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
    orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
    orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usbcore: registered new interface driver usb-storage
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
    ata1.00: ATA-8: WDC WD20EARX-00PASB0, 51.0AB51, max UDMA/133
    ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
    ata1.00: configured for UDMA/133
    scsi 0:0:0:0: Direct-Access ATA WDC WD20EARX-00P 51.0 PQ: 0 ANSI: 5
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
    sd 0:0:0:0: [sda] 4096-byte physical blocks
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
    rtc-mv rtc-mv: internal RTC not ticking
    i2c /dev entries driver
    md: linear personality registered for level -1
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    md: raid6 personality registered for level 6
    md: raid5 personality registered for level 5
    md: raid4 personality registered for level 4
    cpuidle: using governor ladder
    cpuidle: using governor menu
    leds-gpio leds-gpio: pins are not configured from the driver
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    TCP: cubic registered
    NET: Registered protocol family 17
    input: gpio-keys as /devices/platform/gpio-keys/input/input0
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    sda: sda1
    sd 0:0:0:0: [sda] Attached SCSI disk
    ata2: SATA link down (SStatus 0 SControl F300)
    md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
    RAMDISK: squashfs filesystem found at block 0
    RAMDISK: Loading 2982KiB [1 disk] into ram disk… done.
    VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
    Freeing unused kernel memory: 172K (c0468000 – c0493000)
    pre-init started, pid=1
    pre-init: squash-rd
    init started: BusyBox v1.20.2 (2015-01-30 16:18:45 WET)
    BusyBox v1.20.2 (2015-01-30 16:18:45 WET) multi-call binary.

    Usage: ifconfig [-a] interface [address]

    Configure a network interface

    [add ADDRESS[/PREFIXLEN]]
    [del ADDRESS[/PREFIXLEN]]
    [[-]broadcast [ADDRESS]] [[-]pointopoint [ADDRESS]]
    [netmask ADDRESS] [dstaddr ADDRESS]
    [outfill NN] [keepalive NN]
    [hw ether|infiniband ADDRESS] [metric NN] [mtu NN]
    [[-]trailers] [[-]arp] [[-]allmulti]
    [multicast] [[-]promisc] [txqueuelen NN] [[-]dynamic]
    [mem_start NN] [io_addr NN] [irq NN]
    [up|down] …

    /etc/init.d/rcS: eval: line 1: syntax error: unexpected “|”
    can’t open /dev/ttyS0: No such file or directory
    can’t open /dev/ttyS0: No such file or directory
    can’t open /dev/ttyS0: No such file or directory
    can’t open /dev/ttyS0: No such file or directory
    can’t open /dev/ttyS0: No such file or directory
    can’t open /dev/ttyS0: No such file or directory
    can’t open /dev/ttyS0: No such file or directory

    И все… почему-то сеть не поднимается, как я понимаю.

  65. Борис, хорошая новость в том, что у тебя прошивка в полном порядке. Плохая новость в том, что в скрипте инициализации сети у тебя есть синтаксическая ошибка:

    /etc/init.d/rcS: eval: line 1: syntax error: unexpected “|”

    И судя по всему, она там у тебя не одна – вызывается ifconfig с неверными параметрами, и в результате сетевой интерфейс не поднимается.

    Я вижу два способа решения проблемы.

    1. После загрузки прошивки до указанного тобой момента поднять сеть вручную. Зайти в консоль, и с помощью ifconfig сконфигурировать сеть. После этого вручную стартануть те сервисы, которые должны стартовать после поднятия сети. Тогда через веб интерфейс ты сможешь залить старую оригинальную прошивку.

    2. Залить старую прошивку в режиме модема. В этом случае сеть не нужна. Примерная последовательность действий описана тут.

  66. Чет ковырял с прошивками. Теперь лог такой.

    Marvell>> bootm 0xa00000 0xf00000
    ## Booting image at 00a00000 …
    Image Name: Alt-F-0.1RC4.1, kernel 3.10.32
    Created: 2015-02-03 14:52:09 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1794472 Bytes = 1.7 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at 00f00000 …
    Image Name: Alt-F-0.1RC4.1, initrd
    Created: 2015-02-03 14:52:07 UTC
    Image Type: ARM Linux RAMDisk Image (uncompressed)
    Data Size: 3055616 Bytes = 2.9 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK

    Starting kernel …

    Uncompressing Linux… done, booting the kernel.
    Booting Linux on physical CPU 0×0
    Linux version 3.10.32 (jcard@silver) (gcc version 4.3.3 (GCC) ) #1 Fri Jan 30 16:37:58 WET 2015
    CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
    CPU: VIVT data cache, VIVT instruction cache
    Machine: DNS-320L-A1
    Ignoring tag cmdline (using the default kernel command line)
    Ignoring unrecognised tag 0×41000403
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
    Kernel command line: console=ttyS0,115200 root=/dev/ram0 init=/init
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 256MB = 256MB total
    Memory: 251904k/251904k available, 10240k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 – 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 – 0xfffe0000 ( 896 kB)
    vmalloc : 0xd0800000 – 0xff000000 ( 744 MB)
    lowmem : 0xc0000000 – 0xd0000000 ( 256 MB)
    modules : 0xbf000000 – 0xc0000000 ( 16 MB)
    .text : 0xc0008000 – 0xc0467fac (4480 kB)
    .init : 0xc0468000 – 0xc0493354 ( 173 kB)
    .data : 0xc0494000 – 0xc04c22a0 ( 185 kB)
    .bss : 0xc04c22a0 – 0xc04d7fe4 ( 88 kB)
    NR_IRQS:114
    sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
    Calibrating delay loop… 996.14 BogoMIPS (lpj=4980736)
    pid_max: default: 4096 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    Setting up static identity map for 0xc03cb4c8 – 0xc03cb504
    xor: measuring software checksum speed
    arm4regs : 908.400 MB/sec
    8regs : 673.600 MB/sec
    32regs : 736.400 MB/sec
    xor: using function: arm4regs (908.400 MB/sec)
    pinctrl core: initialized pinctrl subsystem
    regulator-dummy: no parameters
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    Kirkwood: MV88F67-2-Rev-A1, TCLK=166666667.
    Feroceon L2: Enabling L2
    Feroceon L2: Cache support initialised.
    bio: create slab at 0
    raid6: int32x1 103 MB/s
    raid6: int32x2 123 MB/s
    raid6: int32x4 101 MB/s
    raid6: int32x8 100 MB/s
    raid6: using algorithm int32x2 (123 MB/s)
    raid6: using intx1 recovery algorithm
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Switching to clocksource orion_clocksource
    NET: Registered protocol family 2
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    TCP: Hash tables configured (established 2048 bind 2048)
    TCP: reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Trying to unpack rootfs image as initramfs…
    rootfs image is not initramfs (junk in compressed archive); looks like an initrd
    Freeing initrd memory: 2980K (c0f01000 – c11ea000)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    aufs 3.10.x-20140127
    msgmni has been set to 497
    async_tx: api initialized (async)
    io scheduler noop registered
    io scheduler cfq registered (default)
    mv_xor mv_xor.0: Marvell shared XOR driver
    mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
    mv_xor mv_xor.0: Marvell XOR: ( xor fill cpy )
    mv_xor mv_xor.1: Marvell shared XOR driver
    mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
    mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
    console [ttyS0] enabled
    serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
    brd: module loaded
    loop: module loaded
    sata_mv sata_mv.0: cannot get optional clkdev
    sata_mv sata_mv.0: slots 32 ports 2
    scsi0 : sata_mv
    scsi1 : sata_mv
    ata1: SATA max UDMA/133 irq 21
    ata2: SATA max UDMA/133 irq 21
    ONFI param page 0 valid
    ONFI flash detected
    NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix H27U1G8F2BTR-BC), 128MiB, page size: 2048, OOB size: 64
    Scanning device for bad blocks
    Bad eraseblock 279 at 0x0000022e0000
    Bad eraseblock 594 at 0x000004a40000
    Bad eraseblock 835 at 0×000006860000
    Creating 7 MTD partitions on “orion_nand”:
    0×000000000000-0×000000100000 : “u-boot”
    0×000000100000-0×000000600000 : “uImage”
    0×000000600000-0x000000b00000 : “ramdisk”
    0x000000b00000-0x000006f00000 : “image”
    0x000006f00000-0×000007900000 : “rescue firmware”
    0×000007900000-0x000007e00000 : “config”
    0x000007e00000-0×000008000000 : “my-dlink”
    libphy: orion_mdio_bus: probed
    mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
    mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:00:02:02
    ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
    ehci-pci: EHCI PCI platform driver
    ehci-orion: EHCI orion driver
    orion-ehci orion-ehci.0: EHCI Host Controller
    orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
    orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
    orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usbcore: registered new interface driver usb-storage
    ata1: SATA link down (SStatus 0 SControl F300)
    ata2: SATA link down (SStatus 0 SControl F300)
    rtc-mv rtc-mv: internal RTC not ticking
    i2c /dev entries driver
    md: linear personality registered for level -1
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    md: raid6 personality registered for level 6
    md: raid5 personality registered for level 5
    md: raid4 personality registered for level 4
    cpuidle: using governor ladder
    cpuidle: using governor menu
    leds-gpio leds-gpio: pins are not configured from the driver
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    TCP: cubic registered
    NET: Registered protocol family 17
    input: gpio-keys as /devices/platform/gpio-keys/input/input0
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
    RAMDISK: squashfs filesystem found at block 0
    RAMDISK: Loading 2982KiB [1 disk] into ram disk… done.
    VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
    Freeing unused kernel memory: 172K (c0468000 – c0493000)
    pre-init started, pid=1
    pre-init: squash-rd
    init started: BusyBox v1.20.2 (2015-01-30 16:18:45 WET)
    BusyBox v1.20.2 (2015-01-30 16:18:45 WET) multi-call binary.

    Usage: ifconfig [-a] interface [address]

    Configure a network interface

    [add ADDRESS[/PREFIXLEN]]
    [del ADDRESS[/PREFIXLEN]]
    [[-]broadcast [ADDRESS]] [[-]pointopoint [ADDRESS]]
    [netmask ADDRESS] [dstaddr ADDRESS]
    [outfill NN] [keepalive NN]
    [hw ether|infiniband ADDRESS] [metric NN] [mtu NN]
    [[-]trailers] [[-]arp] [[-]allmulti]
    [multicast] [[-]promisc] [txqueuelen NN] [[-]dynamic]
    [mem_start NN] [io_addr NN] [irq NN]
    [up|down] …

    rcS: Reading RCT in UTC and setting system time and date
    Fri Aug 23 13:18:11 2019
    Sys: Thu Jan 1 00:00:03 1970
    Diff: -1566566288s
    rcS: Board: DNS-320L-A1
    rcS: Flashed Firmware:
    rcS: loadsave_settings: empty or no file found!
    udhcpc (v1.20.2) started
    Sending discover…
    Sending discover…
    Sending discover…
    No lease, failing
    rcS: Fixed IP
    rcS: ARPING to 192.168.1.254 from 0.0.0.0 via eth0
    Sent 3 probe(s) (3 broadcast(s))
    Received 0 reply (0 request(s), 0 broadcast(s))
    rcS: using 192.168.1.254
    root: Starting syslogd: OK.
    Starting klogd: OK.
    mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
    root: Starting sslcert: Creating SSL self-signed certificate… OK.
    root: Starting urandom: OK.
    root: Starting sysctrl: OK.
    root: Starting crond: OK.
    Starting news: OK.
    modprobe: can’t open ‘modules.dep’: No such file or directory
    /etc/init.d/S41inetd: line 82: rcvsftpd: not found
    /etc/init.d/S41inetd: line 82: rcstunnel: not found
    root: dropbear: generating rsa key…
    dropbear: generating dsa key…
    dropbear: generating ecdsa key…
    Starting inetd: OK.
    root: Starting ffp: No ffp instalation found.
    sgdisk: can’t load library ‘libiconv.so.2′
    root: Starting user: OK.

    / #

  67. Уже лучше. Вижу, что он ищет в сети какой-нибудь DHCP сервер, который бы назначил ему IP адрес.

    udhcpc (v1.20.2) started
    Sending discover…
    Sending discover…
    Sending discover…
    No lease, failing

    Попробуй соединить NAS с роутером, на котором поднят DHCP сервер. Поиграйся с настройками DHCP сервера на роутере, надо чтобы он выдавал айпишники из подсети 192.168.1.0/24.

  68. Вот жеж…день убил…а всего то. перед загрузкой надо было в роутер переткнуть…)))
    Спасибо.
    Еще вопрос…а реально его как-то заставить работать по wifi, а не по проводу?

  69. Рад, что все получилось.

    Сам NAS не умеет работать с Wifi, т.к. в нем нет такого модуля. У меня NAS стоит на полке рядом с роутером, соединен с ним небольшим огрызком провода. А все остальные устройства его видят как через wifi, так и по проводам.

  70. Можеть быть, еще подскажете, как на стоковом интерфейсе настроить доступ к диску по фтп (из вне дома)?

  71. Борис, если у тебя на самом деле D-Link DNS 320l, то на стоковой прошивке есть возможность включить сервис mydlink, тогда через веб интерфейс ты сможешь получить доступ к своему NAS. Но в этом случае не получится доступа по FTP.

    Есть и другой путь, можно взять в аренду VPS у любого хостинг провайдера, поднять на нем OpenVPN, поставить на свой NAS OpenVPN, настроить соединение между VPS и NAS, и на VPS настроить порт форвардинг на NAS – тогда заработает доступ по FTP. Но это не бесплатное решение, аренда VPS стоит денег.

  72. Добрый день. Появилась аналогичная ошибка при прошивке dns323 как у Alex 17.07.2017 в 13:13. (При попытке прошить через терминал: Can’t erase unknown flash type – aborted ). Как решить такую проблему?

  73. Ed, в общем после манипуляций (описанных тут http://web.archive.org/web/20160323214753/http://forum.dsmg600.info/viewtopic.php?pid=35122) dns 323 постоянной уходит в ребут.
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Feb 26 2009 – 11:33:03) Marvell version: 1.7.3.003

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    Detect phy 1111
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Image Name: Linux-2.6.6-arm2
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1232560 Bytes = 1.2 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at ff9a0000 …
    Bad Header Checksum
    Image Name: Ramdisk
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 5848966 Bytes = 5.6 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Feb 26 2009 – 11:33:03) Marvell version: 1.7.3.003

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    Detect phy 1111
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Image Name: Linux-2.6.6-arm2
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1232560 Bytes = 1.2 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at ff9a0000 …
    Bad Header Checksum
    Image Name: Ramdisk
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 5848966 Bytes = 5.6 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Feb 26 2009 – 11:33:03) Marvell version: 1.7.3.003

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    Detect phy 1111
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Image Name: Linux-2.6.6-arm2
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1232560 Bytes = 1.2 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at ff9a0000 …
    Bad Header Checksum
    Image Name: Ramю ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Feb 26 2009 – 11:33:03) Marvell version: 1.7.3.003

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    Detect phy 1111
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    ## Booting image at ff820000 …
    Image Name: Linux-2.6.6-arm2
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1232560 Bytes = 1.2 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at ff9a0000 …
    Bad Header Checksum
    Image Name: Ramdisk
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 5848966 Bytes = 5.6 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Feb 26 2009 – 11:33:03) Marvell version: 1.7.3.003

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    Detect phy 1111
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    Marvell>>

  74. roman, а когда выскакивало сообщение “Hit any key to stop autoboot”, ты нажимал пробел и потом цифру 1 ? Если это позволяет попасть в консоль, то дальше все надо делать примерно по моему описанию, только у тебя могут отличаться адреса для загрузки имиджей – у тебя все-таки железяка другой модели.

  75. Ed, собственно вот что получил
    Hit any key to stop autoboot: 3 ** LOADER **
    ** MARVELL BOARD: RD-88F5182-NAS-2 LE

    U-Boot 1.1.1 (Feb 26 2009 – 11:33:03) Marvell version: 1.7.3.003

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    Detect phy 1111
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5182 Rev 2
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    Marvell>> loadb
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x0016bd5c = 1490268 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Kernel Size = 0
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>> cp 0100000 02000000 1490268
    Marvell>> loadb
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x00540a6b = 5507691 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Kernel Size = 0
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>> cp 0100000 03000000 5507691
    Marvell>> bootm 02000000 03000000
    ## Booting image at 02000000 …
    Image Name: Linux-2.6.12.6-arm1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1490204 Bytes = 1.4 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at 03000000 …
    Image Name: Ramdisk
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 5507627 Bytes = 5.3 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK

    Starting kernel …

    Uncompressing Linux……………………………………………………………………………………… done, booting the kernel.
    Linux version 2.6.12.6-arm1 (tim@SWTEST2) (gcc version 3.3.3) #47 Mon Nov 30 12:06:02 CST 2009
    CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
    CPU0: D VIVT write-back cache
    CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
    Machine: MV-88fxx81
    Using UBoot passing parameters structure
    Sys Clk = 166000000, Tclk = 166000000
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists
    Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
    PID hash table entries: 512 (order: 9, 8192 bytes)
    Console: colour dummy device 80×30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 64MB 0MB 0MB 0MB = 64MB total
    Memory: 56192KB available (2599K code, 462K data, 112K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    checking if image is initramfs…it isn’t (no cpio magic); looks like an initrd
    Freeing initrd memory: 5378K
    NET: Registered protocol family 16

    Marvell Development Board (LSP Version 1.7.6_NAS)– RD-88F5182-NAS-2

    Detected Tclk 166000000 and SysClk 166000000
    Marvell USB EHCI Host controller #0: c0d43b00
    Marvell USB EHCI Host controller #1: c0d43a40
    pexBarOverlapDetect: winNum 2 overlap current 0
    mvPexInit:Warning :Bar 2 size is illigal
    it will be disabled
    please check Pex and CPU windows configuration
    PCI: bus0: Fast back to back transfers enabled
    PCI: bus1: Fast back to back transfers enabled
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    cesadev_init(c0012468)
    Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
    inotify device minor=63
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 3.3 (2007/10/31) Phillip Lougher
    squashfs: LZMA suppport for slax.org by jro
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    Initializing Cryptographic API
    Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing disabled
    ttyS0 at MMIO 0×0 (irq = 3) is a 16550A
    io scheduler noop registered
    io scheduler deadline registered
    RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
    loop: loaded (max 8 devices)
    Marvell Gigabit Ethernet Driver ‘egiga’:
    o Ethernet descriptors in DRAM
    o DRAM SW cache-coherency
    o Checksum offload enabled
    o Loading network interface ‘egiga0′
    Intergrated Sata device found
    scsi0 : Marvell SCSI to SATA adapter
    scsi1 : Marvell SCSI to SATA adapter
    physmap flash device: 800000 at ff800000
    phys_mapped_flash: Found 1 x16 devices at 0×0 in 8-bit bank
    Amd/Fujitsu Extended Query Table at 0×0040
    number of CFI chips: 1
    cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
    cmdlinepart partition parsing not available
    RedBoot partition parsing not available
    Using physmap partition definition
    Creating 5 MTD partitions on “phys_mapped_flash”:
    0×00000000-0×00010000 : “MTD1″
    0×00010000-0×00020000 : “MTD2″
    0×00020000-0x001a0000 : “Linux Kernel”
    0x001a0000-0x007d0000 : “File System”
    0x007d0000-0×00800000 : “u-boot”
    ehci_platform ehci_platform.20865: EHCI Host Controller
    ehci_platform ehci_platform.20865: new USB bus registered, assigned bus number 1
    ehci_platform ehci_platform.20865: irq 17, io mem 0×00000000
    ehci_platform ehci_platform.20865: park 0
    ehci_platform ehci_platform.20865: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    ehci_platform ehci_platform.86401: EHCI Host Controller
    ehci_platform ehci_platform.86401: new USB bus registered, assigned bus number 2
    ehci_platform ehci_platform.86401: irq 12, io mem 0×00000000
    ehci_platform ehci_platform.86401: park 0
    ehci_platform ehci_platform.86401: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    mice: PS/2 mouse device common for all mice
    md: linear personality registered as nr 1
    md: raid0 personality registered as nr 2
    md: raid1 personality registered as nr 3
    md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
    device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
    NET: Registered protocol family 2
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    md: Autodetecting RAID arrays.
    md: autorun …
    md: … autorun DONE.
    RAMDISK: Compressed image found at block 0
    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
    VFS: Mounted root (ext2 filesystem).
    Freeing init memory: 112K
    init started: BusyBox v1.11.2 (2010-02-02 10:50:14 CST)
    starting pid 215, tty ”: ‘/etc/rc.sh’
    ** Mounting /etc/fstab
    umount: proc: not mounted
    umount: proc: not mounted
    umount: /image.cfs: not mounted
    umount: /image.cfs: not mounted
    ln: /usr/sbin/system_init: File exists
    Check MTD block device V2.06.12242009
    MTD1 mount ok
    mtd1 free size is 18432
    MTD2 mount ok
    mtd2 free size is 18432
    ** copy mtd1 files
    cp: cannot stat ‘/sys/mtd1/firmwareupdate’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/hd_magic_num’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/upnp_serialnum.conf’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/MountError’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/mediaserver.udn’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/upnpav_portnumber’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/web_NToR1′: No such file or directory
    cp: cannot stat ‘/sys/mtd1/dsk_mapping’: No such file or directory
    rm: cannot remove ‘/sys/mtd1/udhcpd.leases’: No such file or directory
    mv: cannot rename ‘/sys/mtd1/firmwareupdate’: No such file or directory
    mv: cannot rename ‘/sys/mtd1/restore’: No such file or directory
    mv: cannot rename ‘/sys/mtd1/format_ok’: No such file or directory
    mv: cannot rename ‘/sys/mtd1/pls_sync’: No such file or directory
    mv: cannot rename ‘/sys/mtd1/pls_chmod_a2′: No such file or directory
    mv: cannot rename ‘/sys/mtd1/pls_chmod_b2′: No such file or directory
    mv: cannot rename ‘/sys/mtd1/spare_dsk’: No such file or directory
    mv: cannot rename ‘/sys/mtd1/std_raid1′: No such file or directory
    mv: cannot rename ‘/sys/mtd1/old_prescan_version’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/ez-ipupdate.cache’: No such file or directory
    cp: cannot stat ‘/sys/mtd1/ftpgroup’: No such file or directory
    mv: cannot rename ‘/tmp/hd_magic_num’: No such file or directory
    ** link lib **
    ** link web **
    ** link /usr/bin **
    ** link /usr/sbin **
    usbcore: registered new driver usblp
    drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
    ** link /usr/local/LPRng **
    cp: cannot stat ‘/sys/crfs/default/server-key-nopassword.pem’: No such file or directory
    mode: 16384
    -o offset: 0
    -f frequency: 0
    maxerror: 16384000
    esterror: 16384000
    status: 64 (UNSYNC)
    -p timeconstant: 2
    precision: 1
    tolerance: 33554432
    -t tick: 9960
    time.tv_sec: 1104988689
    time.tv_usec: 394063
    return value: 5 (clock not synchronized)
    : getRTC time= 5/1/6 5:18:9

    ** set loopback interface
    read mac from /dev/mtdblock4
    MAC = 00:24:01:10:5F:3E
    egiga0: mac address changed
    ** Activate Gigabit Interface
    egiga0: link down
    Stop fan
    Set fan to low speed(2700)
    egiga0: link up, full duplex, speed 100 Mbps
    ** execute rc.init.sh
    route: SIOCADDRT: Network is unreachable
    Setting hostname …. dlink-105F3E
    Starting DHCP client ….
    192.168.0.32
    requested_ip=192.168.0.32
    udhcpc (v1.11.2) started
    Sending discover…
    Sending discover…
    Sending discover…
    No lease, forking to background
    hd verify v1.24.12222010
    can not detect hd
    Set Timezone=(GMT-08:00) Pacific Time(US & Canada); Tijuana
    get IP = [NONE SET]
    1.Set Date & time …(command: sntp -r ntp1.dlink.com &)
    sntp: unable to locate IP address/number
    sntp: Success
    : getRTC time= 5/1/6 5:18:32
    Jan 6 05:18:32 crond[640]: crond (busybox 1.11.2) started, log level 8

    check button V2.77.02242011
    1.10(1.82.0406.2011)
    04/06/2011
    mfg_search
    create /tmp/fatmount script file
    mount FAT storage devices
    ** Get MAC Addr
    mount: /dev/sda is not a valid block device
    mount: /dev/sdb is not a valid block device
    mount: /dev/sdc is not a valid block device
    Old BT binanry
    does not exist directory
    /usr/sbin/start_bt: line 20: ./btdog: not found
    mount: /dev/sda1 is not a valid block device
    mount: /dev/sdb1 is not a valid block device
    mount: /dev/sdc1 is not a valid block device
    /etc/shared_name: No such file or directory
    Fan:Auto(Off/Low/High)
    set fan speed to h
    Set fan to high speed(7000)
    format error
    op_server 3 3 3 &
    op_server v2.01.06012006
    This may not a UPS device , please check it
    sh: you need to specify whom to kill
    posix_main begin
    posix_main begin
    Added user nobody.
    starting pid 736, tty ”: ‘-/bin/sh’

    BusyBox v1.11.2 (2010-02-02 10:50:14 CST) built-in shell (ash)
    Enter ‘help’ for a list of built-in commands.

    Detect 5182 chip
    detect phy 1111
    Jan 6 05:18:36 crond[745]: crond (busybox 1.11.2) started, log level 8

    kill process
    Jan 6 05:18:37 crond[768]: crond (busybox 1.11.2) started, log level 8

    rm: cannot remove ‘/tmp/set_ddns_done’: No such file or directory
    rm: cannot remove ‘/tmp/set_ddns_error’: No such file or directory
    language=ENGLISH
    usbcore: deregistering driver usblp
    $Shutting down SMB services:
    $Shutting down NMB services:
    set fan speed to s
    Stop fan
    No found HD

  76. roman, ну вот, почти победил. Ты загрузил ядро и рамдиск, осталось прикрутить uDefaults и uSquashfs, и тогда все должно заработать. Не забудь подключить HDD.

  77. Ed, т.е. после загрузки нужно добавить uDefaults и uSquashfs и потом уже bootm?

  78. Да. Судя по всему, системе не хватает некоторых файлов для корректного старта.

  79. Ed, ещё бы знать адреса для загрузки. Спасибо за помощь!

  80. roman, рад был помочь. Если не сложно, напиши пожалуйста, по какому адресу ты загрузил uDefaults. Может быть, кому-то еще пригодится.

  81. Ed, весь интерес в том, что адрес я не указывал… ¯\_(ツ)_/¯
    USB 0: host mode
    USB 1: host mode
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 0
    Marvell>> loadb
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x0016bd5c = 1490268 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Kernel Size = 0
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>> cp 0100000 02000000 1490268
    Marvell>> loadb
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x00540a6b = 5507691 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Kernel Size = 0
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>> cp 0100000 03000000 5507691
    Marvell>> )#ECancel:
    Unknown command ‘)#ECancel:’ – try ‘help’
    Marvell>> loadb
    ## Ready for binary (kermit) download to 0×00100000 at 115200 bps…
    ## Total Size = 0x00001f78 = 8056 Bytes
    ## Start Addr = 0×00100000
    Un-Protect Flash Bank # 1
    Kernel Size = 0
    Copy to Flash… done
    Protect Flash Bank # 1
    Marvell>> bootm 02000000 03000000
    ## Booting image at 02000000 …
    Image Name: Linux-2.6.12.6-arm1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1490204 Bytes = 1.4 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at 03000000 …
    Image Name: Ramdisk
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 5507627 Bytes = 5.3 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … OK

    Starting kernel …

  82. Привет помогите тупенькому) при обновлении на свежию прошивку наши энергетики сыграли злую шутку над моим аппоратом теперь он при включении быстро моргает и всё. DNS 323 ревизия А1
    Есть лог:
    Bad Data CRC ** LOADER **
    ** MARVELL BOARD: RD-88F5181-POS-NAS LE

    U-Boot 1.1.1 (Nov 13 2006 – 14:01:34) Marvell version: 1.4.2

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5181 Rev 3
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    Init usb device.
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 3 2 1 0
    ## Booting image at ff820000 …
    Image Name: Linux-2.6.12.6-arm1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1490204 Bytes = 1.4 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at ff9a0000 …
    Image Name: Ramdisk
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 5507627 Bytes = 5.3 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … Bad Data CRC ** LOADER **
    ** MARVELL BOARD: RD-88F5181-POS-NAS LE

    U-Boot 1.1.1 (Nov 13 2006 – 14:01:34) Marvell version: 1.4.2

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5181 Rev 3
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    Init usb device.
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 3 2 1 0
    ## Booting image at ff820000 …
    Image Name: Linux-2.6.12.6-arm1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1490204 Bytes = 1.4 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at ff9a0000 …
    Image Name: Ramdisk
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 5507627 Bytes = 5.3 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … Bad Data CRCя ** LOADER **
    ** MARVELL BOARD: RD-88F5181-POS-NAS LE

    U-Boot 1.1.1 (Nov 13 2006 – 14:01:34) Marvell version: 1.4.2

    DRAM CS[0] base 0×00000000 size 64MB
    DRAM Total size 64MB
    [8192kB@ff800000] Flash: 8 MB
    Addresses 20M – 0M are saved for the U-Boot usage.
    Mem malloc Initialization (20M – 16M): Done
    *** Warning – bad CRC, using default environment

    Soc: MV88F5181 Rev 3
    CPU: ARM926 (Rev 0) running @ 500Mhz
    SysClock = 166Mhz , TClock = 166Mhz

    Init usb device.
    PCI 0: PCI Express Root Complex Interface
    PCI 1: Conventional PCI, speed = 33000000
    Hit any key to stop autoboot: 3 2 1 0
    ## Booting image at ff820000 …
    Image Name: Linux-2.6.12.6-arm1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1490204 Bytes = 1.4 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    OK
    ## Loading Ramdisk Image at ff9a0000 …
    Image Name: Ramdisk
    Image Type: ARM Linux RAMDisk Image (gzip compressed)
    Data Size: 5507627 Bytes = 5.3 MB
    Load Address: 00800000
    Entry Point: 00800000
    Verifying Checksum … Bad Data CRCя ** LOADER **
    ** MARVELL BOARD: RD-88F5181-POS-NAS LE

    U-Boot 1.1.1 (Nov 13 2006 – 14:01:34) Marvell version: 1.4.2

Обсуждение закрыто.