logo       

Re: [discuss] Re: 2.6.19-rc5: Bad page state in process 'swapper': msg#00085

Subject: Re: [discuss] Re: 2.6.19-rc5: Bad page state in process 'swapper'
On Friday 10 November 2006 17:10, Andre Noll wrote:
> On 14:36, Andre Noll wrote:
> 
> > > Does it help when you apply 
> > > 
> > > ftp://ftp.firstfloor.org/pub/ak/x86_64/quilt/patches/e820-small-entries ? 
> > 
> > OK I will try this. Can't promise if I will be able to do so today, as I
> > have to wait until the currently running jobs are finished.
> 
> I could check it already today: Your patch doesn't help unfortunately,
> i.e. I get the same "Bad page state in process 'swapper'" messages also
> with this patch. Again, nothing containing "e820" in the log.

If you apply the following debug patch you should get a shorter log.
Can you post it please?

-Andi

Index: linux/mm/page_alloc.c
===================================================================
--- linux.orig/mm/page_alloc.c
+++ linux/mm/page_alloc.c
@@ -188,6 +188,11 @@ static inline int bad_range(struct zone 
 
 static void bad_page(struct page *page)
 {
+       static int flag;
+       if (flag)
+               return;
+       flag = 1;
+
        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"


<Prev in Thread] Current Thread [Next in Thread>