06-12-2022 10:01 PM - edited 06-12-2022 11:16 PM
Hi everyone,
I have a Cisco AIR 2802I with mode CAPWAP and running firmware 8.3.143.0. I want join this AP with Cisco Embedded Wireless Controller on Catalyst Access Points 17.8.1 but can not because different firmware version. When I upgrade firmware for AIR 2802 with tftp server by firmware ap3g3-k9w8-tar.153-3.JPM.tar, I received error as below:
AP70B3.17A2.C756#archive download-sw /reload tftp://10.96.xxx.xx/ap3g3-k9w8-tar.153-3.JPM.tar
######################################################################## 100.0%
Image downloaded, writing to flash...
do PREDOWNLOAD, part1 is active part
upgrade.sh: Error: TAR_READ_ERROR, not updating ubi vol
+ do_upgrade PREDOWNLOAD
+ [ ! -r /tmp/part.tar ]
+ [ 1 -lt 3 ]
+ local base_vol=/dev/ubivol
+ local action=PREDOWNLOAD
+ cat /MERAKI_BOARD
+ local board=barbados
+ get_activepart
+ get_activepart_real
+ cat /proc/cmdline
+ local kcmdline=console=ttyS0,9600 activepart=part1 activeboot=0 bootver=0x11e boardid=0x21 nss_emac_map=0x6 wired0=2 phy0=mvl console=ttyS0,115200 nfcConfig=4bitecc mtdparts=armada-nand:1m(oops),1m(reserved),-(fs) ubi.mtd=fs wired1=1 phy1=mvl
+ echo console=ttyS0,9600
+ grep activepart
+ echo activepart=part1
+ grep activepart
+ echo activepart=part1
+ awk -F= {print $2}
+ echo activeboot=0
+ grep activepart
+ echo bootver=0x11e
+ grep activepart
+ echo boardid=0x21
+ grep activepart
+ echo nss_emac_map=0x6
+ grep activepart
+ echo wired0=2
+ grep activepart
+ echo phy0=mvl
+ grep activepart
+ echo console=ttyS0,115200
+ grep activepart
+ echo nfcConfig=4bitecc
+ grep activepart
+ echo mtdparts=armada-nand:1m(oops),1m(reserved),-(fs)
+ grep activepart
+ echo ubi.mtd=fs
+ grep activepart
+ echo wired1=1
+ grep activepart
+ echo phy1=mvl
+ grep activepart
+ local part_active=part1
+ [ part1 != part1 -a part1 != part2 ]
+ echo part1
+ local active_part=part1
+ get_alternateboot part1
+ [ part1 == part2 ]
+ echo part2
+ local part_to_upgrade=part2
+ local eff_upgrade_master=false
+ local tftp_image_vers=
+ local skip_img_sign_verify=false
+ local skip_boot_upgrade=false
+ echo
+ tr , \n
+ echo dangerous 26504
+ sync
+ cd /tmp
+ [ barbados == barbados ]
+ tar -xf /tmp/part.tar info.ver info btldr.img setenv.gz
+ [ PREDOWNLOAD == CHECK_ME ]
+ get_capwap_version
+ [ 0 -lt 1 ]
+ local version_file=/tmp/info.ver
+ [ -f /tmp/info.ver ]
+ echo
+ local capwap_version=
+ /usr/sbin/getoffset /tmp/part.tar part.bin
+ local fileoffset=Filename Tar_Read_Error Offset 0 Length 0 Errorcode 9
+ echo Filename Tar_Read_Error Offset 0 Length 0 Errorcode 9
+ cut -f4 -d
+ local partfileoffset=0
+ echo Filename Tar_Read_Error Offset 0 Length 0 Errorcode 9
+ cut -f6 -d
+ local partfilesize=0
+ echo Filename Tar_Read_Error Offset 0 Length 0 Errorcode 9
+ cut -f8 -d
+ local errorcode=9
+ [[ 9 -ne 0 ]]
+ reportupdatestatus 9
+ loudlog Error: TAR_READ_ERROR, not updating ubi vol
+ logger -p 0 -t upgrade Error: TAR_READ_ERROR, not updating ubi vol
+ echo upgrade.sh: Error: TAR_READ_ERROR, not updating ubi vol
upgrade.sh: Error: TAR_READ_ERROR, not updating ubi vol
+ return 9
+ status=9
+ set +x
Error: '/etc/capwap-upgrade.sh PREDOWNLOAD' failure.
AP70B3.17A2.C756#
This is result of show filesystems command:
AP70B3.17A2.C756#show filesystems
Filesystem Size Used Available Use% Mounted on
/dev/ubivol/storage 57.5M 88.0K 54.4M 0% /storage
AP70B3.17A2.C756#
I think capacity of flash not enough for import new firmware.
Please help me. Thanks
Solved! Go to Solution.
06-13-2022 09:18 AM
Those software versions are too far apart. First upgrade the AP to 15.3(3)JK7 (=8.10.171.0):
https://software.cisco.com/download/home/286304510/type/286288051/release/15.3.3-JK7
You might even need to upgrade it to 15.3(3)JF15 (=8.5.182.0) first before upgrading to 15.3(3)JK7.
https://software.cisco.com/download/home/286304510/type/286288051/release/15.3.3-JF15
Then try upgrading to 15.3(3)JPM.
06-12-2022 11:31 PM
Hi
You can try to make room by deleting file on flash. But, I think you are moving from too much different version.
17.8.0, cupertino, have an upgrade path that can pass by 17.4 or 17.6 first.
Id recommend you to downgrade your ewlc to something around 16 and join the AP. Then, upgrade both to 17.
06-13-2022 12:08 AM
Thanks for reply, but I didn't find any firmware different from Cisco Homepage, just only 15.3 for AP. And I check matrix compatible between AP and Controller, with ver 16.2 of Controller, I need firmware 15.3, so downgrade maybe unsuccessful. Link matrix: Cisco Wireless Solutions Software Compatibility Matrix - Cisco.
And I can not delete file on flash, because not dir command on Enable console, so I don't know file for delete.
Thanks.
06-13-2022 01:17 AM
Try to use "debug capwap console cli" gives you more option for commands.
Factory reset it, in case you didn´t.
The datasheet mention:
System memory |
● 1024 MB DRAM
● 256 MB flash
|
06-13-2022 01:58 AM
My AP haven't debug capwap console cli command, just have "debug capwap client..." command.
And yes, with datasheet capacity of flash is 256MB, but now we have 54MB
06-13-2022 05:02 AM
Use a different firmware (not necessarily JPM) and see if the output is the same.
06-15-2022 11:34 PM
I tried 15.3(3)JF15 (=8.5.182.0) firmware and output is the same JPM.
06-13-2022 12:53 AM
@Minh Nguyen 2197 wrote:
upgrade.sh: Error: TAR_READ_ERROR
File is corrupt.
06-13-2022 01:24 AM
I checked checksum of file downloaded and checksum on Cisco homepage download, it matches. So I need redownload again ?
06-13-2022 09:18 AM
Those software versions are too far apart. First upgrade the AP to 15.3(3)JK7 (=8.10.171.0):
https://software.cisco.com/download/home/286304510/type/286288051/release/15.3.3-JK7
You might even need to upgrade it to 15.3(3)JF15 (=8.5.182.0) first before upgrading to 15.3(3)JK7.
https://software.cisco.com/download/home/286304510/type/286288051/release/15.3.3-JF15
Then try upgrading to 15.3(3)JPM.
06-15-2022 11:32 PM
I tried updating to the new version 15.3(3)JF15 (=8.5.182.0) but still got the same error as the first time, still can't update
06-16-2022 01:13 AM
Then you'll probably need to contact TAC to make any progress.
06-16-2022 01:53 AM
Thanks for reply
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide