Здравствуйте,
Получилось восстановить устройство. Оказалось, что я все делал правильно.
Не хватало - терпения. А ежеминутное появление людей с вопросами, "Ну когда будет интернет?", его появлению не способствовали.
Поняв, что с восстановлением на месте "труба" - перенес все что вспомнил, на их Linux и забрал DSR в "тихое место".
Все варианты восстановления прошивки (Linux: minicom, tftpd; Win: Putty, tftpd32.exe, разные версии прошивок DSR-250_A1_..._RU или DSR-250_A1_..._WW ),
приводили к результату (во время загрузки ядра):
Код:
U-Boot 2008.10-mpcore-svn271 (Jul 21 2011 - 08:04:32)
Cavium Networks CNS3XXX SDK v1.0-1462
CPU: Cavium Networks CNS3000
ID Code: 410fb024 (Part number: 0xB02, Revision number: 4)
CPU ID: 900
Chip Version: c
DRAM: 128 MB
Flash: 32 MB
In: serial
Out: serial
Err: serial
CPU works at 300 MHz (600/1/2)
DDR2 Speed is 400 MHz
Initialize bcm53128
bcm53128 device id: 53128
bcm53128 phy id: 362
MAC PORT 1 : Initialize B50610
Hit any key to stop autoboot: 0
enter do_eth_down!!!
## Starting application at 0x04000200 ...
Uncompressing Lin...........................................................................................................................................
[ 0.000000] Linux version 2.6.31.1-cavm1 (root@dorababu-Inspiron-N5110) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #3 Fri Oct 4 13:13:44 IST 2013
[ 0.000000] Cavium Networks CNS3XXX SDK v1.0-1462
[ 0.000000] CPU: ARMv6-compatible processor [410fb024] revision 4 (ARMv7), cr=00c5387f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: Cavium Networks ARM11 MPCore
[ 0.000000] Warning: bad configuration page, trying to continue
[ 0.000000] Ignoring unrecognised tag 0x00000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c0626c8c, node_mem_map c066b000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
...
...
[ 2.130000] Freeing init memory: 1976K
Mounting filesystems...
[ 2.720000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0xffff instead
[ 2.720000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0xfeff instead
[ 2.730000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0xffff instead
[ 2.740000] Empty flash at 0x0000000c ends at 0x00000010
[ 2.750000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0xdfff instead
[ 2.760000] Empty flash at 0x00000014 ends at 0x00000018
[ 2.760000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0xffde instead
[ 2.770000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0xdfff instead
[ 2.780000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0xfdff instead
[ 2.790000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0xffdf instead
[ 2.800000] Empty flash at 0x00000028 ends at 0x00000030
[ 2.800000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000030: 0xdffb instead
[ 2.810000] Empty flash at 0x00000034 ends at 0x0000003c
[ 2.820000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000003c: 0xffde instead
[ 2.830000] Further such events for this erase block will not be printed
[ 2.830000] Empty flash at 0x00000040 ends at 0x0000004c
[ 2.840000] Empty flash at 0x00000054 ends at 0x00000058
[ 2.840000] Empty flash at 0x00000074 ends at 0x00000078
[ 2.850000] Empty flash at 0x0000007c ends at 0x00000080
[ 2.860000] Empty flash at 0x00000098 ends at 0x000000a0
[ 2.860000] Empty flash at 0x000000b8 ends at 0x000000c0
[ 2.870000] Empty flash at 0x000000c4 ends at 0x000000d8
[ 2.870000] Empty flash at 0x000000e8 ends at 0x000000ec
[ 2.880000] Empty flash at 0x000000f4 ends at 0x000000f8
[ 2.880000] Empty flash at 0x00000118 ends at 0x0000011c
[ 2.890000] Empty flash at 0x00000124 ends at 0x00000128
[ 2.890000] Empty flash at 0x00000134 ends at 0x0000013c
[ 2.900000] Empty flash at 0x00000140 ends at 0x00000144
[ 2.900000] Empty flash at 0x00000148 ends at 0x0000014c
[ 2.910000] Empty flash at 0x0000015c ends at 0x00000160
[ 2.920000] Empty flash at 0x0000017c ends at 0x00000184
[ 2.920000] Empty flash at 0x0000019c ends at 0x000001a4
[ 2.930000] Empty flash at 0x000001a8 ends at 0x000001b4
[ 2.930000] Empty flash at 0x000001b8 ends at 0x000001bc
[ 2.940000] Empty flash at 0x000001c0 ends at 0x000001c4
[ 2.940000] Empty flash at 0x000001d0 ends at 0x000001d4
[ 2.950000] Empty flash at 0x000001d8 ends at 0x000001dc
...
...
Максимум я наблюдал за процессом вывода в консоль ошибки:
"Empty flash at ..." - 350 секунд.
А вчера, обратил внимание на:
[ 1.350000] Creating 8 MTD partitions on "cns3xxxflash":
[ 1.350000] 0x000000000000-0x000000060000 : "UBoot"
[ 1.360000] 0x000000060000-0x000000080000 : "CaviumEnv"
[ 1.360000] 0x000000080000-0x000000580000 : "Kernel" 0x0000001ffffc
[ 1.370000] 0x000000580000-0x000001b80000 : "Pfrm"
[ 1.380000] 0x000001b80000-0x000001da0000 : "NewConfig"
[ 1.390000] 0x000001da0000-0x000001fc0000 : "Config"
[ 1.390000] 0x000001fc0000-0x000001fe0000 : "MD"
[ 1.400000] 0x000001fe0000-0x000002000000 : "UBootEnv"
и решил дождаться диапазона 0x000001fe0000-0x000002000000
Все сдвинулось с мертвой точки на 692 секунде:
Код:
[ 692.330000] Empty flash at 0x001fffbc ends at 0x001fffc0
[ 692.330000] Empty flash at 0x001fffc4 ends at 0x001fffcc
[ 692.340000] Empty flash at 0x001fffd4 ends at 0x001fffd8
[ 692.340000] Empty flash at 0x001fffec ends at 0x001ffff0
[ 692.350000] Empty flash at 0x001ffff4 ends at 0x001ffffc
[ 692.380000] Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[ 692.390000] empty_blocks 0, bad_blocks 0, c->nr_blocks 17
mount: mounting /dev/mtdblock5 on /flash failed: Input/output error
Could not mount config partition. Initializing config partition...
Erasing 128 Kibyte @ 220000 - 100% complete.
Mounting config partition
[ 703.900000] fuse init (API version 7.12)
[ 704.820000] Initialize PHY s/w auto-polling
[ 704.820000] CNS3XXX PSE: Initialize
[ 704.830000] MAC 0
[ 704.830000] Initialize bcm53128M
[ 704.830000] bcm53128M device id: 53128
[ 704.840000] bcm53128M phy id: 362
[ 704.860000] MAC 1
[ 704.860000] Initialize B50610 v4
[ 704.930000] productData: module license 'unspecified' taints kernel.
[ 704.940000] Disabling lock debugging due to kernel taint
[ 704.950000] Initialzing Product Data modules
[ 704.980000] bwMonitor sysctl registered
[ 704.980000] CONFIG_SYSCTL enabled ...
[ 704.990000] Initialized bandwidth monitor ...
[ 705.030000] USB Serial support registered for GSM modem (1-port)
[ 705.040000] usbcore: registered new interface driver option
[ 705.050000] option: v0.7.2:USB Driver for GSM modems
[ 705.110000] usbcore: registered new interface driver cdc_acm
[ 705.110000] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Enabling Quiet Boot...Done
Setting up loopback...
Setting Hostname... Done.
Sat Jan 1 00:00:00 UTC 2011
net.ipv6.conf.eth1.accept_ra = 0
Creating Dummy Config File
Inserting the ralink interface towards user space module
Starting the wlan client arl flush process
Starting linkmonitor daemon for WAN1Done
Inserting ipset modules...Done
inserting default firewall rules
# Generated by iptables-save v1.4.6 on Thu Jan 1 00:06:24 1970
# Completed on Thu Jan 1 00:06:24 1970
# Generated by iptables-save v1.4.6 on Thu Jan 1 00:06:24 1970
# Completed on Thu Jan 1 00:06:24 1970
# Generated by iptables-save v1.4.6 on Thu Jan 1 00:06:24 1970
# Completed on Thu Jan 1 00:06:24 1970
# Generated by iptables-save v1.4.6 on Thu Jan 1 00:06:24 1970
# Completed on Thu Jan 1 00:06:24 1970
inserting default firewall6 rules
# Generated by ip6tables-save v1.4.6 on Thu Jan 1 05:08:53 1970
# Completed on Thu Jan 1 05:08:53 1970
# Generated by ip6tables-save v1.4.6 on Thu Jan 1 05:08:53 1970
# Completed on Thu Jan 1 05:08:54 1970
Loading default configurations...
no system settings to restore from...so restoring factory defaults...
restore file: /tmp/teamf1.cfg.ascii
importing...
no LUA variable:dot11VAP
Inserting the bcm debug module...Done
Inserting the power saving module...Done
Starting NIMF daemon... Done
creating smtpAlg device
Creating /dev/smtpAlg
starting firewalld Daemon...Done
Starting IKE Daemon...Done
Done
Starting VPN KEEP ALIVE Daemon...Done
File: ../microcode/boot_mc2_px.out
Version = .CNPx-MC-BOOT-2.00
Code length = 17536 Data length = 152
0: name=../microcode/boot_mc2_px.out, index=0, core=0
File: ../microcode/main_ssl2_px.out
Version = .CNPx-MC-SSL-MAIN-0006
Code length = 48644 Data length = 1336
1: name=../microcode/main_ssl2_px.out, index=1, core=0
File: ../microcode/main_ipsec2_px.out
Version = .CNPx-MC-VEGA-IPSEC-MAIN-0011
Code length = 35664 Data length = 144
2: name=../microcode/main_ipsec2_px.out, index=2, core=0
Microcode Load Succeed
CSP1 core assignments
../microcode/boot_mc2_px.out : 0x000000
../microcode/main_ssl2_px.out : 0x000001
../microcode/main_ipsec2_px.out : 0x000006
Installing new self signed certificates with 10 years validity...Done
Getting firmware version...Done
Making Brand.conf...
Done creating Brand.conf
Starting status monitor daemonDone
Copying necessary files for PPTP Server...
Done
Initializing 3G... Done
Loading WpsPB Module..starting SNMP Daemon...Done
Starting the cron deamon...Done
starting ntpd Daemon...Done
Creating /dev/pts/0 pseudo device for L2TP <-> PPP communication... Done
Bandwidth Profile Initialization...Done
Starting intelAmt daemon... Done
Loading Factory Defaults Modules[ 803.890000] Initialzing Factory defaults modules
Creating directory /usr/lib/cups ...Done
Creating /var/run/cups/certs ...Done
Creating /var/spool/cups ...Done
Creating /var/spool/cache ...Done
Copying mime files ...Done
Creating directory /tmp/var...Done
Creating directory /tmp/private...Done
Copying necessary files for L2TP Server...
Done
Enable hardware natting for forwarding acceleration
DSR-250 login:
DSR-250 login: admin
Password:
login[1884]: root login on 'ttyS0'
BusyBox v1.17.4 (2013-01-07 18:16:59 IST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
help
************************************************
[Local0-wireless][RAD] radConfAddAuthServ: Cannot Add Server 192.168.1.4: Too Many Servers
[Local0-wireless][EAP_RAD] Error in executing DB update handler
Welcome to DSR-250 Command Line Interface
************************************************
D-Link DSR>
> show system status
System Info
___________
System Up Time: 0 days, 0 hours, 17 minutes, 7 seconds
ModelId: DSR-250
System Name: DSR-250
Hardware Version: A1
Firmware Version: 1.08B44
Serial Number: QBKL1C1000507
WAN1 Information
________________
MAC Address: B8:A3:86:7A:68:47
IPv4 Address: 0.0.0.0 / 255.255.255.0
IPv6 Address:
Wan State: DOWN
NAT (IPv4 only): Enabled
IPv4 Connection Type: Dynamic IP (DHCP)
IPv6 Connection Type: IPv6 is disabled
IPv4 Connection State: Not Yet Connected
IPv6 Connection State: IPv6 is disabled
Link State: LINK DOWN
Gateway: 0.0.0.0
Primary DNS: 0.0.0.0
Secondary DNS: 0.0.0.0
LAN Information
_______________
MAC Address: B8:A3:86:7A:68:46
IP Address: 192.168.10.1 / 255.255.255.0
IPv6 Address:
DHCP Server: Enabled
DHCP Relay: Disabled
DHCPv6 Server: IPv6 is disabled
Я понимаю, что двух полностью одинаковых случаев не бывает.
Но, возможно, и этот вариант пригодится
Спасибо огромное всем, кто на форуме описал подобные случаи.
Хорошо, что мир не без добрых людей.