From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 28 20:48:35 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2077F1065676 for ; Mon, 28 Sep 2009 20:48:35 +0000 (UTC) (envelope-from mlfbsd@kanar.ci0.org) Received: from kanar.ci0.org (kanar.ci0.org [88.191.50.96]) by mx1.freebsd.org (Postfix) with ESMTP id AE9268FC12 for ; Mon, 28 Sep 2009 20:48:34 +0000 (UTC) Received: from kanar.ci0.org (pluxor@localhost [127.0.0.1]) by kanar.ci0.org (8.14.2/8.14.3) with ESMTP id n8SKLWut015395; Mon, 28 Sep 2009 22:21:32 +0200 (CEST) (envelope-from mlfbsd@kanar.ci0.org) Received: (from mlfbsd@localhost) by kanar.ci0.org (8.14.2/8.14.3/Submit) id n8SKLWof015394; Mon, 28 Sep 2009 22:21:32 +0200 (CEST) (envelope-from mlfbsd) Date: Mon, 28 Sep 2009 22:21:32 +0200 From: Olivier Houchard To: Tom Judge Message-ID: <20090928202132.GA15236@ci0.org> References: <4AC106AA.9000305@tomjudge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AC106AA.9000305@tomjudge.com> User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Mon, 28 Sep 2009 20:51:18 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: Help debugging: Fatal kernel mode data abort: 'External Linefetch Abort (P)' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 20:48:35 -0000 On Mon, Sep 28, 2009 at 06:55:38PM +0000, Tom Judge wrote: > Hi, > > I am working on getting FreeBSD to boot on a new ARM based board, and am > hitting this issue any time I load a driver for the PCI based devices on > the board. > > My current code can be found here: > > http://www.tomjudge.com/tmp/em7210.patch > Hi Tom, My guess is, you should include std.i80219 instead of std.i80321 in std.em7210. If you do not, CPU_XSCALE_80219 won't be defined, and the 80321 code to check if the board is host or not will be used, and will wrongly assume it is not, and thus won't map the PCI mem correctly. Regards, Olivier