Toybrick

rv1126每次开机都会进行emmc坏块修复

luq67

新手上路

积分
38
楼主
发表于 2022-5-26 16:39:46    查看: 5190|回复: 4 | [复制链接]    打印 | 只看该作者
我的板子使用了rv1126 linux系统, 4g emmc。除sdk默认的分区外,还额外增加了几个分区,从串口日志看到每次开机都会有不同的分区有类似坏块修复打印

请问这是正常现象吗? 目前没发现机器有异常。

部分日志如下:
  1. Checking /dev/mmcblk0p7(ext4)
  2. e2fsck 1.43.9 (8-Feb-2018)
  3. userdata: clean, 16/57856 files, 17338/921600 blocks
  4. Mounting /dev/mmcblk0p7(ext4) on /userdata
  5. [    2.727725] EXT4-fs (mmcblk0p7): mounting ext2 file system using the ext4 subsystem
  6. [    2.745475] EXT4-fs (mmcblk0p7): mounted filesystem without journal. Opts: (null)
  7. Handling productInfo: /dev/mmcblk0p8 /productInfo ext4 defaults 2
  8. Checking /dev/mmcblk0p8(ext4)
  9. e2fsck 1.43.9 (8-Feb-2018)
  10. productInfo: clean, 14/2560 files, 384/16384 blocks
  11. Mounting /dev/mmcblk0p8(ext4) on /productInfo
  12. [    2.952070] EXT4-fs (mmcblk0p8): mounting ext2 file system using the ext4 subsystem
  13. [    2.955750] EXT4-fs (mmcblk0p8): mounted filesystem without journal. Opts: (null)
  14. Handling optapp: /dev/mmcblk0p9 /opt/app ext4 defaults 2
  15. Checking /dev/mmcblk0p9(ext4)
  16. e2fsck 1.43.9 (8-Feb-2018)
  17. optapp: clean, 462/123480 files, 157669/512000 blocks
  18. Mounting /dev/mmcblk0p9(ext4) on /opt/app
  19. [    3.181259] EXT4-fs (mmcblk0p9): mounting ext2 file system using the ext4 subsystem
  20. [    3.195514] EXT4-fs (mmcblk0p9): mounted filesystem without journal. Opts: (null)
  21. Handling optconfig: /dev/mmcblk0p10 /opt/config ext4 defaults 2
  22. Checking /dev/mmcblk0p10(ext4)
  23. e2fsck 1.43.9 (8-Feb-2018)
  24. optconfig was not cleanly unmounted, check forced.
  25. Pass 1: Checking inodes, blocks, and sizes
  26. Pass 2: Checking directory structure
  27. Pass 3: Checking directory connectivity
  28. Pass 4: Checking reference counts
  29. Pass 5: Checking group summary information
  30. optconfig: 30/32000 files (10.0% non-contiguous), 9065/204800 blocks
  31. Mounting /dev/mmcblk0p10(ext4) on /opt/config
  32. [    3.752526] EXT4-fs (mmcblk0p10): mounting ext2 file system using the ext4 subsystem
  33. [    3.769422] EXT4-fs (mmcblk0p10): mounted filesystem without journal. Opts: (null)
  34. Handling optlog: /dev/mmcblk0p11 /opt/log ext4 defaults 2
  35. Checking /dev/mmcblk0p11(ext4)
  36. e2fsck 1.43.9 (8-Feb-2018)
  37. optlog was not cleanly unmounted, check forced.
  38. Pass 1: Checking inodes, blocks, and sizes
  39. Pass 2: Checking directory structure
  40. Pass 3: Checking directory connectivity
  41. Pass 4: Checking reference counts
  42. Pass 5: Checking group summary information
  43. Free blocks count wrong (126154, counted=125899).
  44. Fix? yes


  45. optlog: ***** FILE SYSTEM WAS MODIFIED *****
  46. optlog: 23/20480 files (30.4% non-contiguous), 5173/131072 blocks
  47. Mounting /dev/mmcblk0p11(ext4) on /opt/log
复制代码


回复

使用道具 举报

jefferyzhang

版主

积分
13574
沙发
发表于 2022-5-26 17:36:29 | 只看该作者
正常         
回复

使用道具 举报

feelthat

注册会员

积分
114
板凳
发表于 2022-10-19 15:35:08 | 只看该作者
本帖最后由 feelthat 于 2022-10-19 16:34 编辑

reason:
https://cateee.net/lkddb/web-lkddb/EXT4_USE_FOR_EXT2.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981070
Expected:  EXT4-fs (sdf3): mounting ext2 file system using the ext4 subsystem
///////////////////////////////////////////////////I am not sure work or not but you can try this

BoardConfig-xxxx.mk

#export RK_OEM_FS_TYPE=ext2
export RK_OEM_FS_TYPE=ext4

#export RK_USERDATA_FS_TYPE=ext2
export RK_USERDATA_FS_TYPE=ext4

refer to: https://gitlab.com/firefly-linux/device/rockchip/-/blob/firefly/rk356x/firefly-rk3566-buildroot.mk
回复

使用道具 举报

feelthat

注册会员

积分
114
地板
发表于 2022-10-19 17:11:34 | 只看该作者
another try

disable them

ext2.mk
$(HOST_DIR)/sbin/e2fsck -fy $(BINARIES_DIR)/rootfs.ext2

Config.in
        select BR2_PACKAGE_UTIL_LINUX_FSCK

util-linux.mk
        $(if $(BR2_PACKAGE_UTIL_LINUX_FSCK),--enable-fsck,--disable-fsck) \
回复

使用道具 举报

feelthat

注册会员

积分
114
5#
发表于 2022-11-10 14:11:26 | 只看该作者
same error as you i will shift answer to
https://dev.t-firefly.com/thread-125386-1-1.html
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表