Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2002 03:37:20 +1000 (EST)
From:      Steven Goodwin <steve@cit.gu.edu.au>
To:        Scott <scottro@nyc.rr.com>
Cc:        User Tomdean <tomdean@speakeasy.org>, gregory@prioris.mini.pw.edu.pl, freebsd-questions@FreeBSD.ORG
Subject:   Re: Motherboard recommendations for ATHLON.
Message-ID:  <Pine.GSO.3.96.1020414032500.5847D-100000@kurango.cit.gu.edu.au>
In-Reply-To: <5.1.0.14.0.20020413130023.00c3d068@pop-server.nyc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <cokane@FreeBSD.org>
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 <eanholt@gladstone.uoregon.edu>
  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.1020414032500.5847D-100000>