Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934625AbXEOMGx (ORCPT ); Tue, 15 May 2007 08:06:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934555AbXEOMGn (ORCPT ); Tue, 15 May 2007 08:06:43 -0400 Received: from swsoft-mipt-nat.sw.ru ([195.214.233.10]:56597 "EHLO iris" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934542AbXEOMGl (ORCPT ); Tue, 15 May 2007 08:06:41 -0400 X-Greylist: delayed 4447 seconds by postgrey-1.27 at vger.kernel.org; Tue, 15 May 2007 08:06:41 EDT Message-ID: <464990E4.3030604@sw.ru> Date: Tue, 15 May 2007 14:52:20 +0400 From: "Denis V. Lunev" User-Agent: Thunderbird 2.0.0.0 (X11/20070504) MIME-Version: 1.0 To: trond.myklebust@fys.uio.no, linux-kernel@vger.kernel.org, devel@openvz.org Subject: NFSv3 client OOPS during LTP test X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3018 Lines: 72 Hello, All! I have run LTP over NFSv3 with O_DIRECT support with the default mount options: artemis ~/src/linux-2.6.21.1 $ cat /proc/mounts | fgrep nfs 192.168.1.9:/home/den/tmp /mnt nfs rw,vers=3,rsize=131072,wsize=131072,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.1.9 0 0 artemis ~/src/linux-2.6.21.1 $ The result is an OOPS during "diotest4" testcase, which is 100% triggered in less than 30 seconds: Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP: [] tcp_sendpage+0x370/0x620 PGD 13c6dc067 PUD 13c7ef067 PMD 0 Oops: 0000 [1] SMP CPU 1 Modules linked in: xt_length ipt_ttl xt_tcpmss iptable_mangle iptable_filter xt_multiport xt_limit ipt_tos ipt_REJECT ip_tables x_tables Pid: 4556, comm: diotest4 Not tainted 2.6.21.1 #2 RIP: 0010:[] [] tcp_sendpage+0x370/0x620 RSP: 0018:ffff81013c551b98 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000001000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000007d30 RDI: 00000000000005a8 RBP: ffff81013c70f900 R08: 0000000000004040 R09: ffffffff8051cee0 R10: 0000000000000000 R11: 0000000000000000 R12: ffff81013c0e2c80 R13: 0000000000000001 R14: 0000000000004040 R15: 0000000000000000 FS: 00002b9d5b3efb00(0000) GS:ffff81013fc78d40(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: 0000000000000000 CR3: 000000013d467000 CR4: 00000000000006e0 Process diotest4 (pid: 4556, threadinfo ffff81013c550000, task ffff81013fe7ade0) Stack: ffff810100001000 ffffffff804d9719 000000003c13c000 0000000000000000 0000000000000000 000005a800007c70 0000000000001000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000001000 Call Trace: [] xs_send_kvec+0x8c/0x95 [] xs_sendpages+0x134/0x1d8 [] xs_tcp_send_request+0x5b/0x123 [] xprt_transmit+0xc1/0x1a2 [] nfs3_xdr_writeargs+0x0/0x84 [] call_transmit+0x1f7/0x231 [] __rpc_execute+0x7e/0x223 [] nfs_file_direct_write+0x4b5/0x5b8 [] do_sync_write+0xc8/0x10b [] write_chan+0x30f/0x32d [] __wake_up+0x36/0x4c [] autoremove_wake_function+0x0/0x2e [] tty_ldisc_deref+0x5f/0x71 [] tty_write+0x217/0x22c [] vfs_write+0xaf/0x131 [] sys_write+0x45/0x6e [] system_call+0x7e/0x83 Code: 8b 02 f6 c4 40 74 04 48 8b 52 10 f0 ff 42 08 49 63 c5 48 8b [root@artemis den]# uname -a Linux artemis.sw.ru 2.6.21.1 #2 SMP Tue May 15 14:42:39 MSD 2007 x86_64 x86_64 x86_64 GNU/Linux [root@artemis den]# Regards, Den - 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/