找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4515|回复: 14

紧急求救!刚到手的WRH54G恩山版不断重启!ttl无法中断启动过程!

[复制链接]
发表于 2009-3-22 18:35 | 显示全部楼层 |阅读模式
下午刚到手的WRH54G恩山改装版,第一次启动完好,设置了openvirtual**之后重启,发现无法连上。
用securecrt通过ttl线连接之后发现一直在不停restart,log如下:

Please stand by while rebooting the system...
Decompressing..........done


CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Mon Mar 12 15:25:22 CST 2007 (root@localhost.localdomain)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
Boot partition size = 131072(0x20000)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.130.23.0
CPU type 0x29029: 240MHz
Total memory: 32768 KBytes

Total memory used by CFE:  0x80400000 - 0x8049A8A0 (632992)
Initialized Data:          0x80430830 - 0x80432E20 (9712)
BSS Area:                  0x80432E20 - 0x804348A0 (6784)
Local Heap:                0x804348A0 - 0x804988A0 (409600)
Stack Area:                0x804988A0 - 0x8049A8A0 (8192)
Text (code) segment:       0x80400000 - 0x80430830 (198704)
Boot area (physical):      0x0049B000 - 0x004DB000
Relocation Factor:         I:00000000 - D:00000000

Device eth0:  hwaddr 00-3F-C6-69-EF-67, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Null Rescue Flag.
Loader:raw Filesys:tftp Dev:eth0 File:: Optionsnull)
Loading: TFTP Server.
Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Optionsnull)
Loading: .. 3856 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU revision is: 00029029
Linux version 2.4.37 (bin@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #3174 Fri Feb 13 10:23:22 CET 2009
Setting the PFC to its default value
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM5354 rev 3 at 240 MHz
Using 120.000 MHz high precision timer.
Calibrating delay loop... 239.20 BogoMIPS
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:05.0 to 64
sb_doattach: incoming bus is PCI but it's a lie, switching to SB devid:0x4318
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 131072
Physically mapped flash: Filesystem type: squashfs, size=0x4eb53f
partition size = 5181440
Creating 5 MTD partitions on "hysically mapped flash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x007f0000 : "linux"
0x000ff000-0x005f0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : "nvram"
0x005f0000-0x007f0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
starting Architecture code for broadcom
Booting device: Linksys WRT54G/GL/GS
loading sysinit
boardflags are 0x20750
nvram_commit(): end
sh: can't create /proc/switch/eth1/reset: nonexistent directory
sh: can't create /proc/sys/net/ipv4/tcp_congestion_control: nonexistent directory
eth1: Operation not supported
wl0.1: No such device
wl0.2: No such device
wl0.3: No such device
eth1: Invalid argument
eth1: Invalid argument
Restarting system.
Please stand by while rebooting the system...
Decompressing..........done

然后就重复以上信息

我用ctrl+c,esc等等键都无法终止启动过程,请问该怎么办?
紧急求救!!!!
 楼主| 发表于 2009-3-22 18:37 | 显示全部楼层
按住后面的reset键,插电后坚持按住一分钟也无效!
发表于 2009-3-22 18:40 | 显示全部楼层
开机前就按住CTRL+C,然后再插上电源,在SecureCRT 5.1里面肯定可以中止启动的。
 楼主| 发表于 2009-3-22 20:09 | 显示全部楼层
进了cfe之后没有nvram命令,
CFE> ?
Invalid command: "?"
Available commands: et, go, reboot, flash, autoboot, boot, load, arp, ifconfig, unsetenv, setenv, help

*** command status = -1

用tftp刷了最新的dd-wrt.v24-11762_NEWD_mega.bin之后断电再接电还是同样的错误,不断重启
发表于 2009-3-22 20:24 | 显示全部楼层
nvram erase,你的问题应该是哪里配置错误了


其他命令输入"help",而不是"?"
 楼主| 发表于 2009-3-22 20:26 | 显示全部楼层
CFE> help
Available commands:

et                  Broadcom Ethernet utility.
go                  Verify and boot OS image.
reboot              Reboot.
flash               Update a flash memory device
autoboot            Automatic system bootstrap.
boot                Load an executable file into memory and execute it
load                Load an executable file into memory without executing it
arp                 Display or modify the ARP Table
ifconfig            Configure the Ethernet interface
unsetenv            Delete an environment variable.
setenv              Set an environment variable.
help                Obtain help for CFE commands

For more information about a command, enter 'help command-name'
*** command status = 0
CFE>
 楼主| 发表于 2009-3-22 20:28 | 显示全部楼层
tftp过程中secure crt屏幕的显示:

Loading: TFTP Server.
.......TFTP_BLKLEN!!
.. 6045696 bytes read
Entry at 0x8049a8a0
Reading from 0x8049a8a0: Download of 0x5c4000 bytes completed
Write kernel and filesystem binary to FLASH (0xbfc40000)
Programming...
copysize=6045696, amtcopy=6045696
done. 6045696 bytes written

然后我拔电源,再插,还是不断重启
 楼主| 发表于 2009-3-22 20:30 | 显示全部楼层
CFE> nvram erase
Invalid command: "nvram"
Available commands: et, go, reboot, flash, autoboot, boot, load, arp, ifconfig, unsetenv, setenv, help

*** command status = -1
CFE>
发表于 2009-3-22 21:34 | 显示全部楼层
如果要清NVRAM应该用
mtd -r erase nvram
的命令吧
 楼主| 发表于 2009-3-22 22:58 | 显示全部楼层
mtd命令也没有啊,没法清nvram
我刷了tomato,结果启动停在了
VLAN (vlan1):  Setting underlying device (eth0) to promiscious mode.
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
这个信息上不动了
而且192.168.1.1的ip也没有了,没法连接到路由,也没法刷别的固件,只能发回恩山了。才到我手不到半天啊
 楼主| 发表于 2009-3-23 00:28 | 显示全部楼层
在tomato的命令行中发现了mtd-erase,尝试着mtd-erase -d nvram,成功了,重启后发现能连上192.168.1.1了,哈哈
重刷了dd-wrt,正在配置中,呵呵
谢谢各位悉心指导!
 楼主| 发表于 2009-3-23 17:20 | 显示全部楼层
再次回帖,感谢恩山无线版主在休息日的晚上还不辞辛劳远程指导我如何修复路由。谢谢!
发表于 2009-3-23 21:02 | 显示全部楼层
我与是用wrh54g的openvirtual**。设置过程我写了一个,一切正常。你可以看看的
 楼主| 发表于 2009-3-24 08:00 | 显示全部楼层
已经搞定,谢谢!
发表于 2010-8-21 23:58 | 显示全部楼层
14# heavenice1


也不说说怎么搞定的。。。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-6-1 10:54

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表