cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1201
Views
0
Helpful
3
Replies

Downgrade lwapp image -> permission denied

patoberli
VIP Alumni
VIP Alumni

Hi All

I have a problematic AP 3502i here, which doesn't want to connect to any of my controllers. It's around 2 years old and I never used it before (see https://supportforums.cisco.com/discussion/13205991/lightweight-ap-3500-fail-join-capwaplwapp). I wanted to try now to downgrade the image, but when I'm in recovery mode and inputting the tar -xtract command, I'm immediately getting a permission denied error and the tftp server doesn't show a connection request.

Not sure now if I have to RMA it (or actually throw away) or what to do.


r WRDTR,CLKTR: 0x8200083f 0x40000000
r RQDC ,RFDC : 0x80000033 0x00000212
using  eeprom values
WRDTR,CLKTR: 0x8200083f 0x40000000
RQDC ,RFDC : 0x80000033 0x00000212
using MCNG ddr static values from serial eeprom
ddr init done
Running Normal Memtest...
Passed.
IOS Bootloader - Starting system.
FLASH CHIP:  Numonyx P33
Checking for Over Erased blocks
......................................................................................................................................................................................................................................................
Xmodem file system is available.
DDR values used from system serial eeprom.
WRDTR,CLKTR: 0x8200083f, 0x40000000
RQDC, RFDC : 0x80000033, 0x00000212
PCIE0: link is up.
PCIE0: VC0 is active
PCIE1: link is up.
PCIE1: VC0 is active
64bit PCIE devices
PCIEx: initialization done
flashfs[0]: 43 files, 8 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 31739904
flashfs[0]: Bytes used: 10063872
flashfs[0]: Bytes available: 21676032
flashfs[0]: flashfs fsck took 9 seconds.
Reading cookie from system serial eeprom...Done
Base Ethernet MAC address: a4:93:4c:f3:1d:8b
Ethernet speed is 1000 Mb - FULL duplex
Unable to get our ip address: no "IP_ADDR" variable set

The system has encountered an error initializing the
TFTP file system. The system is ignoring the error and
continuing to boot. If you abort the boot process,
the following commands will set IP_ADDR, DEFAULT_ROUTER
and NETMASK environment variables, initialize the tftp
system, and load the operating system software:

    set IP_ADDR
    set DEFAULT_ROUTER
    set NETMASK
    tftp_init
    boot

Loading "flash:/ap3g1-k9w8-mx.153-3.JD/ap3g1-k9w8-mx.153-3.JD"...###############

File "flash:/ap3g1-k9w8-mx.153-3.JD/ap3g1-k9w8-mx.153-3.JD" uncompressed and installed, entry point: 0x4000
executing...
enet halted

IOS Secondary Bootloader - Starting system.
FLASH CHIP:  Numonyx P33
Checking for Over Erased blocks
......................................................................................................................................................................................................................................................
Xmodem file system is available.

DDR values used from system serial eeprom.
WRDTR,CLKTR: 0x8200083f, 0x40000000
RQDC, RFDC : 0x80000033, 0x00000212

PCIE0: link is up.
PCIE0: VC0 is active
PCIE1: link is up.
PCIE1: VC0 is active
Radio 0 : Vendor 0x11AB, Device 0x8350

64bit PCIE devices
Radio 1 : Vendor 0x11AB, Device 0x8324

PCIEx: initialization done
flashfs[0]: 43 files, 8 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 31739904
flashfs[0]: Bytes used: 10063872
flashfs[0]: Bytes available: 21676032
flashfs[0]: flashfs fsck took 10 seconds.
Reading cookie from system serial eeprom...Done
Base Ethernet MAC address: a4:93:4c:f3:1d:8b

The system boot has been aborted.  The following
commands will finish loading the operating system
software:

    ether_init
    tftp_init
    boot

Creating Test Kernel diagnostic commands
Radio 0 : Vendor 0x11AB, Device 0x8324
Radio 1 : Vendor 0x11AB, Device 0x8350
Radio 2 : Vendor 0x8959, Device 0x1C8
Radio 3 : Vendor 0x1204, Device 0x41
******** AUTOMATIC DDR CALIBRATION UPGRADE LOGIC *********
=== 1. Is original FCS bootloader in BS:?  If not, skip upgrade ===
    ---> original FCS bootloader not detected -- skip upgrade
ap       
ap: set IP_ADDR 172.16.102.233
ap: set NETMASK 255.255.255.0
ap: set DEFAULT_ROUTER 172.16.102.1
ap: tftp_init
Unknown cmd: tftp_init

ap: ether_init
Unknown cmd: ether_init

ap: flash_init
Initializing Flash...
...The flash is already initialized.

ap: tar -xtract tftp://172.16.102.57/ap3g1-k9w7-tar.default flash:
tftp://172.16.102.57/ap3g1-k9w7-tar.default: permission denied

ap:
3 Replies 3

johnlloyd_13
Level 9
Level 9

hi,

check for any typo such as there's NO .tar at the end of the file ap3g1-k9w7-tar.default.tar.

also ensure you're pointed to the right TFTP directory/path and image file is stored there.

Tried all possible variants, with various images, always the same error message.

Little update. With the Mode button (press before powering it up) and hold it until it's red (amber) I could force it now to download a new image, I hope I took the correct one. It's now loading it. Not sure if I should have taken the recovery image instead of the full image, I guess I'll soon see :)

Reading cookie from system serial eeprom...Done
Base Ethernet MAC address: a4:93:4c:f3:1d:8b
Ethernet speed is 1000 Mb - FULL duplex
button is pressed, wait for button to be released...
button pressed for 21 seconds
process_config_recovery: set IP address and config to default 10.0.0.1
process_config_recovery: image recovery
image_recovery: Download default IOS tar image tftp://255.255.255.255/ap3g1-k9w7-tar.default


Unable to create temp dir "flash:/update"
examining image...
extracting info (286 bytes)
Image info:
    Version Suffix: k9w8-.152-4.JB6
    Image Name: ap3g1-k9w8-mx.152-4.JB6
    Version Directory: ap3g1-k9w8-mx.152-4.JB6
    Ios Image Size: 594432
    Total Image Size: 10465792
    Image Feature: WIRELESS LAN|LWAPP
    Image Family: AP3G1
    Wireless Switch Management Version: 7.6.100.0
Extracting files...
ap3g1-k9w8-mx.152-4.JB6/ (directory) 0 (bytes)
extracting ap3g1-k9w8-mx.152-4.JB6/ap3g1-k9w8-mx.152-4.JB6 (121199 bytes)..........................
extracting ap3g1-k9w8-mx.152-4.JB6/ap3g1-boot-m_upg (393216 bytes).....

Review Cisco Networking for a $25 gift card