linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* BUG: Bad page map in process
@ 2009-12-03 19:18 Sean MacLennan
  2009-12-03 20:06 ` Jake Magee
  2009-12-04  9:08 ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 8+ messages in thread
From: Sean MacLennan @ 2009-12-03 19:18 UTC (permalink / raw)
  To: linuxppc-dev

With 2.6.32 I sometimes get lots and lots of "Bad page map" errors as
shown below. I believe these started in 2.6.32-rc8 or possibly
2.6.32-rc7. Pika just switched to 2.6.31 so I have been concentrating
on that release, and not really testing the 2.6.32 stream.

I wish I could give more info, but I don't really even have the time to
write this email :( I am hoping somebody will have a eureka moment.

Cheers,
   Sean


[  147.410448] BUG: Bad page map in process udevd  pte:ffffffffffffffff pmd:cd883000
[  147.417989] addr:48003000 vm_flags:08000875 anon_vma:(null) mapping:cf4150ac index:3
[  147.425837] vma->vm_ops->fault: filemap_fault+0x0/0x410
[  147.431101] vma->vm_file->f_op->mmap: nfs_file_mmap+0x0/0x94
[  147.436795] Call Trace:
[  147.439268] [cf2dbd80] [c00065a4] show_stack+0x48/0x168 (unreliable)
[  147.445708] [cf2dbdb0] [c0064ac8] print_bad_pte+0x14c/0x204
[  147.451337] [cf2dbde0] [c0064cd4] vm_normal_page+0x90/0x98
[  147.456875] [cf2dbdf0] [c0064ee8] unmap_vmas+0x20c/0x638
[  147.462239] [cf2dbe80] [c0069194] exit_mmap+0xc8/0x170
[  147.467441] [cf2dbea0] [c001caa4] mmput+0x50/0xf4
[  147.472195] [cf2dbeb0] [c0020808] exit_mm+0x100/0x138
[  147.477299] [cf2dbee0] [c00211b0] do_exit+0xb0/0x580
[  147.482315] [cf2dbf20] [c00216c4] do_group_exit+0x44/0x9c
[  147.487766] [cf2dbf30] [c0021730] sys_exit_group+0x14/0x28
[  147.493308] [cf2dbf40] [c000dde4] ret_from_syscall+0x0/0x3c

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

* Re: BUG: Bad page map in process
  2009-12-03 19:18 BUG: Bad page map in process Sean MacLennan
@ 2009-12-03 20:06 ` Jake Magee
  2009-12-04  0:38   ` Sean MacLennan
  2009-12-04  9:08 ` Benjamin Herrenschmidt
  1 sibling, 1 reply; 8+ messages in thread
From: Jake Magee @ 2009-12-03 20:06 UTC (permalink / raw)
  To: Sean MacLennan; +Cc: linuxppc-dev

Have you tried the following patches?  I'm not sure if they have made
it into the newer releases.
http://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg37188.html

Also for reference... http://patchwork.ozlabs.org/patch/34047/


On Thu, Dec 3, 2009 at 1:18 PM, Sean MacLennan <smaclennan@pikatech.com> wr=
ote:
> With 2.6.32 I sometimes get lots and lots of "Bad page map" errors as
> shown below. I believe these started in 2.6.32-rc8 or possibly
> 2.6.32-rc7. Pika just switched to 2.6.31 so I have been concentrating
> on that release, and not really testing the 2.6.32 stream.
>
> I wish I could give more info, but I don't really even have the time to
> write this email :( I am hoping somebody will have a eureka moment.
>
> Cheers,
> =A0 Sean
>
>
> [ =A0147.410448] BUG: Bad page map in process udevd =A0pte:ffffffffffffff=
ff pmd:cd883000
> [ =A0147.417989] addr:48003000 vm_flags:08000875 anon_vma:(null) mapping:=
cf4150ac index:3
> [ =A0147.425837] vma->vm_ops->fault: filemap_fault+0x0/0x410
> [ =A0147.431101] vma->vm_file->f_op->mmap: nfs_file_mmap+0x0/0x94
> [ =A0147.436795] Call Trace:
> [ =A0147.439268] [cf2dbd80] [c00065a4] show_stack+0x48/0x168 (unreliable)
> [ =A0147.445708] [cf2dbdb0] [c0064ac8] print_bad_pte+0x14c/0x204
> [ =A0147.451337] [cf2dbde0] [c0064cd4] vm_normal_page+0x90/0x98
> [ =A0147.456875] [cf2dbdf0] [c0064ee8] unmap_vmas+0x20c/0x638
> [ =A0147.462239] [cf2dbe80] [c0069194] exit_mmap+0xc8/0x170
> [ =A0147.467441] [cf2dbea0] [c001caa4] mmput+0x50/0xf4
> [ =A0147.472195] [cf2dbeb0] [c0020808] exit_mm+0x100/0x138
> [ =A0147.477299] [cf2dbee0] [c00211b0] do_exit+0xb0/0x580
> [ =A0147.482315] [cf2dbf20] [c00216c4] do_group_exit+0x44/0x9c
> [ =A0147.487766] [cf2dbf30] [c0021730] sys_exit_group+0x14/0x28
> [ =A0147.493308] [cf2dbf40] [c000dde4] ret_from_syscall+0x0/0x3c
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>

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

* Re: BUG: Bad page map in process
  2009-12-03 20:06 ` Jake Magee
@ 2009-12-04  0:38   ` Sean MacLennan
  0 siblings, 0 replies; 8+ messages in thread
From: Sean MacLennan @ 2009-12-04  0:38 UTC (permalink / raw)
  To: Jake Magee; +Cc: linuxppc-dev

On Thu, 3 Dec 2009 14:06:34 -0600
Jake Magee <jakemagee@gmail.com> wrote:

> Have you tried the following patches?  I'm not sure if they have made
> it into the newer releases.
> http://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg37188.html
> 
> Also for reference... http://patchwork.ozlabs.org/patch/34047/

It looks like that patch made it into 2.6.32.

Cheers,
   Sean

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

* Re: BUG: Bad page map in process
  2009-12-03 19:18 BUG: Bad page map in process Sean MacLennan
  2009-12-03 20:06 ` Jake Magee
@ 2009-12-04  9:08 ` Benjamin Herrenschmidt
  2009-12-04 11:00   ` Josh Boyer
  1 sibling, 1 reply; 8+ messages in thread
From: Benjamin Herrenschmidt @ 2009-12-04  9:08 UTC (permalink / raw)
  To: Sean MacLennan; +Cc: linuxppc-dev

On Thu, 2009-12-03 at 14:18 -0500, Sean MacLennan wrote:
> With 2.6.32 I sometimes get lots and lots of "Bad page map" errors as
> shown below. I believe these started in 2.6.32-rc8 or possibly
> 2.6.32-rc7. Pika just switched to 2.6.31 so I have been concentrating
> on that release, and not really testing the 2.6.32 stream.
> 
> I wish I could give more info, but I don't really even have the time to
> write this email :( I am hoping somebody will have a eureka moment.

That's a concern. Remind me what CPU / MMU type is Pika using ?

Cheers,
Ben.

> Cheers,
>    Sean
> 
> 
> [  147.410448] BUG: Bad page map in process udevd  pte:ffffffffffffffff pmd:cd883000
> [  147.417989] addr:48003000 vm_flags:08000875 anon_vma:(null) mapping:cf4150ac index:3
> [  147.425837] vma->vm_ops->fault: filemap_fault+0x0/0x410
> [  147.431101] vma->vm_file->f_op->mmap: nfs_file_mmap+0x0/0x94
> [  147.436795] Call Trace:
> [  147.439268] [cf2dbd80] [c00065a4] show_stack+0x48/0x168 (unreliable)
> [  147.445708] [cf2dbdb0] [c0064ac8] print_bad_pte+0x14c/0x204
> [  147.451337] [cf2dbde0] [c0064cd4] vm_normal_page+0x90/0x98
> [  147.456875] [cf2dbdf0] [c0064ee8] unmap_vmas+0x20c/0x638
> [  147.462239] [cf2dbe80] [c0069194] exit_mmap+0xc8/0x170
> [  147.467441] [cf2dbea0] [c001caa4] mmput+0x50/0xf4
> [  147.472195] [cf2dbeb0] [c0020808] exit_mm+0x100/0x138
> [  147.477299] [cf2dbee0] [c00211b0] do_exit+0xb0/0x580
> [  147.482315] [cf2dbf20] [c00216c4] do_group_exit+0x44/0x9c
> [  147.487766] [cf2dbf30] [c0021730] sys_exit_group+0x14/0x28
> [  147.493308] [cf2dbf40] [c000dde4] ret_from_syscall+0x0/0x3c
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev

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

* Re: BUG: Bad page map in process
  2009-12-04  9:08 ` Benjamin Herrenschmidt
@ 2009-12-04 11:00   ` Josh Boyer
  2009-12-04 11:18     ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 8+ messages in thread
From: Josh Boyer @ 2009-12-04 11:00 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev, Sean MacLennan

On Fri, Dec 04, 2009 at 08:08:27PM +1100, Benjamin Herrenschmidt wrote:
>On Thu, 2009-12-03 at 14:18 -0500, Sean MacLennan wrote:
>> With 2.6.32 I sometimes get lots and lots of "Bad page map" errors as
>> shown below. I believe these started in 2.6.32-rc8 or possibly
>> 2.6.32-rc7. Pika just switched to 2.6.31 so I have been concentrating
>> on that release, and not really testing the 2.6.32 stream.
>> 
>> I wish I could give more info, but I don't really even have the time to
>> write this email :( I am hoping somebody will have a eureka moment.
>
>That's a concern. Remind me what CPU / MMU type is Pika using ?

440EP

josh

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

* Re: BUG: Bad page map in process
  2009-12-04 11:00   ` Josh Boyer
@ 2009-12-04 11:18     ` Benjamin Herrenschmidt
  2009-12-04 16:37       ` Sean MacLennan
  2009-12-08  0:56       ` Sean MacLennan
  0 siblings, 2 replies; 8+ messages in thread
From: Benjamin Herrenschmidt @ 2009-12-04 11:18 UTC (permalink / raw)
  To: Josh Boyer; +Cc: linuxppc-dev, Sean MacLennan

On Fri, 2009-12-04 at 06:00 -0500, Josh Boyer wrote:
> On Fri, Dec 04, 2009 at 08:08:27PM +1100, Benjamin Herrenschmidt wrote:
> >On Thu, 2009-12-03 at 14:18 -0500, Sean MacLennan wrote:
> >> With 2.6.32 I sometimes get lots and lots of "Bad page map" errors as
> >> shown below. I believe these started in 2.6.32-rc8 or possibly
> >> 2.6.32-rc7. Pika just switched to 2.6.31 so I have been concentrating
> >> on that release, and not really testing the 2.6.32 stream.
> >> 
> >> I wish I could give more info, but I don't really even have the time to
> >> write this email :( I am hoping somebody will have a eureka moment.
> >
> >That's a concern. Remind me what CPU / MMU type is Pika using ?
> 
> 440EP

Ok, I'll have a look next week. In the meantime, Sean, can you give me a
hint of what you do to trigger it ? Boot time ? specific workload ?

Cheers,
Ben.

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

* Re: BUG: Bad page map in process
  2009-12-04 11:18     ` Benjamin Herrenschmidt
@ 2009-12-04 16:37       ` Sean MacLennan
  2009-12-08  0:56       ` Sean MacLennan
  1 sibling, 0 replies; 8+ messages in thread
From: Sean MacLennan @ 2009-12-04 16:37 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev

On Fri, 04 Dec 2009 22:18:55 +1100
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:

> Ok, I'll have a look next week. In the meantime, Sean, can you give
> me a hint of what you do to trigger it ? Boot time ? specific
> workload ?

It hasn't happened that often, but I have been focusing on 2.6.31.

So far, it has always happened well after the boot, but not hours. I
haven't worked out a specific workload.

Cheers,
   Sean

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

* Re: BUG: Bad page map in process
  2009-12-04 11:18     ` Benjamin Herrenschmidt
  2009-12-04 16:37       ` Sean MacLennan
@ 2009-12-08  0:56       ` Sean MacLennan
  1 sibling, 0 replies; 8+ messages in thread
From: Sean MacLennan @ 2009-12-08  0:56 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev

On Fri, 04 Dec 2009 22:18:55 +1100
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:

> Ok, I'll have a look next week. In the meantime, Sean, can you give
> me a hint of what you do to trigger it ? Boot time ? specific
> workload ?

I have not been able to reproduce the problem :( I haven't had a lot of
time to run tests... but every once in a while I have been firing off
test runs.

Maybe writing this email will get it to crash ;)

Cheers,
   Sean

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

end of thread, other threads:[~2009-12-08  0:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 19:18 BUG: Bad page map in process Sean MacLennan
2009-12-03 20:06 ` Jake Magee
2009-12-04  0:38   ` Sean MacLennan
2009-12-04  9:08 ` Benjamin Herrenschmidt
2009-12-04 11:00   ` Josh Boyer
2009-12-04 11:18     ` Benjamin Herrenschmidt
2009-12-04 16:37       ` Sean MacLennan
2009-12-08  0:56       ` Sean MacLennan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).