From owner-freebsd-questions Sat Apr 13 10:37:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost.gu.edu.au (kraken.itc.gu.edu.au [132.234.250.31]) by hub.freebsd.org (Postfix) with ESMTP id BAC1937B400 for ; Sat, 13 Apr 2002 10:37:25 -0700 (PDT) Received: from kurango.cit.gu.edu.au (daemon@kurango.cit.gu.edu.au [132.234.86.1]) by mailhost.gu.edu.au (8.10.1/8.10.1) with ESMTP id g3DHcFp12464; Sun, 14 Apr 2002 03:38:15 +1000 (EST) Received: from localhost (steve@localhost) by kurango.cit.gu.edu.au (8.12.2/8.12.2) with SMTP id g3DHbKAM007363; Sun, 14 Apr 2002 03:37:21 +1000 (EST) Date: Sun, 14 Apr 2002 03:37:20 +1000 (EST) From: Steven Goodwin Reply-To: Steven Goodwin To: Scott Cc: User Tomdean , gregory@prioris.mini.pw.edu.pl, freebsd-questions@FreeBSD.ORG Subject: Re: Motherboard recommendations for ATHLON. In-Reply-To: <5.1.0.14.0.20020413130023.00c3d068@pop-server.nyc.rr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 02:51 2002/04/14 +1000, Steven Goodwin wrote: > >While we are on the subject of ASUS boards, my A7M266 is currently causing > >kernel panics. It uses the AMD 760 chipset (which seems to be the > >culprit) but I'm hoping that recent fixes will solve the problem. I'm > >compiling now with fingers crossed (metaphorically). > > > Well, here's the fix that worked for several people (but not Tom). Thanks mate. I tried this one when you first posted to the list but, alas, no cigar. BTW, I think that most of us who ask questions on this list appreciate the extra info. The fix that I'm putting my hopes on is described as follows. Date: Fri, 12 Apr 2002 10:05:48 -0700 (PDT) From: Coleman Kane To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci agp_amd.c agpreg.h cokane 2002/04/12 10:05:48 PDT Modified files: (Branch: RELENG_4_5) sys/pci agp_amd.c agpreg.h Log: This should fix the lock-ups associated with AGP and AMD761 chips. The previous revision was rather hastily MFC'd before the 761 got any real testing. Obtained from: Eirc Anholt Revision Changes Path 1.3.2.2.2.1 +51 -7 src/sys/pci/agp_amd.c 1.3.2.2.2.1 +1 -0 src/sys/pci/agpreg.h > Mr. Mlone has made a patch--however, I did something wrong and it didn't > apply properly. However, here's the trick, given me by Bill Triplett. Just > open up /usr/src/sys/i386/i368/i686_mem.c with your favorite text editor. > Around line 269 (in vi, it's easy to find--just do :269 while in command > mode), you'll see > > u_int cr4save; > > > mrd = sc->mr_desc; > Between those two lines, insert a line > return; > That's it. Putting in the word return, followed by a semi colon will keep X > from doing whatever it's doing with the MTRR, which is what is causing the > ASUS boards to lock up when XFree 4.x is started. > Then of course, you have to recompile your kernel. So, say your kernel is > called MYKERN (Sorry for the lack of originality, but I'm sleepy) > cd /usr/src/sys/i386/conf > config MYKERN > You will then see the thing something like source is ../../compile/MYKERN > Don't forget to do make depend > So > cd ../../compile/MYKERN > make depend; make; make install > Reboot and you should be good to go. > > Note that you'll have to redo this each time that you do cvsup and > buildworld. > > (Although Tom mentioned that he saw a commented out fix for ASUS in his > mem_c so maybe it simply has to be uncommented now) > > > (I posted this a few days ago--sorry if it's more info than you need--thing > is, I usually cut and paste from a web page that I keep on my own machine, > so that I don't have to go look it up each time) :) > > Scott Robbins > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message