Wind River Support Network

HomeDefectsLIN1023-2174
Fixed

LIN1023-2174 : xilinx-zynq: ubifs mount failed

Created: Sep 25, 2023    Updated: Nov 8, 2023
Resolved Date: Oct 10, 2023
Found In Version: 10.23.30.2
Fix Version: 10.23.30.3
Severity: Standard
Applicable for: Wind River Linux LTS 23
Component/s: BSP

Description

Wind River Linux LTS 23.30 Update 2 xilinx-zynq ttyPS0 xilinx-zynq login: root Password:  103.159464] sort (504) used greatest stack depth: 5464 bytes left [ 107.950546] postlog (536) used greatest stack depth: 5440 bytes left root@xilinx-zynq:~# zcat /proc/config.gz  (grep -i MTD_SPI_NOR_USE_4K_SECTORS CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y root@xilinx-zynq:~# flash_erase /dev/mtd3 0 0 Erasing 6016 Kibyte @ 0 -- 100 % complete root@xilinx-zynq:~# ubiattach /dev/ubi_ctrl -m 3 [ 484.125627) ubi0: attaching mtd3 [ 485.141881] ubi0: scanning is finished [ 485.145803] ubi0: empty MTD device detected [ 485.828146] ubi0: attached mtd3 (name "qspi-rootfs", size 5 MiB) [ 485.840777] ubi0: PEB size: 4096 bytes (4 KiB), LEB size: 3968 bytes [ 485.849056] ubi0: min./max. I/O unit sizes: 1/256, sub-page size 1 [ 485.856307] ubi0: VID header offset: 64 (aligned 64), data offset: 128 [ 485.863537] ubi0: good PEBs: 1504, bad PEBs: 0, corrupted PEBs: 0 [ 485.870072] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 23 [ 485.878263] ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 1298081668 [ 485.887710] ubi0: available PEBs: 1500, total reserved PEBs: 4, PEBs reserved for bad PEB handling: 0 [ 485.901310] ubi0: background thread "ubi_bgt0d" started, PID 584 UBI device number 0, total 1504 LEBs (5967872 bytes, 5.6 MiB), available 1500 LEBs (5952000 bytes, 5.6 MiB), LEB size 3968 bytes (3.8 KiB) root@xilinx-zynq:~# ubimkvol /dev/ubi0 -N root -s 5952000 Volume ID 0, size 1500 LEBs (5952000 bytes, 5.6 MiB), LEB size 3968 bytes (3.8 KiB), dynamic, name "root", alignment 1 root@xilinx-zynq:~# mount -t ubifs ubi0:root /mnt [ 578.518678] UBIFS error (ubi0:0 pid 588): init_constants_early: too small LEBs (3968 bytes), min. is 15360 bytes mount: /mnt: wrong fs type, bad option, bad superblock on ubi0:root, missing codepage or helper program, or other error. dmesg(1) may have more information after failed mount system call. root@xilinx-zynq:~# cat /proc/version Linux version 6.1.53-yocto-standard (oe-user@oe-host) (arm-wrs-linux-gnueabi-gcc (GCC) 12.3.0, GNU ld (GNU Binutils) 2.40.0.20230703) #1 SMP PREEMPT Fri Sep 15 17:23:49 UTC 2023 root@xilinx-zynq:~# cat /proc/cmdline console=ttyPS0,115200 earlyprintk rw root=/dev/nfs nfsroot=128.224.178.20:/export/pxeboot/vlm-boards/28656/rootfs,tcp ip=128.224.179.57:128.224.178.20:128.224.178.1:255.255.254.0::eth0:off root@xilinx-zynq:~# cat /etc/os-release ID=wrlinux NAME="Wind River Linux LTS" VERSION="10.23.30.2 (mickledore)" VERSION_ID=10.23.30.2 VERSION_CODENAME="mickledore" PRETTY_NAME="Wind River Linux LTS 23.30 Update 2" root@xilinx-zynq:~#

Steps to Reproduce

/lpg-build/cdc/fast_prod/WRL10_23/WRL10_23_GIT/wrlinux-10/setup.sh --machines xilinx-zynq --distro wrlinux --accept-eula=yes --dl-layers

. environment-setup-x86_64-wrlinuxsdk-linux
. oe-init-build-env build

bitbake wrlinux-image-std

The first failure:
http://pek-lpgtest3.wrs.com/lpg-build/cdc/publiclog/WRLinux1023/WRL-10.23.30.2_RCPL/2023WW37/GIT_20230917/BSP/xilinx-zynq_standard_glibc-std/ZYNQ-ZC702_OE_systemd_nor_mtd3/flash_dd_ubifs/

Last Success:
http://pek-lpgtest3.wrs.com/lpg-build/cdc/publiclog/WRLinux1023/WRL-10.23.30.1_LTS23/LX02/WRLINUX_10_23_LTS_RCPL0001/BSP/xilinx-zynq_preempt-rt_glibc-std/ZYNQ-ZC702_OE_nor_mtd3_systemd/flash_dd_ubifs/target_28655.platform_B0E1R0_20230802_124150.log
Live chat
Online