cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
37096
Views
18
Helpful
27
Replies

switch: CCCCCCCCCCxmodem:: I/O error

Steve Coady
Level 1
Level 1

hello

 

I goofed and uploaded a new image to my Cisco 3750.

I deleted the prior image and set the boot flash statement and then used the command boot system flash: old image/new image

 

This caused me to enter into switch: mode

 

I have tried various recovery steps

   flash_init

    load_helper

 

The dir flash still show old image which was deleted. It seemed my only course to reciver was to Xmodem

 

I am using SecureCRT and tried the TRANSFER XMODEM option, no success

I then issued the following (twice:

switch: copy xmodem: flash:c3750-ipservicesk9-mz.122-55.SE9.bin
Begin the Xmodem or Xmodem-1K transfer now...
CCCCCCCCCCxmodem:: I/O error

switch:

 

What other options can I try to correct this mistake?

sMc
27 Replies 27

I know this is kinda obvious, but did you copy/paste the filename in on the command line or did you type it by hand?  I recommend copy paste.  I only ask because I've been burned by that myself before.

copy paste.

 

I noted the following in the SecureCRT settings. Upload was set to diffent area than .bin file islocated. will try again

sMc

no success

 

I issued the format flash

flash_init

reset.

 

here is what i have now. Does this make any sense?

 


switch: format flash:
Are you sure you want to format "flash:" (all data will be lost) (y/n)?y
flashfs[0]: 0 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 1024
flashfs[0]: Bytes available: 32513024
flashfs[0]: flashfs fsck took 7 seconds.
Setting console baud rate to 9600...
Filesystem "flash:" formatted

switch: ?
           ? -- Present list of available commands
        boot -- Load and boot an executable image
         cat -- Concatenate (type) file(s)
        copy -- Copy a file
      delete -- Delete file(s)
         dir -- List files in directories
  flash_init -- Initialize flash filesystem(s)
      format -- Format a filesystem
        fsck -- Check filesystem consistency
        help -- Present list of available commands
 load_helper -- Load and initialize a helper image
      memory -- Present memory heap utilization information
       mkdir -- Create dir(s)
        more -- Concatenate (display) file(s)
      rename -- Rename a file
       reset -- Reset the system
       rmdir -- Delete empty dir(s)
         set -- Set or display environment variables
      set_bs -- Set attributes on a boot sector filesystem
   set_param -- Set system parameters in flash
       sleep -- Pause (sleep) for a specified number of seconds
 -- MORE --
        trap -- Cause a software breakpoint to occur
        type -- Concatenate (type) file(s)
       unset -- Unset one or more environment variables
     version -- Display boot loader version

switch: dir

List of filesystems currently registered:

               flash[0]: (read-write)
              xmodem[1]: (read-only)
                null[2]: (read-write)
                  bs[3]: (read-only)


switch: flash_init
Initializing Flash...
...The flash is already initialized.
Setting console baud rate to 9600...

switch: reset
Are you sure you want to reset the system (y/n)?y
System resetting...

Base ethernet MAC Address: 00:19:e7:72:7e:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 0 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 1024
flashfs[0]: Bytes available: 32513024
flashfs[0]: flashfs fsck took 7 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done.
Loading "flash:/c3750-ipservicesk9-mz.122-55.SE9.bin"...flash:/c3750-ipservicesk9-mz.122-55.SE9.bin: no such file or directory

Error loading "flash:/c3750-ipservicesk9-mz.122-55.SE9.bin"

Interrupt within 5 seconds to abort boot process.
Boot process failed...

The system is unable to boot automatically.  The BOOT
environment variable needs to be set to a bootable
image.


switch:

sMc

It makes sense. It's looking for an image in flash that matches the boot string. Since you just wiped flash, it will fail because there is no image. You can try the xmodem transfer again. 

Also, did you delete the old IOS image?  Just the little things that could break the process have to be checked.

it works

So far no matter what BAUD rate I set (9600 or 115200), I get same results!?

sMc

Baud rate is just for the purposes of transfer speed in this situation.  Most folks go with 115200 because it's quite a bit faster than 9600 as far as bitrate/transfer speed.  Results will be the same, just that the 9600 rate takes significantly longer.

Thanks Antonio, The "3rd C" statement really helped :)

Still getting same response

 

switch: copy  xmodem: flash:c3750-ipservicesk9-mz.122-55.SE9.bin
Begin the Xmodem or Xmodem-1K transfer now...
CCCCCCCCCCxmodem:: I/O error

 

What am I missing??

sMc

gilbertovale
Level 1
Level 1

I'ved the same problem, but i solved with this :  on my cisco 34xx baud 115200 and on my terminal too 115200.

switch: copy -b 115200 xmodem: flash:me340x-metroipaccessk9-mz.122-60.EZ11.bin
Begin the Xmodem or Xmodem-1K transfer now...
C............................................................................... ..........................................................
File "xmodem:" successfully copied to "flash:me340x-metroipaccessk9-mz.122-60.EZ 11.bin"

switch: dir flash:
Directory of flash:/

2 -rwx 15690496 <date> me340x-metroipaccessk9-mz.122-60.EZ1 1.bin

12179456 bytes available (15818752 bytes used)

abhaymb.89
Level 1
Level 1

change the console .

 

Yes,

Hi guys, I also got I/O error issues as I configured with "express console" port on the Cisco 2960x.

Then I changed the console port of "RJ45", it succeeded.

So my conclusion is that RJ45 console port is the correct one to transfer files/IOS image.


Hope my experience can be helpful to everyone.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card