From owner-freebsd-alpha@FreeBSD.ORG Tue Aug 2 17:42:19 2005 Return-Path: X-Original-To: freebsd-alpha@freebsd.org Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 619B316A41F for ; Tue, 2 Aug 2005 17:42:19 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E6A943D46 for ; Tue, 2 Aug 2005 17:42:18 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j72Hg0BS089483 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 2 Aug 2005 19:42:02 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j72HfjJ7021795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Aug 2005 19:41:46 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j72HfjNp071875; Tue, 2 Aug 2005 19:41:45 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j72HfisP071873; Tue, 2 Aug 2005 19:41:44 +0200 (CEST) (envelope-from ticso) Date: Tue, 2 Aug 2005 19:41:44 +0200 From: Bernd Walter To: freebsd-alpha@freebsd.org, Wilko Bulte , =?iso-8859-1?B?Sm9z6SBNLiBGYW5kafFv?= Message-ID: <20050802174144.GA71814@cicely12.cicely.de> References: <42EE1A34.6510B1CE@fadesa.es> <20050801151501.GA53593@freebie.xs4all.nl> <20050802172322.GC71672@dragon.NUXI.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050802172322.GC71672@dragon.NUXI.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de Cc: Subject: Re: KZPCC-CE SCSI controller X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2005 17:42:19 -0000 On Tue, Aug 02, 2005 at 10:23:22AM -0700, David O'Brien wrote: > On Mon, Aug 01, 2005 at 05:15:01PM +0200, Wilko Bulte wrote: > > Yes, asr(4) is not in the default Alpha kernels. > .. > > Would be interesting to know if it works or not, then we can go and > > add it into the default GENERIC for FreeBSD/alpha install cds. > > It will not work as-is. I suspect it could be made to work using the > ugly hack we have elsewhere in src/sys: > > #ifdef __alpha__ > #undef vtophys > #define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va) So this driver is not busdma'ed yet? Igh - this will invalidate it for lots of machines, not just alpha. Since I'm working on > 2G support and AFAIK the asked machine can have more than that this may be a problem. I intent to panic if a driver calls vtophys on a large mem alpha. Otherwise I see no option to protect systems from failing in spectacular ways. I don't think we can expect users to not accidently activate such drivers - especially as those problems may be hidden for a while. We could get such drivers working by using a large direct map, but since most of the problematic cards can only do 32bit addressing this wouldn't help that much. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de