Skip to contentSkip to conversation

BUG: TIFF files created by libtiff on NFS4 filesystem are corrupted

DISCUSSION Ilya Ovchinnikov 2 participants 3 messages Nov 6, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello!

I have found the following problem with NFS v4 filesystem:
TIFF files written by libtiff are corrupted.

% mount
/home1/ilya/nfs on /home1/nfs4/ilya type none (rw,bind) localhost:/ilya on /home/ilya/nfs type nfs4 (rw,addr=127.0.0.1)

% cd /home1/nfs4/ilya
% tifftopnm 1.tif | pnmtotiff > 1a.tif
% cd /home/ilya/nfs
% tifftopnm 1.tif | pnmtotiff > 1n.tif
% cmp 1.tif 1a.tif
% cmp 1.tif 1n.tif

15315  10 ^H     0 ^@
15317  10 ^H     0 ^@
15319  10 ^H     0 ^@

NFS v3 does not have this problem.

Software versions:

Linux 2.6.23.1 #1 SMP Sun Nov 4 01:18:12 MSK 2007 i686 GNU/Linux or
Linux 2.6.23 #1 SMP Fri Oct 12 16:36:16 MSD 2007 x86_64 GNU/Linux

libc6 2.3.6 or 2.6.1 (Debian etch or sid)
libtiff 3.8.2-7 (Debian etch)
netpbm 2:10.0-11 (Debiam etch)

With best regards,
Ilya Ovchinnikov

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 28 lines · Ilya Ovchinnikov

Hello!

I have found the following problem with NFS v4 filesystem:
TIFF files written by libtiff are corrupted.

% mount
/home1/ilya/nfs on /home1/nfs4/ilya type none (rw,bind) localhost:/ilya on /home/ilya/nfs type nfs4 (rw,addr=127.0.0.1)

% cd /home1/nfs4/ilya
% tifftopnm 1.tif | pnmtotiff > 1a.tif
% cd /home/ilya/nfs
% tifftopnm 1.tif | pnmtotiff > 1n.tif
% cmp 1.tif 1a.tif
% cmp 1.tif 1n.tif

15315  10 ^H     0 ^@
15317  10 ^H     0 ^@
15319  10 ^H     0 ^@

NFS v3 does not have this problem.

Software versions:

Linux 2.6.23.1 #1 SMP Sun Nov 4 01:18:12 MSK 2007 i686 GNU/Linux or
Linux 2.6.23 #1 SMP Fri Oct 12 16:36:16 MSD 2007 x86_64 GNU/Linux

Quoted 6 lines

libc6 2.3.6 or 2.6.1 (Debian etch or sid)
libtiff 3.8.2-7 (Debian etch)
netpbm 2:10.0-11 (Debiam etch)

With best regards,
Ilya Ovchinnikov

Known issue with 2.6.23.

See http://bugzilla.kernel.org/show_bug.cgi?id=9315

Cheers
Trond

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw
Quoted 7 lines · Trond Myklebust

Known issue with 2.6.23.

See http://bugzilla.kernel.org/show_bug.cgi?id=9315

Cheers
Trond

The patch from http://bugzilla.kernel.org/show_bug.cgi?id=9315 solves the problem, thank you!

With best regards,
Ilya Ovchinnikov

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs