02-04-2019 02:30 AM - edited 03-08-2019 05:13 PM
Hi guys \
Im studying for a ccna cert and a friend gave me a 2960x switch but I am currently coming across this issue. My 2960x kept going through post every 5 to 10 minutes so i decide to upgrade the ios. after i upgraded it got stuck on the SWITCH: prompt. I could not fix it via tftp so i decided to use an usb flash drive. therefore I was able to upgrade the ios and get it working. but now im getting 2 problems 1 is that once i reboot the switch it goes back into switch: prompt. the other one is that eventually i will get this message. I apologize in advance for the long post.
The system is unable to boot automatically. The BOOT
environment variable needs to be set to a bootable
image.
Any ideas or advice will be greatly appreciated.
The system is unable to boot automatically. The BOOT
environment variable needs to be set to a bootable
08:46 UTC Fri Feb 22 2019: Unexpected exception to CPUvector 200, PC = 1020
-Traceback= 0x1020z 0x3386B98z 0x336B420z 0x33625C4z 0x336256Cz 0x336B6A4z 0x336BE84z 0 x3362674z 0x3AF2A98z
CPU rev: B
Image passed digital signature verification
Board rev: 18
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: 3c:5e:c3:2a:f0:00
The password-recovery mechanism is enabled.
APM USBUSB 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 : 834560
mifs[5]: Bytes available : 971776
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]: 1234 files, 21 directories
mifs[9]: Total bytes : 122185728
mifs[9]: Bytes used : 109348352
mifs[9]: Bytes available : 12837376
mifs[9]: mifs fsck took 88 seconds.
...done Initializing Flash.
Loading "flashc2960x-universalk9-mz.152-6.E2.bin"...
Error loading "flashc2960x-universalk9-mz.152-6.E2.bin"
Interrupt within 5 seconds to abort boot process.
Loading "flash:/c2960x-universalk9-mz.152-6.E2.bin"...Verifying image flash:/c2960x-universal.............Err: bytes_copied: 0x525800, file size: 0x525600
Error loading "flash:/c2960x-universalk9-mz.152-6.E2.bin"
Interrupt within 5 seconds to abort boot process.
Boot process failed...
The system is unable to boot automatically. The BOOT
environment variable needs to be set to a bootable
image.
switch: boot usbflash0:c2960x-universalk9-mz.152-6.E2.bin
Loading "usbflash0:c2960x-universalk9-mz.152-6.E2.bin"...Verifying image usbflash0:c2960x-uni.......................................................................................................................................................................................... signature verification
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "usbflash0:c2960x-universalk9-mz.152-6.E2.bin" uncompressed and installed, entry point:
executing...
Restricted Rights Legend
Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(6)E2, RELEASE SOFTWA
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Thu 13-Sep-18 03:43 by prod_rel_team
Initializing flashfs...
Using driver version 4 for media type 1
mifs[7]: 12 files, 1 directories
mifs[7]: Total bytes : 1806336
mifs[7]: Bytes used : 834560
mifs[7]: Bytes available : 971776
mifs[7]: mifs fsck took 0 seconds.
mifs[7]: Initialization complete.
mifs[8]: 1 files, 1 directories
mifs[8]: Total bytes : 3870720
mifs[8]: Bytes used : 971264
mifs[8]: Bytes available : 2899456
mifs[8]: mifs fsck took 0 seconds.
mifs[8]: Initialization complete.
mifs[9]: 5 files, 1 directories
mifs[9]: Total bytes : 258048
mifs[9]: Bytes used : 8192
mifs[9]: Bytes available : 249856
mifs[9]: mifs fsck took 0 seconds.
mifs[9]: Initialization complete.
mifs[10]: 5 files, 1 directories
mifs[10]: Total bytes : 258048
mifs[10]: Bytes used : 8192
mifs[10]: Bytes available : 249856
mifs[10]: mifs fsck took 0 seconds.
mifs[10]: Initialization complete.
mifs[11]: 1234 files, 21 directories
mifs[11]: Total bytes : 122185728
mifs[11]: Bytes used : 109348352
mifs[11]: Bytes available : 12837376
mifs[11]: mifs fsck took 2 seconds.
mifs[11]: Initialization complete.
...done Initializing flashfs.
Checking for Bootloader upgrade..
Boot Loader upgrade not needed(v)
FIPS: Flash Key Check : Begin
FIPS: Flash Key Check : End, Not Found, FIPS Mode Not Enabled
extracting front_end/front_end_ucode_info (43 bytes)
POST: MA BIST : Begin
POST: MA BIST : End, Status Passed
POST: TCAM BIST : Begin
POST: TCAM BIST : End, Status Passed
POST: ACT2 Authentication : Begin
POST: ACT2 Authentication : End, Status Passed
Waiting for Stack Master Election...
POST: Thermal, Fan Tests : Begin
POST: Thermal, Fan Tests : End, Status Passed
POST: PortASIC Stack Port Loopback Tests : Begin
POST: PortASIC Stack Port Loopback Tests : End, Status Passed
POST: PortASIC Port Loopback Tests : Begin
POST: PortASIC Port Loopback Tests : End, Status Passed
POST: EMAC Loopback Tests : Begin
POST: EMAC Loopback Tests : MAC Loopback Passed
POST: EMAC Loopback Tests : PHY Loopback Passed
POST: EMAC Loopback Tests : End, Status Passed
Election Complete
Switch 1 booting as Master
Waiting for Port download...Complete
Initializing Port Extension Feature Support...
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C2960X-24PS-L (APM86XXX) processor (revision F0) with 524288K bytes of memory.
Processor board ID FCW1850A5CS
Last reset from power-on
1 Virtual Ethernet interface
1 FastEthernet interface
28 Gigabit Ethernet interfaces
2 Ten Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 3C:5E:C3:2A:F0:00
Motherboard assembly number : 73-15972-02
Power supply part number : 341-0528-01
Motherboard serial number : FOC1849961M
Power supply serial number : LIT18470ZUB
Model revision number : F0
Motherboard revision number : C0
Model number : WS-C2960X-24PS-L
Daughterboard assembly number : 73-14200-03
Daughterboard serial number : FOC185086SU
System serial number : FCW1850A5CS
Top Assembly Part Number : 800-41469-01
Top Assembly Revision Number : C0
Version ID : V02
CLEI Code Number : CMMLR00ARB
Daughterboard revision number : A0
Hardware Board Revision Number : 0x12
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 30 WS-C2960X-24PS-L 15.2(6)E2 C2960X-UNIVERSALK9-M
Press RETURN to get started!
*Mar 1 00:01:05.654: Read env variable - LICENSE_BOOT_LEVEL =
*Jan 2 00:00:00.150: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = c2960x_la
Feb 22 00:43:05.120: in Switch 0. Cannot read pid from Flexstack module
Feb 22 00:43:44.917: %STACKMGR-4-SWITCH_ADDED: Switch 1 has been ADDED to the stack
Feb 22 00:43:46.437: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to
Feb 22 00:43:46.437: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed s
Feb 22 00:43:51.418: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
Feb 22 00:43:54.344: %USB_HOST_STACK-6-USB_FLASH_READY_TEST_TIME: USB flash 'Ready' test time
Feb 22 00:43:54.344: %USB_HOST_STACK-3-USB_FLASH_READY_TEST_FAILED: USB flash failed to pass
Feb 22 00:43:54.347: %USBFLASH-3-DEVSTARTSTOP: usbflash0 MSCD_StartStop failure in usbflash_m
Feb 22 00:43:54.347: %USBFLASH-5-CHANGE: usbflash0 has been removed!
Feb 22 00:44:14.448: %USB_HOST_STACK-5-USB_ENUM_FAIL_GETDESCR: Failed to enumerate a USB devi
Feb 22 00:44:18.052: %SYS-5-CONFIG_I: Configured from memory by console
Feb 22 00:44:18.195: %STACKMGR-5-SWITCH_READY: Switch 1 is READY
Feb 22 00:44:18.195: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 1 Switch 1 has changed to stat
Feb 22 00:44:18.195: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 2 Switch 1 has changed to stat
Feb 22 00:44:19.454: %STACKMGR-5-MASTER_READY: Master Switch 1 is READY
Feb 22 00:44:19.604: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(6)E2, RELEASE SOFTWA
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Thu 13-Sep-18 03:43 by prod_rel_team
Feb 22 00:44:19.702: %SSH-5-ENABLED: SSH 1.99 has been enabled
Feb 22 00:44:21.359: %USB_CONSOLE-6-MEDIA_RJ45: Console media-type is RJ45.
Feb 22 00:44:21.593: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to down
Feb 22 00:44:22.592: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed s
Feb 22 00:44:24.717: %PNP-6-PNP_DISCOVERY_STOPPED: PnP Discovery stopped (Startup Config Pres
Feb 22 00:44:35.186: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/1, changed state to up
Feb 22 00:44:36.185: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/1, ch
Feb 22 00:45:03.200: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to
Switch>en
Switch#dir flash:
Directory of flash:/
2 -rwx 3680 Aug 18 2016 07:10:42 +00:00 private-config.text.renamed
3 -rwx 1336 Jun 21 2016 12:40:55 +00:00 vlan.dat.renamed
4 drwx 44544 Sep 10 2015 15:25:43 +00:00 crashinfo_ext
609 -rwx 1438 Nov 6 2019 20:04:40 +00:00 a00563sw07.txt
610 -rwx 6789 Aug 18 2016 07:10:37 +00:00 config.text.renamed
611 -rwx 366 Dec 7 2016 03:14:16 +00:00 express_setup.debug
612 drwx 512 Feb 22 2019 00:47:46 +00:00 c2960x-universalk9-mz.150-2.EX5
1250 drwx 512 Dec 14 2014 01:57:05 +00:00 dc_profile_dir
1252 -rwx 3096 Feb 22 2019 01:04:20 +00:00 multiple-fs
1253 -rwx 5395968 Feb 22 2019 00:48:24 +00:00 c2960x-universalk9-mz.152-6.E2.bi n
1254 -rwx 1932 Feb 22 2019 01:04:19 +00:00 config.text
1255 -rwx 1918 Feb 22 2019 01:04:19 +00:00 private-config.text
122185728 bytes total (12837376 bytes free)
Switch#
00:52:29 UTC Fri Feb 22 2019: Unexpected exception to CPUvector 200, PC = 1020
-Traceback= 0x1020z 0x3386B98z 0x336B420z 0x33625C4z 0x336256Cz 0x336B6A4z 0x336BE84z 0x3362674z 0x3AF28B8z
02-04-2019 02:35 AM
Hi
can you post below commands please
dir flash:
show boot
sh run | i boot
02-04-2019 03:24 PM
Switch>en
Switch#en
Switch#dir flash:
Directory of flash:/
2 -rwx 3680 Aug 18 2016 07:10:42 +00:00 private-config.text.renamed
3 -rwx 1336 Jun 21 2016 12:40:55 +00:00 vlan.dat.renamed
4 drwx 44544 Sep 10 2015 15:25:43 +00:00 crashinfo_ext
609 -rwx 1438 Nov 6 2019 20:04:40 +00:00 a00563sw07.txt
610 -rwx 6789 Aug 18 2016 07:10:37 +00:00 config.text.renamed
611 -rwx 366 Dec 7 2016 03:14:16 +00:00 express_setup.debug
612 drwx 512 Feb 22 2019 00:47:46 +00:00 c2960x-universalk9-mz.150-2.EX5
1250 drwx 512 Dec 14 2014 01:57:05 +00:00 dc_profile_dir
1252 -rwx 3096 Feb 22 2019 01:04:20 +00:00 multiple-fs
1253 -rwx 5395968 Feb 22 2019 00:48:24 +00:00 c2960x-universalk9-mz.152-6.E2.bin
1254 -rwx 1932 Feb 22 2019 01:04:19 +00:00 config.text
1255 -rwx 1918 Feb 22 2019 01:04:19 +00:00 private-config.text
122185728 bytes total (12837376 bytes free)
Switch#show boot
BOOT path-list : flashc2960x-universalk9-mz.152-6.E2.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 :
Boot optimization : disabled
NVRAM/Config file
buffer size: 524288
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)
Switch#sh run | i boot
boot-start-marker
boot-end-marker
Switch#
02-04-2019 02:36 AM
Hi there,
You have the correct .bin file in the flash, but according to the output of dir, you have a space between the 'i' and the 'n' of .bin.
Try the following command:
copy flash:c2960x-universalk9-mz.152-6.E2.b* flash:c2960x-universalk9-mz.152-6.E2.bin
cheers,
Seb.
02-04-2019 03:26 PM
so i imput the commands that Seb asked me to input and theis is what i got 5 minutes after the same error came up.
Switch>en
Switch#en
Switch#dir flash:
Directory of flash:/
2 -rwx 3680 Aug 18 2016 07:10:42 +00:00 private-config.text.renamed
3 -rwx 1336 Jun 21 2016 12:40:55 +00:00 vlan.dat.renamed
4 drwx 44544 Sep 10 2015 15:25:43 +00:00 crashinfo_ext
609 -rwx 1438 Nov 6 2019 20:04:40 +00:00 a00563sw07.txt
610 -rwx 6789 Aug 18 2016 07:10:37 +00:00 config.text.renamed
611 -rwx 366 Dec 7 2016 03:14:16 +00:00 express_setup.debug
612 drwx 512 Feb 22 2019 00:47:46 +00:00 c2960x-universalk9-mz.150-2.EX5
1250 drwx 512 Dec 14 2014 01:57:05 +00:00 dc_profile_dir
1252 -rwx 3096 Feb 22 2019 01:04:20 +00:00 multiple-fs
1253 -rwx 5395968 Feb 22 2019 00:48:24 +00:00 c2960x-universalk9-mz.152-6.E2.bin
1254 -rwx 1932 Feb 22 2019 01:04:19 +00:00 config.text
1255 -rwx 1918 Feb 22 2019 01:04:19 +00:00 private-config.text
122185728 bytes total (12837376 bytes free)
Switch#show boot
BOOT path-list : flashc2960x-universalk9-mz.152-6.E2.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 :
Boot optimization : disabled
NVRAM/Config file
buffer size: 524288
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)
Switch#sh run | i boot
boot-start-marker
boot-end-marker
Switch#
Switch#
00:54:30 UTC Fri Feb 22 2019: Unexpected exception to CPUvector 200, PC = 1020
-Traceback= 0x1020z 0x3386B98z 0x336B420z 0x33625C4z 0x336256Cz 0x336B6A4z 0x336BE84z 0x3362674z 0x3AF2AD8z
02-04-2019 04:02 PM
Traceback messages are a sign of software bug and crashes. Upgrade to a different version that is recommended by Cisco.
HTH
02-04-2019 05:18 PM
Here is the suggested version
c2960x-universalk9-mz.152-4.E7.bin |
HTH
02-04-2019 05:59 PM
thank you for that. now i am using the correct ios.
but it is still freezing and giving me the same error traceroute.
wheni rebooted it went back to switch: prompt and it doesnt let me tftp so i have to use a usb flash to reload the image. then once im back on switch# i try to tftp and it fails again.
Switch#sh ver
Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(4)E7, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Tue 18-Sep-18 13:07 by prod_rel_team
ROM: Bootstrap program is C2960X boot loader
BOOTLDR: C2960X Boot Loader (C2960X-HBOOT-M) Version 15.2(6r)E, RELEASE SOFTWARE (fc1)
Switch uptime is 2 minutes
System returned to ROM by power-on
System restarted at 00:40:50 UTC Fri Feb 22 2019
System image file is "usbflash0:c2960x-universalk9-mz.152-4.E7.bin"
Last reload reason: power-on
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C2960X-24PS-L (APM86XXX) processor (revision F0) with 524288K bytes of memory.
Processor board ID FCW1850A5CS
Last reset from power-on
1 Virtual Ethernet interface
1 FastEthernet interface
28 Gigabit Ethernet interfaces
The password-recovery mechanism is enable
Switch#
Switch#
Switch#
00:47:45 UTC Fri Feb 22 2019: Unexpected exception to CPUvector 200, PC = 1020
-Traceback= 0x1020z 0x2F291E0z 0x2F0DAECz 0x2F04D2Cz 0x2F04CD4z 0x2F0DD70z 0x2F0E550z 0x2F04DDCz 0x2F0FAACz 0x2F0FA84z 0x2F106ECz 0x2F108E8z 0x2F1094Cz 0x3010AECz 0x3010D58z 0x3016AB0z
now its going through post again
Switch uptime is 7 minutes, 35 seconds
cisco WS-C2960X-24PS-L (APM86XXX) processor (revision F0) with 524288K bytes of memory.
Processor board ID FCW1850A5CS
CPU rev: B
Image passed digital signature verification
Board rev: 18
Testing DataBus...
Testing AddressBus...
Testing Memory from 0x00000000 to 0x1fffffff.../
02-04-2019 11:27 PM
Did you manage to copy the image to flash? With the correct file extension? The console output shows you are still loading the switch with the usbflash0 image.
Once you have copied the image to flash, change the boot variable:
no boot system
boot system flash:c2960x-universalk9-mz.152-4.E7.bin
wr mem
reload
Does the switch now by-pass ROMMON (the switch: prompt) and boot the IOS image without user intervention?
Please share the boot up output.
cheers,
Seb.
02-04-2019 03:27 PM
so i imput the commands that Seb asked me to input and theis is what i got 5 minutes after the same error came up.
Switch>en
Switch#en
Switch#dir flash:
Directory of flash:/
2 -rwx 3680 Aug 18 2016 07:10:42 +00:00 private-config.text.renamed
3 -rwx 1336 Jun 21 2016 12:40:55 +00:00 vlan.dat.renamed
4 drwx 44544 Sep 10 2015 15:25:43 +00:00 crashinfo_ext
609 -rwx 1438 Nov 6 2019 20:04:40 +00:00 a00563sw07.txt
610 -rwx 6789 Aug 18 2016 07:10:37 +00:00 config.text.renamed
611 -rwx 366 Dec 7 2016 03:14:16 +00:00 express_setup.debug
612 drwx 512 Feb 22 2019 00:47:46 +00:00 c2960x-universalk9-mz.150-2.EX5
1250 drwx 512 Dec 14 2014 01:57:05 +00:00 dc_profile_dir
1252 -rwx 3096 Feb 22 2019 01:04:20 +00:00 multiple-fs
1253 -rwx 5395968 Feb 22 2019 00:48:24 +00:00 c2960x-universalk9-mz.152-6.E2.bin
1254 -rwx 1932 Feb 22 2019 01:04:19 +00:00 config.text
1255 -rwx 1918 Feb 22 2019 01:04:19 +00:00 private-config.text
122185728 bytes total (12837376 bytes free)
Switch#show boot
BOOT path-list : flashc2960x-universalk9-mz.152-6.E2.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 :
Boot optimization : disabled
NVRAM/Config file
buffer size: 524288
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)
Switch#sh run | i boot
boot-start-marker
boot-end-marker
Switch#
Switch#
00:54:30 UTC Fri Feb 22 2019: Unexpected exception to CPUvector 200, PC = 1020
-Traceback= 0x1020z 0x3386B98z 0x336B420z 0x33625C4z 0x336256Cz 0x336B6A4z 0x336BE84z 0x3362674z 0x3AF2AD8z
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