From owner-freebsd-questions Wed Apr 10 20:53:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from nycsmtp1out.rdc-nyc.rr.com (nycsmtp1out.rdc-nyc.rr.com [24.29.99.226]) by hub.freebsd.org (Postfix) with ESMTP id DB01A37B400 for ; Wed, 10 Apr 2002 20:53:46 -0700 (PDT) Received: from scott1.nyc.rr.com (24-168-24-239.nyc.rr.com [24.168.24.239]) by nycsmtp1out.rdc-nyc.rr.com (8.12.1/Road Runner SMTP Server 1.0) with ESMTP id g3B3qFgj017224; Wed, 10 Apr 2002 23:52:15 -0400 (EDT) Message-Id: <5.1.0.14.0.20020410234418.04ce2330@pop-server.nyc.rr.com> X-Sender: scottro@pop-server.nyc.rr.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 10 Apr 2002 23:53:48 -0400 To: User Tomdean , questions@FreeBSD.ORG From: Scott Subject: Re: ASUS A7N266-E and XFree86-4.2.0 In-Reply-To: <200204110246.g3B2koA02841@celebris.tddhome> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 19:46 2002/04/10 -0700, User Tomdean wrote: >I have a system w/ an ASUS A7N266-E motherboard with the built-in VGA >adapter, using the NVIDIA GeForce2 logic. > >Is anyone using XFree86-4.2.0 with this motherboard and the integrated >VGA? There's a known bug with some ASUS boards, and it's being worked on at present--the current maintainer has a hack that will work (though probably has to be redone each time you make world. Open /usr/src/sys/i386/i386/i686_mem.c (err, never hurts to back it up first. I'll give all the steps, even though you probably know them, as this list is deja searchable and might help the next person who doesn't know all of them. So, back it up cd /usr/src/sys/i386/i386 cp i686_mem.c i686_mem.c.orig Around line 269 you'll see u_int cr4save; mrd = sc->mr_desc; between those two lines insert return; Save the file. (This has to do with problems with MTRR and these boards--for more info see http://www.freebsd.org/cgi/query-pr.cgi?pr=28418 ) Now recompile the kernel--let's say you're running a kernel called MYKERN (if you're just using GENERIC, then substitute GENERIC for MYKERN) cd /usr/src/sys/i386/conf config MYKERN You see a message saying don't forget to do make depend and also telling you where to go, which should be ../../config/MYKERN make depend && make && make install Reboot. It should fix the problem As I said, I go into such detail for the newbie who searches deja or the archives with a similar question. HTH Scott Robbins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message