From owner-freebsd-current@FreeBSD.ORG Wed Sep 3 21:58:24 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47CCD106569B for ; Wed, 3 Sep 2008 21:58:24 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id 0246C8FC28 for ; Wed, 3 Sep 2008 21:58:23 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by gxk10 with SMTP id 10so6241769gxk.19 for ; Wed, 03 Sep 2008 14:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Xv3ICoB/tlqRxfWUEjFae7hQhavc3g9cHDxT24sycuA=; b=n6tvT+wZ3nT590yNKuk0qIombXyaItlJxgXEqJMlcoyBNJ5unXsAJ7Q2ja0al3r5RX 83ru6qe4P3YXqmlcOZWQnzAT17lzm0LZ/yEKsF8tVbHJLJQOnvA7+wQreLFHHtvmyHzT 03IVLOYiSSMqfyNuqF4oOjMtvzzM06DRLBgk0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=M9jdpnF9mcH+rYgmp9yoY+gg31d/eqEjSNH7rcGTjGcgj8fNFUJ5h6jg9jafDWZ0nT rqzUatZrdEXhP/HtPnHi8rIxhddoFYtZ0fzS1akGNkUBE/ozlzMT/7WumDJxHYmQuCkV FAgtWWG2PgP3dGQhoG1okB9tkiuW/BrVF/reE= Received: by 10.150.58.5 with SMTP id g5mr13201558yba.27.1220479103400; Wed, 03 Sep 2008 14:58:23 -0700 (PDT) Received: by 10.150.140.14 with HTTP; Wed, 3 Sep 2008 14:58:18 -0700 (PDT) Message-ID: <8cb6106e0809031458k51d9e23byd157bc1608613ec8@mail.gmail.com> Date: Wed, 3 Sep 2008 17:58:18 -0400 From: "Josh Carroll" To: "David Malone" In-Reply-To: <20080903204759.GA4898@walton.maths.tcd.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080903034943.GD11548@cicely7.cicely.de> <20080903204759.GA4898@walton.maths.tcd.ie> Cc: Bernd Walter , ticso@cicely.de, freebsd-current@freebsd.org Subject: Re: MTRR fixup? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2008 21:58:24 -0000 > You may be able to fix this by just using the memcontrol command - > it already lets you program the MTRRs. Yes, specifically: memcontrol clear -b 0x... -l 0x.... Where the argument to -b is the first address listed from memcontrol list, and the -l argument is the second address in the list. E.g. for my ranges: 0xd0000000/0x10000000 BIOS uncacheable set-by-firmware active 0xe0000000/0x20000000 BIOS uncacheable set-by-firmware active I used: memcontrol clear -b 0xd0000000 -l 0x10000000 memcontrol clear -b 0xe0000000 -l 0x20000000 No adverse reaction so far... Josh