Recovering switch OS6250

gsmarques
Member
Posts: 3
Joined: 20 Nov 2013 12:38

Recovering switch OS6250

Post by gsmarques »

I have an OS6250 switch that is always to restart endlessly.
After I turn on the console, could interrupt the process and enter
  [Miniboot] ->

How do I copy / reinstall the firmware and put it to work normally?

thank you
devnull
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 976
Joined: 07 Sep 2010 10:16
Location: Germany

Re: Recovering switch OS6250

Post by devnull »

What does it say when it reloads in a loop?


several ways to recover:
if you have a disaster recovery usb stick it should be enough to plug it in, the switch will get its images..
see viewtopic.php?f=394&t=21093 for more info.

otherwise try to see what exactly is wrong (is an image corrupted? missing?)

ll "working"

ll "certfified"

if certified is empty or missing some files but they are present in working you can copy them over from working:

cp "/flash/working/KFos.img","/flash/certified"


if you have an kbase.img with a size of 0 it seems you have hit a bug that was present in past versions.

then prepare an USB Stick do a
sysNewfs "/flash"
and use the usb stick.

if you don't have a stick you can also use zModem or tftp from uboot/miniboot, but this is really cryptic..
cuong955
Member
Posts: 6
Joined: 05 Dec 2013 09:36

Re: Recovering switch OS6250

Post by cuong955 »

Dear Devnul
i have a switch OS6520, my device was lost all *.img in the folder certified. When device start, it runs on miniboot, i have tried to reload image by usb but miniboot did not found the usb (my usb format FAT, size 1GB)

Can you guide me how to switch reloaded os for my switch, I do not understand how to load os with xmodem, you can guide me.

Thank you very much
devnull
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 976
Joined: 07 Sep 2010 10:16
Location: Germany

Re: Recovering switch OS6250

Post by devnull »

If you have another switch:
Try different USB Sticks. just type usb enable and see whether it recognizes the sticks.

Other:
If you still have your images in /flash/working you can copy the over from miniboot as i have written in the first post.

I never tried XModem, but recoverd a switch using zModem. this realy takes time..
It was: (if i remember right):
- cd "certified"
- sysModifyBootParameters
- boot serialbaudrate 115200
- commit system
(baudrate to 115200 otherwise it takes ages - remember you have to change your console port on the laptop afterwards as well)
do not use commit file, otherwise this will be stored in boot.params..


Have your files ready for Transfer with zModem (i use SecureCRT, but other programs should work as well)

zysStartZModem
and send them in Securecrt

Should take about 30-40 Minutes
cuong955
Member
Posts: 6
Joined: 05 Dec 2013 09:36

Re: Recovering switch OS6250

Post by cuong955 »

thanks so much because support me

I have succeeded upload os through the console port using xmodem

6238_How.to.recover.the.AOS.of.an.OmniSwitch.6250.via.serial.connection.pdf tutorial files found at toppic viewtopic.php?f=329&t = 16363 & p = 80 860 # p80860
devnull
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 976
Joined: 07 Sep 2010 10:16
Location: Germany

Re: Recovering switch OS6250

Post by devnull »

good.. now get various sub sticks an test whether they are recognized.. reduces recovering time to about a minute or so in the future.
qassam
Member
Posts: 3
Joined: 28 Mar 2014 18:24

Re: Recovering switch OS6250

Post by qassam »

I don't know if you have already solved your problem, but what you should do is:

Step 1)Prepare the an USB Pendisk (2GB or less) to recover your switch. Use the following steps
Step 1.1) Format an USB Pendrive (2GB or less) with FAT16 filesystem in your computer
Step 1.2) Create directories in USB Pen's filesystem
/6450
/6450/working
/6450/certified
Step 1.3) Download the switch firmware archive from Alcatel and extract all files, especially the *.img files, and copy them to /6450/certified directory in USB Pen's filesystem

Step 2) Boot the Switch and wait until reaches the fallback prompt with mentioned earlier, which is "Certified: [Kernel]->"
Step 3) Format the switch's flash executing
Certified: [Kernel]-> sysNewfs "/flash"

Step 4) Insert the USB Pen in the switch's USB port
Step 5) Power cycle the Switch and allow it to automatically copy the firmware from the USB Pendisk.

You can read more information from "OmniSwitch 6250/6450 Switch Management Guide", Chapter 5, in topic "Disaster Recovery Using USB".

Regards,
Jorge Matias
ynkth
Member
Posts: 11
Joined: 16 Jan 2013 21:28

Re: Recovering switch OS6250

Post by ynkth »

qassam wrote:I don't know if you have already solved your problem, but what you should do is:

Step 1)Prepare the an USB Pendisk (2GB or less) to recover your switch. Use the following steps
Step 1.1) Format an USB Pendrive (2GB or less) with FAT16 filesystem in your computer
Step 1.2) Create directories in USB Pen's filesystem
/6450
/6450/working
/6450/certified
Step 1.3) Download the switch firmware archive from Alcatel and extract all files, especially the *.img files, and copy them to /6450/certified directory in USB Pen's filesystem

Step 2) Boot the Switch and wait until reaches the fallback prompt with mentioned earlier, which is "Certified: [Kernel]->"
Step 3) Format the switch's flash executing
Certified: [Kernel]-> sysNewfs "/flash"

Step 4) Insert the USB Pen in the switch's USB port
Step 5) Power cycle the Switch and allow it to automatically copy the firmware from the USB Pendisk.

You can read more information from "OmniSwitch 6250/6450 Switch Management Guide", Chapter 5, in topic "Disaster Recovery Using USB".

Regards,
Jorge Matias
Hi qassam

I did what you said all the set ,but my switch console output this

CPU: DB-98DX4122-48G BE MMU ARCH 5. Processor #0.
Memory Size: 256 MBytes. BSP version 1.2/1.1.01.

Portions of code copyrighted by Agranat Systems, Inc. All Rights reserved
Portions of code copyrighted by Alcatel Internetworking, Inc. 1994-2012. All Rights reserved
Portions of code copyrighted by Apptitude, Inc. 1997-1999. All Rights reserved
Portions of code copyrighted by Free Software Foundation, Inc. 1989,1991. All rights reserved
Portions of code copyrighted by The OpenLDAP Foundation 1999-2000. All rights reserved
Portions of code copyrighted by Theodore T'so 1994,1995,1996,1997,1998,1999. All Rights reserved
Portions of code copyrighted by RSA Security, Inc. All Rights reserved
Portions of code copyrighted by Sun Microsystems, Inc. All Rights reserved
Portions of code copyrighted by Wind River Systems, Inc. All Rights reserved
Portions of code developed by the University of California, Berkeley.
Portions of code developed by the Carnegie-Mellon University.


'/flash/certified/' does not exist, creating...
'/flash/working/' does not exist, creating...
Attempting to load from the CERTIFIED directory...
Loading kernel from '/flash/certified/KFos.img'...
Cannot find component(alcatelNetworking_kernel.lnk) in package(/flash/certified/KFos.img)!
Cannot find component(kernel.lnk) in package(/flash/certified/KFos.img)!
Unable to load kernel image from file '/flash/certified/KFos.img'.
Unable to boot from the CERTIFIED software release.
Warning: Disaster Recovery not enabled. Exiting!
[Miniboot]->Warning: Disaster Recovery not enabled. Exiting!
Bulk Device mounted at 480 Mbps. With 1 Logical Units at node 2


Can you guid me , thanks !
User avatar
cavagnaro
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 7014
Joined: 14 Sep 2005 19:45
Location: Brasil, Porto Alegre
Contact:

Re: Recovering switch OS6250

Post by cavagnaro »

The message is clear. Do you have those files on that folder on the USB?
Ignorance is not the problem, the problem is the one who doesn't want to learn

OTUC/ICS ACFE/ACSE R3.0/4.0/5.0/6.0
Certified Genesys CIV 8.5
Certified Genesys Troubleshooting 8.5
Certified Genesys BEP 8.x
Genesys Developer
ynkth
Member
Posts: 11
Joined: 16 Jan 2013 21:28

Re: Recovering switch OS6250

Post by ynkth »

cavagnaro wrote:The message is clear. Do you have those files on that folder on the USB?
yes, i had all the *.img and *.lsm
Post Reply

Return to “OmniSwitch 6250”