Date: Sun, 23 Jun 2013 02:35:21 -0700 From: Jeremy Chadwick <jdc@koitsu.org> To: gabor@zahemszky.hu Cc: freebsd-fs@freebsd.org Subject: Re: ext2fs bug Message-ID: <20130623093521.GA86307@icarus.home.lan> In-Reply-To: <9554b1ed02a342c347b17a2e71e38b73@zahemszky.hu> References: <9554b1ed02a342c347b17a2e71e38b73@zahemszky.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 23, 2013 at 11:15:44AM +0200, gabor@zahemszky.hu wrote: > Hi! > > I've got 2 disks (a 1TB and a 2TB), these disk were written under > Linux 2.4. > I can mount them under FreeBSD, and I can reach about half of the > files, but > on some files, I only get some FS errors. In dmesg, I can see the > following > errors: > > g_vfs_done():ada2s1[READ(offset=-756558786560, length=4096)]error = 5 > g_vfs_done():ada2s1[READ(offset=-899189821440, length=4096)]error = 5 > g_vfs_done():ada2s1[READ(offset=-756558786560, length=4096)]error = 5 > g_vfs_done():ada2s1[READ(offset=-899189821440, length=4096)]error = 5 > g_vfs_done():ada2s1[READ(offset=-756558786560, length=4096)]error = 5 > g_vfs_done():ada2s1[READ(offset=-899189821440, length=4096)]error = 5 > g_vfs_done():ada2s1[READ(offset=-756558786560, length=4096)]error = 5 > g_vfs_done():ada2s1[READ(offset=-899189821440, length=4096)]error = 5 > g_vfs_done():ada2s1[READ(offset=-756558786560, length=4096)]error = 5 > g_vfs_done():ada2s1[READ(offset=-899189821440, length=4096)]error = 5 > > The disk is not bad: I can read the same files under the original > Linux, > and on a newer Linux-machine, and I can read it under FreeBSD with > the e2fsprogs package's > debugfs tool (I can copy the files with the dump and rdump commmand > from debugfs.) > > Itt looks, that there are some misinterpretation of some of the > metainfo > in the Ext2 fs-driver. (Or maybe some signed/unsigned bug in it.) > > Can anybody help? Can I help to anybody with some more information? > > Thanks, > > Gabor < Gabor at Zahemszky dot HU > > > PS: sometimes I can only see az empty directory. Sometimes, I can > reach half of the files > in a directry. But the kernel error message is the same. What FreeBSD version are you using? In the past 3-4 weeks there have been *tons* of ext2fs fixes in stable/9, and I'm not exaggerating in the least. You will not find these fixes being backported to 9.1-RELEASE or earlier. I strongly recommend you try a recent stable/9 (i.e. past few days) with ext2fs. You can try a stable/9 ("RELENG_9") ISO snapshot here: https://pub.allbsd.org/FreeBSD-snapshots/ -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Making life hard for others since 1977. PGP 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130623093521.GA86307>