cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2319
Views
0
Helpful
1
Replies

"xmodem:: permission denied" when upgrading IOS through ROMMON

arifdatau
Level 1
Level 1

I need help, I was trying to upgrade my router 2691 with c2691-entservicesk9-mz.124-13b.bin from the old IOS c2691-adventerprisek9-mz.124-25b.bin and maybe the file got corrupted so no matter I tried to solved it still did not work. I guess I just got stuck and I have no idea how to fix it. Please take a moment look at this and perhaps you could tell me what is wrong with this.  I thanks in advance for this.

Readonly ROMMON initialized

rommon 1 > dir flash:

program load complete, entry point: 0x80008000, size: 0xca20

Directory of flash:

2      34103360  -rw-     c2691-entservicesk9-mz.124-13b.bin

rommon 2 > xmodem c2691-entservicesk9-mz.124-13b.bin

Do not start the sending program yet...

program load complete, entry point: 0x80008000, size: 0xca20

         File size           Checksum   File name

        -1 bytes (0xffffffff) 0x0001    vicesk9-mz.124-13b.bin (deleted)

WARNING: All existing data in flash will be lost!

Invoke this application only for disaster recovery.

Do you wish to continue? y/n  [n]:  y

Ready to receive file c2691-entservicesk9-mz.124-13b.bin ...

Timeout waiting for data - aborting download…

rommon 3 > boot flash:c2691-entservicesk9-mz.124-13b.bin

program load complete, entry point: 0x80008000, size: 0xca20

loadprog: error - on read during ELF program load

requested 34319676 (0x20bad3c) bytes, got 34075156 (0x207f214)

boot: cannot load "flash:c2691-entservicesk9-mz.124-13b.bin"

rommon 4 > i

System Bootstrap, Version 12.2(8r)T2, RELEASE SOFTWARE (fc1)

TAC Support: http://www.cisco.com/tac

Copyright (c) 2002 by cisco Systems, Inc.

c2691 processor with 262144 Kbytes of main memory

Main memory is configured to 64 bit mode with parity disabled

Readonly ROMMON initialized

program load complete, entry point: 0x80008000, size: 0xca20

program load complete, entry point: 0x80008000, size: 0xca20

loadprog: error - on read during ELF program load

requested 34319676 (0x20bad3c) bytes, got 34075156 (0x207f214)

boot: cannot load "flash:"

rommon 4 > meminfo

-------------------------------------------------

Current Memory configuration is:

Dimm0: Size = 128 MB : Start Addr = 0x00000000

-----Bank 0 128 MB

-----Bank 1   0 MB

Dimm1: Size = 128 MB : Start Addr = 0x08000000

-----Bank 0 128 MB

-----Bank 1   0 MB

-------------------------------------------------

Main memory size: 256 MB in 64 bit mode.

Available main memory starts at 0xa000e000, size 262088KB

IO (packet) memory size: 0 percent of main memory.

NVRAM size: 32KB

I have tried everything for this but with no luck at all.

1 Reply 1

sakella
Level 1
Level 1

Looks like the image is deleted status. Here are few things u can try

  • If the router has two built-in Ethernet or fast Ethernet interfaces, always use the first interface (usually 0/0). You must use the built-in interface. For example, if a Cisco 1700 series router has a WIC-1ENET card installed, the tftpdnld ROMmon command does not work with that card.
  • All variable commands must be upper case. The variable itself is case sensitive as in the case of a filename, as shown in the following example:
  • rommon11>TFTP_FILE=c2600-i-mz.120-7.T.bin
  • TFTP_FILE= must be upper case and c2600-i-mz.120-7.T.bin is case sensitive.
  • The DEFAULT_GATEWAY= address should not be the same address as the IP_ADDRESS= variable. This causes the process to fail. Set the DEFAULT_GATEWAY= variable to the address of the TFTP server.

The following example shows how to perform a tftpdnld ROMmon command recovery procedure with a TFTP server at the 10.1.1.2 address, a 255.255.255.0 subnet mask, and a filename of c2600-is-mz.120-7.T.bin.:

rommon 16 > IP_ADDRESS=10.1.1.1
!--- This is the temporary IP address assigned to the router.
rommon 17 > IP_SUBNET_MASK=255.255.255.0
!--- Same as on the TFTP server.
rommon 18 > DEFAULT_GATEWAY=10.1.1.2
!--- Use the IP address of the TFTP server.
rommon 19 > TFTP_SERVER=10.1.1.2
!--- TFTP server's IP address.
rommon 20 > TFTP_FILE=c2600-is-mz.120-7.T.bin
!--- Exact name is case sensitive.
rommon 21 > TFTP_CHECKSUM=0
!--- This prevents checksum errors with earlier 2600 boot ROMs.
rommon 22 > tftpdnld 
!--- This command must be lower case.

IP_ADDRESS: 10.1.1.1
           IP_SUBNET_MASK: 255.255.255.0
           DEFAULT_GATEWAY: 10.1.1.2
           TFTP_SERVER: 10.1.1.2
           TFTP_FILE: c2600-is-mz.120-7.T.bin

     Invoke this command for disaster recovery only.
     WARNING: all existing data in all partitions on flash will be lost!
     Do you wish to continue? y/n:  [n]:  y

     Receiving c2600-is-mz.120-7.T.bin from 10.1.1.2 !!!!!.!!!!!!!!!!!!!!!!!!!.!!
     File reception completed.
     Copying file c2600-is-mz.120-7.T to flash.
     Erasing flash at 0x607c0000
     program flash location 0x60440000
     rommon 22 >reset

For additional information on the tftpdnld ROMmon command recovery procedure, refer to How to Download a Software Image to a Cisco 2600 via TFTP Using the tftpdnld ROMmon Command.

Here is url

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

Review Cisco Networking for a $25 gift card