Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753479Ab2FLXIa (ORCPT ); Tue, 12 Jun 2012 19:08:30 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:60883 "EHLO ironport2-out.teksavvy.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751847Ab2FLXI3 (ORCPT ); Tue, 12 Jun 2012 19:08:29 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAG6Zu08Y9geI/2dsb2JhbAANN4UtsgEBAQEBAwECGwVVEQsYAgIFFgsCAgkDAgECARYvBgEMBgIBAYgVpwOSe4EmiXuED4EUA5J2gzSRZoFD X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="191232968" Message-ID: <4FD7CBEC.1020901@teksavvy.com> Date: Tue, 12 Jun 2012 19:08:28 -0400 From: Mark Lord User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Linux Kernel , davej@redhat.com, "J. Bruce Fields" , Trond Myklebust , Ben Hutchings Subject: Re: mount.nfs: cannot allocate memory References: <4FD7C65F.80602@teksavvy.com> <4FD7C7C6.9030204@teksavvy.com> <4FD7C995.8040402@teksavvy.com> In-Reply-To: <4FD7C995.8040402@teksavvy.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2197 Lines: 49 On 12-06-12 06:58 PM, Mark Lord wrote: > Adding Ben Hutchings to CC: as he seems to have looked into this before. > >> On 12-06-12 06:44 PM, Mark Lord wrote: >>> I've been seeing these messages on my AMD Fusion server >>> running linux-3.3.7-64bit. Does this ring any bells for anyone else? >>> The system is NOT low on memory. >>> >>> I'm building/installing 3.4.2 now to see if it behaves any better. >>> >>> [962841.265658] mount.nfs: page allocation failure: order:4, mode:0xc0d0 >>> [962841.265674] Pid: 32116, comm: mount.nfs Not tainted 3.3.7 #2 >>> [962841.265680] Call Trace: >>> [962841.265700] [] ? warn_alloc_failed+0x11a/0x12d >>> [962841.265713] [] ? __alloc_pages_nodemask+0x6c0/0x702 >>> [962841.265725] [] ? timerqueue_del+0x53/0x63 >>> [962841.265758] [] ? __get_free_pages+0x10/0x3f >>> [962841.265805] [] ? nfs_idmap_new+0x28/0xde [nfs] >>> [962841.265836] [] ? nfs4_init_client+0x74/0x12a [nfs] ... >> Looks like an old bug, perhaps: >> https://bugzilla.redhat.com/show_bug.cgi?id=593035 >> https://bugzilla.redhat.com/show_bug.cgi?id=728003 >> >> I wonder what the underlying cause is? >> And I also wonder if the NFS code should be more clever >> about handing order-4 allocation failures. > > More references: > http://www.mail-archive.com/debian-kernel@lists.debian.org/msg71281.html > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1004619 > http://codemonkey.org.uk/2012/02/17/fedora-16-kernel-bugzilla-status-report-20120210-20120217/ > https://lkml.org/lkml/2011/2/24/73 Ahh.. this one seems to explain it, kind of: http://permalink.gmane.org/gmane.linux.nfs/41686 So in 3.3.7, I didn't have CONFIG_NFS_USE_NEW_IDMAPPER enabled, and the kernel seems to be buggy without that. In 3.4.2, that option has disappeared entirely, most likely because it is now the default behaviour. Right? Thanks. -- 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/