"xmodem:: permission denied" when upgrading IOS through ROMMON

Unanswered Question
May 4th, 2007

Hi All,

For various reasons I need to copy an IOS image to my MC3810 router via ROMMON mode.

However when I try the "copy xmodem: flash:" command or "copy xmodem flash" I receive the error "xmodem:: permission denied".

I have searched and searched but can't find what the solution is to this. I suspect I may need to alter a config register but unsure of what to change it to etc.

Any help or suggestions greatly appreciated!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
cameron.moody Sat, 05/05/2007 - 15:26

Hi Mohammed,

Thanks for the suggestion however I have also tried the xmodem command. When I do this I get an "unknown command" response.

Any other ideas that I can try? I am not concerned about how long it takes, I just need to get it up and running.

mohammedmahmoud Sat, 05/05/2007 - 23:51

Hi,

It seems that the logic of the Cisco MC3810 Series recovery is different, kindly use follow this documet, and please don't hesitate for any further inquires:

You have to use the rommon 1> priv command to have access to the full set of ROM monitor commands.

http://www.cisco.com/univercd/cc/td/doc/product/access/multicon/3810fru.htm

HTH, please do rate all helpful replies,

Mohammed Mahmoud.

cameron.moody Mon, 05/07/2007 - 12:54

Hi Mohammed,

Thanks heaps for the suggestion of enterring the 'priv' command first.

Unfortunately I also had no luck with that :(

Below is the output of the exact ver I am running and what I have tried. I hope I don't have a very big paperweight on my hands!

System Bootstrap, Version 11.3(1)MA1, MAINTENANCE INTERIM SOFTWARE

Copyright (c) 1998 by cisco Systems, Inc.

Compiled Sat 24-Jan-98 14:55 by krunyan

PPC860 PowerQUICC, partnum 0x0000, version A03(0x0013)

MC3810 platform with 32768 Kbytes of main memory

rommon 1 > priv

You now have access to the full set of monitor commands.

Warning: some commands will allow you to destroy your

configuration and/or system images and could render

the machine unbootable.

rommon 3 > fsck flash:

Initialize Flash file system.....

total size = 8388608

Initializing Flash...

flashfs[0]: 0 files, 1 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 8128000

flashfs[0]: Bytes used: 1024

flashfs[0]: Bytes available: 8126976

flashfs[0]: flashfs fsck took 1 seconds.

...done Initializing Flash.

Flash SIMM Init OK

Are you sure you want to fsck "flash:" (could take several minutes) (y/n)?y

flashfs[0]: 0 files, 1 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 8128000

flashfs[0]: Bytes used: 1024

flashfs[0]: Bytes available: 8126976

flashfs[0]: flashfs fsck took 1 seconds.

rommon 4 > tftpdnld

monitor: command "tftpdnld" not found

rommon 5 > copy xmodem: flash:

xmodem:: permission denied

rommon 6 > copy xmodem flash

xmodem: permission denied

rommon 7 > cpu

PPC860 PowerQUICC, partnum 0x0000, version A03(0x0013)

rommon 8 > dev

Devices in device table:

id name

net: network

eprom: eprom (device is file system capable)

flash: flash simm (device is file system capable)

mem: main memory

rommon 9 > meminfo

Main memory size : 32 MB

Packet memory size: 5 MB

ROMMON NVRAM size : 64 KB

IOS NVRAM size : 256 KB

Available main memory starts at 0x23000, size 0x1fdd000

rommon 10 > verify-bh

File checksum error !!

Original = 4ba0 Calculated = 4b80

rommon 11 > xmodem -c mc3810-a2binr3v2-mz_113-1_ma7.bin

monitor: command "xmodem" not found

rommon 12 >

mohammedmahmoud Mon, 05/07/2007 - 12:59

Hi Cameron,

Take a look at Step 14 at try to follow from there:

rommon 2> upgrade-bh

HTH, please do rate all helpful posts,

Mohammed Mahmoud.

cameron.moody Mon, 05/07/2007 - 23:15

Hi Mohammed

I've just tried that command. Unfortunately I can't copy the exact output but below is what happened...

priv

upgrade-bh

Ready to send file...

Selected Send File (with XModem format)

Error - not a valid executable file

When this happened it looked like only about 2K had been transferred and cancelled out very quickly (within a few seconds). I then got a "transfer cancelled by remote system" prompt in Hyperterm.

The file I was sending is 'known good' as it has been used on other MC3810. Unfortunately I don't have access to them anymore but it has worked in the past. I also have older IOS versions that I tried as well with the same error.

jasonrandolph Tue, 05/08/2007 - 13:44

Are you using hyperterm?

I have come across a bug with hyperterm in which a file transfer will timeout if it is not the active application on your desktop. IE: if you bring up a web browser to do other work while waiting for the file transfer to happen...

cameron.moody Tue, 05/08/2007 - 16:07

Hi Jason,

Yes I am using hyperterm on Win XP.

However it was the only application running at the time.

sly007 Wed, 05/09/2007 - 09:26

Thanks for the assistance you have given on the use of Xmoden generic to download an IOS to the Router when it cannot be accessed. I have used it on 2600 series router and it has worked.

However, before i could changed the baudrate to 9600, the final download had finished and the router restarted. How do I reset the baudrate back to 9600? I can only console into it right now at 115600.

d_heinzen Thu, 05/10/2007 - 13:41

If the downtime is acceptable you could reboot, get into ROMMON, and set the speed back to 9600 (confreg 0x2102 in the ROMMON setup or type confreg from ROMMON and answer the menu-driven questions to set the console speed back to 9600). Unless the downtime is more unacceptable than the non-standard console speed.

Are you asking because downtime is not an option?

cameron.moody Thu, 05/10/2007 - 12:35

Hi Mohammed,

I'm pretty much running out of ideas now and will try anything.

I am thinking, is it a possibility that the boot rom chip needs to be replaced? Or the flash need replacing?

I have a source where I can purchase both of these. Obviously I would rather not but really just want to get a working router!

Actions

This Discussion