public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Andre Noll <maan@systemlinux.org>
Cc: Andi Kleen <ak@suse.de>,
	discuss@x86-64.org, Adrian Bunk <bunk@stusta.de>,
	Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	David Rientjes <rientjes@cs.washington.edu>,
	Mel Gorman <mel@skynet.ie>
Subject: Re: [discuss] 2.6.19-rc6: known regressions (v4)
Date: Wed, 22 Nov 2006 18:08:53 +0100	[thread overview]
Message-ID: <20061122170852.GA4982@bingen.suse.de> (raw)
In-Reply-To: <20061122160549.GD27761@skl-net.de>

On Wed, Nov 22, 2006 at 05:05:49PM +0100, Andre Noll wrote:
> Unfortunately, yes. I tried rc6, current git, and currrent git + David
> Rientjes' patch. They all show the same behaviour.

I must have missed that patch.
> 
> > It's probably another bug in the memmap parsing rewrite (Mel cc'ed) 
> > but the debugging information in the standard kernel unfortunately
> > doesn't give enough output to find out where it happens.
> 
> Feel free to send me a debugging patch..

Here's one. Please send output (unless Mel finds the problem first..)

-Andi

Index: linux-2.6.19-rc6-hack/mm/page_alloc.c
===================================================================
--- linux-2.6.19-rc6-hack/mm/page_alloc.c
+++ linux-2.6.19-rc6-hack/mm/page_alloc.c
@@ -188,6 +188,10 @@ static inline int bad_range(struct zone 
 
 static void bad_page(struct page *page)
 {
+	static int warned; 
+	if (!warned) { 
+	warned = 1;
+	printk(KERN_EMERG "page address %lx\n", page_address(page));
 	printk(KERN_EMERG "Bad page state in process '%s'\n"
 		KERN_EMERG "page:%p flags:0x%0*lx mapping:%p mapcount:%d count:%d\n"
 		KERN_EMERG "Trying to fix it up, but a reboot is needed\n"
@@ -196,6 +200,7 @@ static void bad_page(struct page *page)
 		(unsigned long)page->flags, page->mapping,
 		page_mapcount(page), page_count(page));
 	dump_stack();
+	}
 	page->flags &= ~(1 << PG_lru	|
 			1 << PG_private |
 			1 << PG_locked	|


  parent reply	other threads:[~2006-11-22 17:09 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-16  4:21 Linux 2.6.19-rc6 Linus Torvalds
2006-11-16 21:37 ` 2.6.19-rc6: known regressions Adrian Bunk
2006-11-16 21:43   ` Greg KH
2006-11-17 20:40 ` 2.6.19-rc6: known regressions (v2) Adrian Bunk
2006-11-18  8:02   ` [PATCH] mm: do not call bad_page on PG_reserved check David Rientjes
2006-11-18 13:37     ` Hugh Dickins
2006-11-18  4:04 ` Linux 2.6.19-rc6 - NFSD working again Christian Kujau
2006-11-20 19:53 ` 2.6.19-rc6: known regressions (v3) Adrian Bunk
2006-11-21 21:24 ` 2.6.19-rc6: known regressions (v4) Adrian Bunk
2006-11-21 21:31   ` [discuss] " Dave Jones
2006-11-21 21:39     ` Adrian Bunk
2006-11-21 21:56       ` Dave Jones
2006-11-21 21:33   ` Vivek Goyal
2006-11-21 21:41     ` Adrian Bunk
2006-11-21 22:18     ` Linus Torvalds
2006-11-22  9:44       ` Pavel Emelianov
2006-11-22 14:58         ` Vivek Goyal
2006-11-22 17:28         ` Linus Torvalds
2006-11-22 10:42   ` [discuss] " Andi Kleen
2006-11-22 15:52     ` Mel Gorman
2006-11-22 17:42       ` Andre Noll
2006-11-23 12:01         ` Mel Gorman
2006-11-23 13:08           ` Andre Noll
2006-11-23 13:28             ` Mel Gorman
2006-11-23 19:09           ` Andrew Morton
2006-11-23 21:55             ` Mel Gorman
2006-11-24  9:51               ` Andre Noll
2006-11-24  9:58               ` Andi Kleen
2006-11-24 20:43                 ` Andrew Morton
2006-11-22 16:05     ` Andre Noll
2006-11-22 17:03       ` Mel Gorman
2006-11-22 17:08       ` Andi Kleen [this message]
2006-11-22 18:00         ` Andre Noll
2006-11-23  0:04   ` David Brownell
2006-11-23  0:54 ` 2.6.19-rc6: known regressions with patches available Adrian Bunk
2006-11-23  1:08   ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061122170852.GA4982@bingen.suse.de \
    --to=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=bunk@stusta.de \
    --cc=discuss@x86-64.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maan@systemlinux.org \
    --cc=mel@skynet.ie \
    --cc=rientjes@cs.washington.edu \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox