03-09-2022 07:17 AM
I have a 4500x switch that had the IOS deleted accidently.
When booted this is what we get.
****************************************************************
* *
* Rom Monitor NVRAM configuration is being initialized to *
* default values. This may be because it was never initialized.*
* *
****************************************************************
Writing to Primary Region failed
Writing to Backup Region failed
Rommon (G) Signature verification PASSED
flash0:/codesign/rm1.dat open failure
Rommon (P) Signature verification PASSED
flash0:/codesign/rm2.dat open failure
****************************************************************
* *
* Rom Monitor NVRAM configuration is being initialized to *
* default values. This may be because it was never initialized.*
* *
****************************************************************
Writing to Primary Region failed
Writing to Backup Region failed
FPGA (P) Signature verification PASSED
flash0:/codesign/fpga.dat open failure
************************************************************
* *
* Welcome to Rom Monitor for WS-C4500X-16 System. *
* Copyright (c) 2008-2012 by Cisco Systems, Inc. *
* All rights reserved. *
* *
************************************************************
Rom Monitor (P) Version 15.0(1r)SG6
CPU Rev: 2.2, Board Rev: 4, Board Type: 108
CPLD Mobat Rev: 2.0x4377.0xb277
Chassis: WS-C4500X-16
MAC Address : e0-2f-6d-43-16-3f
Ip Address : Not set.
Netmask : Not set.
Gateway : Not set.
TftpServer : Not set.
Non-Redundant system or peer not running IOS
System Uplinks & Linecards have been reset!!
***** The system will autoboot in 5 seconds *****
Type control-C to prevent autobooting.
. .
Management Ethernet Link Up: 100Mb Full Duplex
. . .
******** The system will autoboot now ********
config-register = 0x102
Writing to Primary Region failed
Writing to Backup Region failed
Autobooting using BOOT variable specified file.....
Could not find a valid file in BOOT environment variable.
BOOT variable can be set from IOS. To find currently set
Rom Monitor variables, please type 'set' command.
For help on choosing a boot method, type 'confreg' command.
Writing to Primary Region failed
Writing to Backup Region failed
Writing to Primary Region failed
Writing to Backup Region failed
Writing to Primary Region failed
Writing to Backup Region failed
I've set an IP address and was able to ping a TFTP server and I am trying to load back the IOS and it loads it then reboots and all the settings including the tftp settings and IP settings are erased.
How can I get this to work again?
Thank you
03-09-2022 07:31 AM
chcek below thread help you :
03-09-2022 08:11 AM - edited 03-09-2022 08:14 AM
I did read that post and here is what I did and it just seemed to go back to the rommon after i ran the boot tftp command.
config-register = 0x102
Writing to Primary Region failed
Writing to Backup Region failed
Autobooting using BOOT variable specified file.....
Could not find a valid file in BOOT environment variable.
BOOT variable can be set from IOS. To find currently set
Rom Monitor variables, please type 'set' command.
For help on choosing a boot method, type 'confreg' command.
Writing to Primary Region failed
Writing to Backup Region failed
Writing to Primary Region failed
Writing to Backup Region failed
Writing to Primary Region failed
Writing to Backup Region failed
rommon 1 >confreg
Configuration Summary :
=> console baud: 9600
=> autoboot from: commands specified in 'BOOT' environment variable
do you wish to change the configuration? y/n [n]: n
rommon 2 >set interface fa1 192.168.10.230 255.255.255.0
Writing to Primary Region failed
Writing to Backup Region failed
rommon 3 >set ip route default 192.168.10.251
Writing to Primary Region failed
Writing to Backup Region failed
rommon 4 >set
PS1=rommon ! >
RommonVer=15.0(1r)SG6
SupportedFeatures=1
ConfigReg=0x0102
IpAddr=192.168.10.230
Netmask=255.255.255.0
Broadcast=192.168.10.255
Gateway=192.168.10.251
rommon 5 >ping 192.168.10.250
Host 192.168.10.250 is alive
rommon 6 >boot tftp://192.168.10.250/cat4500e-universal.SPA.03.03.00.SG.151-1.SG.bin
Here is what happens after the boot tftp command.
rommon 6 >boot tftp://192.168.10.250/cat4500e-universal.SPA.03.03.00.SG.151-1.SG.bin
Writing to Primary Region failed
Writing to Backup Region failed
Tftp Session details are ....
Filename : /cat4500e-universal.SPA.03.03.00.SG.151-1.SG.bin
IP Address : 192.168.10.230
Loading from TftpServer: 192.168.10.250
TftpBlkSize : 1468
RxDataPacket : 076525
Loaded 112337548 bytes successfully.
Checking digital signature....
[/cat4500e-universal.SPA.03.03.00.SG.151-1.SG.bin]
Digitally Signed Release Software with key version A
flash0:/codesign/ios.dat open failure
Rommon reg: 0x00084F80
Reset2Reg: 0x00004200
Image load status: 0x00000000
###
Winter 110 controller 0x046B54B6..0x0481E81D Size:0x002FDB9D Program Done!
##############
Linux version 2.6.24.4.8.3.k10 (krunyan@build-lnx-005) (gcc version 4.2.1 p6 (Cisco c4.2.1-p6)) #1 SMP Sat Apr 14 23:47:37 PDT 2012
Starting System Services
Error!! POST pre-start: /flash0 is not mounted.
Error!! POST post-stop: /flash0 is not mounted.
Starting IOS Services
A Critical job [licensed] exited abnormally! Reloading the supervisor
FATAL: Module mtsmod is in use.
Please stand by while rebooting the system...
Restarting system.
****************************************************************
* *
* Rom Monitor NVRAM configuration is being initialized to *
* default values. This may be because it was never initialized.*
* *
****************************************************************
Writing to Primary Region failed
Writing to Backup Region failed
Rommon (G) Signature verification PASSED
flash0:/codesign/rm1.dat open failure
Rommon (P) Signature verification PASSED
flash0:/codesign/rm2.dat open failure
03-09-2022 08:57 AM - edited 03-09-2022 09:00 AM
Which step followed : there is
1- Change the config register to 0x2102
--Check the settings
rommon>set
--Clear the current boot variable
rommon>unset boot
rommon>confreg 0x2102
rommon>reset
if you tried that steps, then time for TAC case for RMA.
03-09-2022 01:55 PM - edited 03-09-2022 01:56 PM
In ROMMON, post the complete output to the following commands:
@jkay18041 wrote:
Writing to Primary Region failed
Writing to Backup Region failed
That, to me, means the supervisor card is dead.
03-09-2022 02:40 PM
Here is what I get
rommon 1 >set
PS1=rommon ! >
RommonVer=15.0(1r)SG6
SupportedFeatures=1
ConfigReg=0x0102
rommon 2 >dir flash:
Invalid path flash:
usage: dir { [ bootflash: ] | [ slot0: ] | [ usb0: ] }
03-09-2022 03:26 PM
Please post the complete output to the command "dir bootflash:".
03-10-2022 06:00 AM
rommon 1 >dir
usage: dir { [ bootflash: ] | [ slot0: ] | [ usb0: ] }
rommon 2 >dir bootflash:
ExtX super block invalid signature
Thank you for your assistance
03-10-2022 07:17 AM
as i mentioned earlier time for TAC and RMA Please.
03-10-2022 01:25 PM
Contact Cisco TAC and RMA and appliance.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide