From owner-freebsd-alpha@FreeBSD.ORG Wed Jun 18 09:51:02 2003 Return-Path: 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 3B1EF37B401 for ; Wed, 18 Jun 2003 09:51:02 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FD1B43FA3 for ; Wed, 18 Jun 2003 09:50:59 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.9/8.12.9) with ESMTP id h5IGoqwV014708 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 18 Jun 2003 12:50:52 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h5IGoki81053; Wed, 18 Jun 2003 12:50:46 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16112.39014.751410.929689@grasshopper.cs.duke.edu> Date: Wed, 18 Jun 2003 12:50:46 -0400 (EDT) To: ticso@cicely.de In-Reply-To: <20030618123315.GH3626@cicely12.cicely.de> References: <16094.16676.273466.121560@grasshopper.cs.duke.edu> <20030613190624.W36168-100000@mail.chesapeake.net> <16110.27799.68056.48679@grasshopper.cs.duke.edu> <20030618005958.GD3626@cicely12.cicely.de> <16111.54084.284151.643826@grasshopper.cs.duke.edu> <20030618123315.GH3626@cicely12.cicely.de> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-alpha@freebsd.org Subject: Re: 5.1beta2 on Alpha ES40 w/ 32GB pys ram X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 16:51:02 -0000 Bernd Walter writes: > > You can see that the second hose has pci0 as well. That should be fine.. they are in separate PCI address spaces. > Much worse a bridged card could get a bus number that is also used on > another hose and it fails obscurly within FreeBSD. Having the same bus number appear on multiple bridges should also be OK. Again, the hose is its own address space. Are you worried about rman? > Currently I'm forced to keep bridged cards in the same hose. > > This machine also doesn't initialize io space on bridges and some > drivers have problems with memory space. That's bad. > And if we do it ourself than it might be reasonable to think about > hot-plug PCI some day. > > I havn't followed that idea very much because I worried about what SRM > would do if we tamper with his configuration. > Your Linux example sounds promissing. On miatas, linux shuffles pci memory mappings around so that it can use a 2GB direct map. This is great, except that linux does not halt cleanly back to the SRM. At shutdown time, it attempts to restore the same settings it found, but when halting, all you get is a repeating register dump. FreeBSD, which doesn't do anything this fancy (and which is limited to a 1GB direct map, due to the @#@#% stupid place the SRM puts the PCI memory spaces), halts fine. Perhaps we can make it work right, but there are drawbacks. Drew