Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755939AbXLPTIT (ORCPT ); Sun, 16 Dec 2007 14:08:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751841AbXLPTIJ (ORCPT ); Sun, 16 Dec 2007 14:08:09 -0500 Received: from xdsl-664.zgora.dialog.net.pl ([81.168.226.152]:4342 "EHLO tuxland.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbXLPTIH (ORCPT ); Sun, 16 Dec 2007 14:08:07 -0500 From: Mariusz Kozlowski To: Matt Mackall Subject: Re: 2.6.24-rc5-mm1: problems with cat /proc/kpageflags Date: Sun, 16 Dec 2007 20:10:10 +0100 User-Agent: KMail/1.9.7 Cc: Andrew Morton , linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org, davem@davemloft.net References: <20071213024050.7d6e5f3e.akpm@linux-foundation.org> <20071216182720.GZ19691@waste.org> <200712161948.42656.m.kozlowski@tuxland.pl> In-Reply-To: <200712161948.42656.m.kozlowski@tuxland.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712162010.11028.m.kozlowski@tuxland.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1502 Lines: 46 Witam, > > > > 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; > > Sure. > > > ..and see if it still breaks? > > Yes it does - the same way as eariler. Box is locked, processes stuck in D state > and after a while "BUG: soft lockup - CPU#0 stuck for 11s!". My mistake. I run cat /proc/kpageflags in the first place - so how could anything change :) cat /proc/kpagecount on the other hand - with the change in line 710 - locks the box. Sysrq works, changing consoles works, but there is no "BUG: soft lockup ..." message. After a while the box becomes totaly unresponsive - even caps lock doesn't work, no responses to ping. -- 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/