I've never had to format my flash for 2600s when I upgrade.  I put it in,
the router boots to rommon> mode and I either tftp it up, or like yesterday
when my wireless link wasn't doing so hot (base was in someone's cubicle, I
was out in the warehouse in the network closet), so I had to bump the
console port to 115K and xmodem it up (10mbit file, bleh).

Once the router has the image in memory (which tells you your DRAM must be
larger than your image in order to upload it), it will erase the flash
("format" I guess), and then write it.

I'm guessing you've got the wrong part.

Hmm, I've got a ton of 8mb flash and a even some DRAM from all these 2600
upgrades I've been doing lately... I should ebay 'em.  Gotta wait until
tomorrow so I can hook up the scanner (Mother's Day gift).  It's great when
your Wife likes techno-stuff so you get combo gifts that benefit you as well
(goes over better than getting her a vacuum or ironing board, hehee!).  Of
course, this is in addition to a Mother's ring she deserves ;-)

Here's a template I did for a customer that had 50 2621's to roll out:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! xmodem upload (slow):
confreg
! set modem to 7 = 115200
reset
! change terminal software to 115200 baud

xmodem -c c2600-d-mz.120-7.XK2.bin
! transmit file via xmodem with CRC

! when done, be sure to set speed back with:
enable
conf t
line con 0
 speed 9600
! change terminal software to 9600 baud
end
wr m

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! TFTP upload (fast):
IP_ADDRESS=192.0.0.254
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.0.0.1
TFTP_SERVER=192.0.0.253
TFTP_FILE=c2600-d-mz.120-7.XK2.bin
TFTP_VERBOSE=2

tftpdnld
y

! wait 3-4 minutes to return to rommon prompt
reset


--
Jason Roysdon, CCNP+Security/CCDP, MCSE, CNA, Network+, A+
List email: [EMAIL PROTECTED]
Homepage: http://jason.artoo.net/



""RF""  wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey all:
>
> Wonder if anybody can help me with this problem:
>
> I got a 2610 with, apparently, an unformatted flash.
>
> For example, when I boot it, I get this:
> System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
> Copyright (c) 1999 by cisco Systems, Inc.
> TAC:Home:SW:IOS:Specials for info
> C2600 platform with 8192 Kbytes of main memory
>
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> open: read error...requested 0x4 bytes, got 0x0
> trouble reading device magic number
> boot: cannot open "flash:"
> boot: cannot determine first file name on device "flash:"
>
> System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
> Copyright (c) 1999 by cisco Systems, Inc.
> TAC:Home:SW:IOS:Specials for info
> C2600 platform with 8192 Kbytes of main memory
>
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> open: read error...requested 0x4 bytes, got 0x0
> trouble reading device magic number
> boot: cannot open "flash:"
> an alternate boot helper program is not specified
> (monitor variable "BOOTLDR" is not set)
> and unable to determine first file in bootflash
> boot: cannot open "rom:"
> boot: cannot determine first file name on device "rom:"
>
> System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
> Copyright (c) 1999 by cisco Systems, Inc.
> TAC:Home:SW:IOS:Specials for info
> C2600 platform with 8192 Kbytes of main memory
>
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> open: read error...requested 0x4 bytes, got 0x0
> trouble reading device magic number
> boot: cannot open "flash:"
> boot: cannot determine first file name on device "flash:"
>
> System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
> Copyright (c) 1999 by cisco Systems, Inc.
> TAC:Home:SW:IOS:Specials for info
> C2600 platform with 8192 Kbytes of main memory
>
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> open: read error...requested 0x4 bytes, got 0x0
> trouble reading device magic number
> boot: cannot open "flash:"
> boot: cannot determine first file name on device "flash:"
>
> System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
> Copyright (c) 1999 by cisco Systems, Inc.
> TAC:Home:SW:IOS:Specials for info
> C2600 platform with 8192 Kbytes of main memory
>
> 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
> rommon 2 > dev
> Devices in device table:
>         id  name
>     flash:  flash
> rommon 3 > dir
> usage: dir
> rommon 4 > dir flash:
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> open: read error...requested 0x4 bytes, got 0x0
> trouble reading device magic number
> dir: cannot open device "flash:"
> rommon 5 > dev
> Devices in device table:
>         id  name
>     flash:  flash
> rommon 6 > ?
> 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
> rommon 7 > meminfo
>
> Main memory size: 8 MB.
> Available main memory starts at 0x10000, size 8128KB
> IO (packet) memory size: 10 percent of main memory.
> NVRAM size: 32KB
> rommon 8 > ?
> 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
> rommon 9 > show ver
>
> monitor: command "show" not found
> rommon 10 > ?
> 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
> rommon 11 > dir
> usage: dir
> rommon 12 > dir flash:
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> open: read error...requested 0x4 bytes, got 0x0
> trouble reading device magic number
>
>
>
> So after a while, I get dumped into rommon mode.  If I type dir flash: I
get
> something similar:
>
> rommon 12 > dir flash:
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> get_man_dev: Unknown device - probably NOT formatted.
> unknown flash device - mandev code = 0xffff
> cannot read flash info
> getdevnum warning: device "flash" has size of zero
> open: read error...requested 0x4 bytes, got 0x0
> trouble reading device magic number
> dir: cannot open device "flash:"
>
>
>
> So, is there any way to recover (without calling up Cisco)?   I know the
> rest of the router is working fine, because I have another 2610 that is
> working fine, and when I "borrow" the flash from that one and put it in,
> everything works.  But is there some way to easily format this unformatted
> flash?
>
> Thanx
> FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
> Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=4287&t=4111
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to