Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash corrupt. Can't fix in rommon! Help needed.

Status
Not open for further replies.
Nov 29, 2006
3
GB
I got a router from ebay sold on the basis rommon was "corrupt" and i'm starting to think the problem cannot be solved as I first though. I thought It might be a case that the original user didn't know how to do it.

I've tried TFTPDNLD to send the IOS from my PC to the router but it sends it over but doesn't appear to work when I do a reset. So I tried xmodem and watched it for an hour as I read on a forum this might work but I get the same problem. Here is the hyperterminal output for xmodem:

rommon 1 > xmodem c1700-y-mz.120-7.T
Do not start the sending program yet...
device does not contain a valid magic number
dir: cannot open device "flash:"

WARNING: All existing data in bootflash will be lost!
Invoke this application only for disaster recovery.
Do you wish to continue? y/n [n]: y
Ready to receive file c1700-y-mz.120-7.T ...
Erasing flash at 0x607f0000
Programming location 602c0000
Download Complete!
device does not contain a valid magic number
loadprog: error - on file open
rommon 2 >

Any help would be greatly appreciated. It looks like maybe the flash is bad and it cannot be written or something. Normally when i've used tftpdnld and xmodem you never get an error afterwards.

Any ideas? Hopefully I can get this unit working rather than have an expensive paper weight.

BTW it is a Cisco 1720 router.
 
Hi guys,

I tried xmodem according to the docs but I'm getting the following when it completes:

device does not contain a valid magic number
loadprog: error - on file open

Also when i do a dir flash: I gives me an error.

Any ideas? I'm thinking something is wrong with the flash.
 
did a tftpdnld from rommon and it failed. Tried xmodem from rommon and failed again. Tried tftpdnld -r and i got to boot into the system but when I tried sending over a new ios image I get the following errors. Any ideas? Never seen anything like this before...


Router#copy tftp flash
Address or name of remote host [192.168.1.1]?
Source filename [c1700-y-mz.120-7.T]?
Destination filename [c1700-y-mz.120-7.T]?
Accessing tftp://192.168.1.1/c1700-y-mz.120-7.T...
%Error opening tftp://192.168.1.1/c1700-y-mz.120-7.T (Not enough space)
Router#dir /all
Directory of flash:/

No files in directory

8388608 bytes total (8388608 bytes free)
Router#

The IOS image I was copying over is only 2.5mb so it should fit in 8mb flash. i have another router exactly the same using the exact same image and it works fine.

Suggestions appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top