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

IE3000 no Secondary Bootloader

rataglok
Level 1
Level 1

Hello everyone,
I've got an Cisco IE3000 Switch, which refuses to boot.

The starting point was the following: The switch starts and is stuck in the primary bootloader, like in the following thred.
IE3000 sw cannot load boot image - Cisco Community
The only difference for me was, that in the 'bs1:' directory there was no file.

So I tried to boot the firmware image with xmodem, which started and showed the following error regarding the Bootloader upgrade.

 

 

 

...done Initializing flashfs.
Checking for Bootloader upgrade..
Upgrading Boot Loader...
Error: Bootloader not upgraded. Cannot open exisiting boot loader  bs1:ies-hboot1-m (No such file or directory)Error: bootloader BS1 upgrade failed.
Boot Upgrade image auto-rebooting ...
done.
The system will now restart

 

 

 

 Now I took the bs1:ies-hboot1-m from a working IE3000 and booted it via xmodem and was able to get into the second stage bootloader and initialize the flash file system. From there on I have booted the switch successfuly.

After that I wanted to write the ies-hboot1-m back to bs1: but bs1 is a read only file system.

So I googled and tried stuff to get it back like installing the firmware again, but no success. After an update it wouldnt update because I used the current bootloader with xmodem.

So is there a way to get the bootloader back into bs1 or fix the switch an other way?

1 Accepted Solution

Accepted Solutions

Jitendra Kumar
Spotlight
Spotlight

Seems you are falling in the below article Situation.

https://www.cisco.com/c/en/us/support/docs/field-notices/637/fn63747.html

You should have to raise a Tac ticket or ask for RMA.

Thanks,
Jitendra

View solution in original post

9 Replies 9

Leo Laohoo
Hall of Fame
Hall of Fame

I need to know the exact model of the switch.  

Hello Leo, thanks for your reply. The model number/PID of the Switch is ' IE-3000-8TC V02 '.

Can you post the complete output to the ROMMON command "set"?

Here is the output of the "set" command: 

primary boot loader
switch: set
BAUD=115200

I have tried to set the BOOT_B0 and other parameters like on a working switch, but this didnt help.
Here are also the output of the directorys:

switch: dir

List of filesystems currently registered:

                  bs[0]: (read-only)
                 bs1[2]: (read-only)
              xmodem[6]: (read-only)
                null[7]: (read-write)


primary boot loader
switch: dir bs1:
Directory of bs1:/


257024 bytes available (1024 bytes used)

primary boot loader

I have a strange feeling someone is pulling a prank and have, deliberately, configured the boot variable to 0x2000. 

Can I see the complete output to the following commands: 

  • dir flash:
  • dir sdflash:

Hi, I am not pranking anybody. Here the output of the two commands:

switch: dir flash:
unable to stat flash:/: no such device

primary boot loader
switch: dir sdflash:
unable to stat sdflash:/: no such device

primary boot loader
switch:

They don't show anything, because the flash isn't initialized in this first stage, and there is no sd-card slot in the switch, as far as I know. 

I have booted it into the second stage bootloader with the command 'boot xmodem: ' and transferd the bootloader file (named 'ies-hboot1-m), I have got from a working switch of the same type. From that, I get the following output:

switch: boot xmodem:
Loading "xmodem:"...Begin the Xmodem or Xmodem-1K transfer now...
C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "xmodem:" uncompressed and installed, entry point: 0x7000000
executing...

Using driver version 3 for media type 1
Using driver version 3 for media type 2
Base ethernet MAC Address: 00:e1:6d:e8:6f:00
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
mifs[2]: 0 files, 1 directories
mifs[2]: Total bytes     :     258048
mifs[2]: Bytes used      :       1024
mifs[2]: Bytes available :     257024
mifs[2]: mifs fsck took 0 seconds.
mifs[3]: 0 files, 1 directories
mifs[3]: Total bytes     :    1806336
mifs[3]: Bytes used      :       1024
mifs[3]: Bytes available :    1805312
mifs[3]: mifs fsck took 0 seconds.
mifs[4]: 1 files, 1 directories
mifs[4]: Total bytes     :   11096064
mifs[4]: Bytes used      :     380416
mifs[4]: Bytes available :   10715648
mifs[4]: mifs fsck took 0 seconds.
mifs[5]: 1 files, 1 directories
mifs[5]: Total bytes     :   18192384
mifs[5]: Bytes used      :     122368
mifs[5]: Bytes available :   18070016
mifs[5]: mifs fsck took 1 seconds.
mifs[7]: 723 files, 29 directories
mifs[7]: Total bytes     :   64094208
mifs[7]: Bytes used      :   48370176
mifs[7]: Bytes available :   15724032
mifs[7]: mifs fsck took 26 seconds.
...done Initializing Flash.
done.

The system is not configured to boot automatically.  The
following command will finish loading the operating system
software:

    boot


switch:

In this stage it hase initialized the flash storage:

switch: dir

List of filesystems currently registered:

                  bs[0]: (read-only)
                 bs1[2]: (read-only)
               flash[7]: (read-write)
              xmodem[8]: (read-only)
                null[9]: (read-write)


switch: dir flash:
Directory of flash:/

    2  drwx  512       <date>               crashinfo_ext
    4  drwx  1024      <date>               ies-lanbasek9-mz.150-2.EY3
  748  -rwx  3096      <date>               multiple-fs
  749  -rwx  8437      <date>               config.recover
  750  -rwx  2363      <date>               private-config.text

43189760 bytes available (20904448 bytes used)

switch:

In there are also variables set:

switch: set

Primary boot loader environment variables:

BAUD=115200

Secondary boot loader environment variables:

APPLY_RESET=no
BOOT=flash:ies-lanbasek9-mz.150-2.EY3/ies-lanbasek9-mz.150-2.EY3.bin
BOOT_B0=bs1:ies-hboot1-m
MANUAL_BOOT=yes
SDM_TEMPLATE_ID=0
SWITCH_PRIORITY=1

switch:BOOT_B0=bs1:ies-hboot1-m

The thing is as described, the file referenced by 'BOOT_B0=bs1:ies-hboot1-m' does not exist in bs1: . The filesystem bs1 is just empty.


@rataglok wrote:
MANUAL_BOOT=yes

Bingo!
And there is the problem.  Do this: 

 

set MANUAL_BOOT no

 

WARNING:  The above command is case sensitive.

 

I have now set MANUAL_BOOT=no. It did what it should, boot IOS on boot, but after I've insertet the first stage bootloader. Maybe my description of the problem is realy bad, so here is the complete output of the boot process:

Using driver version 1 for media type 1
Base ethernet MAC Address: 00:e1:6d:e8:6e:00
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
mifs[2]: 0 files, 1 directories
mifs[2]: Total bytes     :     258048
mifs[2]: Bytes used      :       1024
mifs[2]: Bytes available :     257024
mifs[2]: mifs fsck took 0 seconds.
mifs[3]: 0 files, 1 directories
mifs[3]: Total bytes     :    1806336
mifs[3]: Bytes used      :       1024
mifs[3]: Bytes available :    1805312
mifs[3]: mifs fsck took 1 seconds.
mifs[4]: 1 files, 1 directories
mifs[4]: Total bytes     :   11096064
mifs[4]: Bytes used      :     380416
mifs[4]: Bytes available :   10715648
mifs[4]: mifs fsck took 0 seconds.
mifs[5]: 1 files, 1 directories
mifs[5]: Total bytes     :   18192384
mifs[5]: Bytes used      :     122368
mifs[5]: Bytes available :   18070016
mifs[5]: mifs fsck took 0 seconds.
...done Initializing Flash.
done.
Loading "bs1:/b1"...bs1:/b1: no such file or directory

Error loading "bs1:/b1"

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.


primary boot loader
switch: boot xmodem:
Loading "xmodem:"...Begin the Xmodem or Xmodem-1K transfer now...
C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "xmodem:" uncompressed and installed, entry point: 0x7000000
executing...

Using driver version 3 for media type 1
Using driver version 3 for media type 2
Base ethernet MAC Address: 00:e1:6d:e8:6e:00
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
mifs[2]: 0 files, 1 directories
mifs[2]: Total bytes     :     258048
mifs[2]: Bytes used      :       1024
mifs[2]: Bytes available :     257024
mifs[2]: mifs fsck took 0 seconds.
mifs[3]: 0 files, 1 directories
mifs[3]: Total bytes     :    1806336
mifs[3]: Bytes used      :       1024
mifs[3]: Bytes available :    1805312
mifs[3]: mifs fsck took 0 seconds.
mifs[4]: 1 files, 1 directories
mifs[4]: Total bytes     :   11096064
mifs[4]: Bytes used      :     380416
mifs[4]: Bytes available :   10715648
mifs[4]: mifs fsck took 0 seconds.
mifs[5]: 1 files, 1 directories
mifs[5]: Total bytes     :   18192384
mifs[5]: Bytes used      :     122368
mifs[5]: Bytes available :   18070016
mifs[5]: mifs fsck took 1 seconds.
mifs[7]: 722 files, 28 directories
mifs[7]: Total bytes     :   64094208
mifs[7]: Bytes used      :   20904448
mifs[7]: Bytes available :   43189760
mifs[7]: mifs fsck took 25 seconds.
...done Initializing Flash.
done.
Loading "flash:ies-lanbasek9-mz.150-2.EY3/ies-lanbasek9-mz.150-2.EY3.bin"...############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
##########################################################################################################################################################################

File "flash:ies-lanbasek9-mz.150-2.EY3/ies-lanbasek9-mz.150-2.EY3.bin" uncompressed and installed, entry point: 0x3000
executing...

              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706



Cisco IOS Software, IES Software (IES-LANBASEK9-M), Version 15.0(2)EY3, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Thu 14-Nov-13 13:52 by prod_rel_teamInitializing flashfs...
Using driver version 3 for media type 1
mifs[4]: 0 files, 1 directories
mifs[4]: Total bytes     : 258048
mifs[4]: Bytes used      : 1024
mifs[4]: Bytes available : 257024
mifs[4]: mifs fsck took 0 seconds.
mifs[4]: Initialization complete.

mifs[5]: 0 files, 1 directories
mifs[5]: Total bytes     : 1806336
mifs[5]: Bytes used      : 1024
mifs[5]: Bytes available : 1805312
mifs[5]: mifs fsck took 0 seconds.
mifs[5]: Initialization complete.

mifs[6]: 1 files, 1 directories
mifs[6]: Total bytes     : 11096064
mifs[6]: Bytes used      : 380416
mifs[6]: Bytes available : 10715648
mifs[6]: mifs fsck took 0 seconds.
mifs[6]: Initialization complete.

mifs[7]: 1 files, 1 directories
mifs[7]: Total bytes     : 18192384
mifs[7]: Bytes used      : 122368
mifs[7]: Bytes available : 18070016
mifs[7]: mifs fsck took 0 seconds.
mifs[7]: Initialization complete.

Using driver version 3 for media type 2
mifs[9]: 722 files, 28 directories
mifs[9]: Total bytes     : 64094208
mifs[9]: Bytes used      : 20904448
mifs[9]: Bytes available : 43189760
mifs[9]: mifs fsck took 0 seconds.
mifs[9]: Initialization complete.

...done Initializing flashfs.
Checking for Bootloader upgrade.. not needed

POST: CPU MIC register Tests : Begin
POST: CPU MIC register Tests : End, Status Passed

POST: PortASIC Memory Tests : Begin
POST: PortASIC Memory Tests : End, Status Passed

Loading FPGA image from flash:ies-lanbasek9-mz.150-2.EY3/fpga
Initial INIT state: hi
Initial DONE state: lo
Waiting for init to go high.
Waiting for done to go low.
Start FPGA programming (375883 bytes): / Done.

----------------------------------------------------------------
Cesium version information from file header:
a  Cesium.ncd b  2vp4fg456 c  2008/ 6/30 d  13:29: 0
----------------------------------------------------------------

POST: CPU MIC interface Loopback Tests : Begin
POST: CPU MIC interface Loopback Tests : End, Status Passed

POST: PortASIC RingLoopback Tests : Begin
POST: PortASIC RingLoopback Tests : End, Status Passed

POST: PortASIC CAM Subsystem Tests : Begin
POST: PortASIC CAM Subsystem Tests : End, Status Passed

POST: PortASIC Port Loopback Tests : Begin
POST: PortASIC Port Loopback Tests : End, Status Passed

Waiting for Port download...Complete


This product contains cryptographic features and is subject to United
States and local country ...

 At this point its fully booted. For me it looks like it's the situation send from @Jitendra Kumar, so if there are no more ideas, I will start a comunication with the cisco support. 

Thanks a lot!

Jitendra Kumar
Spotlight
Spotlight

Seems you are falling in the below article Situation.

https://www.cisco.com/c/en/us/support/docs/field-notices/637/fn63747.html

You should have to raise a Tac ticket or ask for RMA.

Thanks,
Jitendra
Review Cisco Networking for a $25 gift card