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

Cannot Emergency-Install from USB

AJ Tech
Level 1
Level 1

Hello All,

First time posting.

I have a 9300 that is only a few months old. We originally put it in a stack and then did not need the extra space so we removed it.
The switch is now booting into Rommon with "switch: " prompt and will not boot packages.conf. It reloads twice then ends up back in Rommon.

Mode button is not factory resetting the device, I have tried booting to a downloaded ios.bin file and it appears to install but keeps the old configuration.

I have moved on to trying "emergency-install" however no matter the syntax I try I get "Emergency Install failed - bundle usbflash0:/C9300IOS.bin does not exist"
I have also tried the path without '/' and get the same error. "emergency-install usbflash0:C9300IOS.bin"

I confirm the file is there with "dir usbflash0:" and have been booting to the file with the "boot" command.
Does anybody have any ideas?

1 Accepted Solution

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

The file is case sensitive. 

Post the complete output to the following commands: 

dir flash:
dir usbflash0:
set

View solution in original post

5 Replies 5

Leo Laohoo
Hall of Fame
Hall of Fame

The file is case sensitive. 

Post the complete output to the following commands: 

dir flash:
dir usbflash0:
set

AJ Tech
Level 1
Level 1

Good Morning Leo,

Just got back to the switch this morning. Here are the outputs requested.

switch: dir flash:

Size Attributes Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2097152 -rw- nvram_config
2097152 -rw- nvram_config_bkup
14251016 -rw- cat9k-cc_srdriver.16.12.02.SPA.pkg
89023492 -rw- cat9k-espbase.16.12.02.SPA.pkg
1680388 -rw- cat9k-guestshell.16.12.02.SPA.pkg
532894720 -rw- cat9k-rpbase.16.12.02.SPA.pkg
31429636 -rw- cat9k-sipbase.16.12.02.SPA.pkg
60220416 -rw- cat9k-sipspa.16.12.02.SPA.pkg
22897668 -rw- cat9k-srdriver.16.12.02.SPA.pkg
12878848 -rw- cat9k-webui.16.12.02.SPA.pkg
9216 -rw- cat9k-wlc.16.12.02.SPA.pkg
6648 -rw- packages.conf
41782156 -rw- cat9k-rpboot.16.12.02.SPA.pkg
4096 drw- .installer
1591 -rw- bootloader_evt_handle.log
2506752 drw- core
4096 drw- .prst_sync
4096 drw- .rollback_timer
4096 drw- gs_script
4096 drw- tech_support
4096 drw- dc_profile_dir
4096 drw- sys_report
134458 -rw- memleak.tcl
2049 -rw- svl_ipc.tcl
0 -rw- NVRAM
4096 drw- .dbpersist
16089 -rw- rdope_out.txt
89 -rw- rdope.log
4096 drw- onep
0 -rw- dope_hist
35 -rw- pnp-tech-time
110681 -rw- pnp-tech-discovery-summary
5242880 -rw- ssd
4096 drw- Tbot
1224 -rw- vlan.dat
242 -rw- smart_overall_health.log
0 -rw- system-report_3_20220424-140036-PDT.tar
0 -rw- system-report_3_20220429-023805-PDT.tar
0 -rw- system-report_3_20220504-084715-PDT.tar
4096 drw- ss_disc
395 -rw- boothelper.log
4096 drw- .USWAP
4096 drw- .CRFT
4096 drw- .rommon_sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

switch: dir usbflash0:

Size Attributes Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4096 drw- System Volume Information
892195673 -rw- C9300IOS.bin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

switch: set
ABNORMAL_RESET_COUNT=4
AUTOREBOOT_RESTORE=1
BAUD=9600
BOARDID=24686
BOOT=flash:packages.conf;
BSI=-1
MAC_ADDR=AC:4A:67:F9:00:80
MANUAL_BOOT=yes
MODEL_NUM=C9300L-48PF-4X
MODEL_REVISION_NUM=A0
MOTHERBOARD_ASSEMBLY_NUM=73-20083-01
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=FOC24141ZCF
ROMMON_AUTOBOOT_ATTEMPT=3
STACK_1_1=1_2
SWITCH_IGNORE_STARTUP_CFG=1
SWITCH_NUMBER=3
SWITCH_PRIORITY=11
SYSTEM_SERIAL_NUM=FOC2417L7UE
TEMPLATE=access
VERSION_ID=V02

AJ Tech
Level 1
Level 1

Here is the output from an issued "boot"

switch: boot
boot: attempting to boot from [flash:packages.conf]
boot: reading file packages.conf
#
#########################################################################################################################################################################################################################################################################################################################################################################################################################


MM [0] MCU version 34 sw ver 41


MCU UPGRADE IN PROGRESS... PLEASE DO NOT POWER CYCLE!!

Front-end Microcode IMG MGR: found 2 microcode images for 1 device.
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_10_1 update needed: yes
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_10_3 update needed: no

Front-end Microcode IMG MGR: Preparing to program device microcode...
Front-end Microcode IMG MGR: Preparing to program device[0], index=0 ...85428 bytes.
Front-end Microcode IMG MGR: Programming app image for device 0...
MCU is in bootlader mode:Current App version 41

External MCU Reset
Front-end Microcode IMG MGR: MCU already in bootloader mode
0%!!!!!!!!!!!!!!!!
10%!!!!!!!!!!!!!!!
20%!!!!!!!!!!!!!!!
30%!!!!!!!!!!!!!!!
40%!!!!!!!!!!!!!!!!
50%!!!!!!!!!!!!!!!
60%!!!!!!!!!!!!!!!
70%!!!!!!!!!!!!!!!
80%!!!!!!!!!!!!!!!!
90%!!!!!!!!!!!!!!!
resetting MCU after download:Current bl version 107
Soft reset MCU via bl#
Front-end Microcode IMG MGR: Microcode programming complete for device 0.
Front-end Microcode IMG MGR: Preparing to program device[0], index=1 ...11044 bytes.... Skipped[1].
Front-end Microcode IMG MGR: Microcode programming complete in 74 seconds


MCU UPGRADE COMPLETED!!...
Both links down, not waiting for other switches
Switch number is 3

Chassis 3 reloading, reason - Active/standby selection failed in 1+1 Mode
Switch rebooted continuously for atleast 5 times. Disabling autoreboot
reload fp action requested
rp processes exit with reload switch code

 

Initializing Hardware...

System Bootstrap, Version 17.1.1r [FC1], RELEASE SOFTWARE (P)
Compiled Tue 08/20/2019 16:14:45.96 by rel

Current ROMMON image : Primary
Last reset cause : SoftwareReload
C9300L-48PF-4X platform with 8388608 Kbytes of main memory

AJ Tech
Level 1
Level 1

The "set" command gave me the information I needed. The switch was still in a 1+1 stack so issuing a "unset STACK_1_1" resolved the issue and I have made 2 clean boots into IOS now.

Appreciate you Leo.

 

MANUAL_BOOT=yes
SWITCH_IGNORE_STARTUP_CFG=1

 

These set variables are wrong (for normal switch operation).

WARNING:  Avoid using 16.12.X.

Use the latest 16.6.X but do avoid 16.12.X.