Router do not boot from flash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 01:44 AM - edited 03-03-2019 07:00 PM
Hi,
i checked different ios versions and all of the documents from the Cisco site but I get always the same error:
c2691 processor with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with parity disabled
Readonly ROMMON initialized
loadprog: bad file magic number: 0x0
boot: cannot load "flash:"
System Bootstrap, Version 12.2(8r)T2, RELEASE SOFTWARE (fc1)
TAC Support: http://www.cisco.com/tac
Copyright (c) 2002 by cisco Systems, Inc.
c2691 processor with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with parity disabled
Readonly ROMMON initialized
rommon 1 > dir flash:
File size Checksum File name
9088716 bytes (0x8aaecc) 0xa4ac imageip.bin
rommon 2 > boot flash:imageip.bin
loadprog: bad file magic number: 0x0
boot: cannot load "flash:imageip.bin"
rommon 3 > dev
Devices in device table:
id name
flash: internal compact flash
slot0: external compact flash
eprom: eprom
- Labels:
-
Other Routers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 01:51 AM
You probably have a bad file or a corrupt flash.
try uploading a new IOS image via Xmodem and boot the router. If even this fails, then you probably need to get a new flash
BTW, the file you are trying to boot does not seem to be the IOS name. Did you change it previously by any chance while loading it on the router?
HTH
Narayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2007 10:27 PM
Narayan,
I?ve tried a few images. If I put the flash in another router it works!
If I try to load an image into the ram i get the following output:
rommon 2 > xmodem -r -c c3725-is-mz.122-15.T17.bin
Download Complete!
program load complete, entry point: 0x80008000, size: 0x1165c54
Self decompressing the image : #################################################
################################################################################
########################################################################## [OK]
Smart Init is disabled. IOMEM set to: 25
Using iomem percentage: 25
Restricted Rights Legend
....an so on
IOS (tm) 3700 Software (C3725-IS-M), Version 12.2(15)T17, RELEASE SOFTWARE (fc1) Compiled Sat 13-Aug-05 12:44 by kehsiao
Image text-base: 0x60008954, data-base: 0x61B20000
========= Dump bp = C000000 ======================
C000000: 3C123CCD 3C003C00 3C003C00 3CDD3CE0 3C003C00 3C003C00 3CDD3CB8 3CFF3CEC
.....->
3C003C00 3C003C00 3C003C00 3C003C0
0
========= Dump bp->next = 3C003C00 ======================
========== Dump bp->previous = 3CDD3CB8 =====================
============================================
%Software-forced reload
Unexpected exception, CPU signal 23, PC = 0x60525344
-Traceback= 60525344 60523550 6050A4F4 605063A8 60504604 604A2E94 60512A94 60598
B74 604A2B94 6043BEB0 6043C2E4 604F83F4 604F83D8
$0 : 00000000, AT : 62D50000, v0 : 62FC0000, v1 : 62FC0000
a0 : 62F942B8, a1 : 0000C100, a2 : 00000000, a3 : 62AC0000
t0 : 0000FF00, t1 : 3401FF01, t2 : 605284D0, t3 : FFFF00FF
t4 : 605284D0, t5 : 00000000, t6 : 00000000, t7 : 00000000
s0 : 00000000, s1 : 00000000, s2 : 62AB0000, s3 : 00000000
s4 : 62DD9824, s5 : 0000008C, s6 : 0C000000, s7 : 62DD9450
t8 : 6313F5D0, t9 : 00000000, k0 : 3041E801, k1 : 30410000
gp : 62D5C460, sp : 63136858, s8 : 00000021, ra : 60523550
EPC : 60525344, ErrorEPC : 020C4040, SREG : 3401FF03
MDLO : 00000000, MDHI : 00000003, BadVaddr : 1536EAED
Cause 000F0024 (Code 0x9): Breakpoint exception
=== Flushing messages () ===
*** System received a Software forced crash ***
signal= 0x17, code= 0x24, context= 0x62fc4204
PC = 0x6052a288, Cause = 0xf0020, Status Reg = 0x34018002
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2007 10:48 PM
Are you sure you are trying to load a compatible IOS. I have seen this tyoe of behaviour when we try to load an image which requires additional memory than which is present in the box
Narayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2007 10:50 PM
Narayan,
this ist the image that has been running until 2 weeks before.
Uwe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2007 11:06 PM
Narayan,
I will close the case.
The students have exchanged the original cisco DRAMs against cheaper ones. The originals from another router work.
Thanks for all
Uwe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 01:53 AM
The message I particularly noticed was: bad file magic number
There are several causes for this:
1: corrupted file
2: corruption of the flash file system
3: image unsuitable for this platform
Suggestions for recovery:
- Try another image
- Try to boot from a different location (i.e. slot0:)
- Format your flash and re-install the image
- Verify image is suitable for your router
regards,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 03:12 AM
Uwe
I notice in your post that your router has compact flash as slot0. The CF is frequently where images are stored. Can you do a dir slot0 or a show slot0 and lets see if perhaps there is another image available there which could be used to boot the router.
HTH
Rick
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 11:19 PM
Rick
There isn?t a. And unfortunately it is a DOS filesystem, so I can`t boot from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 11:16 PM
Hi it seems to me that the Flash is corrupt!?
Here the output by rommon during and after xmodem download:
rommon 4 > xmodem -c c2691-is-mz.122-15.T17.bin
Do not start the sending program yet...
File size Checksum File name
9088716 bytes (0x8aaecc) 0xa4ac ipimage.bin
WARNING: All existing data in flash will be lost!
Invoke this application only for disaster recovery.
Do you wish to continue? y/n [n]: y
Ready to receive file c2691-is-mz.122-15.T17.bin ...
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeee
Download Complete!
loadprog: bad file magic number: 0x0
rommon 5 > confreg
Configuration Summary
(Virtual Configuration Register: 0x2102)
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands
or default to: cisco2-c2691
rommon 6 > dir flash:
File size Checksum File name
18243968 bytes (0x1166180) 0x1fb1 c2691-is-mz.122-15.T17.bin
rommon 7 > boot flash:c2691-is-mz.122-15.T17.bin
loadprog: bad file magic number: 0x0
boot: cannot load "flash:c2691-is-mz.122-15.T17.bin"
I try to get another router and format the flash again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2007 10:19 AM
I had a similiar problem with a 1760 router. My router had an additional 32m flash in it that was bad. Replaced it and it booted fine.
