Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760286AbYBRNAf (ORCPT ); Mon, 18 Feb 2008 08:00:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756539AbYBRNAA (ORCPT ); Mon, 18 Feb 2008 08:00:00 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:44552 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755194AbYBRM76 (ORCPT ); Mon, 18 Feb 2008 07:59:58 -0500 Date: Mon, 18 Feb 2008 04:58:12 -0800 From: Andrew Morton To: Michael Tokarev Cc: Kernel Mailing List , linux-nfs@vger.kernel.org Subject: Re: 2.6.24: RPC: bad TCP reclen 0x00020090 (large) Message-Id: <20080218045812.f1dc6f71.akpm@linux-foundation.org> In-Reply-To: <47B2F88D.7080300@msgid.tls.msk.ru> References: <47B2F88D.7080300@msgid.tls.msk.ru> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1998 Lines: 50 (suitable cc added) (regression) On Wed, 13 Feb 2008 17:02:53 +0300 Michael Tokarev wrote: > Hello! > > After upgrading to 2.6.24 (from .23), we're seeing ALOT > of messages like in $subj in dmesg: > > Feb 13 13:21:39 paltus kernel: RPC: bad TCP reclen 0x00020090 (large) > Feb 13 13:21:46 paltus kernel: printk: 3586 messages suppressed. > Feb 13 13:21:46 paltus kernel: RPC: bad TCP reclen 0x00020090 (large) > Feb 13 13:21:49 paltus kernel: printk: 371 messages suppressed. > Feb 13 13:21:49 paltus kernel: RPC: bad TCP reclen 0x00020090 (large) > Feb 13 13:21:55 paltus kernel: printk: 2979 messages suppressed. > ... > > with linux NFS server. The clients are all linux too, mostly 2.6.23 > and some 2.6.22. > > I found the "offending" piece of code in net/sunrpc/svcsock.c, > in routine svc_tcp_recvfrom() with condition being: > > if (svsk->sk_reclen > serv->sv_max_mesg) ... > > This happens after a server reboot. At this point, client(s) are trying > to perform some NFS transaction and fail, and server starts generating > the above messages - till I do a umount followed by mount on all clients. > Before, such situation (nfs server reboot) were handled transparently, > ie, there was nothing to do, the mount continued working just fine when > the server comes back online. > > Now, I'm not sure if it's really 2.6.24-specific problem or a userspace > problem. Some time ago we also upgraded nfs-kernel-server (Debian) > package, and the remount-after-nfs-server-reboot problem started to > occur at THAT time (and it is something to worry about as well, I just > had no time to deal with it); but the dmesg spamming only appeared > with 2.6.24. > > How to debug the issue further on from this point? > -- 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/