From owner-freebsd-questions@FreeBSD.ORG Fri Oct 8 05:02:23 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 8376616A4CE for ; Fri, 8 Oct 2004 05:02:23 +0000 (GMT) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7FC143D1D for ; Fri, 8 Oct 2004 05:02:22 +0000 (GMT) (envelope-from jason@ec.rr.com) Received: from [192.168.1.103] (cpe-065-184-172-100.ec.rr.com [65.184.172.100])i9852Bkc018659; Fri, 8 Oct 2004 01:02:11 -0400 (EDT) Message-ID: <41661FC8.6040008@ec.rr.com> Date: Fri, 08 Oct 2004 01:04:08 -0400 From: jason User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040808) X-Accept-Language: en-us, en MIME-Version: 1.0 To: scott@sremick.net References: <20041008004413.1818.qmail@web53606.mail.yahoo.com> In-Reply-To: <20041008004413.1818.qmail@web53606.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org Subject: Re: How to NOT load AGP? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 05:02:23 -0000 Scott I. Remick wrote: >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! > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > If it's not in the kernel you can just remove the agp driver from /boot/kernel. It won't load if there is nothing to load.