正中下怀 发表于 2023-5-31 15:20:52

unchecked fs, running e2fsck is recommended

出现以下异常,请帮忙看看,谢谢
Begin: Running /scripts/init-bottom ... Warning: overlayroot: configuring overlayroot with driver=overlay mode=device opts='dev=PARTLABEL=userdata,fstype=ext4,mkfs=1' per kernel cmdline
[    5.363659] EXT4-fs (mmcblk1p8): warning: mounting unchecked fs, running e2fsck is recommended
[    5.367700] EXT4-fs (mmcblk1p8): mounted filesystem without journal. Opts: (null)
[    5.382260] EXT4-fs error (device mmcblk1p8): ext4_mb_generate_buddy:758: group 200, block bitmap and bg descriptor inconsistent: 8057 vs 8055 free clusters
[    5.382848] EXT4-fs error (device mmcblk1p8): ext4_mb_generate_buddy:758: group 198, block bitmap and bg descriptor inconsistent: 7714 vs 7712 free clusters
[    5.382885] EXT4-fs error (device mmcblk1p8): ext4_mb_generate_buddy:758: group 199, block bitmap and bg descriptor inconsistent: 8061 vs 8059 free clusters
Success: overlayroot: configured root with 'device:dev=PARTLABEL=userdata,fstype=ext4,mkfs=1' using overlay per kernel cmdline

时间的蝴蝶 发表于 2023-5-31 16:05:24

文件系统损坏了,这之前执行了什么操作?

正中下怀 发表于 2023-5-31 16:12:54

没有任何操作,烧录完就有,我该怎么执行修复呢?使用修复命令会提示:/dev/mmcblk1p8 is apparently in use by the system; will not make a filesystem here! ,但是使用mount查询已经没有挂载了:
# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=245216k,nr_inodes=61304,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=49948k,mode=755)
/dev/mmcblk1p6 on /root-ro type ext4 (ro,relatime,block_validity,delalloc,barrier,user_xattr,acl)
overlayroot on / type overlay (rw,relatime,lowerdir=/root-ro,upperdir=/userdata/rootfs_overlay,workdir=/userdata/rootfs_overlay-workdir/_)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /tmp type tmpfs (rw,relatime)
debug on /sys/kernel/debug type debugfs (rw,relatime)
pstore on /sys/fs/pstore type pstore (rw,relatime)

时间的蝴蝶 发表于 2023-6-2 10:23:12

正中下怀 发表于 2023-5-31 16:12
没有任何操作,烧录完就有,我该怎么执行修复呢?使用修复命令会提示:/dev/mmcblk1p8 is apparently in us ...

你烧完固件又单独更新内核了吧?固件版本很旧了,得编译完整的固件。
页: [1]
查看完整版本: unchecked fs, running e2fsck is recommended