dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
8039
share rss forum feed

bstapleton8

join:2004-04-02
Littleton, CO

[HELP] ROMmon corrupted

While trying to update my IOS image I managed to corrupt my flash dir and now my SOHO91 only boots to ROMmon but it is also corrupted - I cannot config the reg to 0x0. Any ideas how to start from scratch?

aryoba
Premium,MVM
join:2002-08-22
kudos:4

Enter rommon mode and type ?

Enter the ROMmon mode and type ? at the prompt.

Please post ALL the commands available.

bstapleton8

join:2004-04-02
Littleton, CO
reply to bstapleton8

Re: [HELP] ROMmon corrupted

rommon 1 > ?
alias set and display aliases command
boot boot up an external process
break set/show/clear the breakpoint
confreg configuration register utility
cont continue executing a downloaded image
context display the context of a loaded image
cookie display contents of cookie PROM in hex
dev list the device table
dir list files in file system
dis display instruction stream
dnld serial download a program module
frame print out a selected stack frame
help monitor builtin command help
history monitor command history
meminfo main memory information
repeat repeat a monitor command
reset system reset
set display the monitor variables
stack produce a stack trace
sync write monitor environment to NVRAM
sysret print out info from last system return
tftpdnld tftp image download
unalias unset an alias
unset unset a monitor variable
xmodem x/ymodem image download

I tried to boot an image with tftpdnld but w/o bootldr it didn't work.

aryoba
Premium,MVM
join:2002-08-22
kudos:4

Do you have TFTP server ready?

Please type the 2 following commands from rommon mode:

tftpdnld ?

set {and press ENTER}

Btw, do you have TFTP server ready?

bstapleton8

join:2004-04-02
Littleton, CO
reply to bstapleton8

Re: [HELP] ROMmon corrupted

rommon 6 > tftpdnld ?

IP_ADDRESS: 192.168.1.2
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 192.168.1.1
TFTP_SERVER: 192.168.1.5
Illegal filename.

usage: tftpdnld [-ur]
Use this command for disaster recovery only to recover an image via TFTP.
Monitor variables are used to set up parameters for the transfer.
(Syntax: "VARIABLE_NAME=value" and use "set" to show current variables.)
"ctrl-c" or "break" stops the transfer before flash erase begins.

The following variables are REQUIRED to be set for tftpdnld:
IP_ADDRESS: The IP address for this unit
IP_SUBNET_MASK: The subnet mask for this unit
DEFAULT_GATEWAY: The default gateway for this unit
TFTP_SERVER: The IP address of the server to fetch from
TFTP_FILE: The filename to fetch

The following variables are OPTIONAL:
TFTP_VERBOSE: Print setting. 0=quiet, 1=progress(default), 2=verbose
TFTP_RETRY_COUNT: Retry count for ARP and TFTP (default=7)
TFTP_TIMEOUT: Overall timeout of operation in seconds (default=7200)
TFTP_CHECKSUM: Perform checksum test on image, 0=no, 1=yes (default=1)

Command line options:
-r: do not write flash, load to DRAM only and launch image
-u: upgrade the rommon, system will reboot once upgrade is complete
rommon 7 > set
PS1=rommon ! >
BSI=0
RET_2_RUTC=0
RET_2_RTS=
IP_ADDRESS=192.168.1.2
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.168.1.1
TFTP_SERVER=192.168.1.5
?=1

Yes I do have TFTP Server running with CRWS files in the root dir.

aryoba
Premium,MVM
join:2002-08-22
kudos:4

Do the followings

Step 1:
Are the settings on the set command correct? The ip address, ip subnet mask, default gateway ip address, and tftp server ip address? If not, correct them by entering:

IP_ADDRESS={The IP address for the router}
IP_SUBNET_MASK={The subnet mask for the router}
DEFAULT_GATEWAY={The default gateway for the router}
TFTP_SERVER={The IP address of the server to fetch the image from}

Step 2:
After all above settings are correct, enter this command as well:

TFTP_FILE={The proper image FULL name}

Step 3:
Type tftpdnld {press ENTER}

Step 4:
Post the result. Good luck! ...


anon user 1

@163.xx.203.acc05-joh
reply to bstapleton8

Re: [HELP] ROMmon corrupted

copy all your address details to a text file and import that if it happens again also - saves you retyping everything.. nite all - yer im anon - CBF registering - cool site btw