cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
40123
Views
6
Helpful
24
Replies

Cisco 1832i bootloop

Ekobudhi
Level 1
Level 1

Hello..

 

Anyone have this problem ? I have Cisco 1832i with bootloop problem after try to install ME

 

[04/12/2019 14:59:39.6123] mkp_lg: HW WDT trigger...
[04/12/2019 14:59:39.6123]
[04/12/2019 14:59:39.6123] Kernel panic - not syncing: HW WDT trigger...
[04/12/2019 14:59:39.6123]
[04/12/2019 14:59:39.6123] SMP: failed to stop secondary CPUs
[04/12/2019 14:59:39.6123] Rebooting in 10 seconds..

 

This one is part2, how to swicth to part 1 ? or is there anyway to put it back itu cap ?

 

Thank you for your kind attention & help.

 

Eko

24 Replies 24

Downloaded AIR-AP1850-K9-8-5-161-0.tar.
In u-boot loaded: tftpboot AIR-AP1850-K9-8-5-161-0.tar.
Unpacked part.bin and put in the root of the tftp server. Executed bootipq tftp.
It loaded but gave out a bunch of errors.
APDCCE.C12A.20E0#sh flash
Directory of /storage/
total 36
-rw-r--r-- 1 root root 2 Jan 1 1970 BOOT_COUNT
-rw-r--r-- 1 root root 29 Jan 1 1970 RELOADED_AT_UTC
drwxr-xr-x 3 root root 0 Feb 18 05:04 application
-rw-r--r-- 1 root root 76 Feb 18 05:04 base_capwap_cfg_info
-rw-r--r-- 1 root root 18 Feb 18 05:04 config
-rw-r--r-- 1 root root 0 Jan 1 1970 config.local
-rw-r--r-- 1 root root 0 Feb 18 05:04 config.mobexp
drwxr-xr-x 2 root root 0 Feb 18 05:04 cores
drwxr-xr-x 2 root root 0 Feb 18 05:04 dropbear
-rw-r--r-- 1 root root 221 Feb 18 05:04 last_good_uplink_config
drwxr-xr-x 2 root root 0 Jan 1 1970 lists
-rw-r--r-- 1 root root 63 Jan 1 1970 part1_info.ver
-rw-r--r-- 1 root root 4096 Feb 18 05:04 random_seed
-rw-r--r-- 1 root root 3 Feb 18 05:04 rxtx_mode
drwxr-xr-x 3 1 root 0 Feb 18 2020 support
drwxr-xr-x 2 root root 0 Feb 18 05:04 syslogs
---------------------------------------------------------------------------
df: /storage: can't find mount point
Filesystem Size Used Available Use% Mounted on

[*02/18/2020 05:05:31.6726] waiting for WCP to initialize
[*02/18/2020 05:05:31.6726] waiting for WCP to initialize
[*02/18/2020 05:05:31.6726] Socket Invalid Element wcp/wcp_db Handler has_rlan Data 0 Length 10
[*02/18/2020 05:05:31.6726] Failed to load flex AP config from file. Default config will be used.
[*02/18/2020 05:05:31.6726] /usr/sbin/capwapd: opening /click/cli_h/apr_bypass/active failed!: No such file or directory
[*02/18/2020 05:05:31.6726]
[*02/18/2020 05:05:31.6726] !!!!! {/usr/sbin/capwapd} failed writing /click/cli_h/apr_bypass/active len 1 data: "1"
[*02/18/2020 05:05:31.6826] Socket Invalid Element wcp/mesh_userspace/capwap Handler set_ap_outdoor Data 0 Length 25
[*02/18/2020 05:05:31.7526] Socket Invalid Element wcp/mesh_userspace/capwap Handler set_ap_I_domain Data 0 Length 25

Enabling Controller Provisioning
Configuring management interfaceCan't open format specifier database File:No such file or directory at /bsn/xml2cli_optimized line 43.

Make sure you check the hash after downloading. If that comes back fine, and the process didn’t work, could be an issue with your ap. You other have to open a TAC case and get an RMA.
-Scott
*** Please rate helpful posts ***

(RNAQ-C7) # chpart
mtdids not defined, no default present
(RNAQ-C7) # mtdparts
mtdids not defined, no default present
(RNAQ-C7) # printenv
boot=part2
bootcmd=bootipq
bootdelay=5
bootfile=part.bin
ethact=eth0
fileaddr=44000000
filesize=2ADA000
ipaddr=192.168.1.1
machid=1260
mtddevname=fs
mtddevnum=0
nand_erasesize=1000
nand_oobsize=0
nand_writesize=100
partition=nand0,0
serverip=192.168.1.254
stderr=serial
stdin=serial
stdout=serial

Environment size: 336/65532 bytes
(RNAQ-C7) # printshenv
BAUDRATE=9600
BOOT=part1
ENABLE_BREAK=1
FACTORY_RESET=0
MANUAL_BOOT=0
MEMORY_DEBUG=0

Shared environment size: 98/16384 bytes, write counter: 113, active 0:0


As I understand it, you need to somehow write mtd partition in nand.

 

(RNAQ-C7) # nand
nand - NAND sub-system

Usage:
nand info - show available NAND devices
nand device [dev] - show or set current device
nand read - addr off|partition size
nand write - addr off|partition size
read/write 'size' bytes starting at offset 'off'
to/from memory address 'addr', skipping bad blocks.
nand read.raw - addr off|partition [count]
nand write.raw - addr off|partition [count]
Use read.raw/write.raw to avoid ECC and access the flash as-is.
nand write.yaffs - addr off|partition size
write 'size' bytes starting at offset 'off' with yaffs format
from memory address 'addr', skipping bad blocks.
nand erase[.spread] [clean] off size - erase 'size' bytes from offset 'off'
With '.spread', erase enough for given file size, otherwise,
'size' includes skipped bad blocks.
nand erase.part [clean] partition - erase entire mtd partition'  - This operation was performed.
nand erase.chip [clean] - erase entire chip'
nand bad - show bad blocks
nand dump[.oob] off - dump page
nand scrub [-y] off size | scrub.part partition | scrub.chip
really clean NAND erasing bad blocks (UNSAFE)
nand markbad off [...] - mark bad block(s) at offset (UNSAFE)
nand biterr off - make a bit error at offset (UNSAFE).

 

Is there a tool for how to do this?


@admin000178 wrote:

boot=part2


Try this: 

setshenv BOOT part1
saveshenv

Reboot the AP.  

Hit ESC key to stop autoboot: 0
Specified BOOT: part1

Booting from part1

Volume part1 not found!
Volume part1 not found!

Booting failed, try boot on part2

Volume part2 not found!
Volume part2 not found!
(RNAQ-C7) # printenv
boot=part1
bootcmd=bootipq
bootdelay=5
bootfile=part.bin
ethact=eth0
fileaddr=0x44000000
filesize=2ADA000
ipaddr=192.168.1.1
machid=1260
mtddevname=fs
mtddevnum=0
nand_erasesize=20000
nand_oobsize=40
nand_writesize=800
partition=nand0,0
serverip=192.168.1.254
stderr=serial
stdin=serial
stdout=serial

Environment size: 340/65532 bytes
(RNAQ-C7) # printshenv
BAUDRATE=9600
BOOT=part1
ENABLE_BREAK=1
FACTORY_RESET=0
MANUAL_BOOT=0
MEMORY_DEBUG=0

Shared environment size: 98/16384 bytes, write counter: 114, active 0:1
(RNAQ-C7) #

 

If you boot from tftp, you can see the following picture:

APDCCE.C12A.20E0#sh flash
Directory of /storage/
total 36
-rw-r--r-- 1 root root 2 Jan 1 1970 BOOT_COUNT
-rw-r--r-- 1 root root 29 Jan 1 1970 RELOADED_AT_UTC
drwxr-xr-x 3 root root 0 Feb 18 05:04 application
-rw-r--r-- 1 root root 76 Feb 18 05:04 base_capwap_cfg_info
-rw-r--r-- 1 root root 18 Feb 18 05:04 config
-rw-r--r-- 1 root root 0 Jan 1 1970 config.local
-rw-r--r-- 1 root root 0 Feb 18 05:04 config.mobexp
drwxr-xr-x 2 root root 0 Feb 18 05:04 cores
drwxr-xr-x 2 root root 0 Feb 18 05:04 dropbear
-rw-r--r-- 1 root root 221 Feb 18 05:04 last_good_uplink_config
drwxr-xr-x 2 root root 0 Jan 1 1970 lists
-rw-r--r-- 1 root root 63 Jan 1 1970 part1_info.ver
-rw-r--r-- 1 root root 4096 Feb 18 05:04 random_seed
-rw-r--r-- 1 root root 3 Feb 18 05:04 rxtx_mode
drwxr-xr-x 3 1 root 0 Feb 18 2020 support
drwxr-xr-x 2 root root 0 Feb 18 05:04 syslogs
---------------------------------------------------------------------------
df: /storage: can't find mount point
Filesystem Size Used Available Use% Mounted on

APDCCE.C12A.20E0#[*02/18/2020 05:05:09.4096]
[*02/18/2020 05:05:09.4096] !!!!! {watchdogd} Process wcpd gone for 60s
[*02/18/2020 05:05:09.4096]
[*02/18/2020 05:05:09.4096] !!!!! {watchdogd} Process capwapd no heartbeat for 60s
[*02/18/2020 05:05:09.4196]
[*02/18/2020 05:05:09.4196] !!!!! {watchdogd} Process sync_log gone for 60s
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] waiting for WCP to initialize
[*02/18/2020 05:05:31.6227] Socket Invalid Element wcp/wcp_db Handler has_rlan Data 0 Length 10
[*02/18/2020 05:05:31.6227] Failed to load flex AP config from file. Default config will be used.
[*02/18/2020 05:05:31.6227] /usr/sbin/capwapd: opening /click/cli_h/apr_bypass/active failed!: No such file or directory
[*02/18/2020 05:05:31.6227]
[*02/18/2020 05:05:31.6227] !!!!! {/usr/sbin/capwapd} failed writing /click/cli_h/apr_bypass/active len 1 data: "1"
[*02/18/2020 05:05:31.6227] Socket Invalid Element wcp/mesh_userspace/capwap Handler set_ap_outdoor Data 0 Length 25
[*02/18/2020 05:05:31.7026] Socket Invalid Element wcp/mesh_userspace/capwap Handler set_ap_I_domain Data 0 Length 25
[*02/18/2020 05:06:14.4693]
[*02/18/2020 05:06:14.4693] !!!!! {watchdogd} Process wcpd gone for 120s

 

Loading an image:

APDCCE.C12A.20E0#archive download-sw /no-reload tftp://192.168.1.254/AIR-AP1850- K9-8-5-161-0.tar
######################################################################### 100.0%
Image downloaded, writing to flash...
do PREDOWNLOAD, part1 is active part
Image signing verify success.
Verify returns 0
Unlocking /dev/mtd4 ...
Erasing /dev/mtd4 ...
23+0 records in
23+0 records out
upgrade.sh: part to upgrade is part2
libubi: error!: cannot get information about "/dev/ubivol/part2"
error 2 (No such file or directory)
ubiupdatevol: error!: error while probing "/dev/ubivol/part2"
error 2 (No such file or directory)
upgrade.sh: AP backup version: 8.5.161.0
do ACTIVATE, part1 is active part
upgrade.sh: activate part2, set BOOT to part2
upgrade.sh: AP primary version: 8.5.161.0
upgrade.sh: AP backup version: 8.5.161.0
Archive done.
APDCCE.C12A.20E0#

 

After rebooting:

DRAM: 1 GiB
NAND (ONFI): Detected SPANSION S34MS02G1 [256 MiB]
SF: Detected Macronix MX25U3235F [4 MiB]
MFG data loaded
Scanning shenv data blocks
Total valid parts=4
Active shenv part[1:0], write_counter=115
PCI0 Link Intialized
Net:
PHY ID = 0x4dd074, eth0 found AR8033 PHY
PHY ID = 0x4dd074, eth1 found AR8033 PHY
Valid I2C chip addresses: 51 52
AP 1832/1852 detected...
Power Type: Power Brick detected...


Found new boot image.
Validating new image integrity ...New boot image blocked to keep compatibility
Clean up invalid new boot image ...
Erasing at 0x33f000 -- 100% complete.
Signature returns 0
BL signing verification success, continue to run...
Auto boot mode, use bootipq directly
Hit ESC key to stop autoboot: 0
Specified BOOT: part2

Booting from part2

Volume part2 not found!
Volume part2 not found!

Booting failed, try boot on part1

Volume part1 not found!
Volume part1 not found!
(RNAQ-C7) #

It didn't work.


@admin000178 wrote:

Volume part2 not found!
Volume part2 not found!

Booting failed, try boot on part1

Volume part1 not found!
Volume part1 not found!


RMA time

it license
Level 1
Level 1

Hi did you solve the problem I have the same with AP 1850

RMA the AP.

DivakaranV
Level 1
Level 1

Did u managed to fix or did u do RMA? I think we all do not know how the file system is managed in uboot. The ap is not able to see the partition and we need to make sure part1 and part2 portition I mean the volumes should be exists in the nand. I am experimenting the whole process and in that I broke my 4800 ap while I was trying to covert it to mobility express from capwap. It was always failing saying that disk space issue or file corrupted. But I tried many versions and so I though of planning in the flash formatting etc and broke the ap. I am not sure CISCO covers these to replace h/w but the Cisco procedure is always is not clear about it. If I am success in my advance troubleshooting and will let you know

Review Cisco Networking for a $25 gift card