cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3607
Views
0
Helpful
8
Replies

881 flash failure and usbflash boot

wayfaring
Level 1
Level 1

internal flash volume appears to have failed which i'm assuming cannot be fixed but if you have a suggestion there I'd like to hear it.  I've moved on to trying usb flash disk for boot which works fine when commands are issued manually from rommon but if the router loses power or is reloaded, boot file listed in the config is not found and it drops back to rommon.  rommon takes a couple dir commands to get it to display the usbflash0: contents and it also doesn't see the device until the dir commands are issued which might be related.  8GB pny usb disk partitioned down to multiple partitions with the first being 256MB FAT16 using BootICE in windows.  Any ideas?



rommon 7 > dir flash:
The device is not recognizable.
dir: cannot open device "flash:"
rommon 8 > boot
The device is not recognizable.
boot: cannot open "flash:"
boot: cannot determine first file name on device "flash:"
rommon 9 > dev
Devices in device table:
        id  name
    flash:  internal compact flash
usbflash0:  usbflash0



rommon 5 > dir usbflash0:
program load complete, entry point: 0x80020000, size: 0x46d40
open(): Open Error = -1
dir: cannot open device "usbflash0:"

rommon 10 > dir usbflash0:
program load complete, entry point: 0x80020000, size: 0x46d40
Directory of usbflash0:

2      32288196  -rw-     c880data-universalk9-mz.151-4.M.bin
rommon 11 > boot
open(): Open Error = -35

rommon 12 > boot usbflash0:c880data-universalk9-mz.151-4.M.bin
program load complete, entry point: 0x80020000, size: 0x46d40

Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.1(4)M, RELEASE SOFTWARE (fc1)
ROM: System Bootstrap, Version 12.4(22r)YB5, RELEASE SOFTWARE (fc1)
System image file is "usbflash0:c880data-universalk9-mz.151-4.M.bin"

Cisco 881 (MPC8300) processor (revision 1.0) with 236544K/25600K bytes of memory.

5 FastEthernet interfaces
1 Virtual Private Network (VPN) Module
256K bytes of non-volatile configuration memory.
3780976K bytes of USB Flash usbflash0 (Read/Write)
125440K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102


after ios booted:
% Crashinfo may not be recovered at flash:crashinfo
% This file system device reports an error

boot-start-marker
boot system usbflash0:c880data-universalk9-mz.151-4.M.bin
boot system usbflash0:0:c880data-universalk9-mz.151-4.M.bin
boot system rom
boot-end-marker

router#sh file system
File Systems:

       Size(b)       Free(b)      Type  Flags  Prefixes
             -             -    opaque     rw   buffer:
             -             -    opaque     rw   archive:
             -             -    opaque     rw   system:
             -             -    opaque     rw   tmpsys:
             -             -    opaque     rw   null:
             -             -   network     rw   tftp:
        262136        234713     nvram     rw   nvram:
*            -             -      disk     rw   flash:
             -             -    opaque     wo   syslog:
             -             -    opaque     ro   xmodem:
             -             -    opaque     ro   ymodem:
             -             -   network     rw   rcp:
             -             -   network     rw   http:
             -             -   network     rw   ftp:
             -             -   network     rw   scp:
             -             -    opaque     ro   tar:
             -             -   network     rw   https:
             -             -    opaque     ro   cns:
     268279808     235986944  usbflash     rw   usbflash0: usbflash0:0:
    2041282560    2041282560  usbflash     rw   usbflash0:1:
    2041282560    2041282560  usbflash     rw   usbflash0:2:
    3806601216    3806597120  usbflash     rw   usbflash0:3:

router#dir usbflash0:
Directory of usbflash0:/

    1  -rw-    32288196  Nov 10 2015 03:15:36 -06:00  c880data-universalk9-mz.151-4.M.bin

268279808 bytes total (235986944 bytes free)



router#dir flash:
%Error opening flash:/ (No such device)
router#format flash:
Format operation may take a while. Continue? [confirm]
Format operation will destroy all data in "flash:".  Continue? [confirm]
%Error formatting flash: (No such device)

8 Replies 8

Leo Laohoo
Hall of Fame
Hall of Fame

Looks like the router is dead and needs to be RMA-ed.

it's online and routing, but is in a state where I will have to go through manual rommon usb boot again over console cable if power is ever interrupted.  we'll have to replace it at some point but I'm trying to keep it consistent until then.

boot system usbflash0:0:c880data-universalk9-mz.151-4.M.bin

Take this line off.  The syntax is incorrect. 

boot system usbflash0:c880data-universalk9-mz.151-4.M.bin

Can you change this to "boot system flash usbflash0:c880data-universalk9-mz.151-4.M.bin"? 

Also is there a USB flash "permanently" attached to the router?

the 0:0 was just another attempt since it also shows up that way in sh file system. the usb stick will be permanently attached if needed.

getting same result with boot line modified:

router#sh run | inc boot
boot-start-marker
boot system flash usbflash0:c880data-universalk9-mz.151-4.M.bin
boot system rom
boot-end-marker

router#reload
Proceed with reload? [confirm]

System Bootstrap, Version 12.4(22r)YB5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.

C880 platform with 262144 Kbytes of main memory

Readonly ROMMON initialized
program load complete, entry point: 0x80020000, size: 0x46d40
open(): Open Error = -1
loadprog: error - on file open
boot: cannot load "usbflash0:c880data-universalk9-mz.151-4.M.bin"

System Bootstrap, Version 12.4(22r)YB5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.

C880 platform with 262144 Kbytes of main memory

Readonly ROMMON initialized
boot: unsupported boot device "rom"

System Bootstrap, Version 12.4(22r)YB5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.

C880 platform with 262144 Kbytes of main memory

Readonly ROMMON initialized
open(): Open Error = -35
boot: cannot open "flash:"
boot: cannot determine first file name on device "flash:"

System Bootstrap, Version 12.4(22r)YB5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.

C880 platform with 262144 Kbytes of main memory

Readonly ROMMON initialized
open(): Open Error = -35
boot: cannot open "flash:"
boot: cannot determine first file name on device "flash:"

System Bootstrap, Version 12.4(22r)YB5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.

C880 platform with 262144 Kbytes of main memory

Readonly ROMMON initialized
rommon 1 > boot usbflash0:c880data-universalk9-mz.151-4.M.bin
program load complete, entry point: 0x80020000, size: 0x46d40
open(): Open Error = -1
loadprog: error - on file open
boot: cannot load "usbflash0:c880data-universalk9-mz.151-4.M.bin"
rommon 2 > dir usbflash0:
program load complete, entry point: 0x80020000, size: 0x46d40
Directory of usbflash0:

2      32288196  -rw-     c880data-universalk9-mz.151-4.M.bin
rommon 3 > boot usbflash0:c880data-universalk9-mz.151-4.M.bin
program load complete, entry point: 0x80020000, size: 0x46d40

program load complete, entry point: 0x80020000, size: 0x1ecac24
Self decompressing the image : ###################################

then ios loads and the router comes online, it seems like it cant get to the usb ios image until after the dir usbflash0: command is issued.

boot system rom

Please remove this too.

boot lines are attempted sequentially top to bottom until one works or it just drops to rommon, correct?  will removing this line have any effect on the problem?  

It will depend on the first statement.  How do one know the first statement is valid and the router ain't booting into ROMmon because of faulty first and second boot variable statement?

this router goes to rommon when there is no boot statement in the config due to internal flash failure which is what lead to attempt booting from usbflash boot statement.  what i'm not understanding is why same option works for ios images on flash: in other routers, seems to be a usbflash quirk.

Review Cisco Networking for a $25 gift card