02-10-2021 12:36 PM
Hello all, last night I had an adventure with upgrading the IOS of C2960X switch..
Here is the output from the point where I began the upgrade to the point of the failed boot on the new IOS:
Switch#$leave-old-sw /imageonly flash:c2960x-universalk9-tar.152-7.E3.tar
examining image...
extracting info (110 bytes)
extracting c2960x-universalk9-mz.152-7.E3/info (688 bytes)
extracting info (110 bytes)
Stacking Version Number: 1.119
System Type: 0x00000000
Ios Image File Size: 0x0197AA00
Total Image File Size: 0x0278D200
Minimum Dram required: 0x08000000
Image Suffix: universalk9-152-7.E3
Image Directory: c2960x-universalk9-mz.152-7.E3
Image Name: c2960x-universalk9-mz.152-7.E3.bin
Image Feature: IP|LAYER_2|SSH|3DES|MIN_DRAM_MEG=128
FRU Module Version: No FRU Version Specified
Old image for switch 1: unknown
Extracting images from archive into flash...
extracting c2960x-universalk9-mz.152-7.E3/c2960x-universalk9-mz.152-7.E3.bin (26714112 bytes)
extracting c2960x-universalk9-mz.152-7.E3/info (688 bytes)
extracting info (110 bytes)
Warning: Unable to allocate memory to display the tar extraction of files,
however upgrade process is still continuing. If you would like to
see the tar extraction output, try upgrading one switch at a time.
Installing (renaming): `flash:update/c2960x-universalk9-mz.152-7.E3' ->
`flash:/c2960x-universalk9-mz.152-7.E3'
EDS file download on SKU match in progress...
New software image installed in flash:/c2960x-universalk9-mz.152-7.E3
All software images installed.
Switch#
Switch#wr mem
Building configuration...
[OK]
Switch#sh boot
BOOT path-list : flash:/c2960x-universalk9-mz.152-7.E3/c2960x-universalk9-mz.152-7.E3.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : yes
Manual Boot : no
Allow Dev Key : yes
HELPER path-list :
Auto upgrade : yes
Auto upgrade path :
NVRAM/Config file
buffer size: 524288
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)
Switch#reload
Proceed with reload? [confirm]
Oct 16 08:55:03.886: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload command.
CPU rev: B
Image passed digital signature verification
Board rev: 5
Testing DataBus...
Testing AddressBus...
Testing Memory from 0x00000000 to 0x1fffffff.../
Using driver version 4 for media type 1
Xmodem file system is available.
Base ethernet MAC Address: aa;bb;cc;dd;ee;ff
The password-recovery mechanism is enabled.
USB EHCI 1.00
USB EHCI 1.00
USB Console INIT
Initializing Flash...
mifs[5]: 12 files, 1 directories
mifs[5]: Total bytes : 1806336
mifs[5]: Bytes used : 833536
mifs[5]: Bytes available : 972800
mifs[5]: mifs fsck took 0 seconds.
mifs[6]: 1 files, 1 directories
mifs[6]: Total bytes : 3870720
mifs[6]: Bytes used : 971264
mifs[6]: Bytes available : 2899456
mifs[6]: mifs fsck took 1 seconds.
mifs[7]: 5 files, 1 directories
mifs[7]: Total bytes : 258048
mifs[7]: Bytes used : 8192
mifs[7]: Bytes available : 249856
mifs[7]: mifs fsck took 0 seconds.
mifs[8]: 5 files, 1 directories
mifs[8]: Total bytes : 258048
mifs[8]: Bytes used : 8192
mifs[8]: Bytes available : 249856
mifs[8]: mifs fsck took 0 seconds.
mifs[9]: 10 files, 2 directories
mifs[9]: Total bytes : 122185728
mifs[9]: Bytes used : 90234880
mifs[9]: Bytes available : 31950848
mifs[9]: mifs fsck took 72 seconds.
...done Initializing Flash.
Loading "flash:/c2960x-universalk9-mz.152-7.E3/c2960x-universalk9-mz.152-7.E3.bin"...Verifying image flash:/c2960x-universalk9-mz.152-7.E3/c2960x-universalk9-mz.152-7.E3.bin........................................................................................................................................................................................................................................................................................................................................................................................................................Image passed digital signature verification
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "flash:/c2960x-universalk9-mz.152-7.E3/c2960x-universalk9-mz.152-7.E3.bin" uncompressed and installed, entry point: 0x3000
executing...
Do you have an idea what is wrong?
The device is:
WS-C2960X-48LPS-L
The current version of the IOS is :
15.2(2)E1
And I try to upgrade to the latest image 15.2.7E3 MD.
Is it possible bug CSCvf24186:
C2960X- switch failed to boot with IOS version 152-2.E5 and 15.2(4)E4
https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvf24186/?rfs=iqvred
Known Affected Releases: (1)
15.2(4)E
Cold reboot doesn't help, I tried 2 times.
In the end, I just put the switch at the switch mode withholding the mode key front of the switch on the left before connecting the power supply for 30 seconds and I run these commands:
flash_init
load_helper
boot flash:/oldimage/oldimage.bin
Conf t
boot system flash:/oldimage/oldimage.bin
do wr
And I restored the switch with the old Image.
We might try upgrading to 15.2(4)E6 first and then to a new release?
Could you confirm?
Any other with the same issue?
Thank you in advance.
Best Regards.