Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: nsp: foundry

Copying software to secondary flash deletes primary flash's content?

 

 

nsp foundry RSS feed   Index | Next | Previous | View Threaded


lists at openunix

Apr 4, 2012, 6:21 AM

Post #1 of 3 (637 views)
Permalink
Copying software to secondary flash deletes primary flash's content?

On Netiron MLX, my existing IronWare Software gets deleted while I want
to install a backup in the secondary flash:

#show flash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Active Management Module (Top Slot)
Code Flash - Type MT28F128J3, Size 32 MB
o IronWare Image (Primary)
Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
o LP Kernel Image (Monitor for LP Image Type 0)
Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
Compiled on Jun 7 2011 at 17:07:18 labeled as xmlb05200
o LP IronWare Image (Primary for LP Image Type 0)
Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
o Monitor Image
Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
Compiled on Jun 7 2011 at 17:05:54 labeled as xmb05200
o Startup Configuration
Size 87411 bytes, Check Sum 98e4
Modified on 14:48:11 GMT+01 Wed Apr 04 2012


#copy tftp flash x.x.x.x
netiron/05200c/Application/ManagementModule/xmr05200c.bin sec

******** ONE IMAGE removing primary ******
TFTP: Download to secondary flash done.
Copy MP SECONDARY IMAGE to standby MP, please wait.
Start code flash synchronization to standby MP.
Code flash synchronization to standby MP is done.

#show flash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Active Management Module (Top Slot)
Code Flash - Type MT28F128J3, Size 32 MB
o IronWare Image (Secondary)
Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
o LP Kernel Image (Monitor for LP Image Type 0)
Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
Compiled on Jun 7 2011 at 17:07:18 labeled as xmlb05200
o LP IronWare Image (Primary for LP Image Type 0)
Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
o Monitor Image
Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
Compiled on Jun 7 2011 at 17:05:54 labeled as xmb05200
o Startup Configuration
Size 87411 bytes, Check Sum 98e4
Modified on 14:48:11 GMT+01 Wed Apr 04 2012

#copy tftp flash x.x.x.x
netiron/05200c/Application/ManagementModule/xmr05200c.bin pri
******** ONE IMAGE removing secondary ******
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................TFTP:
Download to primary flash done.
Copy MP PRIMARY IMAGE to standby MP, please wait.
Start code flash synchronization to standby MP.
Code flash synchronization to standby MP is done.
SSH [at] curi#show flash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Active Management Module (Top Slot)
Code Flash - Type MT28F128J3, Size 32 MB
o IronWare Image (Primary)
Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
o LP Kernel Image (Monitor for LP Image Type 0)
Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
Compiled on Jun 7 2011 at 17:07:18 labeled as xmlb05200
o LP IronWare Image (Primary for LP Image Type 0)
Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
o Monitor Image
Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
Compiled on Jun 7 2011 at 17:05:54 labeled as xmb05200
o Startup Configuration
Size 87411 bytes, Check Sum 98e4
Modified on 14:48:11 GMT+01 Wed Apr 04 2012


Why does the other IronWare Image gets deleted?

I solved this problem with:

#cp primary secondary
.......................................................................................................
Total bytes 7653004

But I have the same problem on a line card where the primary image will
always be deleted when uploading to the secondary flash.


#show flash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Active Management Module (Top Slot)
Code Flash - Type MT28F128J3, Size 32 MB
o IronWare Image (Primary)
Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
o IronWare Image (Secondary)
Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
o LP Kernel Image (Monitor for LP Image Type 0)
Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
Compiled on Jun 7 2011 at 17:07:18 labeled as xmlb05200
o LP IronWare Image (Primary for LP Image Type 0)
Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
o Monitor Image
Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
Compiled on Jun 7 2011 at 17:05:54 labeled as xmb05200
o Startup Configuration
Size 87411 bytes, Check Sum 98e4
Modified on 14:48:11 GMT+01 Wed Apr 04 2012
_______________________________________________
foundry-nsp mailing list
foundry-nsp [at] puck
http://puck.nether.net/mailman/listinfo/foundry-nsp


mkassawara at gmail

Apr 4, 2012, 6:34 AM

Post #2 of 3 (615 views)
Permalink
Re: Copying software to secondary flash deletes primary flash's content? [In reply to]

Newer releases of IronWare are too large for two copies to fit in the
flash in older modules. Brocade provides more information in the 5.2
upgrade guide.

On Wed, Apr 4, 2012 at 7:21 AM, Franz Georg KŲhler <lists [at] openunix> wrote:
> On Netiron MLX, my existing IronWare Software gets deleted while I want
> to install a backup in the secondary flash:
>
> #show flash
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Active Management Module (Top Slot)
> Code Flash - Type MT28F128J3, Size 32 MB
> †o IronWare Image (Primary)
> † †Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
> † †Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
> †o LP Kernel Image (Monitor for LP Image Type 0)
> † †Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
> † †Compiled on Jun †7 2011 at 17:07:18 labeled as xmlb05200
> †o LP IronWare Image (Primary for LP Image Type 0)
> † †Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
> † †Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
> †o Monitor Image
> † †Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
> † †Compiled on Jun †7 2011 at 17:05:54 labeled as xmb05200
> †o Startup Configuration
> † †Size 87411 bytes, Check Sum 98e4
> † †Modified on 14:48:11 GMT+01 Wed Apr 04 2012
>
>
> #copy tftp flash x.x.x.x
> netiron/05200c/Application/ManagementModule/xmr05200c.bin sec
>
> ******** ONE IMAGE removing primary ******
> TFTP: Download to secondary flash done.
> Copy MP SECONDARY IMAGE to standby MP, please wait.
> Start code flash synchronization to standby MP.
> Code flash synchronization to standby MP is done.
>
> #show flash
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Active Management Module (Top Slot)
> Code Flash - Type MT28F128J3, Size 32 MB
> †o IronWare Image (Secondary)
> † †Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
> † †Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
> †o LP Kernel Image (Monitor for LP Image Type 0)
> † †Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
> † †Compiled on Jun †7 2011 at 17:07:18 labeled as xmlb05200
> †o LP IronWare Image (Primary for LP Image Type 0)
> † †Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
> † †Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
> †o Monitor Image
> † †Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
> † †Compiled on Jun †7 2011 at 17:05:54 labeled as xmb05200
> †o Startup Configuration
> † †Size 87411 bytes, Check Sum 98e4
> † †Modified on 14:48:11 GMT+01 Wed Apr 04 2012
>
> #copy tftp flash x.x.x.x
> netiron/05200c/Application/ManagementModule/xmr05200c.bin pri
> ******** ONE IMAGE removing secondary ******
> ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................TFTP:
> Download to primary flash done.
> Copy MP PRIMARY IMAGE to standby MP, please wait.
> Start code flash synchronization to standby MP.
> Code flash synchronization to standby MP is done.
> SSH [at] curi#show flash
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Active Management Module (Top Slot)
> Code Flash - Type MT28F128J3, Size 32 MB
> †o IronWare Image (Primary)
> † †Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
> † †Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
> †o LP Kernel Image (Monitor for LP Image Type 0)
> † †Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
> † †Compiled on Jun †7 2011 at 17:07:18 labeled as xmlb05200
> †o LP IronWare Image (Primary for LP Image Type 0)
> † †Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
> † †Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
> †o Monitor Image
> † †Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
> † †Compiled on Jun †7 2011 at 17:05:54 labeled as xmb05200
> †o Startup Configuration
> † †Size 87411 bytes, Check Sum 98e4
> † †Modified on 14:48:11 GMT+01 Wed Apr 04 2012
>
>
> Why does the other IronWare Image gets deleted?
>
> I solved this problem with:
>
> #cp primary secondary
> .......................................................................................................
> Total bytes 7653004
>
> But I have the same problem on a line card where the primary image will
> always be deleted when uploading to the secondary flash.
>
>
> #show flash
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Active Management Module (Top Slot)
> Code Flash - Type MT28F128J3, Size 32 MB
> †o IronWare Image (Primary)
> † †Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
> † †Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
> †o IronWare Image (Secondary)
> † †Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
> † †Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
> †o LP Kernel Image (Monitor for LP Image Type 0)
> † †Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
> † †Compiled on Jun †7 2011 at 17:07:18 labeled as xmlb05200
> †o LP IronWare Image (Primary for LP Image Type 0)
> † †Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
> † †Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
> †o Monitor Image
> † †Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
> † †Compiled on Jun †7 2011 at 17:05:54 labeled as xmb05200
> †o Startup Configuration
> † †Size 87411 bytes, Check Sum 98e4
> † †Modified on 14:48:11 GMT+01 Wed Apr 04 2012
> _______________________________________________
> foundry-nsp mailing list
> foundry-nsp [at] puck
> http://puck.nether.net/mailman/listinfo/foundry-nsp

_______________________________________________
foundry-nsp mailing list
foundry-nsp [at] puck
http://puck.nether.net/mailman/listinfo/foundry-nsp


lists at openunix

Apr 4, 2012, 6:42 AM

Post #3 of 3 (622 views)
Permalink
Re: Copying software to secondary flash deletes primary flash's content? [In reply to]

Hello,

I read this, but both images fit onto the management module.

However, I removed the secondary LP image since I thought it is more
valuable to have a secondary management ironware to boot from in
emergency cases than a secondary lp image (which could be downloaded
from tftp anyway, as long as there is still a working ip connectivity).

But now I see that sync-standby seems to switch round-robin-style
between primary and secondary flash, too:

#sync
Copy CODE FLASH to standby MP, please wait.
Start code flash synchronization to standby MP.
Code flash synchronization to standby MP is done.

# show flash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Standby Management Module (Bottom Slot)
Code Flash: Type MT28F128J3, Size 32 MB
o IronWare Image (Secondary)
Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
o LP Kernel Image (Monitor for LP Image Type 0)
Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
Compiled on Jun 7 2011 at 17:07:18 labeled as xmlb05200
o LP IronWare Image (Primary for LP Image Type 0)
Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
o Monitor Image
Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
Compiled on Jun 7 2011 at 17:05:54 labeled as xmb05200
o Startup Configuration
Size 87411 bytes, Check Sum 98e4
Modified on 10:51:11 GMT+01 Wed Apr 04 2012



#sync
Copy CODE FLASH to standby MP, please wait.
Start code flash synchronization to standby MP.
Code flash synchronization to standby MP is done.

# show flash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Standby Management Module (Bottom Slot)
Code Flash: Type MT28F128J3, Size 32 MB
o IronWare Image (Primary)
Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
o LP Kernel Image (Monitor for LP Image Type 0)
Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
Compiled on Jun 7 2011 at 17:07:18 labeled as xmlb05200
o LP IronWare Image (Primary for LP Image Type 0)
Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
o Monitor Image
Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
Compiled on Jun 7 2011 at 17:05:54 labeled as xmb05200
o Startup Configuration
Size 87411 bytes, Check Sum 98e4
Modified on 10:51:11 GMT+01 Wed Apr 04 2012

Boot Flash: Type AM29LV040B, Size 512 KB

Finally, I wonder why one line card has pri & sec flash populated, while
I cannot populate both flash on card#5?

I think line card#6 has automatically downloaded the software from the
management module while I flashed manually card#5.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Line Card Slot 5
Code Flash: Type MT28F640J3, Size 16 MB
o IronWare Image (Primary)
Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
o Monitor Image
Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
Compiled on Jun 7 2011 at 17:07:18 labeled as xmlb05200
Boot Flash: Type AM29LV040B, Size 512 KB
o Boot Image
Version 5.2.0T175, Size 514997 bytes, Check Sum 8ec9
Compiled on Jun 7 2011 at 17:06:54 labeled as xmlprm05200
FPGA Version (Stored In Flash):
PBIF Version = 3.24, Build Time = 8/4/2010 16:29:00

XPP Version = 6.23, Build Time = 2/4/2011 9:7:00

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Line Card Slot 6
Code Flash: Type MT28F640J3, Size 16 MB
o IronWare Image (Primary)
Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
o IronWare Image (Secondary)
Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
o Monitor Image
Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
Compiled on Jun 7 2011 at 17:07:18 labeled as xmlb05200
Boot Flash: Type AM29LV040B, Size 512 KB
o Boot Image
Version 5.2.0T175, Size 514997 bytes, Check Sum 8ec9
Compiled on Jun 7 2011 at 17:06:54 labeled as xmlprm05200
FPGA Version (Stored In Flash):
PBIF Version = 3.24, Build Time = 8/4/2010 16:29:00

XPP Version = 6.23, Build Time = 2/4/2011 9:7:00

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



_______________________________________________
foundry-nsp mailing list
foundry-nsp [at] puck
http://puck.nether.net/mailman/listinfo/foundry-nsp

nsp foundry RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.