mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Bad page state at prep_new_page
@ 2005-02-26 16:48 Jay Roplekar
  2005-02-26 17:53 ` Hugh Dickins
  0 siblings, 1 reply; 2+ messages in thread
From: Jay Roplekar @ 2005-02-26 16:48 UTC (permalink / raw)
  To: linux-kernel

I have been getting this error off and on  with vendor kernel 2.6.8, I have 
posted about it on lkml 3/4 times before. Actually I had offered to provide a 
summary of similar reports from the web with no takers, I can still provide 
that to somebody if it is useful.

 I had run memtest overnight with no errors, I use DRM etc..  The reason to 
post this  is  that very first line in the syslog  entries related to this 
error seems to be different  than before.  {It is typically is kernel BUG at 
mm/rmap.c or sth similar}.  Thanks, 

Jay

P.S. I am getting this error once in 3 days on an average (based on grep of 
moths worth syslog)  so I might have dubious distinction of being more 
repeatable.  May be it confirms Hugh's suspicion of hardware misbehaving but 
I am not ready to accept it yet :-)

####
Feb 26 09:37:03 localhost kernel: mm/memory.c:110: bad pmd 00000500.
Feb 26 09:39:58 localhost kernel: Bad page state at prep_new_page (in process 
'X', page c12678e0)
Feb 26 09:39:58 localhost kernel: flags:0x20000004 mapping:0000f700 mapcount:0 
count:0
Feb 26 09:39:58 localhost kernel: Backtrace:
Feb 26 09:39:58 localhost kernel:  [dump_stack+30/32] dump_stack+0x1e/0x20
Feb 26 09:39:58 localhost kernel:  [<c0107bfe>] dump_stack+0x1e/0x20
Feb 26 09:39:58 localhost kernel:  [bad_page+108/160] bad_page+0x6c/0xa0
Feb 26 09:39:58 localhost kernel:  [<c013d63c>] bad_page+0x6c/0xa0
Feb 26 09:39:58 localhost kernel:  [prep_new_page+40/112] 
prep_new_page+0x28/0x70
Feb 26 09:39:58 localhost kernel:  [<c013d968>] prep_new_page+0x28/0x70
Feb 26 09:39:58 localhost kernel:  [buffered_rmqueue+216/384] 
buffered_rmqueue+0xd8/0x180
Feb 26 09:39:58 localhost kernel:  [<c013de58>] buffered_rmqueue+0xd8/0x180
Feb 26 09:39:58 localhost kernel:  [__alloc_pages+161/752] 
__alloc_pages+0xa1/0x2f0
Feb 26 09:39:58 localhost kernel:  [<c013dfa1>] __alloc_pages+0xa1/0x2f0
Feb 26 09:39:58 localhost kernel:  [do_anonymous_page+102/368] 
do_anonymous_page+0x66/0x170
Feb 26 09:39:58 localhost kernel:  [<c0148796>] do_anonymous_page+0x66/0x170
Feb 26 09:39:58 localhost kernel:  [do_no_page+95/816] do_no_page+0x5f/0x330
Feb 26 09:39:58 localhost kernel:  [<c01488ff>] do_no_page+0x5f/0x330
Feb 26 09:39:58 localhost kernel:  [handle_mm_fault+341/416] 
handle_mm_fault+0x155/0x1a0
Feb 26 09:39:58 localhost kernel:  [<c0148e15>] handle_mm_fault+0x155/0x1a0
Feb 26 09:39:58 localhost kernel:  [do_page_fault+396/1456] 
do_page_fault+0x18c/0x5b0
Feb 26 09:39:58 localhost kernel:  [<c01198ec>] do_page_fault+0x18c/0x5b0
Feb 26 09:39:58 localhost kernel:  [error_code+45/56] error_code+0x2d/0x38
Feb 26 09:39:58 localhost kernel:  [<c0107849>] error_code+0x2d/0x38
Feb 26 09:39:58 localhost kernel: Trying to fix it up, but a reboot is needed

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bad page state at prep_new_page
  2005-02-26 16:48 Bad page state at prep_new_page Jay Roplekar
@ 2005-02-26 17:53 ` Hugh Dickins
  0 siblings, 0 replies; 2+ messages in thread
From: Hugh Dickins @ 2005-02-26 17:53 UTC (permalink / raw)
  To: Jay Roplekar; +Cc: linux-kernel

On Sat, 26 Feb 2005, Jay Roplekar wrote:
> I have been getting this error off and on  with vendor kernel 2.6.8, I have 
> posted about it on lkml 3/4 times before. Actually I had offered to provide a 
> summary of similar reports from the web with no takers, I can still provide 
> that to somebody if it is useful.

If I had had time to spare, I'd have taken you up on the offer.
Some of those will be ones I've spent hours thinking about without
success, some just gone away, some found guilty by memtest86, some
I probably have overlooked.

>  I had run memtest overnight with no errors, I use DRM etc..  The reason to 
> post this  is  that very first line in the syslog  entries related to this 
> error seems to be different  than before.  {It is typically is kernel BUG at 
> mm/rmap.c or sth similar}.  Thanks, 
> 
> Jay
> 
> P.S. I am getting this error once in 3 days on an average (based on grep of 
> moths worth syslog)  so I might have dubious distinction of being more 
> repeatable.  May be it confirms Hugh's suspicion of hardware misbehaving but 
> I am not ready to accept it yet :-)
> 
> ####
> Feb 26 09:37:03 localhost kernel: mm/memory.c:110: bad pmd 00000500.

Wow.  Just two days ago, in unrelated mail, I asked
"Has anyone _ever_ seen a p??_ERROR message?" and you now show us one!
Thank you - but you do seem to have quite bad memory corruption.

> Feb 26 09:39:58 localhost kernel: Bad page state at prep_new_page (in process 
> 'X', page c12678e0)
> Feb 26 09:39:58 localhost kernel: flags:0x20000004 mapping:0000f700 mapcount:0 
> count:0

Again you have a page mapping which should be NULL here anyway,
and doesn't even look like a pointer which is what goes in there
at other times.

I understand that you have a sentimental attachment to your setup.
And the corruption you're seeing could as well be from software as
hardware - but I don't think anyone else is seeing it on this scale,
which does point to your particular hardware.

But I don't want to close down this thread: if someone else can
suggest something useful to try, please go ahead.

Hugh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-26 17:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-26 16:48 Bad page state at prep_new_page Jay Roplekar
2005-02-26 17:53 ` Hugh Dickins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®