Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

AS5300 - - - IOS - - - Corrupted

Hi,

I have IOS upgradation problem as i alredy discuued the problemm with you.

My AS5300 rommon and after changing the config register value ti its orignal 0X2102 and after the reset the out put comes with different Errors.

plz chk the output and suggest the possible solution,

System Bootstrap, Version 12.0(2)XD1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)

Copyright (c) 1999 by cisco Systems, Inc.

TAC:Home:SW:IOS:Specials for info

AS5300 platform with 131072 Kbytes of main memory

rommon 1 > ?

alias set and display aliases command

boot boot up an external process

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

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

unalias unset an alias

unset unset a monitor variable

xmodem x/y modem download

rommon 2 > confreg 0x2102

You must reset or power cycle for new config to take effect

rommon 3 > reset

System Bootstrap, Version 12.0(2)XD1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)

Copyright (c) 1999 by cisco Systems, Inc.

TAC:Home:SW:IOS:Specials for info

AS5300 platform with 131072 Kbytes of main memory

loadprog: error - trouble reading file magic number

open: failed to find and/or load the bootloader: "bootflash:c5300-js-mz.123-15.bin"

loadprog: error - on file open

boot: cannot load "cisco2-AS5300"

System Bootstrap, Version 12.0(2)XD1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)

Copyright (c) 1999 by cisco Systems, Inc.

TAC:Home:SW:IOS:Specials for info

AS5300 platform with 131072 Kbytes of main memory

device does not contain a valid magic number

boot: cannot open "flash:"

boot: cannot determine first file name on device "flash:"

System Bootstrap, Version 12.0(2)XD1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)

Copyright (c) 1999 by cisco Systems, Inc.

TAC:Home:SW:IOS:Specials for info

AS5300 platform with 131072 Kbytes of main memory

loadprog: error - trouble reading file magic number

boot: cannot load "bootflash:"

System Bootstrap, Version 12.0(2)XD1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)

Copyright (c) 1999 by cisco Systems, Inc.

TAC:Home:SW:IOS:Specials for info

AS5300 platform with 131072 Kbytes of main memory

rommon 1 >

Waiting for your replay

Thanks and regards.

7 REPLIES

Re: AS5300 - - - IOS - - - Corrupted

Hi Friend,

"BAD magic number" which gives me a meaning that you have a corrupt image on your bootflash.

WHY don't you format the flash and xmodem the image again and I hope that should take care of the issue.

HTH, if yes please rate the post.

Ankur

New Member

Re: AS5300 - - - IOS - - - Corrupted

Hi,

Now i have only way to formate or erase boot flash through Xmodem

but it did not work . plz tell me the method for formate the boot flash:

thanks

Re: AS5300 - - - IOS - - - Corrupted

Hi Friend,

I know there is no format command available and neither I have done it on access servers.

Can you try xmodem without format and see if it prompts for overwritting the current image or something like that.

Regards,

Ankur

Re: AS5300 - - - IOS - - - Corrupted

Hello,

You can also tftp to the AS5300 the commands are exactly the same as on a 2600. Just make sure everything is exactly as it is below. rommon is very picky about it being case sensitive. Just substitute your variables and you should be good to go.

rommon 15 > tftpdnld

rommon 16 > IP_ADDRESS=171.68.171.0

rommon 17 > IP_SUBNET_MASK=255.255.254.0

rommon 18 > DEFAULT_GATEWAY=171.68.170.3

rommon 19 > TFTP_SERVER=171.69.1.129

rommon 20 > TFTP_FILE=c2600-is-mz.113-2.0.3.Q

rommon 21 > tftpdnld

http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml

Patrick

Please rate any posts that are helpful.

New Member

Re: AS5300 - - - IOS - - - Corrupted

Hi,

check with the following

Router boots in boot mode, with the following messages on the console:

device does not contain a valid

magic number

boot: cannot open "flash:"

boot: cannot determine first file name on

device "flash:"

ans:

The Flash is empty or the filesystem is corrupted. Copy a valid image on the Flash, and while copying, you will be prompted to erase the old Flash (if one exists). Then reload the router.

Try with this link

http://www.cisco.com/en/US/products/hw/routers/ps359/products_tech_note09186a00800a750e.shtml

Pls Rate this post

Yogesh

New Member

Re: AS5300 - - - IOS - - - Corrupted

Hi,

i have tried the procedure from the link you sent me.

i have problem that when i copy new image throuh Xmodem it copied in the boot flash not in the flash plz chk the output of commands

rommon 1 > dev

Devices in device table:

id name

device does not contain a valid magic number

flash:1: flash partion 1 has no valid image

bootflash: boot flash

rommon 3 > dir flash:1

device does not contain a valid magic number

dir: cannot open device "flash:1"

rommon 4 >

rommon 4 > dir bootflash:

File size Checksum File name

0 bytes (0x0) 0xffff c5300-js-mz.123-15.bin

rommon 6 >boot bootflash: c5300-js-mz.123-15.bin

monitor: command "Cboot" not found

I have told you that image is coping in boot flash not in the flash and comes of no space with me when i copy the image.

thanks and waiting for ur response.

New Member

Re: AS5300 - - - IOS - - - Corrupted

Hi,

plz check the output i have sent you in the privous mail.

and suugest !!!!!

Thanks waiting for your response..

421
Views
4
Helpful
7
Replies
CreatePlease login to create content