From owner-freebsd-ppc@FreeBSD.ORG Sat Mar 31 15:39:08 2007 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 060A016A403 for ; Sat, 31 Mar 2007 15:39:08 +0000 (UTC) (envelope-from ogautherot@vtr.net) Received: from vtr.cl (mail-b-out.cgp.vtr.net [200.83.2.215]) by mx1.freebsd.org (Postfix) with ESMTP id 7C36D13C4C7 for ; Sat, 31 Mar 2007 15:39:06 +0000 (UTC) (envelope-from ogautherot@vtr.net) Received: from [192.168.5.3] (HELO barracuda.vtr.cl) by fe2.vtr.cl (CommuniGate Pro SMTP 5.0.12) with ESMTP id 103435240 for freebsd-ppc@freebsd.org; Sat, 31 Mar 2007 11:39:04 -0400 X-ASG-Debug-ID: 1175355543-2ab100590027-y3ynpe X-Barracuda-URL: http://192.168.5.3:8000/cgi-bin/mark.cgi X-Barracuda-Connect: mxfe3.cgp.vtr.net[192.168.6.4] X-Barracuda-Start-Time: 1175355543 Received: from vtr.cl (mxfe3.cgp.vtr.net [192.168.6.4]) by barracuda.vtr.cl (Spam Firewall) with ESMTP id 3492C49748 for ; Sat, 31 Mar 2007 11:39:04 -0400 (CLT) Received: by fe3.vtr.cl (CommuniGate Pro PIPE 5.0.12) with PIPE id 103802816; Sat, 31 Mar 2007 11:39:04 -0400 X-NHContentFiltered: yes Received: from [200.120.119.5] (account ogautherot@vtr.net HELO [192.168.10.3]) by fe3.vtr.cl (CommuniGate Pro SMTP 5.0.12) with ESMTPA id 103802735 for freebsd-ppc@freebsd.org; Sat, 31 Mar 2007 11:38:39 -0400 From: Olivier Gautherot To: freebsd-ppc@freebsd.org X-ASG-Orig-Subj: Re: Exception in openfirmware calling Date: Sat, 31 Mar 2007 11:37:55 -0400 User-Agent: KMail/1.9.4 References: <20070331141428.5f7cb6b4@hermies.int.fubar.geek.nz> In-Reply-To: <20070331141428.5f7cb6b4@hermies.int.fubar.geek.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200703311137.56073.ogautherot@vtr.net> X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at vtr.cl X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=6.7 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.12839 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Subject: Re: Exception in openfirmware calling X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: olivier@gautherot.net List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2007 15:39:08 -0000 Andrew, On Friday 30 March 2007 22:14, Andrew Turner wrote: > I'm getting a cpu exception on the mtmsr instruction on line 213 in > ofw_machdep.c[1]. A copy of me single stepping through the code is > available at [2]. =46rom a previous life experience, setting the MSR via a single step is sometimes a dangerous thing to do. Did you try setting a breakpoint on the next instruction and "continue" to it? This way, you land on a more stable ground and can continue investigating. My cent worth... Olivier =2D-=20 Olivier Gautherot Email: olivier@gautherot.net LinkedIn: http://www.linkedin.com/in/ogautherot MSN: ogautherot@hotmail.com