• Lv0
    粉丝0

积分0 / 贡献0

提问3答案被采纳0文章0

OH4.0 rk3568启动一直分区挂载失败需要怎么解决

Juniar 显示全部楼层 发表于 2024-7-29 10:39:12

[ 8.053993] [I/xpm_kernel]get_dm_verity_partition_dev: get / dev=2:2 success [ 8.054092] [I/xpm_kernel]report_security_info: 1011009110: { "event_type": "dm-verity disable", "timestamp": 1501923610 } [ 8.071945] [pid=1][Init][INFO][init.c:232]Start init first stage. [ 8.170066] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.170242] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName updater [ 8.170634] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName userdata [ 8.171005] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName sys_prod [ 8.171442] [pid=1][ueventd][INFO][ueventd.c:191]Handle required partitionName system [ 8.172123] [pid=1][ueventd][INFO][ueventd_device_handler.c:85]symlink /dev/block/mmcblk0p5->/dev/block/platform/fe310000.sdhci/by-name/system [ 8.172193] [pid=1][ueventd][INFO][ueventd_device_handler.c:85]symlink /dev/block/mmcblk0p5->/dev/block/by-name/system [ 8.172682] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.173596] [pid=1][ueventd][INFO][ueventd.c:191]Handle required partitionName boot_linux [ 8.174185] [pid=1][ueventd][INFO][ueventd_device_handler.c:85]symlink /dev/block/mmcblk0p3->/dev/block/platform/fe310000.sdhci/by-name/boot_linux [ 8.174239] [pid=1][ueventd][INFO][ueventd_device_handler.c:85]symlink /dev/block/mmcblk0p3->/dev/block/by-name/boot_linux [ 8.174702] [pid=1][ueventd][INFO][ueventd.c:191]Handle required partitionName uboot [ 8.175243] [pid=1][ueventd][INFO][ueventd_device_handler.c:85]symlink /dev/block/mmcblk0p1->/dev/block/platform/fe310000.sdhci/by-name/uboot [ 8.175296] [pid=1][ueventd][INFO][ueventd_device_handler.c:85]symlink /dev/block/mmcblk0p1->/dev/block/by-name/uboot [ 8.176187] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName chip_prod [ 8.176640] [pid=1][ueventd][INFO][ueventd.c:191]Handle required partitionName vendor [ 8.177204] [pid=1][ueventd][INFO][ueventd_device_handler.c:85]symlink /dev/block/mmcblk0p6->/dev/block/platform/fe310000.sdhci/by-name/vendor [ 8.177258] [pid=1][ueventd][INFO][ueventd_device_handler.c:85]symlink /dev/block/mmcblk0p6->/dev/block/by-name/vendor [ 8.177695] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.178617] [pid=1][ueventd][INFO][ueventd.c:191]Handle required partitionName ramdisk [ 8.179229] [pid=1][ueventd][INFO][ueventd_device_handler.c:85]symlink /dev/block/mmcblk0p4->/dev/block/platform/fe310000.sdhci/by-name/ramdisk [ 8.179284] [pid=1][ueventd][INFO][ueventd_device_handler.c:85]symlink /dev/block/mmcblk0p4->/dev/block/by-name/ramdisk [ 8.179755] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName resource [ 8.267644] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.268409] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.268787] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.269585] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.270279] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.270989] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.271706] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.272447] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.272822] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.273528] [pid=1][ueventd][WARNING][ueventd.c:196]Not found device for partitionName (null) [ 8.277139] [pid=1][Init][INFO][init_mount.c:30]Mount required partitions [ 8.277185] [pid=1][PARAM][ERROR][param_include.h:75]Invalid current param ohos.boot.bootslots [ 8.277239] [pid=1][PARAM][ERROR][param_manager.c:652]Forbid to access ohos.boot.bootslots label 0 0 [ 8.277254] [pid=1][BEGET][INFO][fstab_mount.c:330]No valid slot value found from parameter, try to get it from cmdline [ 8.277358] [pid=1][BEGET][INFO][fstab_mount.c:428]boot slots is 2, now adjust partition name according to current slot [ 8.277375] [pid=1][PARAM][ERROR][param_include.h:75]Invalid current param ohos.boot.currentslot [ 8.277409] [pid=1][PARAM][ERROR][param_manager.c:652]Forbid to access ohos.boot.currentslot label 0 0 [ 8.277423] [pid=1][BEGET][INFO][fstab_mount.c:339]No valid slot value found from parameter, try to get it from cmdline [ 8.277495] [pid=1][BEGET][INFO][fstab_mount.c:344]No valid slot value found from cmdline, try to get it from bootctrl [ 8.277595] [pid=1][BEGET][ERROR][fstab.c:330]Failed to get fstab item from mount point " /bootctrl " [ 8.277610] [pid=1][BEGET][INFO][fstab.c:511]Mount point not found, try to get path by device name. [ 8.277627] [pid=1][BEGET][ERROR][fstab_mount.c:311]Failed to get bootctrl device [ 8.277639] [pid=1][BEGET][ERROR][fstab_mount.c:410]slot value -1 is invalid, set default value ffff ls[ 8.277654] [pid=1][BEGET][INFO][fstab_mount.c:415]partition name with slot suffix: /dev/block/platform/fe310000.sdhci/by-name/system_a [ 13.281528] [pid=1][Init][ERROR][init_utils.c:388]wait for file:/dev/block/platform/fe310000.sdhci/by-name/system_a failed after 5 second. [ 13.281933] [pid=1][BEGET][WARNING][fstab_mount.c:395]Mount /dev/block/platform/fe310000.sdhci/by-name/system_a to /usr failed, err = 2. Ignore failure [ 13.282019] [pid=1][PARAM][ERROR][param_include.h:75]Invalid current param ohos.boot.bootslots [ 13.282215] [pid=1][PARAM][ERROR][param_manager.c:652]Forbid to access ohos.boot.bootslots label 0 0 [ 13.282504] [pid=1][BEGET][INFO][fstab_mount.c:330]No valid slot value found from parameter, try to get it from cmdline [ 13.283022] [pid=1][BEGET][INFO][fstab_mount.c:428]boot slots is 2, now adjust partition name according to current slot [ 13.283107] [pid=1][PARAM][ERROR][param_include.h:75]Invalid current param ohos.boot.currentslot [ 13.283274] [pid=1][PARAM][ERROR][param_manager.c:652]Forbid to access ohos.boot.currentslot label 0 0 [ 13.283344] [pid=1][BEGET][INFO][fstab_mount.c:339]No valid slot value found from parameter, try to get it from cmdline [ 13.283750] [pid=1][BEGET][INFO][fstab_mount.c:344]No valid slot value found from cmdline, try to get it from bootctrl [ 13.284226] [pid=1][BEGET][ERROR][fstab.c:330]Failed to get fstab item from mount point " /bootctrl " [ 13.284300] [pid=1][BEGET][INFO][fstab.c:511]Mount point not found, try to get path by device name. [ 13.284385] [pid=1][BEGET][ERROR][fstab_mount.c:311]Failed to get bootctrl device [ 13.284444] [pid=1][BEGET][ERROR][fstab_mount.c:410]slot value -1 is invalid, set default value

ls [ 13.284509] [pid=1][BEGET][INFO][fstab_mount.c:415]partition name with slot suffix: /dev/block/platform/fe310000.sdhci/by-name/vendor_a [ 18.288341] [pid=1][Init][ERROR][init_utils.c:388]wait for file:/dev/block/platform/fe310000.sdhci/by-name/vendor_a failed after 5 second. [ 18.288793] [pid=1][BEGET][WARNING][fstab_mount.c:395]Mount /dev/block/platform/fe310000.sdhci/by-name/vendor_a to /vendor failed, err = 2. Ignore failure [ 18.288883] [pid=1][PARAM][ERROR][param_include.h:75]Invalid current param ohos.boot.bootslots [ 18.289222] [pid=1][PARAM][ERROR][param_manager.c:652]Forbid to access ohos.boot.bootslots label 0 0 [ 18.289294] [pid=1][BEGET][INFO][fstab_mount.c:330]No valid slot value found from parameter, try to get it from cmdline [ 18.289782] [pid=1][BEGET][INFO][fstab_mount.c:428]boot slots is 2, now adjust partition name according to current slot [ 18.289892] [pid=1][BEGET][ERROR][fstab_mount.c:361]Unsupported file system " none " [ 18.290303] [pid=1][Init][INFO][init.c:211]Start init second stage. [ 18.290635] [pid=1][Init][WARNING][switch_root.c:162]Try to switch root in same device, skip switching root [ 18.307259] [pid=1][Init][INFO][init.c:90]Init fd holder socket done [ 18.308965] [pid=1][BEGET][ERROR][fstab.c:330]Failed to get fstab item from mount point " /misc " [ 18.309088] [pid=1][BEGET][INFO][fstab.c:511]Mount point not found, try to get path by device name. [ 18.309463] [pid=1][BEGET][ERROR][reboot_misc.c:80]Failed to get misc info [ 18.309535] [pid=1][Init][INFO][init_group_manager.c:201]boot start device.boot.group [ 18.309709] [pid=1][PARAM][ERROR][param_include.h:75]Invalid current param const.cust.config_dir_layer [ 18.309884] [pid=1][PARAM][ERROR][param_manager.c:652]Forbid to access const.cust.config_dir_layer label 0 0 [ 18.309961] [pid=1][PARAM][ERROR][param_include.h:75]Invalid current param const.cust.follow_x_rules [ 18.310133] [pid=1][PARAM][ERROR][param_manager.c:652]Forbid to access const.cust.follow_x_rules label 0 0 [ 18.310436] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [820]us, return 0. [ 18.310534] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [22]us, return 0. [ 18.310955] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [338]us, return 0. [ 18.311071] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [37]us, return 0. [ 18.311140] [pid=1][PLUGIN][INFO][selinux_static.c:23]Install selinuxadp. [ 18.311341] [pid=1][BEGET][ERROR][modulemgr.c:120]Failed to get real path [ 18.311405] [pid=1][BEGET][ERROR][modulemgr.c:171]Failed to install module selinuxadp [ 18.311475] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [332]us, return 0. [ 18.311555] [pid=1][PARAM][INFO][param_service.c:371]InitParamService pipe: /dev/unix/socket/paramservice. [ 18.311939] [pid=1][PARAM][INFO][param_base.c:187]CloseParamWorkSpace 1 [ 18.312073] [pid=1][PARAM][ERROR][param_base.c:352]Invalid workSpace for musl.log.enable [ 18.312136] [pid=1][PARAM][ERROR][param_base.c:582]Forbid to access parameter musl.log.enable [ 18.312197] [pid=1][PARAM][ERROR][param_base.c:352]Invalid workSpace for musl.ld.debug.dlclose [ 18.312362] [pid=1][PARAM][ERROR][param_base.c:582]Forbid to access parameter musl.ld.debug.dlclose [ 18.312436] [pid=1][PARAM][ERROR][param_base.c:352]Invalid workSpace for debug.hitrace.tags.enableflags [ 18.312494] [pid=1][PARAM][ERROR][param_base.c:582]Forbid to access parameter debug.hitrace.tags.enableflags [ 18.312912] [pid=1][PARAM][ERROR][param_selinux.c:43]Failed to dlsym selinuxHandle, Error loading shared library /system/lib/libparaperm_checker.z.so: No such [ 18.313021] [pid=1][PARAM][INFO][param_base.c:260]AddWorkSpace u:object_r:default_param:s0 index 1 spaceSize: 10485760 onlyRead false [ 18.313383] [pid=1][PARAM][INFO][param_base.c:260]AddWorkSpace param_sec_dac index 0 spaceSize: 20480 onlyRead false [ 18.314194] [pid=1][Init][INFO][init_group_manager.c:68]Parse group config /system/etc/device.boot.group.cfg [ 18.314340] [pid=1][Init][ERROR][init_utils.c:192]Failed to read file /system/etc/device.boot.group.cfg errno:2 [ 18.314406] [pid=1][Init][ERROR][init_group_manager.c:70]Failed to read file content /system/etc/device.boot.group.cfg [ 18.314460] [pid=1][Init][INFO][init.c:410]boot init finish. [ 18.314578] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 17 0 [ 18.314708] [pid=1][LoopEvent][INFO][le_signal.c:75]LE_AddSignal 15 1 [ 18.314889] [pid=1][PARAM][ERROR][param_server.c:263]Failed to open file '/sys_prod/etc/param/ohos.para.size' error:2 [ 18.315058] [pid=1][PARAM][ERROR][param_server.c:263]Failed to open file '/etc/param/ohos.para.size' error:2 [ 18.315137] [pid=1][PARAM][INFO][param_base.c:260]AddWorkSpace u:object_r:default_param:s0 index 1 spaceSize: 10485760 onlyRead false [ 18.315905] [pid=1][PARAM][ERROR][param_server.c:200]Generate default sn now ... [ 18.316547] [pid=1][PARAM][INFO][param_server.c:319]load parameters from build [ 18.316698] [pid=1][PARAM][INFO][param_server.c:305]Load default parameters from /system/etc/param/ohos_const. [ 18.316874] [pid=1][Init][ERROR][init_utils.c:525]Read dir :/system/etc/param/ohos_const failed.2 [ 18.317051] [pid=1][PARAM][ERROR][param_dac.c:183]Read dir :/system/etc/param/ohos_const failed.2 [ 18.317401] [pid=1][Init][INFO][init.c:313]Executing hook [30:0] cost [30]us, return 0. [ 18.317475] [pid=1][PLUGIN][INFO][udid_static.c:21]Begin install udidmodule. [ 18.317673] [pid=1][BEGET][ERROR][modulemgr.c:120]Failed to get real path [ 18.317736] [pid=1][BEGET][ERROR][modulemgr.c:171]Failed to install module udidmodule [ 18.317796] [pid=1][PLUGIN][INFO][udid_static.c:24]Begin uninstall udidmodule. [ 18.317850] [pid=1][BEGET][ERROR][modulemgr.c:280]Can not find module udidmodule [ 18.317900] [pid=1][PLUGIN][INFO][udid_static.c:27]Uninstall udidmodule finished. [ 18.317960] [pid=1][Init][INFO][init.c:313]Executing hook [30:0] cost [488]us, return 0. [ 18.318029] [pid=1][Init][INFO][init_config.c:108]ohos.boot.mode [ 18.318205] [pid=1][Init][ERROR][init_utils.c:137]Unexpected config file " /etc/init.cfg ", check if it exist. if exist, check file size [ 18.318269] [pid=1][Init][ERROR][init_config.c:56]Failed to read file content /etc/init.cfg [ 18.318592] [pid=1][Init][INFO][init.c:429]boot parse config file done. [ 18.318682] [pid=1][PLUGIN][INFO][seccomp_policy_static.c:48]seccomp enabled. [ 18.318750] [pid=1][Init][INFO][init.c:313]Executing hook [50:0] cost [83]us, return 0. [ 18.319046] [pid=1][Init][INFO][init.c:273]boot job pre-init start. [ 18.319130] [pid=1][Init][INFO][init.c:278]boot job pre-init finish diff 99 us. [ 18.319266] [pid=1][Init][INFO][init.c:273]boot job init start. [ 18.319343] [pid=1][Init][INFO][init.c:278]boot job init finish diff 86 us. [ 18.319477] [pid=1][Init][INFO][init.c:273]boot job post-init start.

[ 0.000000] Kernel command line: currentslot=-1 bootslots=2 rw rootwait earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 hardware=rk3568 default_boot_device=fe310000.sdhci ohos.required_mount.system=/dev/block/platform/fe310000.sdhci/by-name/system@/usr@ext4@ro,barrier=1@wait,required ohos.required_mount.vendor=/dev/block/platform/fe310000.sdhci/by-name/vendor@/vendor@ext4@ro,barrier=1@wait,required ohos.required_mount.misc=/dev/block/platform/fe310000.sdhci/by-name/misc@none@none@none@wait,required

您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

精彩评论2

润开鸿_闻飞

沙发 发表于 2024-8-8 09:10:01
你在startup 的init开始地方添加execv("/bin/sh", NULL);打印,然后启动时候直接进入shell你查看你要挂载的节点是否存在,如果不存在就要查看uboot或者内核启动为什么没有该节点
可参考https://forums.openharmony.cn/fo ... thread&tid=2911添加进入shell方法

、家泳-Mr林

板凳 发表于 2024-9-12 14:58:08
请问你这个问题解决了吗?

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部