cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2761
Views
4
Helpful
25
Replies

Switch 3650 boot in bundle mode, need to convert in install mode

razeev rohilla
Level 1
Level 1

Switch boot in bundle mode. Please advice to boot in classic ios mode. it showing only

.pkg

files in flash.

switch: dir flash:
Directory of flash:/

46465 drwx 4096 .
2 drwx 4096 ..
46466 -rw- 83293932 cat3k_caa-base.SPA.03.06.06E.pkg
46467 -rw- 3982012 cat3k_caa-drivers.SPA.03.06.06E.pkg
46468 -rw- 33788908 cat3k_caa-infra.SPA.03.06.06E.pkg
46469 -rw- 43074880 cat3k_caa-iosd-universalk9.SPA.152-2.E6.pkg
46470 -rw- 28394380 cat3k_caa-platform.SPA.03.06.06E.pkg
46471 -rw- 111233856 cat3k_caa-wcm.SPA.10.2.160.0.pkg
46472 -rw- 1236 packages.conf
77441 drwx 4096 dc_profile_dir
46473 -rw- 2097152 nvram_config
46474 -rw- 1576 vlan.dat

1313103872 bytes available (334790656 bytes used)

switch: del flash:config.text
Are you sure you want to delete "flash:config.text" (y/n)?y
File "flash:config.text" not deleted -- read only file system

switch: del flash:vlan.dat
Are you sure you want to delete "flash:vlan.dat" (y/n)?y
File "flash:vlan.dat" not deleted -- read only file system

switch: boot

Getting rest of image
Reading full image into memory...Check base package header ...: done = 16384
Getting rest of image
Reading full image into memory....done
Reading full base package into memory...: done = 83293932
Bundle Image
--------------------------------------
Kernel Address : 0x5343234c
Kernel Size : 0x41852f/4293935
Initramfs Address : 0x5384a87c
Initramfs Size : 0xe7766d/15169133
Compression Format: .mzip

Bootable image at @ ram:0x5343234c
Bootable image segment 0 address range [0x81100000, 0x82140000] is in range [0x80180000, 0x90000000].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@boot_system: 377
Loading Linux kernel with entry point 0x8166a600 ...
Bootloader: Done loading app on core_mask: 0xf

### Launching Linux Kernel (flags = 0x5)

All packages are Digitally Signed
Starting System Services

 


FIPS(NGWC): Flash Key Check : Begin
FIPS(NGWC): Flash Key Check : End, Not Found, FIPS Mode Not Enabled
MCU type = 2 and image name is main_mcu_ucode_bundle_8_1_0.tar
Final tar file: main_mcu_ucode_bundle_8_1_0.tar


Front-end Microcode IMG MGR: found 1 microcode images for 1 device.
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_8_1

Front-end Microcode IMG MGR: Preparing to program device microcode...
Front-end Microcode IMG MGR: Preparing to program device[0]...83664 bytes.
Front-end Microcode IMG MGR: Programming device 0...
% Front-end Microcode IMG MGR: address 0, Could not enable sys_poll


% Front-end Microcode IMG MGR: unable to program device: 0
% Front-end Microcode IMG MGR: malformed microcode cache
Jun 17 09:52:21 %PLATFORM_MGR-1-PLATMGR_INIT_FAIL: Platform ManaJun 17 09:52:21 %IOSXE-3-PLATFORM: process sysmgr: Service [platform_mgr] pid:[6027] terminated abnormally [6].
Jun 17 09:52:21 %STACKMGR-1-RELOAD: Reloading due to reason
Jun 17 09:52:22 %IOSXE-2-PLATFORM: process ng_dumper: Process platform_mgr: terminated abnormally.
Jun 17 09:52:23 %IOSXE-2-PLATFORM: process platform_mgr: ===================== Exception Data ====================
Jun 17 09:52:23 %IOSXE-2-PLATFORM: process platform_mgr: Exception in 'platform_mgr' with Signal=SIGABRT(6)
Jun 17 09:52:23 %IOSXE-2-PLATFORM: process platform_mgr: Frame Pointer=0x7F7ED420, Program Counter=0x2C5E33B0
Jun 17 09:52:23 %IOSXE-2-PLATFORM: process platform_mgr: Thread ID=6027: -Traceback= 1#488249e9d04d3bc04e066fb31efe7654 pthread:2C5D1000+123B0
Jun 17 09:52:23 %IOSXE-2-PLATFORM: process platform_mgr:

<Sat Jun 17 09:52:21 2023> Message from sysmgr: Reason Code:[2] Reset Reason:Service [platform_mgr] pid:[6027] terminated abnormally [6].
Service: platform_mgr
Description: 3K Platform Manager
Executable: /tmp/sw/mount/cat3k_caa-platform.SPA.03.06.06E.pkg//usr/binos/bin/platform_mgr

Started at Sat Jun 17 09:51:15 2023 (400956 us)
Stopped at Sat Jun 17 09:52:21 2023 (943159 us)
Uptime: 1 minutes 6 seconds

Start type: SRV_OPTION_RESTART_STATELESS (23)
Death reason: SYSMGR_DEATH_REASON_FAILURE_SIGNAL (2)
Last heartbeat 0.00 secs ago

PID: 6027
Exit code: signal 6

CWD: /var/sysmgr/work


PID: 6027
UUID: 3008
Unmounting ng3k filesystems...
Unmounted /dev/sda3...
Warning! - some ng3k filesystems may not have unmounted cleanly...
Please stand by while rebooting the system...
Restarting system.

 

25 Replies 25

In ROMMON, the command is

emergency-install usbflash0:IOS_filename.bin

razeev rohilla
Level 1
Level 1

usb not supported. please tell me how can i format pendrive from switch in rommon mode.

switch: format usbflash0:


Format of filesystem

usbflash0:

not supported!

Format is only used in the flash.  Cannot use it anywhere else.

razeev rohilla
Level 1
Level 1

so what method i used to do ios installation. because if i go for

tftp/xmodem 

installation lan port not blinking in switch when lan cable connected to laptop. laptop lan is ok tested.

Please READ.

razeev rohilla
Level 1
Level 1

not understand, that's why i am seeking help here.

Leo Laohoo
Hall of Fame
Hall of Fame

Put the firmware in a USB and then use the command

emergency-install usbflash0:filename.bin

razeev rohilla
Level 1
Level 1

Hi Leo,

after running emergency install command. it produce some unexpected errors. and return to previous stage. below is the outcome.

switch: emergency-install sbflash0:cat3k_caa-universalk9.16.12.08.SPA.bin
nknown cmd: emergency-installusbflash0:cat3k_caa-universalk9.16.12.08.SPA.bin

switch:

switch:

switch:

switch: emergency-install usbflash0:cat3k_caa-universalk9.16.12.08.SPA.bin
Unknown cmd: emergency-install

switch: emergency-install
usage: emergency-install url://<url>

switch: dir usbflash0:
Directory of usbflash0:/

4 -rw- 480570202 cat3k_caa-universalk9.16.12.08.SPA.bin

30286659584 bytes available (480641024 bytes used)

switch: emergency-install usbflash0:cat3k_caa-universalk9.16.12.08.SPA.bin
The bootflash will be erased during install operation, continue (y/n)?y
Starting emergency recovery (usbflash0:cat3k_caa-universalk9.16.12.08.SPA.bin)...
Reading full image into memory.......................done
Bundle Image
--------------------------------------
Kernel Address : 0x537995d4
Kernel Size : 0x41852f/4293935
Initramfs Address : 0x53bb1b04
Initramfs Size : 0xe77ac6/15170246
Compression Format: .mzip

Bootable image at @ ram:0x537995d4
Bootable image segment 0 address range [0x81100000, 0x82140000] is in range [0x80180000, 0x90000000].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "sda9:cat3k_caa-recovery.bin" uncompressed and installed, entry point: 0x8166a600
Loading Linux kernel with entry point 0x8166a600 ...
Bootloader: Done loading app on core_mask: 0xf

### Launching Linux Kernel (flags = 0x5)




Initiating Emergency Installation of bundle usbflash0:cat3k_caa-universalk9.16.12.08.SPA.bin


Reading bundle usbflash0:cat3k_caa-universalk9.16.12.08.SPA.bin...

Validating bundle usbflash0:cat3k_caa-universalk9.16.12.08.SPA.bin...
Installing bundle usbflash0:cat3k_caa-universalk9.16.12.08.SPA.bin...
Verifying bundle usbflash0:cat3k_caa-universalk9.16.12.08.SPA.bin...
Package cat3k_caa-guestshell.16.12.08.SPA.pkg is Digitally Signed
Package cat3k_caa-rpbase.16.12.08.SPA.pkg is Digitally Signed
Package cat3k_caa-rpcore.16.12.08.SPA.pkg is Digitally Signed
Package cat3k_caa-srdriver.16.12.08.SPA.pkg is Digitally Signed
Package cat3k_caa-webui.16.12.08.SPA.pkg is Digitally Signed
Preparing flash...
Syncing device...
Emergency Install successful... Rebooting
Restarting system.




Booting...
Interface GE 0 link down***ERROR: PHY link is down
The "IP_ADDR" environment variable is not set.

Getting rest of image
Reading full image into memory...Check base package header ...: done = 16384
Getting rest of image
Reading full image into memory....done
Reading full base package into memory...: done = 32791733
Bundle Image
--------------------------------------
Kernel Address : 0x537793c4
Kernel Size : 0x4381df/4424159
Initramfs Address : 0x53bb15a3
Initramfs Size : 0x1ab4f12/28004114
Compression Format: mzip

Bootable image at @ ram:0x537793c4
Bootable image segment 0 address range [0x81100000, 0x81da5280] is in range [0x80180000, 0x90000000].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@boot_system: 623
Loading Linux kernel with entry point 0x81895bf0 ...
Bootloader: Done loading app on core_mask: 0xf

### Launching Linux Kernel (flags = 0x5)

Linux version 4.9.187 (sumikum7@sjc-ads-5670) (gcc version 5.3.0 (GCC) ) #1 SMP Fri Nov 19 03:09:46 PST 2021
CVMSEG size: 2 cache lines (256 bytes)
Cavium Inc. SDK-5.1.0
bootconsole [early0] enabled
CPU0 revision is: 000d900a (Cavium Octeon II)
Checking for the multiply/shift bug... no.
Checking for the daddiu bug... no.
%IOSXEBOOT-a5d0a45363676f12d25f956ac5d347ad-new_cksum: (rp/0): 4
%IOSXEBOOT-a5d0a45363676f12d25f956ac5d347ad-saved_cksum: (rp/0): 4
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0
i2c-octeon 1180000001200.i2c: unhandled state: 0

RMA the switch.

razeev rohilla
Level 1
Level 1

Hi Leo,

Thanks much for you precious help. I will do that.

I get to learn a lot from you. Thanks again.

marce1000
VIP
VIP

 

             - FYI : https://bst.cloudapps.cisco.com/bugsearch/bug/CSCva30394

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
Review Cisco Networking for a $25 gift card