Re: 2500 Flash problems (resolved)

From: kym blair (kymblair@hotmail.com)
Date: Sat Mar 01 2003 - 01:36:07 GMT-3


Rick,

The 2500 runs from flash, so when you are booted full up, your "show
version" will show flash is READ-ONLY:

ROUTER#sh version
<snip>
System image file is "flash:c2500-js-l.122-1.bin"
<snip>
16384K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2102

You need to set your config register to boot from bootflash, then reload:

conf t
config-reg 0x2101
exit
reload
SAVE? NO

After it reloads, look at the router's prompt and "show version":

ROUTER(boot)#sh version
<snip>
16384K bytes of processor board System flash (Read/Write)
Configuration register is 0x2101

Now program an IP on your ethernet interface, ping your TFTPserver to be
sure it is there, and "copy tftp flash".

After you have the new IOS in flash, rest the config-register to 0x2102 and
reload.

Here is a cisco page that talks about this:

http://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a00800941aa.shtml

Note: the 2600, 3600, and 4000 series copy their IOS into DRAM and run from
DRAM, so your flash is always READ/WRITE:

R2621#sh version
<snip>
16384K bytes of processor board System flash (Read/Write)
Configuration register is 0x2102

HTH, Kym

>From: "Rick" <ccie_2003@hotmail.com>
>Reply-To: "Rick" <ccie_2003@hotmail.com>
>To: "Cassidy D. Smith" <csmith@plannetconsulting.com>,
><ccielab@groupstudy.com>
>Subject: Re: 2500 Flash problems Please help! (not resolved)
>Date: Fri, 28 Feb 2003 21:22:44 -0500
>
>Welll, I tried it and it didn't even ask me to erase flash, so I could not
>say no. I checked everything else, and I can ping the TFTP server. I don't
>know... Hopefully there is a sure fix out there!
>
>Thanks,
>Rick
>----- Original Message -----
>From: "Cassidy D. Smith" <csmith@plannetconsulting.com>
>To: "'Rick'" <ccie_2003@hotmail.com>; <ccielab@groupstudy.com>
>Sent: Friday, February 28, 2003 8:57 PM
>Subject: RE: 2500 Flash problems Please help!
>
>
> > Rick,
> > I have had similar problems. In one case it was simply me hitting a key
> > other then Y when the router was prompting me to erase the flash. If you
>do
> > that you won't even see the prompt, and it will try to copy to flash
>which
> > won't work because it was not erased. So try the copy TFTP flash again,
>be
> > careful not to touch the keyboard.
> > At other times, it was me forgetting to set an IP address or
>default-gateway
> > on the router, when my DHCP server was on a different subnet. And
>finally
>I
> > use Linux as my TFTP server, and I have at times had the wrong rights
>set
>on
> > the file.
> >
> > HTH
> >
> > Cassidy.
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> > Rick
> > Sent: Friday, February 28, 2003 4:46 PM
> > To: ccielab@groupstudy.com
> > Cc: Rick
> > Subject: 2500 Flash problems Please help!
> >
> >
> > 1st. I tried Cisco and tried to search the group study archives, but
> > group-study was down and well Cisco might as well have been down because
> > nothing would come up..
> >
> > Here is my problem, and I'm hoping somebody has the answer..
> > I'm trying to upgrade to a new version of code and the router want let
>me
> > erase the flash. It say read-only. And when I just try to copy tftp
>flash
>it
> > says not enough space. (that is because it must over-ride the old image
> > first
> > (or erase it). How do I get around this? You can look at the problems
>below.
> > I
> > do have 16/16 in the router.
> >
> > Thanks,
> > Rick
> >
> > r2#erase flash
> > Erasing the flash filesystem will remove all files! Continue? [confirm]
> > %dev_open: System flash not writable
> > %Error erasing flash: (Device is read-only)
> >
> > r2#copy tftp flash
> > **** NOTICE ****
> > Flash load helper v1.0
> > This process will accept the copy options and then terminate
> > the current system image to use the ROM based image for the copy.
> > Routing functionality will not be available during that time.
> > If you are logged in via telnet, this connection will terminate.
> > Users with console access can see the results of the copy operation.
> > ---- ******** ----
> > Proceed? [confirm]
> > Address or name of remote host []? 192.168.1.69
> > Source filename []? c2500-jk8s-l.122-1d.bin
> > Destination filename [c2500-jk8s-l.122-1d.bin]?
> >
> > 00:03:49: %SYS-5-RELOAD: Reload requested
> > %SYS-4-CONFIG_NEWER: Configurations from version 12.2 may not be
>correctly
> > understood.
> > %FR-5-DLCICHANGE: Interface Serial0 - DLCI 201 state changed to ACTIVE
> > %FLH: c2500-jk8s-l.122-1d.bin from 192.168.1.69 to flash ...
> >
> > System flash directory:
> > File Length Name/status
> > 1 13124760 /c2500-is-l.122-4.T3.bin
> > [13124824 bytes used, 3652392 available, 16777216 total]
> > Accessing file 'c2500-jk8s-l.122-1d.bin' on 192.168.1.69...
> > Loading c2500-jk8s-l.122-1d.bin from 192.168.1.69 (via Ethernet0): !
>[OK]
> >
> > %Error: Image size exceeds free space
> > %FLH: Flash download failed
> > F3: 12432180+692548+912776 at 0x3000060



This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:30 GMT-3