Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Factory default SG 40/8 reboot loop

    I purchased a used SG 40/8 and went to configure the settings through serial cable on putty. I connect to the device and get an endless boot loop where there isn't enough time to set any settings.
    I tried disabling dhcp but it doesn't make a difference. I must be missing something or this unit is jacked up. Has anyone seen this? Any tips or advice would be much appreciated.

    Thank you

  • #2
    This can happen if a switch was receiving changes and was unplugged before finishing. You might have to break the boot cycle and set or wipe the values by hand in vxworks.
    Lance Paddock
    BTX | Business Telephone eXchange
    1(800) 289-0299

    Comment


    • #3
      That's rough, I'm in a little over my head. I wouldn't even know where to start. I tried doing the hard reset and that didn't make any difference. Do you know if there is any instruction hiding somewhere for the vxworks values that should be set?

      Comment


      • #4
        If it was my issue I would look to see what values exist in the switch and then i would manually edit them.

        Follow the link I leave at the bottom of this post and only do what you feel you are comfortable with doing.

        How To Edit A Hung ShoreTel Switch

        Lance Paddock
        BTX | Business Telephone eXchange
        1(800) 289-0299

        Comment


        • #5
          When you console into the switch is it plugged into the network? Have you tried to disconnect from the network. I think there is a pin hole to factory default the switch, never had to do it but if I remember correctly I believe there is, someone will correct me if there is not.

          Comment


          • #6
            Originally posted by Lance View Post
            If it was my issue I would look to see what values exist in the switch and then i would manually edit them.

            Follow the link I leave at the bottom of this post and only do what you feel you are comfortable with doing.

            How To Edit A Hung ShoreTel Switch

            I watched this video and it looks very different on my end. It doesn't accept any of the commands you were using. It gives me preset options.
            it is a SG-8 made back in 2004. I can't find anymore detailed information about boot settings.

            Comment


            • #7
              Originally posted by southeasternMI View Post
              When you console into the switch is it plugged into the network? Have you tried to disconnect from the network. I think there is a pin hole to factory default the switch, never had to do it but if I remember correctly I believe there is, someone will correct me if there is not.
              I have it disconnected from the network and I'm connecting through the maintenance port. I hard reset it probably 20 times trying different vxworks commands, it just fails every time.

              Comment


              • #8
                Each version of the switches have slightly different commands but they are all the same. You have to break the boot cycle to prevent the shoretel shell from running.
                Lance Paddock
                BTX | Business Telephone eXchange
                1(800) 289-0299

                Comment


                • #9
                  Can you post a screen shot of the failure.
                  Lance Paddock
                  BTX | Business Telephone eXchange
                  1(800) 289-0299

                  Comment


                  • #10
                    shoretel config1.pngShoretel Config2.pngShoretel Config3.png

                    It will boot right up and then about 30 seconds in it does a check and then goes into another boot. I stopped it and these are the options I get.

                    Comment


                    • #11
                      This is a txt version.

                      ?

                      ? - print this list
                      @ - boot (load and go)
                      p - print boot params
                      c - change boot params
                      l - load boot file
                      g adrs - go to adrs
                      d adrs[,n] - display memory
                      m adrs - modify memory
                      f adrs, nbytes, value - fill memory
                      t adrs, adrs, nbytes - copy memory
                      e - print fatal exception
                      n netif - print network interface device address
                      N - set ethernet address
                      $dev(0,procnum)host:/file h=# e=# b=# g=# u=usr [pw=passwd] f=#
                      tn=targetname s=script o=other
                      Boot flags:
                      0x02 - load local system symbols
                      0x04 - don't autoboot
                      0x08 - quick autoboot (no countdown)
                      0x20 - disable login security
                      0x40 - use bootp to get boot parameters
                      0x80 - use tftp to get boot image
                      0x100 - use proxy arp
                      0x1040 - use bootp to get boot parameters
                      0x2000 - disable ShoreTel shell
                      0x00000 - network speed and duplex mode automatic
                      0x10000 - network speed and duplex mode 10 Mb FD
                      0x20000 - network speed and duplex mode 10 Mb HD
                      0x30000 - network speed and duplex mode 100 Mb FD
                      0x40000 - network speed and duplex mode 100 Mb HD

                      available boot devices: fei0 fei1
                      [VxWorks Boot]: printenv

                      boot device : flash=0
                      unit number : 0
                      processor number : 0
                      file name : /flash0/vxWorks
                      flags (f) : 0x40
                      startup script (s) : /flash0/bootflsh.txt
                      other (o) : fei

                      [VxWorks Boot]: p

                      boot device : flash=0
                      unit number : 0
                      processor number : 0
                      file name : /flash0/vxWorks
                      flags (f) : 0x40
                      startup script (s) : /flash0/bootflsh.txt
                      other (o) : fei

                      [VxWorks Boot]: @

                      boot device : flash=0
                      unit number : 0
                      processor number : 0
                      file name : /flash0/vxWorks
                      flags (f) : 0x40
                      startup script (s) : /flash0/bootflsh.txt
                      other (o) : fei

                      Checking flash file system on unit 0...
                      flash length found at 0x00002810 0x00400000
                      Checking sum for flash unit 0 start sector 0 endSector 31
                      Flash FS OK
                      malloc len 1004
                      CachedsysFlashRead(0, 10260, 1004, 0x7ffdb90)...
                      t 0x7ffdbc4
                      t
                      Language: en-US
                      len 7
                      len 7
                      File /flash0/Vxworks OK
                      File /flash0/Vxworks.sym OK
                      File /flash0/bootflsh.txt OK
                      File /flash0/stts_mod.o OK
                      Checking flash file system on unit 2...
                      flash length found at 0x00002810 0x00020000
                      Checking sum for flash unit 2 start sector 0 endSector 0
                      Flash FS OK
                      malloc len 1004
                      CachedsysFlashRead(2, 10260, 1004, 0x7ffb240)...
                      t 0x0
                      Loading /flash0/vxWorks...2169500
                      Starting at 0x100000...

                      Host Name: bootHost
                      Target Name: ShorelineSwitch
                      User: anonymous
                      Attaching network interface fei0 (0x130830)... etherMonInit etherOutputHookAdd: 1
                      LINK Failed, Check network connection
                      done.
                      .DHCP: Current parameters:
                      MAC Address: 00-10-49-07-39-48
                      Host name: "ST-073948"

                      .......
                      DHCP: exit now because not tDhcpC
                      No IP address specified for interface fei0
                      Checking flash file system on unit 0...
                      flash length found at 0x00002810 0x00400000
                      Checking sum for flash unit 0 start sector 0 endSector 31
                      Flash FS OK
                      Checking sum for flash unit 0 start sector 32 endSector 42
                      Checking flash file system on unit 2...
                      flash length found at 0x00002810 0x00020000
                      Checking sum for flash unit 2 start sector 0 endSector 0
                      Flash FS OK
                      Checking flash file system on unit 0...
                      flash length found at 0x00002810 0x00400000
                      Checking sum for flash unit 0 start sector 0 endSector 31
                      Flash FS OK
                      Loading symbol table from /flash0/vxWorks.sym ...done
                      CPU: 40/8. Processor #0.
                      Memory Size: 0x8000000. BSP version 1.2/26.











                      ,sssSSsss,
                      ,sSSSSSSSSSSSSs,
                      sSSS~ ___ ~SSS,
                      SSSS _sSSSSSSSs SS
                      sSSS SSSSSSSSSSSs
                      SSSSs SSSS~~~SSSSSSs
                      `SSSS_ ~ _s, ~SSSS
                      SSSSSSs,ssSSSS ]SSSs
                      ~SSSSSSSSSSS' ]SSS'
                      Ss ~SSSSSSS~ SSSS
                      `SSs, _sSSSS
                      ~SSSSSsssSSSSSS^
                      ~~SSSSSS~^

                      Commands for 40/8:
                      (1) -- Show version
                      (2) -- Show system configuration
                      (3) -- Change system configuration
                      (4) -- Reboot
                      ? -- Help

                      ShoreTel> 1

                      Product: ShoreWare
                      Firmware Version: 16.5.8506.0
                      BootROM Version: 8.2.232.0
                      Boot Base Version: 1
                      CPU Board: Rev 2.1.158

                      ShoreTel> 2

                      Current system configuration:
                      Ethernet address = 00:10:49:07:39:48
                      IP address = 0.0.0.0
                      IP subnet mask = 0.0.0.0
                      Gateway IP address = 0.0.0.0
                      Server IP address = 0.0.0.0
                      DNS IP address =
                      Boot method = flash
                      DHCP/BOOTP = DHCP enabled
                      Active port = 2
                      Ethernet link = no link
                      Speed and duplex mode = automatic

                      ShoreTel> sysToMonitor start
                      sysToMonitor end
                      jump to address - 0xFFF00108

                      ShoreTel POST V0.001

                      SDRAM Ram Test - Passed
                      made it 00000004
                      BootAddr
                      b1
                      b2
                      b1 ok
                      compressEntry made it
                      Release version 8.2.232.0
                      FAB rev 2
                      option 00000001
                      Bus speed: 100 MHz
                      Ethernet 1: 10/100
                      Ethernet 2: 10/100
                      Product type: SG-8
                      Date built: Oct 5 2004 16:15:31
                      FPGA code rev 9E
                      MAC 1 address: 00:10:49:07:39:48
                      MAC 2 address: 00:10:49:07:39:49
                      Serial Number: 08JC0714073948


                      Press any key to stop auto-boot...
                      0
                      auto-booting...


                      boot device : flash=0
                      unit number : 0
                      processor number : 0
                      file name : /flash0/vxWorks
                      flags (f) : 0x40
                      startup script (s) : /flash0/bootflsh.txt
                      other (o) : fei

                      Checking flash file system on unit 0...
                      flash length found at 0x00002810 0x00400000
                      Checking sum for flash unit 0 start sector 0 endSector 31
                      Flash FS OK
                      malloc len 1004
                      CachedsysFlashRead(0, 10260, 1004, 0x7ffdb90)...
                      t 0x7ffdbc4
                      t
                      Language: en-US
                      len 7
                      len 7
                      File /flash0/Vxworks OK
                      File /flash0/Vxworks.sym OK
                      File /flash0/bootflsh.txt OK
                      File /flash0/stts_mod.o OK
                      Checking flash file system on unit 2...
                      flash length found at 0x00002810 0x00020000
                      Checking sum for flash unit 2 start sector 0 endSector 0
                      Flash FS OK
                      malloc len 1004
                      CachedsysFlashRead(2, 10260, 1004, 0x7ffb240)...
                      t 0x0
                      Loading /flash0/vxWorks...2169500
                      Starting at 0x100000...

                      Host Name: bootHost
                      Target Name: ShorelineSwitch
                      User: anonymous
                      Attaching network interface fei0 (0x130830)... etherMonInit etherOutputHookAdd: 1
                      LINK Failed, Check network connection
                      done.
                      .DHCP: Current parameters:
                      MAC Address: 00-10-49-07-39-48
                      Host name: "ST-073948"

                      .......
                      DHCP: exit now because not tDhcpC
                      No IP address specified for interface fei0
                      Checking flash file system on unit 0...
                      flash length found at 0x00002810 0x00400000
                      Checking sum for flash unit 0 start sector 0 endSector 31
                      Flash FS OK
                      Checking sum for flash unit 0 start sector 32 endSector 42
                      Checking flash file system on unit 2...
                      flash length found at 0x00002810 0x00020000
                      Checking sum for flash unit 2 start sector 0 endSector 0
                      Flash FS OK
                      Checking flash file system on unit 0...
                      flash length found at 0x00002810 0x00400000
                      Checking sum for flash unit 0 start sector 0 endSector 31
                      Flash FS OK
                      Loading symbol table from /flash0/vxWorks.sym ...done
                      CPU: 40/8. Processor #0.
                      Memory Size: 0x8000000. BSP version 1.2/26.











                      ,sssSSsss,
                      ,sSSSSSSSSSSSSs,
                      sSSS~ ___ ~SSS,
                      SSSS _sSSSSSSSs SS
                      sSSS SSSSSSSSSSSs
                      SSSSs SSSS~~~SSSSSSs
                      `SSSS_ ~ _s, ~SSSS
                      SSSSSSs,ssSSSS ]SSSs
                      ~SSSSSSSSSSS' ]SSS'
                      Ss ~SSSSSSS~ SSSS
                      `SSs, _sSSSS
                      ~SSSSSsssSSSSSS^
                      ~~SSSSSS~^

                      Commands for 40/8:
                      (1) -- Show version
                      (2) -- Show system configuration
                      (3) -- Change system configuration
                      (4) -- Reboot
                      ? -- Help

                      ShoreTel> sysToMonitor start
                      sysToMonitor end
                      jump to address - 0xFFF00108

                      ShoreTel POST V0.001

                      SDRAM Ram Test - Passed
                      made it 00000004
                      BootAddr
                      b1
                      b2
                      b1 ok
                      compressEntry made it
                      Release version 8.2.232.0
                      FAB rev 2
                      option 00000001
                      Bus speed: 100 MHz
                      Ethernet 1: 10/100
                      Ethernet 2: 10/100
                      Product type: SG-8
                      Date built: Oct 5 2004 16:15:31
                      FPGA code rev 9E
                      MAC 1 address: 00:10:49:07:39:48
                      MAC 2 address: 00:10:49:07:39:49
                      Serial Number: 08JC0714073948


                      Press any key to stop auto-boot...
                      0
                      auto-booting...


                      boot device : flash=0
                      unit number : 0
                      processor number : 0
                      file name : /flash0/vxWorks
                      flags (f) : 0x40
                      startup script (s) : /flash0/bootflsh.txt
                      other (o) : fei

                      Checking flash file system on unit 0...
                      flash length found at 0x00002810 0x00400000
                      Checking sum for flash unit 0 start sector 0 endSector 31
                      dFlash FS OK
                      malloc len 1004
                      CachedsysFlashRead(0, 10260, 1004, 0x7ffdb90)...
                      t 0x7ffdbc4
                      t
                      Language: en-US
                      len 7
                      len 7
                      File /flash0/Vxworks OK
                      File /flash0/Vxworks.sym OK
                      File /flash0/bootflsh.txt OK
                      sFile /flash0/stts_mod.o OK
                      Checking flash file system on unit 2...
                      flash length found at 0x00002810 0x00020000
                      Checking sum for flash unit 2 start sector 0 endSector 0
                      Flash FS OK
                      malloc len 1004
                      CachedsysFlashRead(2, 10260, 1004, 0x7ffb240)...
                      t 0x0
                      Loading /flash0/vxWorks...2169500
                      Starting at 0x100000...

                      ^[[A^[[AHost Name: bootHost
                      Target Name: ShorelineSwitch
                      User: anonymous
                      Attaching network interface fei0 (0x130830)... etherMonInit etherOutputHookAdd: 1
                      LINK Failed, Check network connection
                      done.
                      .DHCP: Current parameters:
                      MAC Address: 00-10-49-07-39-48
                      Host name: "ST-073948"

                      Comment


                      • #12
                        I think I figured it out. at the end of the vxworks ? dialog it says available boot devices fei1, fei2.

                        So I selected (C) for change boot parameters.
                        I changed flash=00 to flash=1
                        I then selected (@) to reboot

                        After that it ran just fine!

                        I hope this helps someone.

                        Comment


                        • #13
                          Originally posted by Mr. Seth View Post

                          I watched this video and it looks very different on my end. It doesn't accept any of the commands you were using. It gives me preset options.
                          it is a SG-8 made back in 2004. I can't find anymore detailed information about boot settings.
                          The screen shots i see you were already past were you can bypass the shell. The screen to see the root commands would have been about 10 to 15 seconds after the switch was powered on.

                          Im glad you got it working
                          Last edited by Lance; 03-26-2018, 03:23 PM.
                          Lance Paddock
                          BTX | Business Telephone eXchange
                          1(800) 289-0299

                          Comment


                          • #14
                            Sigh, it now reboots occasionally with this error:

                            ShoreTel>
                            Rebooting Switch because stts_module.o was not downloaded!!!!
                            sysToMonitor start
                            sysToMonitor end
                            jump to address - 0xFFF00108

                            Comment


                            • #15
                              run a burnflash.exe -s command on the HQ server command line

                              Comment

                              Working...
                              X