From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by ozlabs.org (Postfix) with ESMTP id 6853F67B28 for ; Sat, 11 Jun 2005 07:43:58 +1000 (EST) Received: by zproxy.gmail.com with SMTP id 18so395965nzp for ; Fri, 10 Jun 2005 14:43:56 -0700 (PDT) Message-ID: <21fb73bc0506101443414d99a2@mail.gmail.com> Date: Fri, 10 Jun 2005 15:43:56 -0600 From: Edward Hong To: Randy Vinson In-Reply-To: <21fb73bc0506061300126b1c43@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <21fb73bc0506041640736e3020@mail.gmail.com> <20050605002832.6311AC1512@atlas.denx.de> <21fb73bc050605223311af6408@mail.gmail.com> <42A49A80.9000405@mvista.com> <21fb73bc0506061300126b1c43@mail.gmail.com> Cc: linuxppc-embedded@ozlabs.org Subject: Re: kernel ported from ELDK 3.0 hangs (loops in idled()) on my custom MPC870 Board Reply-To: Edward Hong List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , It looks like the BDI2000 debugger caused the problem. The kernel boots fine after removing the debugger. Thank you very much for all your replies! Edward On 6/6/05, Edward Hong wrote: > On 6/6/05, Randy Vinson wrote: > > > > Hi Edward, > > I've seen these symptoms before. The problem was traced to external > > interrupts being disabled (MSR[EE] not set). Without external > > interrupts, there is no decrementer interrupt (at least on 7xx > > processors). Without the decrementer, there in no system clock tick and > > without the clock tick, the scheduler won't run which means that the > > init task won't start. To verify that this is the problem, use mfmsr() > > to get the MSR and print it. I'd suggest that you add something like: > > > > printk("MSR =3D %x\n", mfmsr()); > > > I got MSR =3D 9032 just before cpu_idle which means EE (the most > significant bit) was enabled. >=20 > Thank you! >=20 > Edward >