All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [parisc-linux] Debugging 64-bit kernel crashes involving tst-fork1.
       [not found] <119aab440702201034i501f5986l3381456035de0699@mail.gmail.com>
@ 2007-02-23 21:23 ` James Bottomley
       [not found] ` <1172265809.3424.75.camel@mulgrave.il.steeleye.com>
  1 sibling, 0 replies; 3+ messages in thread
From: James Bottomley @ 2007-02-23 21:23 UTC (permalink / raw)
  To: Carlos O'Donell; +Cc: parisc-linux

On Tue, 2007-02-20 at 13:34 -0500, Carlos O'Donell wrote:
> sr00-03  00000000000e2800 00000000000e2800 0000000000000000 00000000000e2800
> sr04-07  0000000000000000 0000000000000000 0000000000000000 0000000000000000
> 
> IASQ: 0000000000000000 0000000000000000 IAOQ: 0000000040334894 0000000040334898
>  IIR: 0ec25033    ISR: 00000000000e2800  IOR: 00000000000aac8c
                         ^^^^^^^^^^^^^^^^
This clearly identifies the faulting space

>  CPU:        0   CR30: 000000009ad38000 CR31: 0000000040848000
>  ORIG_R28: 00000000407f6c00
>  IAOQ[0]: pa_memcpy+0x114/0x2d0
>  IAOQ[1]: pa_memcpy+0x118/0x2d0
>  RP(r2): copy_from_user+0x34/0x40
> Backtrace:

Which means that somehow a TLB entry got inserted for address
00000000000aac8c in space 00000000000e2800 which didn't have the correct
Access ID (which for us should have been the space 00000000000e2800).

Or, that %cr8 somehow doesn't contain the space 00000000000e2800 ... but
I think that's a bit more unlikely.

James


_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

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

* Re: [parisc-linux] Debugging 64-bit kernel crashes involving tst-fork1.
       [not found] ` <1172265809.3424.75.camel@mulgrave.il.steeleye.com>
@ 2007-02-24  0:19   ` James Bottomley
  2007-02-24  0:39   ` [parisc-linux] Debugging 64-bit kernel crashes involving John David Anglin
  1 sibling, 0 replies; 3+ messages in thread
From: James Bottomley @ 2007-02-24  0:19 UTC (permalink / raw)
  To: Carlos O'Donell; +Cc: parisc-linux

On Fri, 2007-02-23 at 15:23 -0600, James Bottomley wrote:
> Which means that somehow a TLB entry got inserted for address
> 00000000000aac8c in space 00000000000e2800 which didn't have the correct
> Access ID (which for us should have been the space 00000000000e2800).
> 
> Or, that %cr8 somehow doesn't contain the space 00000000000e2800 ... but
> I think that's a bit more unlikely.

Actually, I've changed my mind ... I don't think there's any way we can
get the TLB marked with the wrong Access ID (but if we do there's no way
to get it out of the fault data).  Could you add a printout of %cr8 and
current->comm to the data for the protection id trap in
arch/parisc/kernel/traps.c and tell me what it prints?

Thanks,

James


_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

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

* Re: [parisc-linux] Debugging 64-bit kernel crashes involving
       [not found] ` <1172265809.3424.75.camel@mulgrave.il.steeleye.com>
  2007-02-24  0:19   ` James Bottomley
@ 2007-02-24  0:39   ` John David Anglin
  1 sibling, 0 replies; 3+ messages in thread
From: John David Anglin @ 2007-02-24  0:39 UTC (permalink / raw)
  To: James Bottomley; +Cc: parisc-linux

> >  IIR: 0ec25033    ISR: 00000000000e2800  IOR: 00000000000aac8c
>                          ^^^^^^^^^^^^^^^^
> This clearly identifies the faulting space

This is for
	ldb,ma 1(sr1,r22),r19

> >  CPU:        0   CR30: 000000009ad38000 CR31: 0000000040848000
> >  ORIG_R28: 00000000407f6c00
> >  IAOQ[0]: pa_memcpy+0x114/0x2d0
> >  IAOQ[1]: pa_memcpy+0x118/0x2d0
> >  RP(r2): copy_from_user+0x34/0x40
> > Backtrace:
> 
> Which means that somehow a TLB entry got inserted for address
> 00000000000aac8c in space 00000000000e2800 which didn't have the correct
> Access ID (which for us should have been the space 00000000000e2800).

Just wondering why a protection id trap causes the system to eat sparcs...
Is this a combined TLB issue?

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

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

end of thread, other threads:[~2007-02-24  0:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <119aab440702201034i501f5986l3381456035de0699@mail.gmail.com>
2007-02-23 21:23 ` [parisc-linux] Debugging 64-bit kernel crashes involving tst-fork1 James Bottomley
     [not found] ` <1172265809.3424.75.camel@mulgrave.il.steeleye.com>
2007-02-24  0:19   ` James Bottomley
2007-02-24  0:39   ` [parisc-linux] Debugging 64-bit kernel crashes involving John David Anglin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.