All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: okir@suse.de, neilb@suse.de, trond.myklebust@fys.uio.no
Cc: nfs@lists.sourceforge.net
Subject: LTP NFS data corruption in 2.6.15-git9
Date: Fri, 13 Jan 2006 21:37:10 +0100	[thread overview]
Message-ID: <200601132137.10615.ak@suse.de> (raw)


FWIW - i was just running LTP- for 2.6.15-git9 on a x86-64 nfs root machine
talking to 2.6.15 machine with NFSv3/UDP. During the IO tests I got 
this. Export was with rw,async. 

The network was 100 GBit/s so I wouldn't assume it was caused by 
fragment reordering [Why UDP? That is what the kernel nfs root 
mounter selected]

To reproduce just run LTP 20051103 runltp over NFS.

-Andi

doio(rwtest03) (21516) 04:19:53
---------------------
*** DATA COMPARISON ERROR ***
check_file(/tmp/ltp-16542/mm-buff-21500, 6133913, 37155, B:21516:linux:doio*, 19
, 0) failed

Comparison fd is 3, with open flags 0
Corrupt regions follow - unprintable chars are represented as '.'
-----------------------------------------------------------------
corrupt bytes starting at file offset 6160384
    1st 32 expected bytes:  516:linux:doio*B:21516:linux:doi
    1st 32 actual bytes:    ................................

Request number 12
          fd 4 is file /tmp/ltp-16542/mm-buff-21500 - open flags are 02 O_RDWR,
          write done at file offset 6133913 - pattern is B (0102)
          number of requests is 1, strides per request is 1
          i/o byte count = 37155
          memory alignment is unaligned

syscall:  mmap-write(NULL, 12800000, PROT_WRITE, MAP_SHARED, 4, 0)
        file is mmaped to: 0xf71f2000
        file-mem=0xf77cb899, length=37155, buffer=0x8073368


doio(rwtest03) (21514) 04:19:53
---------------------
(parent) pid 21516 exited because of data compare errors
rwtest(rwtest03) : doio reported errors (r=4)
rwtest03    1  FAIL  :  doio reported errors (r=4)
rwtest03    1  FAIL  :  Test failed

doio(rwtest04) (21540) 04:21:03
---------------------
*** DATA COMPARISON ERROR ***
check_file(/tmp/ltp-16542/mm-sync-21525, 12522037, 83920, Q:21540:linux:doio*, 1
9, 0) failed

Comparison fd is 5, with open flags 0
Corrupt regions follow - unprintable chars are represented as '.'
-----------------------------------------------------------------
corrupt bytes starting at file offset 12582913
    1st 32 expected bytes:  Q:21540:linux:doio*Q:21540:linux
    1st 32 actual bytes:    B:21541:linux:doio*B:21541:linux

Request number 126
          fd 4 is file /tmp/ltp-16542/mm-sync-21525 - open flags are 010002 O_RD
WR,O_SYNC,
          write done at file offset 12522037 - pattern is Q (0121)
          number of requests is 1, strides per request is 1
          i/o byte count = 83920
          memory alignment is unaligned

syscall:  mmap-write(NULL, 12800000, PROT_WRITE, MAP_SHARED, 4, 0)
        file is mmaped to: 0xf7257000
        file-mem=0xf7e48235, length=83920, buffer=0x8073369


doio(rwtest04) (21539) 04:21:03
---------------------
(parent) pid 21540 exited because of data compare errors


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

             reply	other threads:[~2006-01-13 20:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-13 20:37 Andi Kleen [this message]
2006-01-13 20:38 ` LTP NFS data corruption in 2.6.15-git9 II Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200601132137.10615.ak@suse.de \
    --to=ak@suse.de \
    --cc=neilb@suse.de \
    --cc=nfs@lists.sourceforge.net \
    --cc=okir@suse.de \
    --cc=trond.myklebust@fys.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.