Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756726AbXLPS1x (ORCPT ); Sun, 16 Dec 2007 13:27:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751527AbXLPS1o (ORCPT ); Sun, 16 Dec 2007 13:27:44 -0500 Received: from waste.org ([66.93.16.53]:49306 "EHLO waste.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbXLPS1n (ORCPT ); Sun, 16 Dec 2007 13:27:43 -0500 Date: Sun, 16 Dec 2007 12:27:20 -0600 From: Matt Mackall To: Mariusz Kozlowski Cc: Andrew Morton , linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org, davem@davemloft.net Subject: Re: 2.6.24-rc5-mm1: problems with cat /proc/kpageflags Message-ID: <20071216182720.GZ19691@waste.org> References: <20071213024050.7d6e5f3e.akpm@linux-foundation.org> <200712161114.39437.m.kozlowski@tuxland.pl> <200712161141.50012.m.kozlowski@tuxland.pl> <200712161240.54594.m.kozlowski@tuxland.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200712161240.54594.m.kozlowski@tuxland.pl> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 980 Lines: 36 On Sun, Dec 16, 2007 at 12:40:53PM +0100, Mariusz Kozlowski wrote: > > cat /proc/kpageflags on sparc64 causes the box to lock. > > I can not write on any terminal - but I can issue sysrqs and switch > > between consoles. > > > > cat process hangs in read(3, ... > > cat /proc/kpagecount produces similar symptoms. box is locked - sysrq-w sshd trace: > > __down > __down_interruptible > kobject_get > lock_kernel > chrdev_open > __dentry_open > nameidata_to_filp > open_pathname > do_sys_open > sparc32_open > linux_sparc_syscall32 Perhaps this is related to sparsemem. Can you change line 710 of fs/proc/proc_misc.c to: ppage = NULL; ..and see if it still breaks? -- Mathematics is the supreme nostalgia of our time. -- 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/