Bug 6272 - erofs: release-5.10.134-15.y版本erofs无法挂载
Summary: erofs: release-5.10.134-15.y版本erofs无法挂载
Status: RESOLVED INVALID
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: fs (show other bugs) fs
Version: unspecified
Hardware: All Linux
: P3-Medium S2-major
Target Milestone: ---
Assignee: Jingbo Xu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-29 15:41 UTC by 苟浩
Modified: 2023-08-29 17:52 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 苟浩 uniontech_group 2023-08-29 15:41:48 UTC
Description of problem:

erofs无法挂载

Version-Release number of selected component (if applicable):

kernel: release/release-5.10.134-15.y

How reproducible:
$ dd if=/dev/zero of=erofs_img bs=1024 count=1000
$ mkdir src
$ cp README  COPYING ChangeLog Makefile src
$ mkfs.erofs erofs_img src
$ mkdir erofs_mp
$ mount -t erofs erofs_img erofs_mp/ -oloop
$ dmesg|tail
[    5.252097] systemd-journald[623]: Received client request to flush runtime journal.
[    5.274974] XFS (sda2): Mounting V5 Filesystem
[    5.282553] XFS (sda2): Ending clean mount
[    5.283588] xfs filesystem being mounted at /boot supports timestamps until 2038 (0x7fffffff)
[   22.425900] loop: module loaded
[   22.519643] FS-Cache: Loaded
[   22.529775] FS-Cache: Netfs 'erofs' registered for caching
[   22.530597] erofs: (device loop0): erofs_read_superblock: cannot find valid erofs superblock
[   61.829891] erofs: (device loop0): erofs_read_superblock: cannot find valid erofs superblock
[   94.753425] erofs: (device loop0): erofs_read_superblock: cannot find valid erofs superblock

Actual results:

erofs无法挂载

Expected results:
erofs成功挂载


Additional info:
Comment 1 Jingbo Xu alibaba_cloud_group 2023-08-29 15:52:06 UTC
(In reply to 苟浩 from comment #0)
> Description of problem:
> 
> erofs无法挂载
> 
> Version-Release number of selected component (if applicable):
> 
> kernel: release/release-5.10.134-15.y
> 
> How reproducible:
> $ dd if=/dev/zero of=erofs_img bs=1024 count=1000
> $ mkdir src
> $ cp README  COPYING ChangeLog Makefile src
> $ mkfs.erofs erofs_img src
> $ mkdir erofs_mp
> $ mount -t erofs erofs_img erofs_mp/ -oloop
> $ dmesg|tail
> [    5.252097] systemd-journald[623]: Received client request to flush
> runtime journal.
> [    5.274974] XFS (sda2): Mounting V5 Filesystem
> [    5.282553] XFS (sda2): Ending clean mount
> [    5.283588] xfs filesystem being mounted at /boot supports timestamps
> until 2038 (0x7fffffff)
> [   22.425900] loop: module loaded
> [   22.519643] FS-Cache: Loaded
> [   22.529775] FS-Cache: Netfs 'erofs' registered for caching
> [   22.530597] erofs: (device loop0): erofs_read_superblock: cannot find
> valid erofs superblock
> [   61.829891] erofs: (device loop0): erofs_read_superblock: cannot find
> valid erofs superblock
> [   94.753425] erofs: (device loop0): erofs_read_superblock: cannot find
> valid erofs superblock
> 
> Actual results:
> 
> erofs无法挂载
> 
> Expected results:
> erofs成功挂载
> 
> 
> Additional info:


Hi Thanks for reporting!

这是一个已知问题,-15 版本确实有这个回退。这个问题已经在 -15.1 版本中修复,目前 15.1 版本已经发布,麻烦看下升级到 15.1 版本后是否还存在这个问题。
Comment 2 苟浩 uniontech_group 2023-08-29 16:11:39 UTC
(In reply to Jingbo Xu from comment #1)
> (In reply to 苟浩 from comment #0)
> > Description of problem:
> > 
> > erofs无法挂载
> > 
> > Version-Release number of selected component (if applicable):
> > 
> > kernel: release/release-5.10.134-15.y
> > 
> > How reproducible:
> > $ dd if=/dev/zero of=erofs_img bs=1024 count=1000
> > $ mkdir src
> > $ cp README  COPYING ChangeLog Makefile src
> > $ mkfs.erofs erofs_img src
> > $ mkdir erofs_mp
> > $ mount -t erofs erofs_img erofs_mp/ -oloop
> > $ dmesg|tail
> > [    5.252097] systemd-journald[623]: Received client request to flush
> > runtime journal.
> > [    5.274974] XFS (sda2): Mounting V5 Filesystem
> > [    5.282553] XFS (sda2): Ending clean mount
> > [    5.283588] xfs filesystem being mounted at /boot supports timestamps
> > until 2038 (0x7fffffff)
> > [   22.425900] loop: module loaded
> > [   22.519643] FS-Cache: Loaded
> > [   22.529775] FS-Cache: Netfs 'erofs' registered for caching
> > [   22.530597] erofs: (device loop0): erofs_read_superblock: cannot find
> > valid erofs superblock
> > [   61.829891] erofs: (device loop0): erofs_read_superblock: cannot find
> > valid erofs superblock
> > [   94.753425] erofs: (device loop0): erofs_read_superblock: cannot find
> > valid erofs superblock
> > 
> > Actual results:
> > 
> > erofs无法挂载
> > 
> > Expected results:
> > erofs成功挂载
> > 
> > 
> > Additional info:
> 
> 
> Hi Thanks for reporting!
> 
> 这是一个已知问题,-15 版本确实有这个回退。这个问题已经在 -15.1 版本中修复,目前 15.1 版本已经发布,麻烦看下升级到 15.1
> 版本后是否还存在这个问题。

您好,我用的就是 15.1 版本。用15版本kernel直接就崩了。

刚忘说了,我是aarch64上测试有这个问题,在x86_64上测试是好的。
Comment 3 苟浩 uniontech_group 2023-08-29 17:52:44 UTC
环境问题,关闭!