Software distribution error with LMS 3.2 regarding flash/memory size

Unanswered Question
Apr 7th, 2010

Hello,

I'm accustomed to LMS raising warnings about memory size not being enough when in fact there is enough space (eg : there is 256mb, IOS requires 256mb, but LMS calculates 255.234mb, and says there is not enough memory). I've encoutered that situation many times with LMS 3.1 and just learned to ignore it.

But since I've upgraded to LMS 3.2, we are now getting _errors_ which are preventing us from deploying the IOS, even though there is still enough memory and flash space. I've read in another thread about bug CSCsu49349 but this one should be fixed in LMS 3.2, so I am at lost.

I always download my IOSes from Cisco.com using LMS so that the proper fields are populated.

Here is one sample : I was trying to deploy an IOS to a 2821 router. The IOS weighs 29Mb in reality and I have around 31Mb of free flash, and the whole flash is 64Mb, but I get a catastrophic error. Also note the contradictory warning about the memory size :

-----

Warning - SWIM1065: Minimum RAM requirement of the selected image: 256 MB  .
RAM available on the device ( 256 MB) May not be enough to activate the  selected image.
Increase the RAM size for the device, select a different  image for upgrading, or
specify the RAM size for the image by editing the  attributes of the image stored in the software repository.

Warning - SWIM1070: Feature subset of the Active image could not be  determined.

Catastrophic - SWIM1200:Selected Flash partition  requires minimum (64 MB) to upgrade selected software/image.
Select a  different Flash partition for upgrading the image.

-----

Do I need to modify the flash requirement on the image to get around this, or is there a patch available for LMS 3.2 ?

Thanks for the advice,

Alex.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Wed, 04/07/2010 - 23:21

RME 4.3 had code added to calculate a fudge factor for flash to determine if a device actually has enough based on the reported values.  The memory warning is valid as you have JUST the minimum amount of RAM.

Try running a new Inventory Collection for this router, and see if you can deploy the image then.

--

Please support CSC Helps Haiti

https://supportforums.cisco.com/docs/DOC-8895

https://supportforums.cisco.com

adery6300 Thu, 04/08/2010 - 05:19

Hello,

After running another inventory to make sure, I get the same error. Here are the steps of the distribution process (we can see I have enough room for the IOS, barely, but still enough) :

Afterwards I get the failed message :

And the same error message :

Thanks for the help!

Alex.

Joe Clarke Thu, 04/08/2010 - 16:13

Your available flash is just shy of the 5% fudge factor.  RME is giving your device 67084222 bytes of flash when the image needs 67108864.  To fix this, edit NMSROOT/MDC/tomcat/webapps/rme/WEB-INF/conf/swim/RecommendVerifyFields.properties, and set MINFLASHPERCTOBEINC to 6 instead of 5.  Then re-run the job, and it should work.

--

Please support CSC Helps Haiti

https://supportforums.cisco.com/docs/DOC-8895

https://supportforums.cisco.com

Actions

This Discussion