Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2023 15:00:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 271105] ext2fs cant mount disks with 4k native sector size
Message-ID:  <bug-271105-3630-kfdDMassxl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271105-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271105-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271105

--- Comment #8 from Fedor Uporov <fsu@FreeBSD.org> ---
Hope, I am understand correctly, where EINVAL come from, but need to be sur=
e,
that qemu and hw nvme issues are identical.

Could you please download the attached file.
And do next steps:

% md5sum ./ext2_vfsops.c
1f7a613c27331abf391cb4ab6b99f434  ./ext2_vfsops.c
% cp /usr/src/sys/fs/ext2fs/ext2_vfsops.c cp
/usr/src/sys/fs/ext2fs/ext2_vfsops.c_bkp
% cp ./ext2_vfsops.c /usr/src/sys/fs/ext2fs/
% cd /usr/src/sys/modules/ext2fs
% make clean ; make
% find / -name ext2fs.ko
# The ext2fs.ko in the /usr/obj directory should be right module
% kldload /usr/obj/path/to/ext2fs.ko

Try to mount nvme drive and do dmesg, if everything is right, you should see
"=3D=3D=3D=3D ext2_mount(+)"
Please send me everything below this line

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271105-3630-kfdDMassxl>