From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.204]) by ozlabs.org (Postfix) with ESMTP id C0DB967BC9 for ; Thu, 21 Sep 2006 10:59:29 +1000 (EST) Received: by nz-out-0102.google.com with SMTP id i1so213567nzh for ; Wed, 20 Sep 2006 17:59:28 -0700 (PDT) Message-ID: Date: Wed, 20 Sep 2006 17:59:28 -0700 From: "Manoj Sharma" To: "Linas Vepstas" Subject: Re: Hang with isync In-Reply-To: <20060920230406.GU29167@austin.ibm.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_174217_654106.1158800368481" References: <1158788111.6002.310.camel@localhost.localdomain> <1158791893.6002.327.camel@localhost.localdomain> <20060920230406.GU29167@austin.ibm.com> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_174217_654106.1158800368481 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline No MSR is 00029030 and user mode bit is not set here. I had missed it in the prev mail: =05NIP: C0005DA4 XER: 20000000 LR: C0004FE4 SP: C01F3000=05 REGS: c01eff30 = TRAP: 1020 Not tainted MSR: 00029030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11 TASK =3D c01f1080[0] 'swapper' Last syscall: 120 last math 00000000 last altivec 00000000 =05PLB0: bear=3D 0x08000000 acr=3D 0xbb000000 besr=3D 0x00000000 On 9/20/06, Linas Vepstas wrote: > > On Thu, Sep 21, 2006 at 08:38:13AM +1000, Benjamin Herrenschmidt wrote: > > On Wed, 2006-09-20 at 15:31 -0700, Manoj Sharma wrote: > > > This is the stack trace. > > > > > > Registers: > > > GPR00: 00069030 > > This is the MSR and it has the user-mode bit set, which is surely wrong. > This is not how one gets to user space. > > 00048000 > > The MSR had this or'ed into it, which is setting the user-mode bit. > Surely that's wrong. > > --linas > ------=_Part_174217_654106.1158800368481 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
No MSR is 00029030 and user mode bit is not set here.

I had miss= ed it in the prev mail:

=05NIP: C0005DA4 XER: 20000000 LR: C0004FE4 = SP: C01F3000=05 REGS: c01eff30 TRAP: 1020    Not tainted
= MSR: 00029030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK =3D c01f1080[0] 'swapper' Last syscall: 120
last math 00000000 = last altivec 00000000
=05PLB0: bear=3D 0x08000000 acr=3D   0xb= b000000 besr=3D  0x00000000


On 9/20/06, Linas Vepstas <linas@austin.= ibm.com> wrote:
On Thu, Sep 21, 2006 at 08:38:13AM +1000, Benjamin Herrenschmidt wrote:
= > On Wed, 2006-09-20 at 15:31 -0700, Manoj Sharma wrote:
> > Th= is is the stack trace.
> >
> > Registers:
> > GP= R00: 00069030

This is the MSR and it has the user-mode bit set, which is surely w= rong.
This is not how one gets to user space.

00048000

The= MSR had this or'ed into it, which is setting the user-mode bit.
Surely = that's wrong.

--linas

------=_Part_174217_654106.1158800368481--