From owner-freebsd-ppc@FreeBSD.ORG Mon Dec 18 17:22:42 2006 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 A02AF16A403 for ; Mon, 18 Dec 2006 17:22:42 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29E5343CA8 for ; Mon, 18 Dec 2006 17:22:38 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [192.168.0.13] (dsl-63-249-90-35.cruzio.com [63.249.90.35]) by dommail.onthenet.com.au (MOS 3.5.7-GR) with ESMTP id CKJ33338 (AUTH peterg@ptree32.com.au); Tue, 19 Dec 2006 03:06:58 +1000 (EST) Message-ID: <4586CA29.10803@freebsd.org> Date: Mon, 18 Dec 2006 09:04:41 -0800 From: Peter Grehan User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: Andrew Turner References: <20061218104841.72ba51ea@hermies.int.fubar.geek.nz> <4585CCC1.7050005@freebsd.org> <20061218222327.308dca53@hermies.int.fubar.geek.nz> In-Reply-To: <20061218222327.308dca53@hermies.int.fubar.geek.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: FreeBSD on an Efika X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: grehan@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Dec 2006 17:22:42 -0000 Hi Andrew, > I'm getting correct values from mem_regions. I can read from the > physical address. What values are you getting back ? Does it look like what the system should have ? Did you read as well as write the physical value ? > It is reading from msgbufp where it stop working. What're the virtual/physical values used when creating the msgbuf mapping with pmap_kenter() in machdep.c:powerpc_init() ? After that mapping has been created, can you read/write to the buffer in that routine ? Do you end up in the trap handler if you touch msgbuf ? pmap_kenter() is fundamental to the operation of the system and probably OK, so something else must be afoot. later, Peter.