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

Flash read only cisco switch 3850

KendellGaja
Level 1
Level 1

Hi guys, my switch is I. Rommon mode and I have been trying to install a ios onto it. However, xmodem, flash, etc are read only. So I can't delete, rename or copy anything into flash. I tried booting from a usb but it keeps failing. Is there a way to change flash from read only to read write. Or alternative to get an ios uploaded into this switch. 

1 Accepted Solution

Accepted Solutions


@KendellGaja wrote:

Warning: Doppler SupMdio read failed!!


Contact Cisco TAC and organize for an RMA.  
This is a hardware failure.

View solution in original post

5 Replies 5

Leo Laohoo
Hall of Fame
Hall of Fame

Post the complete output to the ROMMON command: 

set

So I try to boot from usb and emergency install this is my results.

switch: boot usbflash0:cat3k_caa-universalk9.16.12.05b.SPA.bin
Reading full image into memory.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................done
Bundle Image
--------------------------------------
Kernel Address : 0x5379b6e4
Kernel Size : 0x438356/4424534
Initramfs Address : 0x53bd3a3a
Initramfs Size : 0x1ab68c1/28010689
Compression Format: mzip

Bootable image at @ ram:0x5379b6e4
Bootable image segment 0 address range [0x81100000, 0x81da5280] is in range [0x80180000, 0x90000000].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "usbflash0:cat3k_caa-universalk9.16.12.05b.SPA.bin" uncompressed and installed, entry point: 0x81895bf0
Loading Linux kernel with entry point 0x81895bf0 ...
Bootloader: Done loading app on core_mask: 0x3f

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

Linux version 4.9.187 (xelinux@sjc-xelinux3) (gcc version 5.3.0 (GCC) ) #1 SMP Wed Nov 4 12:00:14 PST 2020
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-196b8e7f94a0e8871bfaf1fe032a4609-new_cksum: (rp/0): 4
%IOSXEBOOT-196b8e7f94a0e8871bfaf1fe032a4609-saved_cksum: (rp/0): 4

Final tar file: mcu_ucode_bundle_6_2_0.tar
MM [1] MCU version 133 sw ver 103
MM [2] MCU version 133 sw ver 103
MM [3] MCU version 17 bl ver 16


Front-end Microcode IMG MGR: found 4 microcode images for 1 device.
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_0 update needed: no
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_1 update needed: yes
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_2 update needed: yes
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_3 update needed: yes

Front-end Microcode IMG MGR: Preparing to program device microcode...
Front-end Microcode IMG MGR: Preparing to program device[0], index=0 ...594412 bytes.... Skipped[0].
Front-end Microcode IMG MGR: Preparing to program device[0], index=1 ...411218 bytes.
Front-end Microcode IMG MGR: Programming device 0...rwRrrrrrrw..0%............................................................................10%............................................................................20%............................................................................30%............................................................................40%............................................................................50%............................................................................60%..............................................................................70%............................................................................80%............................................................................90%............................................................................100%
Front-end Microcode IMG MGR: Preparing to program device[0], index=2 ...25210 bytes.
Front-end Microcode IMG MGR: Programming device 0...rrrrrrw..0%....10%....20%......30%...40%......50%....60%......70%...80%......90%....100%
Front-end Microcode IMG MGR: Preparing to program device[0], index=3 ...90974 bytes.
Front-end Microcode IMG MGR: Programming device 0...rrrrrrw..0%................10%.................20%.................30%.................40%.................50%.................60%.................70%.................80%...............90%..................100%w

Front-end Microcode IMG MGR: Microcode programming complete in 289 seconds

% Front-end Microcode IMG MGR: HW image is upgraded. MCU reset causes the switch to reload

 

Booting...Warning: Doppler SupMdio read failed!!

Interface GE 0 link down***ERROR: PHY link is down
The "IP_ADDR" environment variable is not set.
file name too long

The system is unable to boot automatically. The
BOOT environment variable needs to be set to a
bootable image.

 

switch: emergency-install usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin
The bootflash will be erased during install operation, continue (y/n)?y
Starting emergency recovery (usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin)...
Reading full image into memory.......................done
Bundle Image
--------------------------------------
Kernel Address : 0x537785d4
Kernel Size : 0x3fb4ba/4175034
Initramfs Address : 0x53b73a90
Initramfs Size : 0xd48a11/13928977
Compression Format: .mzip

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

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

 

Initiating Emergency Installation of bundle usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin


Reading bundle usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin...

Validating bundle usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin...
Installing bundle usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin...
Verifying bundle usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin...
Package cat3k_caa-base.SPA.03.07.05E.pkg is Digitally Signed
Package cat3k_caa-drivers.SPA.03.07.05E.pkg is Digitally Signed
Package cat3k_caa-infra.SPA.03.07.05E.pkg is Digitally Signed
Package cat3k_caa-iosd-universalk9.SPA.152-3.E5.pkg is Digitally Signed
Package cat3k_caa-platform.SPA.03.07.05E.pkg is Digitally Signed
Package cat3k_caa-wcm.SPA.10.3.150.0.pkg is Digitally Signed
Preparing flash...
Syncing device...
./recovery: line 285: 1569 Segmentation fault $FLASHUTIL_EXEC_IGNORE_CASE --command setvar --name BOOT --value flash:packages.conf 2>&1
Emergency Install failed - unable to set BOOT var
Restarting system.

 

Booting...Warning: Doppler SupMdio read failed!!

Interface GE 0 link down***ERROR: PHY link is down
The "IP_ADDR" environment variable is not set.
file name too long

The system is unable to boot automatically. The
BOOT environment variable needs to be set to a
bootable image.

 

 

 

 

 

 

balaji.bandi
Hall of Fame
Hall of Fame

Why not use USB to Load the image as per the below Link :

 

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-3850-series-switches/117552-technote-cat3850-00.html

 

Make sure you capture all the console information and post it here in case if you have issue?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I did try booting it from a usb. even an emergency install 

 

 

switch: boot usbflash0:cat3k_caa-universalk9.16.12.05b.SPA.bin
Reading full image into memory.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................done
Bundle Image
--------------------------------------
Kernel Address : 0x5379b6e4
Kernel Size : 0x438356/4424534
Initramfs Address : 0x53bd3a3a
Initramfs Size : 0x1ab68c1/28010689
Compression Format: mzip

Bootable image at @ ram:0x5379b6e4
Bootable image segment 0 address range [0x81100000, 0x81da5280] is in range [0x80180000, 0x90000000].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "usbflash0:cat3k_caa-universalk9.16.12.05b.SPA.bin" uncompressed and installed, entry point: 0x81895bf0
Loading Linux kernel with entry point 0x81895bf0 ...
Bootloader: Done loading app on core_mask: 0x3f

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

Linux version 4.9.187 (xelinux@sjc-xelinux3) (gcc version 5.3.0 (GCC) ) #1 SMP Wed Nov 4 12:00:14 PST 2020
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-196b8e7f94a0e8871bfaf1fe032a4609-new_cksum: (rp/0): 4
%IOSXEBOOT-196b8e7f94a0e8871bfaf1fe032a4609-saved_cksum: (rp/0): 4

Final tar file: mcu_ucode_bundle_6_2_0.tar
MM [1] MCU version 133 sw ver 103
MM [2] MCU version 133 sw ver 103
MM [3] MCU version 17 bl ver 16


Front-end Microcode IMG MGR: found 4 microcode images for 1 device.
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_0 update needed: no
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_1 update needed: yes
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_2 update needed: yes
Image for front-end 0: /tmp/microcode_update/front_end/fe_type_6_3 update needed: yes

Front-end Microcode IMG MGR: Preparing to program device microcode...
Front-end Microcode IMG MGR: Preparing to program device[0], index=0 ...594412 bytes.... Skipped[0].
Front-end Microcode IMG MGR: Preparing to program device[0], index=1 ...411218 bytes.
Front-end Microcode IMG MGR: Programming device 0...rwRrrrrrrw..0%............................................................................10%............................................................................20%............................................................................30%............................................................................40%............................................................................50%............................................................................60%..............................................................................70%............................................................................80%............................................................................90%............................................................................100%
Front-end Microcode IMG MGR: Preparing to program device[0], index=2 ...25210 bytes.
Front-end Microcode IMG MGR: Programming device 0...rrrrrrw..0%....10%....20%......30%...40%......50%....60%......70%...80%......90%....100%
Front-end Microcode IMG MGR: Preparing to program device[0], index=3 ...90974 bytes.
Front-end Microcode IMG MGR: Programming device 0...rrrrrrw..0%................10%.................20%.................30%.................40%.................50%.................60%.................70%.................80%...............90%..................100%w

Front-end Microcode IMG MGR: Microcode programming complete in 289 seconds

% Front-end Microcode IMG MGR: HW image is upgraded. MCU reset causes the switch to reload

 

Booting...Warning: Doppler SupMdio read failed!!

Interface GE 0 link down***ERROR: PHY link is down
The "IP_ADDR" environment variable is not set.
file name too long

The system is unable to boot automatically. The
BOOT environment variable needs to be set to a
bootable image.

 

switch: emergency-install usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin
The bootflash will be erased during install operation, continue (y/n)?y
Starting emergency recovery (usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin)...
Reading full image into memory.......................done
Bundle Image
--------------------------------------
Kernel Address : 0x537785d4
Kernel Size : 0x3fb4ba/4175034
Initramfs Address : 0x53b73a90
Initramfs Size : 0xd48a11/13928977
Compression Format: .mzip

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

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

 

Initiating Emergency Installation of bundle usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin


Reading bundle usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin...

Validating bundle usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin...
Installing bundle usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin...
Verifying bundle usbflash0:cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin...
Package cat3k_caa-base.SPA.03.07.05E.pkg is Digitally Signed
Package cat3k_caa-drivers.SPA.03.07.05E.pkg is Digitally Signed
Package cat3k_caa-infra.SPA.03.07.05E.pkg is Digitally Signed
Package cat3k_caa-iosd-universalk9.SPA.152-3.E5.pkg is Digitally Signed
Package cat3k_caa-platform.SPA.03.07.05E.pkg is Digitally Signed
Package cat3k_caa-wcm.SPA.10.3.150.0.pkg is Digitally Signed
Preparing flash...
Syncing device...
./recovery: line 285: 1569 Segmentation fault $FLASHUTIL_EXEC_IGNORE_CASE --command setvar --name BOOT --value flash:packages.conf 2>&1
Emergency Install failed - unable to set BOOT var
Restarting system.

 

Booting...Warning: Doppler SupMdio read failed!!

Interface GE 0 link down***ERROR: PHY link is down
The "IP_ADDR" environment variable is not set.
file name too long

The system is unable to boot automatically. The
BOOT environment variable needs to be set to a
bootable image.

 

 

 

 

 

 


@KendellGaja wrote:

Warning: Doppler SupMdio read failed!!


Contact Cisco TAC and organize for an RMA.  
This is a hardware failure.