Fixed
Created: Feb 22, 2023
Updated: Mar 21, 2023
Resolved Date: Mar 21, 2023
Found In Version: 10.22.33.6
Fix Version: 10.22.33.7
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Userspace
During boot up initramfs of ustart image, error message "partprobe: /dev/mmcblk0: Device or resource busy" is reported in console:
The partition table has been altered.
mmcblk0: p1 p2 < p5 p6 p7 >
fatlabel: warning - lowercase labels might not work properly on some systems
mke2fs 1.46.5 (30-Dec-2021)
Discarding device blocks: 0/204800 done
Creating filesystem with 204800 1k blocks and 51200 inodes
Filesystem UUID: 05e0c0c5-7fae-4dbb-a434-6a4c3db05ad6
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729
Allocating group tables: 0/25 done
Writing inode tables: 0/25 done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: 0/25 done
mke2fs 1.46.5 (30-Dec-2021)
Discarding device blocks: 0/921600 done
Creating filesystem with 921600 4k blocks and 230608 inodes
Filesystem UUID: 76b0efe7-31e4-4ee3-849c-b51ef1723f42
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Allocating group tables: 0/29 done
Writing inode tables: 0/29 done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: 0/29 done
mke2fs 1.46.5 (30-Dec-2021)
Discarding device blocks: 0/30177280 2097152/30177280 9961472/3017728017301504/3017728025690112/30177280 done
Creating filesystem with 30177280 4k blocks and 7544832 inodes
Filesystem UUID: f9cda9df-7390-4e56-a3fa-ce3c4a0bfbad
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Allocating group tables: 0/921 done
Writing inode tables: 0/921 done
Creating journal (131072 blocks): done
Writing superblocks and filesystem accounting information: 0/921 done
partprobe: /dev/mmcblk0: Device or resource busy
EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
ostree/deploy/wrlinux initialized as OSTree root
EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
Build steps:
http://128.224.153.156/buildarea1/SharedImage/LTS22/BSP/intel-socfpga-64_standard_glibc-std_OSTree_NoAB/20230222_173856/build_steps.log
/lpg-build/cdc/fast_prod/WRL10_22/WRL10_22_GIT/wrlinux-10/setup.sh --machines intel-socfpga-64 --templates feature/ostree --layers meta-lat --distro wrlinux --dl-layers --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
echo 'GPG_PATH = "/tmp/tmp.6QWAuVQ0x2"' >> conf/local.conf
echo '
TEST_SPIN = "GIT_20230222"
TEST_SPRINT = "WRL-10.22.33.6(RCPL)"
TEST_PLAN_WEEK = "2023WW08"' >> conf/local.conf
cat << EOF >> customized_test_plan.ini
[Test_Case]
ostree_basic_norpmdata
ostree_basic_fluxdata
ostree_basic_watchdog_clearbootflag
ostree_basic_grub_entry
ostree_basic_readonly_bootenv
ostree_cmd_add-remotes-config-dir
ostree_cmd_fsck
ostree_cmd_diff
ostree_system-export
ostree_reset_simple
ostree_reset_noflux
ostree_reset_everything
ostree_basic_systemd_service
ostree_basic_add_user
ostree_upgrade
ostree_unified_repo
ostree_failover
ostree_upgrade_simple
ostree_basic_unified_repo
ostree_basic_failover
ostree_basic_ostree_checksum
ostree_basic_ostree_diff
ostree_basic_ostree_fsck
ostree_basic_ostree_pull
ostree_basic_ostree_remote_refs
ostree_basic_ostree_remote_show-url
ostree_basic_ostree_rev-parse
ostree_basic_ostree_show
ostree_basic_ostree_prune
ostree_basic_ostree_commit
ostree_basic_ostree_log
ostree_uefi_bootnum
ostree_basic_ostree-system-generator
[Test_HW]
EOF
echo 'OSTREE_REMOTE_URL = "http://pek-lpgtest7408.wrs.com/buildarea1/SharedImage/LTS22/BSP/intel-socfpga-64_standard_glibc-std_OSTree_NoAB/20230222_173856/ostree_repo/"' >> conf/local.conf
echo 'OSTREE_BRANCH = "wrlinux-image-std"' >> conf/local.conf
bitbake-layers add-layer /net/pek-lpgtest19/buildarea1/jhu2/wrl1022-testing/testcases/wrlinux/wr-testing/bts-dev
#####To Clone a whole new testcases layer#####
git clone --depth 1 -b WRLINUX_10_22_HEAD git://lxgit.wrs.com/wrlinux-testing/testcases.git ../layers/testcases/wrlinux/
bitbake-layers add-layer ../layers/testcases/wrlinux/bts-dev
#####End#####
echo '
require templates/feature/bts/template.conf
IMAGE_FSTYPES += " tar.bz2"
BB_NO_NETWORK:pn-lmbench = "0"
ACTIVE_PLAN = "customized_test_plan.ini"' >> conf/local.conf
echo 'IMAGE_FSTYPES:remove = " live hddimg iso"' >> conf/local.conf
echo '
#Bellow is basic env, used by wr-test_0.1.0.bb
TEST_RELEASE_NAME = "WRLinux 10.22"
TEST_ROOTFS_TYPE = "glibc-std"
TEST_MULTILIB = ""
TEST_TESTER_NAME = ""
TEST_REQUIREMANTS = "LINUXEXEC-20572"
TEST_TARGET_NAME = "builder"
TEST_TAGS = ""' >> conf/local.conf
echo 'TEST_KEYWORD = ""' >> conf/local.conf
echo 'IMAGE_INSTALL:append = " nfs-utils-mount"
OSTREE_USE_AB = "0"' >> conf/local.conf
bitbake wrlinux-image-std wrlinux-image-small
Deploy steps:
http://pek-lpgtest17.wrs.com/wrlinux-10.22/log/BSP/intel-socfpga-64/customized_Install_NoAB_systemd/Stratix10_standard_glibc-std_OE_systemd/230223-114759/ostree_basic_add_user/intel-socfpga-64_platform/Stratix10.socfpga_stratix10_socdk.Install_NoAB.standard.true.glibcstd.netpeklpgtest19buildarea1jhu2wrl1022testingtestcaseswrlinuxutilsfrags/targetCommands_28586.platform_B0E1R0_20230223_034823.log
setenv ipaddr 128.224.165.18
setenv serverip 128.224.165.20
saveenv
tftpboot 0x2000000 128.224.165.20:vlm-boards/28586/kernel
tftpboot 0x8000000 128.224.165.20:vlm-boards/28586/dtb
setenv bootargs "console=ttyS0,115200n8 earlycon rw root=/dev/nfs nfsroot=128.224.165.20:/export/pxeboot/vlm-boards/28586/rootfs,tcp ip=128.224.165.18:128.224.165.20:128.224.165.1:255.255.255.0::eth0:off"
booti 0x2000000 - 0x8000000
mount -t nfs 128.224.165.20:/export/pxeboot/vlm-boards/28586 /mnt
ls /mnt
ls /mnt -lh
md5sum /mnt/ustart.img
time dd if=/mnt/ustart.img of=/dev/mmcblk0 bs=1M conv=fdatasync status=progress
reboot