cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9476
Views
0
Helpful
5
Replies

Cisco WLAN AP2802 - flash full - mobility express

guidolippert
Level 1
Level 1

Hello, i have a problem with a ap2802e. I have uploaded the wrong update file for mobility express, not the small tar file, for updating rather the tar bundle, about 150MB. Now i have the problem with a full flash, no space left for logging or creating config files.

the delete command does not work for files. what can i do to free some space or reflash the device?

resetting the device, mode button pressed more than 20sec does not help.

AP70DB.9897.E276#sh flash
Directory of /storage/
total 48
-rw-r--r-- 1 root root 3 May 25 04:44 BOOT_COUNT
-rw-r--r-- 1 root root 3 May 25 04:44 BOOT_COUNT.reserve
lrwxrwxrwx 1 root root 28 May 24 18:36 PERS_CRASH_LOG -> /storage/syslogs/1.crash_log
-rw-r--r-- 1 root root 29 May 25 04:44 RELOADED_AT_UTC
drwxr-xr-x 2 root root 480 May 24 18:34 ap-images
drwxr-xr-x 4 root root 1104 May 25 04:45 application
-rw-r--r-- 1 root root 368 May 24 21:23 base_capwap_cfg_info
-rw-r--r-- 1 root root 0 May 24 18:34 bootloader.log
-rw-r--r-- 1 root root 5 May 24 18:34 bootloader_verify.shadow
-rw-r--r-- 1 root root 18 May 24 18:42 config
-rw-r--r-- 1 root root 0 May 25 04:44 config.local
-rw-r--r-- 1 root root 17 May 25 04:44 config.mobexp
drwxr-xr-x 2 root root 160 Jan 1 1970 cores
drwxr-xr-x 2 root root 320 May 24 18:34 dropbear
drwxr-xr-x 2 root root 160 Apr 13 00:17 images
-rw-r--r-- 1 root root 248 May 24 18:34 last_good_uplink_config
drwxr-xr-x 2 root root 160 Apr 13 00:00 lists
-rw-r--r-- 1 root root 63 May 24 16:59 part1_info.ver
-rw-r--r-- 1 root root 0 May 24 18:28 part2_info.ver
-rw-r--r-- 1 root root 4096 May 25 04:44 random_seed
-rw-r--r-- 1 root root 3 May 24 18:34 rxtx_mode
-rw-r--r-- 1 root root 64 May 24 18:36 sensord_CSPRNG0
-rw-r--r-- 1 root root 0 May 24 18:37 sensord_CSPRNG1
drwxr-xr-x 3 1 root 224 Apr 13 00:00 support
drwxr-xr-x 2 root root 400 May 25 04:44 syslogs
---------------------------------------------------------------------------
Filesystem Size Used Available Use% Mounted on
flash 57.5M 57.4M 0 100% /storage

thank you

5 Replies 5

the delete command does not work for files.

What do you mean?

I am guessing you are not able to delete them because they are directories. 

You can try this command:

delete /force/recursive flash:(directoryname)

example:

AP# delete /force /recursive flash:images

https://supportforums.cisco.com/discussion/10343871/deleting-directory-flash

You could also try:

format flash:

You'd want to be careful with that.  It is a scorched earth approach. 

Hello Jonathan,

the format command does not exist. 

AP70DB.9897.E276#format % Unrecognized command

also if i try to delete a file from flash: the delete command does not accept "flash:"

I know these commands from older wlan ap, like the 1140, or the 2700 series, and these commands work on the older models.

So i have no idea how to clean up the flash to free up some space

AP70DB.9897.E276#delete flash:config
^
% Invalid input detected at '^' marker.
AP70DB.9897.E276#

I would do it from ROMMON then. 

I do most of my AP work (with regards to files) in ROMMON.  It just works.

I think there is no rommon. Mode button pressed longer than 20 seconds is full factory reset.

There is a Cisco U-Boot, when i hit the escape key on boot.

 ____ _
/ ___|(_) ___ ___ ___
| | | |/ __| / __|/ _ \
| |___ | |\__ \| (__| (_) |
\____||_||___/ \___|\___/
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** LOADER **


U-Boot 2013.01-g729a7b4 (Dec 05 2016 - 23:44:32) SDK version: 2015_T2.0p10

Board: Barbados-2K
SoC: MV88F6920 Rev A1
running 2 CPUs
CPU: ARM Cortex A9 MPCore (Rev 1) LE
CPU 0
CPU @ 1800 [MHz]
L2 @ 900 [MHz]
TClock @ 250 [MHz]
DDR4 @ 900 [MHz]
DDR4 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM: 1 GiB
NAND: 256 MiB
SF: Detected N25Q32A with page size 64 KiB, total 4 MiB
PCI-e 1 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 2.0
PCI-e 2 (IF 1 - bus 1) Root Complex Interface, Detected Link X1, GEN 2.0

Map: Code: 0x3fedc000:0x3ffad730
BSS: 0x3ffef1d4
Stack: 0x3f9cbf20
Heap: 0x3f9cc000:0x3fedc000
U-Boot Environment: 0x00100000:0x00110000 (SPI)

Board configuration:
| port | Interface | PHY address |
|--------|------------|--------------|
| egiga1 | SGMII | 0x01 |
| egiga2 | SGMII | 0x00 |
Net: , egiga1, egiga2 [PRIME]
Hit ESC key to stop autoboot: 0
u-boot>> help
? - alias for 'help'
Creset - Creset - Run 'reset' or boot command in a loop, while counting.

SatR - Sample At Reset sub-system
active_units- print active units on board
askenv - get environment variables from stdin
base - print or set address offset
bdinfo - print Board Info structure
boardinit- Downlod and execute board initialization script
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bootz - boot Linux zImage image from memory
bubt - bubt - Burn an image on the Boot flash device.

chpart - change active partition
clear_board_env- Clears board env
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
date - get/set/reset date & time
ddrPhyRead- ddrPhyRead - Read DDR PHY register

ddrPhyWrite- ddrPhyWrite - Write DDR PHY register

dhcp - boot image via network using DHCP/TFTP protocol
dma - dma - Perform DMA using the XOR engine

dump_board_env- Dump board env
echo - echo args to console
editenv - edit environment variable
efuse - eFuse manipulation subsystem for secure boot mode
env - environment handling commands
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
ext4load- load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
ext4write- create a file in the root directory
false - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fdt - flattened device tree utility commands
fipsalgval- run algorithm validation on test vector bibnar in memory, default:2000000 (0x02000000)
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print command description/usage
i2c - I2C sub-system
iminfo - print header information for application image
imxtract- extract a part of a multi-image
init_aquantia_phy-

init_aquantia_phy -- DEFAULT AQ_FW_LOADADDR=0x4000000


ir - ir - reading and changing MV internal register values.

itest - return true/false on integer compare
ledstate- Set Led State
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loadx - load binary file over serial line (xmodem mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
map - map - Display address decode windows

md - memory display
me - me - PCIe master enable

mm - memory modify (auto-incrementing address)
mp - mp - map PCIe BAR

mtdparts- define flash/nand partitions
mtest - simple RAM read/write test
mvEthPortCounters- Port counter

mvEthPortMcastShow- Port multicast counter

mvEthPortRegs- Neta register values

mvEthPortRmonCounters- Port RMON counter

mvEthPortUcastShow- Port unicast counter

mvEthRegs- Neta register values

mvNetComplexNssSelect- Neta register values

mvNetaGmacRegs- Neta register values

mvNetaPortRegs- Neta register values

mvNetaPortStatus- Neta register values

mvsource- mvsource - Burn a script image on flash device.

mw - memory write (fill)
nand - NAND sub-system
nandboot- boot Linux from NAND partition
nboot - boot from NAND device
neta_dump- Neta register values

netboot - boot Linux from network using TFTP/bootp
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
pci - list and access PCI Configuration Space
pciePhyRead- phyRead - Read PCI-E Phy register

pciePhyWrite- pciePhyWrite - Write PCI-E Phy register

phyRead - phyRead - Read Phy register

phyWrite- phyWrite - Write Phy register

ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
prog_emblacklist- Program EM blacklist
prog_emignore- Program EM ignore
prog_emwhitelist- Program EM whitelist
prog_flags- Program board env flags
progpid - Program PID cookie
pxe - commands to get and boot from pxe files
rcvr - rcvr - Start recovery process (with TFTP server)

reset - Perform RESET of the CPU
resetenv- resetenv - Erase environment sector to reset all variables to default.

run - run commands in an environment variable
saveenv - save environment variables to persistent storage
se - se - PCIe Slave enable

setenv - set environment variables
sf - SPI flash sub-system
sg - sg - scanning the PHYs status

showvar - print local hushshell variables
sleep - delay execution for some time
source - run script from memory
sp - scan and detect all devices on PCI-e interface
sspi - SPI utility command
switchCountersRead- switchCntPrint - Read switch port counters.

switchPhyRegRead- - Read switch register

switchPhyRegWrite- - Write switch register

switchRegRead- switchRegRead - Read switch register

switchRegWrite- switchRegWrite - Write switch register

sysboot - command to get and boot from syslinux files
temp - temp - Display the device temperature.

tempCmd0- tempCmd - This command allocated for monitor extinction

tempCmd1- tempCmd - This command allocated for monitor extinction

tempCmd2- tempCmd - This command allocated for monitor extinction

tempCmd3- tempCmd - This command allocated for monitor extinction

test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
training- training - prints the results of the DDR3 Training.

trainingStability- training - prints the results of the DDR3 Training.

true - do nothing, successfully
ts_report- ts_report - report touch screen coordinate

ts_test - ts_test - test touch screen

ubi - ubi commands
ubifsload- load file from an UBIFS filesystem
ubifsls - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
verify_bl- Cisco Bootloader signature verify
verify_lx- Cisco Image signature verify
version - print monitor, compiler and linker version
whoAmI - - reading CPU ID

xsmiPhyRead- xsmiPhyRead - Read Phy register through XSMI interface

xsmiPhyWrite- xsmiPhyWrite - Write Phy register through XSMI interface

u-boot>>

I am facing the same problem. However, I don't think it's flash:/ that is full.

 

I was trying to upgrade a 2802i running MobExp 8.3.102.0 to 8.5.103.0. It was able to update all of the APs joined to it, but always failed on the local AP/controller. I found I was receiving "tar: write error: No space left on device" when attempting the upgrade.

 

I found this forum post in which someone stated they worked around the problem by loading a CAPWAP image on the AP, then converting it back to MobExp 8.3. I'm consoled in trying to do this now but am attempting to jump right up to 8.5, but I'm getting the same "no space" message.

 

There is plenty of free space on flash:

 

Filesystem                Size      Used Available Use% Mounted on
flash                    57.5M    432.0K     54.1M   1% /storage

I reloaded into the u-boot prompt and I think the filesystem that needs to be examined/cleaned up is UBI, but I'm having a hard time getting into it, mostly due to not knowing what the volume is called:

u-boot>> ubifsls
UBIFS not mounted, use ubifsmount to mount volume first!
ubifsls - list files in a directory

Usage:
ubifsls [directory]
    - list files in a 'directory' (default '/')
u-boot>> ubifsmount ubi
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:ubi", error -19
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:ubi' errno=-19!

ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
u-boot>> ubifsmount
ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
u-boot>> ubifsmount mtd2
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:mtd2", error -19
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:mtd2' errno=-19!

ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
u-boot>> ubifsmount rootfs
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:rootfs' errno=-19!

ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume

 

Review Cisco Networking for a $25 gift card