Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2002 23:50:56 -0500
From:      "Brandon Young" <bkyoung@ku.edu>
To:        "'Scott'" <scottro@nyc.rr.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   RE: spontaneous reboots, processor travelling back in time ...
Message-ID:  <000001c1f195$0d359100$0100a8c0@workstation4>
In-Reply-To: <5.1.0.14.0.20020501020840.00bca4a0@pop-server.nyc.rr.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Scott,

I wanted to thank you for your help.  I do in fact have an Asus
motherboard.  Your tip on modifying the i686_mem.c file worked, and X
stopped rebooting my machine :-)  My processor has seemingly stopped
time traveling, too :-)  Thank you very much for your quick, clear, and
courteous assistance.

Brandon



-----Original Message-----
From: Scott [mailto:scottro@nyc.rr.com] 
Sent: Wednesday, May 01, 2002 1:18 AM
To: Brandon Young; freebsd-questions@FreeBSD.ORG
Subject: Re: spontaneous reboots, processor travelling back in time ...

At 23:38 2002/04/30 -0500, Brandon Young wrote:
>Every time I try to run the command 'XFree86 -configure' my system
>reboots.  I decided to run xf86config; that worked.  Once X was
>configured, I tried to start kdm ... the system reboots every time I
try
>to start X.  In searching through the archives, one would be lead to
>believe that there exists a hardware problem.  This is perplexing,
since
>this same hardware (whichever piece may be bad) never causes problems
in
>other operating systems (namely, Windows and Linux).  My system is a
1.0
>GHz AMD Thunderbird with a Kingston tulip NIC, Matrox G400 single head
>card, and SBLive soundcard.  The processor and mobo are new.


Is it an ASUS MB?  There are still some problems with it, usually with
the 
symptoms you describe.

http://www.freebsd.org/cgi/query-pr.cgi?pr=28418

Hrrmm--I see that it seems to be resolved as of two days ago--sigh, this

means I'll have to do a buildworld and see if it works without
adjustment.
The fix has been to

open up /usr/src/sys/i386/i368/i686_mem.c

Around line 269 you see

u_int           cr4save;


mrd = sc->mr_desc;


Between those two lines, insert a line
return;

So it'll now look like


u_int           cr4save;

return;
mrd = sc->mr_desc;

It has to do with MTRR problems




(This trick was given me by Bill Triplett in case he sees this post and 
wonders if I've forgotten--Hi Bill.  :)  )

This of course, assumes you have an ASUS

Then, you have to recompile your kernel

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.

(You probably know all that, but I have it kept on my hard drive as a
web 
page so am cutting and pasting--I'm really sleepy--sorry for the
extraneous 
info)

HTH
Scott



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: <http://docs.FreeBSD.org/cgi/mid.cgi?000001c1f195$0d359100$0100a8c0>