We help IT Professionals succeed at work.

cisco 3640 boot problem

thomaspm
thomaspm asked
on
i have a 11.3(20) on my cisco 3640 and i upgraded it to   12.0(9). everything went fine while upgrading
it and i can even see the image in dir flash: but the router wont boot.

when i start it it says,

loadprog: error -on read during ELF program load
Excpected bytes 412345 and received 312345
boot: cannot load from "flash
Comment
Watch Question

Commented:
thom: I have the same issue.  What you are dealing with here is a corrupt flash image -the router is expecting 412345 bytes of flash and what it has is incomplete -312345.  Since you can't get back into exec mode, you will have to power down the router, power it back up again while consoled in, and when it is in the process of rebooting, hit CTRL + Break to interrupt the boot process.  This should bring you to a prompt rommon>.  From here, what you want to do, is use the XMODEM process to load a complete version of the flash onto the router through the console port. At the prompt, use the command xmodem (it has a number of switches associated with it, and will also warn you that you will replace the current flash image). The router gets the image through hyperterminal by going up to transfer - send file and then selecting xmodem from the drop down box.  It will prompt you for the destination directory where the flash image is.  Note: it will take a LONG time to upload the image over a 9600 baud connection -but it will work.

Let me know if you have any other questions.

Author

Commented:
thanks silas but i had already done that and guess what, whe i try to do xmodem it says, not enough free memory in flash.i thought it should delete teh already exixting image but dunno whats happening.

Commented:
how much flash memory do you have?  Compare this to the IOS image size.  Also, there should be an "erase flash" command -or during the xmodem procedure it may prompt you to do an erase.  The router won't handle 2 images in there at once.

Author

Commented:
i have 4 mb flash and thats what it needs. there is no erase command and actually erase is done by default in all routers after 1600 series. neways, i found a image which in 3.7 Mb range. uploaded that in router but now. this image needs more ram. i.e.i have 16 MB and it needs 24. so... will have to get some more memory i suppose and hopefully it solves all my probs.

Commented:
I believe the 1600 only has one RAM slot -so you will need a 16MB chip.  There is 3rd party memory out there (I believe through Kingston) -you may want to try that.

Author

Commented:
u got me wrong silas,
 i have a 3640 and so i don't have erase command. its done by default.

another things taht i said was, the type of image taht i have downloaded needs 24mb ram, i have 16 mb so i need 8 mb more. now the problem is:- legal memory config does not allow three 8mb-duals. i need either four 8 mb duals or one 8 mb stick which is not dual.

so now, i'll wait till my guys  get me some memory.

Commented:
I have a 7507 that prompts me.  O well.

Commented:
Did I answer the question?  It looks like your issue is resolved.  -The question will stay locked unless you either accept the answer, or reject it and let others reply.