cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4624
Views
5
Helpful
9
Replies

3945 Router booting to ROMMON

SCOTTA63123
Level 1
Level 1

A 3945 came to me that was returned from the field and I was instructed to clean it up (physically), wipe the config and upgrade the ios. 

Where I made the mistake was I copied c3900e-universalk9-mz.SPA.152-1.T.bin to the flash and deleted the original ios thinking the new ios was just going to work. Now upon boot, I get the rommon> prompt and I can't seem to work my way out of it. (I've tried varios ios versions via the 'boot usbflash0:xxxx' process without succuss. There is more detail I can give concerning what I have tried but I don't want to muddy the waters right off the bat with too much noise. 

Has anybody worked their way out of this and can help?

 

2 Accepted Solutions

Accepted Solutions

I think you just typod the path. get into rommon and try  run "dev" that should give you the storage devices you have. After that one by one dir those. Find where your IOS is located and boot that specific device(could be flash1 for all we know).

 

If that doesnt work out for you, do a tftpdwnld

https://www.cisco.com/c/en/us/td/docs/routers/access/1900/software/configuration/guide/Software_Configuration/appendixCrommon.html#pgfId-1015120

View solution in original post

9 Replies 9

just post the output of dir

 

maybe the file is corupted

 

take a look at the filesize 

 

It might be helpful to know why the boot of the new image is failing. The best way to do that would be to try booting again from the image in flash and then post all of the output during the attempt to boot.

 

But it is more important to find a way to boot successfully. It is not clear why the attempts to boot using usbflash are not working. Perhaps it is a problem with the image put onto usbflash? Perhaps it is a problem with usbflash? Perhaps we can solve that problem. Or perhaps a different approach might work. I have used tftpdnld to recover from failed attempts to boot from flash. This uses an image on a tftp server which has a connection to the router and loads it to the router.

 

HTH

 

Rick

HTH

Rick

Rick,

Here is the output from boot attempt:

 

System Bootstrap, Version 15.0(1r)M8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2010 by cisco Systems, Inc.

Initializing DRAM
DIMM slot 00000000 - Detected
DIMM slot 00000001 - Detected
DRAM initialized - size 0x00000400 Mbytes
Memory tests are from 0x00000000 to 0x00000000
Testing memory - all 0xffffffff
Testing memory - all 0x00000000
Testing memory - data equals address
Testing memory - checkerboard
Testing memory - inverse checkerboard
Memory test complete -- PASS
bzeroing DDR, size 0x0000D808
Total memory size = 1024 MB - DIMM0 = 512 MB, DIMM1 = 512 MB

Reclaiming temporary stack, initializing L2 cache
Perform the IOCTRL BIST Test
IOCTRL BIST Success
Before CFI query

Passed CFI querry string

Value for write(TYP)=6

Value for write(Max)=3

Value for write buffer(TYP)=6

Value for write buffer(Max)=5

Value for erase(TYP)=9

Value for erase(MAX)=3

cfi_write_time = 400

cfi_wr_buf_time = 1000

cfi_erase_time = 7d0000

After CFI query

Reading monitor variables from NVRAM
Reset type is Cold
Init Rommon Upgrade NVRAM Vars
Init Rommon Upgrade start
Reading cookie
Initializing DEC timer
Initializing interrupt controller
Enabling interrupts
Programming UPMs
Compact flash init
Compact Flash 0 is present

Power recycle of CF 0 successful

Compact Flash 1 is present

Power recycle of CF 1 successful

Compact flash init done

Initializing I/O Controller
No Frequency Margin
Set Up Environmental Data

Validate EEPROM Checksum.
Turn off the 2rd level watchdog
Turn off the 3rd level watchdog


Exiting Init
CISCO3945-CHASSIS with C3900-SPE150/K9 with 1048576 Kbytes of main memory
Main memory is configured to 72/72(dimm 0/1) bit mode with ECC enabled

Readonly ROMMON initialized
program load complete, entry point: 0x4000000, size: 0x18fa0
loadprog: error - not an executable ELF file
boot: cannot load "flash:/c3900e-universalk9-mz.SPA.152-1.T.bin"

System Bootstrap, Version 15.0(1r)M8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2010 by cisco Systems, Inc.

Initializing DRAM
DIMM slot 00000000 - Detected
DIMM slot 00000001 - Detected
DRAM initialized - size 0x00000400 Mbytes
Memory tests are from 0x00000000 to 0x00000000
Testing memory - all 0xffffffff
Testing memory - all 0x00000000
Testing memory - data equals address
Testing memory - checkerboard
Testing memory - inverse checkerboard
Memory test complete -- PASS
bzeroing DDR, size 0x0000D808
Total memory size = 1024 MB - DIMM0 = 512 MB, DIMM1 = 512 MB

Reclaiming temporary stack, initializing L2 cache
Perform the IOCTRL BIST Test
IOCTRL BIST Success
Before CFI query

Passed CFI querry string

Value for write(TYP)=6

Value for write(Max)=3

Value for write buffer(TYP)=6

Value for write buffer(Max)=5

Value for erase(TYP)=9

Value for erase(MAX)=3

cfi_write_time = 400

cfi_wr_buf_time = 1000

cfi_erase_time = 7d0000

After CFI query

Reading monitor variables from NVRAM
Reset type is Warm
Init Rommon Upgrade NVRAM Vars
Init Rommon Upgrade start
Reading cookie
Initializing DEC timer
Initializing interrupt controller
Enabling interrupts
Programming UPMs
Compact flash init
Compact Flash 0 is present

Power recycle of CF 0 successful

Compact Flash 1 is present

Power recycle of CF 1 successful

Compact flash init done

Initializing I/O Controller
No Frequency Margin
Set Up Environmental Data

Validate EEPROM Checksum.
Turn off the 2rd level watchdog
Turn off the 3rd level watchdog


Exiting Init
CISCO3945-CHASSIS with C3900-SPE150/K9 with 1048576 Kbytes of main memory
Main memory is configured to 72/72(dimm 0/1) bit mode with ECC enabled

Readonly ROMMON initialized
program load complete, entry point: 0x4000000, size: 0x18fa0
program load complete, entry point: 0x4000000, size: 0x18fa0
loadprog: error - not an executable ELF file
boot: cannot load "flash0:"

System Bootstrap, Version 15.0(1r)M8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2010 by cisco Systems, Inc.

Initializing DRAM
DIMM slot 00000000 - Detected
DIMM slot 00000001 - Detected
DRAM initialized - size 0x00000400 Mbytes
Memory tests are from 0x00000000 to 0x00000000
Testing memory - all 0xffffffff
Testing memory - all 0x00000000
Testing memory - data equals address
Testing memory - checkerboard
Testing memory - inverse checkerboard
Memory test complete -- PASS
bzeroing DDR, size 0x0000D808
Total memory size = 1024 MB - DIMM0 = 512 MB, DIMM1 = 512 MB

Reclaiming temporary stack, initializing L2 cache
Perform the IOCTRL BIST Test
IOCTRL BIST Success
Before CFI query

Passed CFI querry string

Value for write(TYP)=6

Value for write(Max)=3

Value for write buffer(TYP)=6

Value for write buffer(Max)=5

Value for erase(TYP)=9

Value for erase(MAX)=3

cfi_write_time = 400

cfi_wr_buf_time = 1000

cfi_erase_time = 7d0000

After CFI query

Reading monitor variables from NVRAM
Reset type is Warm
Init Rommon Upgrade NVRAM Vars
Init Rommon Upgrade start
Reading cookie
Initializing DEC timer
Initializing interrupt controller
Enabling interrupts
Programming UPMs
Compact flash init
Compact Flash 0 is present

Power recycle of CF 0 successful

Compact Flash 1 is present

Power recycle of CF 1 successful

Compact flash init done

Initializing I/O Controller
No Frequency Margin
Set Up Environmental Data

Validate EEPROM Checksum.
Turn off the 2rd level watchdog
Turn off the 3rd level watchdog


Exiting Init
CISCO3945-CHASSIS with C3900-SPE150/K9 with 1048576 Kbytes of main memory
Main memory is configured to 72/72(dimm 0/1) bit mode with ECC enabled

Readonly ROMMON initialized

WARNING: Unsupported compact flash detected. Use of this card during normal
operation can impact and severely degrade performance of the system.
Please use supported compact flash cards only.
program load complete, entry point: 0x4000000, size: 0x18fa0
open(): Open Error = -35
boot: cannot open "flash1:"
boot: cannot determine first executable file name ondevice "flash1:"

System Bootstrap, Version 15.0(1r)M8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2010 by cisco Systems, Inc.

Initializing DRAM
DIMM slot 00000000 - Detected
DIMM slot 00000001 - Detected
DRAM initialized - size 0x00000400 Mbytes
Memory tests are from 0x00000000 to 0x00000000
Testing memory - all 0xffffffff
Testing memory - all 0x00000000
Testing memory - data equals address
Testing memory - checkerboard
Testing memory - inverse checkerboard
Memory test complete -- PASS
bzeroing DDR, size 0x0000D808
Total memory size = 1024 MB - DIMM0 = 512 MB, DIMM1 = 512 MB

Reclaiming temporary stack, initializing L2 cache
Perform the IOCTRL BIST Test
IOCTRL BIST Success
Before CFI query

Passed CFI querry string

Value for write(TYP)=6

Value for write(Max)=3

Value for write buffer(TYP)=6

Value for write buffer(Max)=5

Value for erase(TYP)=9

Value for erase(MAX)=3

cfi_write_time = 400

cfi_wr_buf_time = 1000

cfi_erase_time = 7d0000

After CFI query

Reading monitor variables from NVRAM
Reset type is Warm
Init Rommon Upgrade NVRAM Vars
Init Rommon Upgrade start
Reading cookie
Initializing DEC timer
Initializing interrupt controller
Enabling interrupts
Programming UPMs
Compact flash init
Compact Flash 0 is present

Power recycle of CF 0 successful

Compact Flash 1 is present

Power recycle of CF 1 successful

Compact flash init done

Initializing I/O Controller
No Frequency Margin
Set Up Environmental Data

Validate EEPROM Checksum.
Turn off the 2rd level watchdog
Turn off the 3rd level watchdog


Exiting Init
CISCO3945-CHASSIS with C3900-SPE150/K9 with 1048576 Kbytes of main memory
Main memory is configured to 72/72(dimm 0/1) bit mode with ECC enabled

Readonly ROMMON initialized
program load complete, entry point: 0x4000000, size: 0x18fa0
program load complete, entry point: 0x4000000, size: 0x18fa0
loadprog: error - not an executable ELF file
boot: cannot load "flash0:"

System Bootstrap, Version 15.0(1r)M8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2010 by cisco Systems, Inc.

Initializing DRAM
DIMM slot 00000000 - Detected
DIMM slot 00000001 - Detected
DRAM initialized - size 0x00000400 Mbytes
Memory tests are from 0x00000000 to 0x00000000
Testing memory - all 0xffffffff
Testing memory - all 0x00000000
Testing memory - data equals address
Testing memory - checkerboard
Testing memory - inverse checkerboard
Memory test complete -- PASS
bzeroing DDR, size 0x0000D808
Total memory size = 1024 MB - DIMM0 = 512 MB, DIMM1 = 512 MB

Reclaiming temporary stack, initializing L2 cache
Perform the IOCTRL BIST Test
IOCTRL BIST Success
Before CFI query

Passed CFI querry string

Value for write(TYP)=6

Value for write(Max)=3

Value for write buffer(TYP)=6

Value for write buffer(Max)=5

Value for erase(TYP)=9

Value for erase(MAX)=3

cfi_write_time = 400

cfi_wr_buf_time = 1000

cfi_erase_time = 7d0000

After CFI query

Reading monitor variables from NVRAM
Reset type is Warm
Init Rommon Upgrade NVRAM Vars
Init Rommon Upgrade start
Reading cookie
Initializing DEC timer
Initializing interrupt controller
Enabling interrupts
Programming UPMs
Compact flash init
Compact Flash 0 is present

Power recycle of CF 0 successful

Compact Flash 1 is present

Power recycle of CF 1 successful

Compact flash init done

Initializing I/O Controller
No Frequency Margin
Set Up Environmental Data

Validate EEPROM Checksum.
Turn off the 2rd level watchdog
Turn off the 3rd level watchdog


Exiting Init
CISCO3945-CHASSIS with C3900-SPE150/K9 with 1048576 Kbytes of main memory
Main memory is configured to 72/72(dimm 0/1) bit mode with ECC enabled

Readonly ROMMON initialized
rommon 1 >


@SCOTTA63123 wrote:

boot: cannot load "flash:/c3900e-universalk9-mz.SPA.152-1.T.bin"

boot: cannot load "flash0:"

boot: cannot open "flash1:"
boot: cannot determine first executable file name ondevice "flash1:"

boot: cannot load "flash0:"

 


Boot variable strings are incorrect.  

I can confirm that the file is not corrupted. I used the Md5Checker tool to verify.

On second thought, I guess the image could have got corrupted upon transfer. I ran Md5Checker prior to transfer.

I think you just typod the path. get into rommon and try  run "dev" that should give you the storage devices you have. After that one by one dir those. Find where your IOS is located and boot that specific device(could be flash1 for all we know).

 

If that doesnt work out for you, do a tftpdwnld

https://www.cisco.com/c/en/us/td/docs/routers/access/1900/software/configuration/guide/Software_Configuration/appendixCrommon.html#pgfId-1015120

See this link to a discussion which seems similar to your situation. The issue in that discussion was that the image used was not appropriate to the platform being used. Might be that you need to try a different image file.

https://community.cisco.com/t5/routing/cisco-3925-router-loadprog-error-not-an-executalbe-elf-file/td-p/3013574

 

HTH

 

Rick

HTH

Rick

Rick,

Thank you for your assistance!

The tftpdnld process detailed in your link:

https://www.cisco.com/c/en/us/td/docs/routers/access/1900/software/configuration/guide/Software_Configuration/appendixCrommon.html#pgfId-1015120

resolved my issue.

Review Cisco Networking products for a $25 gift card