From owner-freebsd-questions Mon Jun 3 20:34:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from nycsmtp2out.rdc-nyc.rr.com (nycsmtp2out.rdc-nyc.rr.com [24.29.99.227]) by hub.freebsd.org (Postfix) with ESMTP id F2D6337B427 for ; Mon, 3 Jun 2002 20:33:26 -0700 (PDT) Received: from despammed.com (66-108-170-19.nyc.rr.com [66.108.170.19]) by nycsmtp2out.rdc-nyc.rr.com (8.12.1/Road Runner SMTP Server 1.0) with SMTP id g543WrYV017336; Mon, 3 Jun 2002 23:32:54 -0400 (EDT) Date: Mon, 3 Jun 2002 23:33:28 -0500 From: Scott Robbins To: Jud Cc: patrick@esoltani.com, capm@gmx.net, freebsd-questions@FreeBSD.ORG Subject: Re: Spontaneous Reboot on Startx (was Re: Problem with "shutdown -p now") Message-ID: <20020604043328.GA3511@scott1.homeunix.net> References: <20020603232345.6d6e40f9.jud@myrealbox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020603232345.6d6e40f9.jud@myrealbox.com> User-Agent: Mutt/1.4i 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 On Mon, Jun 03, 2002 at 11:23:45PM -0400, Jud wrote: > > From: Scott > > To: "patrick" , "Pascal Giannakakis" > > , freebsd-questions@FreeBSD.ORG > > Subject: Fwd: Re: Problem with "shutdown -p now" > > Date: 6/3/2002 9:21:40 PM > > > > At 17:39 2002/06/03 -0700, patrick wrote: > > > > Errm - Scott, when I did the apm_enable, > remove-disable-apm-and-recompile-kernel thing (plus cd /dev and sh > MAKEDEV all), it solved my shutdown problem (I'd had it on my ASUS > A7V333), but the next two times I tried to start the X server, my > machine spontaneously rebooted. Also, I'm using a boot manager/loader > called BootItNG ('cause nothing else seems to grok my RAID setup so > well, plus it does partition/slice moving/resizing/imaging), and both > times after the reboot my EMBR (extended MBR) was hosed. To > paraphrase W.C. Fields, on the whole, I'd rather have the shutdown > problem. ;-) > > Jud There's a certain humor in that. However, the ASUS MB problem with startx is usually easily fixed. I happen to know about this, because I have an ASUS There was a PR filed on it. When did you last do cvsup and buildworld? If it hasn't been for awhile, doing so should fix the startx problem, Mr. Malone has fixed it. If not, and you don't feel like doing a build world, you should be able to fix it by doing the following. Open up /usr/src/sys/i386/i386/i686_mem.c Around line 269, there's probably something like u_int cr4save; mrd = sc->mr_desc; In between those two lines, put return; Then recompile, and that should fix it. The only thing that worries me about giving this advice is that you didn't have the problem before. In general, it's been a problem with various (though not all) ASUS boards, and didn't as far as I know, have anything to do with apm--it was connected with MTRR. Let me know what happens, for my own knowledge (unless you've already put things back as they were, fixed it and don't feel like bothering) Thanks. Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message