zisofs data corruption in 2.4.19-pre7-ac2

From: Petr Konecny (pekon@informatics.muni.cz)
Date: Sat Apr 27 2002 - 19:03:50 EST


Hi Alan,

I think I discovered an obscure bug in zisofs in 2.4.19-pre7-ac2. It
manifests thus:

$ mkzftree -F 7x14.pbm data
$ mkisofs -z -R -o data.iso data
$ mount -o loop data.iso /mnt/cdimage
$ cat /mnt/cdimage/7x14.pbm
cat: data: Input/output error

and the following (single) line gets logged:
zisofs: zisofs_inflate returned 3, inode = 47342, index = 0, fpage = 0,
  xpage = 0, avail_in = 0, avail_out = 1890, ai = 2024, ao = 4096

The very same iso image works fine in 2.4.19-pre7. Since the files are
tiny I am attaching 7x14.pbm, data.iso (gzippped) and my .config.

I have zisofs-tools-1.0.3, and tested with both mkisofs from
cdrtools-1.11a09 with patch from zisofs' source tree and the one from
cdrtools-1.11a21 (which already supports zisofs).

The bug shows up only with a few files in my tree (about one in
thousand). More info and testing available upon request.

                                                Regards, Petr








-- 
No chinese, no fortune.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:15 EST