#25501·openwrt

Creation of provisioning partition (now default for sysupgrade) bricks device(s)

Author: mirkoCreated Sep 30, 2026Updated Sep 30, 2026
Labelstarget/ipq806xbugSNAPSHOTSelf Built ImageSupported Device

Describe the bug

sysupgrade now creating provisioning partitions by default (725a1dc534a1ad1008ae0412925100fef66a776f) appears to at least brick the Aruba AP-325 device. It expects the rootfs-part to be the first volume (index 0), which however the provisioning part becomes after an sysupgrade with (by default) prov-part creation enabled.

The image boots with: ubi.mtd=aos1 ubi.mtd=ubifs ubi.block=0,aos1 root=/dev/ubiblock0_0

Result is:

[    1.808048] ubi0: attaching mtd1
[    1.964462] random: crng init done
[    2.311398] ubi0: scanning is finished
[    2.365050] ubi0: attached mtd1 (name "aos1", size 32 MiB)
[    2.365083] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.369432] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.376387] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.383147] ubi0: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0
[    2.389993] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    2.396243] ubi0: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 0
[    2.403200] ubi0: available PEBs: 175, total reserved PEBs: 81, PEBs reserved for bad PEB handling: 20
[    2.411606] ubi0: background thread "ubi_bgt0d" started, PID 66
[    2.412022] block ubiblock0_1: created from ubi0:1(aos1)
[    2.426734] ubi1: attaching mtd2
[    3.444040] ubi1: scanning is finished
[    3.464002] ubi1: attached mtd2 (name "ubifs", size 64 MiB)
[    3.464035] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.468472] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.475398] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.482185] ubi1: good PEBs: 511, bad PEBs: 1, corrupted PEBs: 0
[    3.489027] ubi1: user volume: 2, internal volumes: 1, max. volumes count: 128
[    3.495264] ubi1: max/mean erase counter: 6/1, WL threshold: 4096, image sequence number: 0
[    3.502239] ubi1: available PEBs: 0, total reserved PEBs: 511, PEBs reserved for bad PEB handling: 19
[    3.510625] ubi1: background thread "ubi_bgt1d" started,�[    3.526256] /dev/root: Can't open blockdev
[    3.526296] VFS: Cannot open root device "/dev/ubiblock0_0" or unknown-block(0,0): error -6
[    3.529248] Please append a correct "root=" boot option; here are the available partitions:
[    3.537576] 1f00           32768 mtdblock0
[    3.537586]  (driver?)
[    3.549990] 1f01           32768 mtdblock1
[    3.549999]  (driver?)
[    3.556562] 1f02           65536 mtdblock2
[    3.556570]  (driver?)
[    3.563008] 1f03             128 mtdblock3
[    3.563016]  (driver?)
[    3.569521] 1f04             128 mtdblock4
[    3.569530]  (driver?)
[    3.576087] 1f05             256 mtdblock5
[    3.576095]  (driver?)
[    3.582541] 1f06             512 mtdblock6
[    3.582549]  (driver?)
[    3.589052] 1f07              64 mtdblock7
[    3.589061]  (driver?)
[    3.595643] 1f08              64 mtdblock8
[    3.595651]  (driver?)
[    3.602072] 1f09             512 mtdblock9
[    3.602080]  (driver?)
[    3.608584] 1f0a             512 mtdblock10
[    3.608592]  (driver?)
[    3.615511] 1f0b            1024 mtdblock11
[    3.615520]  (driver?)
[    3.622037] 1f0c              64 mtdblock12
[    3.622045]  (driver?)
[    3.628702] 1f0d             256 mtdblock13
[    3.628711]  (driver?)
[    3.635287] 1f0e              64 mtdblock14
[    3.635295]  (driver?)
[    3.641828] 1f0f              64 mtdblock15
[    3.641836]  (driver?)
[    3.648501] 1f10              64 mtdblock16
[    3.648509]  (driver?)
[    3.655092] 1f11              64 mtdblock17
[    3.655101]  (driver?)
[    3.661620] 1f12             320 mtdblock18
[    3.661628]  (driver?)
[    3.668276] fe00            6820 ubiblock0_1
[    3.668284]  (driver?)
[    3.674866] List of all bdev filesystems:
[    3.677071]  squashfs
[    3.677077]
[    3.683405] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0

OpenWrt version

bb5ae5fd5acc10f3822017681941eed07fb214a3

OpenWrt release

SNAPSHOT

OpenWrt target/subtarget

ipq806x/generic

Device

Aruba AP-32x

Image kind

Self-built image

Steps to reproduce

No response

Actual behaviour

No response

Expected behaviour

No response

Additional info

No response

Diffconfig

Terms

  • I am reporting an issue for OpenWrt, not an unsupported fork.