From owner-freebsd-questions@FreeBSD.ORG Fri Oct 8 00:44:14 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A3C616A4CE for ; Fri, 8 Oct 2004 00:44:14 +0000 (GMT) Received: from web53606.mail.yahoo.com (web53606.mail.yahoo.com [206.190.37.39]) by mx1.FreeBSD.org (Postfix) with SMTP id 1847E43D1D for ; Fri, 8 Oct 2004 00:44:14 +0000 (GMT) (envelope-from scott@sremick.net) Message-ID: <20041008004413.1818.qmail@web53606.mail.yahoo.com> Received: from [69.171.193.20] by web53606.mail.yahoo.com via HTTP; Thu, 07 Oct 2004 17:44:13 PDT X-RocketYMMF: siremick Date: Thu, 7 Oct 2004 17:44:13 -0700 (PDT) From: "Scott I. Remick" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: How to NOT load AGP? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: scott@sremick.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 00:44:14 -0000 Background: My computer likes to lock up sometimes in XFree86. This last time it was while doing an rsync between an internal drive and an external USB drive. But other times it's been random. Regardless, forced to do a reset, it then won't start XFree86. Sometimes unloading, rebuilding, and reinstalling the nvidia driver helps, sometimes not. Sometimes it takes several tries. When it hangs, it might hang on the nvidia splash screen, a white screen, or (like right now) still in terminal mode after startx before it even switches to graphical. This time I can't get it to go back into XFree86 no matter how many times I rebuild the nvidia driver, so I'm looking elsewhere. I even tried portupgrade -f XFree86* but no go. All along I've been using the FreeBSD AGP. I'm thinking maybe I need to try nvidia's (some people swear one way, some the other... if only there was consensus!). So I try rebuilding my kernel w/o "device agp". Except the kernel build bombs at a weird point. Unable to find any reference to other people failing there, I suspect a corrupt /usr/src (perhaps due to one of my many lockups). So I rm -R and re-cvsup it. Then the build works. I also made sure that agp_load="YES" was commented out of my /boot/loader.conf file. Well, upon rebooting I still see agp loading, confirmed w/ kldstat. So I try uncommenting the line but changing it to "NO". Reboot, same thing. I do some more research, and try adding hint.agp.0.disabled="1" to my /boot/device.hints file. Reboot, but AGP is still loading. Argh. I can't even use kldunload to remove it. Ok, I appeal for help now. What's the proper way to keep AGP from loading so that I can test my nvidia driver using the nvidia AGP and see if that's even the sources of my XFree86 lockup problems? I need my desktop back. I'm on FreeBSD 5.2.1. Thanks!