From owner-freebsd-questions@FreeBSD.ORG Mon Nov 7 01:54:43 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9DCB716A420 for ; Mon, 7 Nov 2005 01:54:43 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0679743D48 for ; Mon, 7 Nov 2005 01:54:42 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.10] (nieser.net [194.109.160.131]) by smtp-vbr15.xs4all.nl (8.13.3/8.13.3) with ESMTP id jA71sYHd032460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Nov 2005 02:54:34 +0100 (CET) (envelope-from h.nieser@xs4all.nl) Message-ID: <436EB3DD.4050003@xs4all.nl> Date: Mon, 07 Nov 2005 02:54:37 +0100 From: Hans Nieser User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derek Ragona References: <6.0.0.22.2.20051106182349.025dd7c0@mail.computinginnovations.com> <436EAB84.5000504@xs4all.nl> <6.0.0.22.2.20051106193209.025ddee0@mail.computinginnovations.com> In-Reply-To: <6.0.0.22.2.20051106193209.025ddee0@mail.computinginnovations.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: 6.0 panics on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 01:54:43 -0000 Derek Ragona wrote: > At 07:19 PM 11/6/2005, Hans Nieser wrote: > >> Derek Ragona wrote: >> >>> I have a computer that has been running FreeBSD 4.X and 5.X without >>> problems. It runs 5.4 with no problems at all. This system has an >>> Intel 845 Motherboard and chipset, Intel Pentium 4 1.6 GHz CPU, 1 GB >>> RAM, NVidea GEForce MX/MX 400 video card, atapi CD-RW, IDE hard >>> drive, standard floppy. Nothing very exotic in this hardware. >>> I tried first to cvsup to 6.0, and rebuild everything. The build was >>> fine including a custom kernel, but when I tried to boot the new 6.0, >>> I got a panic, Fatal trap 12, page fault at the NVidea driver in the >>> boot. So I re-booted the kernel.old, reverted my sources to 5.4 and >>> rebuilt the system all again. >>> As the system rebuilt I downloaded and burned the ISO 6.0 image. >>> I tried to boot the ISO image and do a binary upgrade. The CD booted >>> 6.0 fine, and the upgrade installed with only one error that the >>> X.org was already present. When I tried to boot the new 6.0 GENERIC >>> kernel that was installed, I got the same panic/page fault error I >>> had when I updated via cvsup. >>> But since the same GENERIC kernel boots fine from CD I suspect there >>> may be some loader options I might need? I'd appreciate any help >>> with getting 6.0 to boot without the panic. >>> Thanks >> >> >> Hi Derek, >> >> You probably just have to stop the nvidia driver from loading by >> specifying "unset nvidia_load" at the boot prompt and reinstall the >> nvidia driver once the system is booted. >> >> That's what I did at least, and I have had no problems while I've >> heard from other people that didn't disable and rebuilt their nvidia >> drivers that they also got panics on boot. > > Hans, > > Let me see if I understand the process. When I go to boot 6.0, escape > to the boot prompt, then type: > unset nvidia_load > > Once the system boots then, how do I reinstall the nvidia driver? That > last step has me confused. Would I rebuild the kernel again? Or > something else? I (hopefully correctly) assumed you were using NVIDIA's own native drivers for FreeBSD as a loadable module (from the x11/nvidia-driver port), if so, then after booting without the nvidia module loaded, a "portupgrade -f nvidia-driver" should do the trick (or pkg_delete nvidia-driver && cd /usr/ports/x11/nvidia-driver && make install clean). But just in case, this is how I upgraded my system; I deleted all the ports/packages I had installed (since they have to be rebuilt for 6.0 anyway) with "pkg_delete -a", cvsupped ports and the RELENG_6_0 sources, rebuilt the kernel/world, commented out any third party modules (including nvidia) in /boot/loader.conf, rebooted and installed all the packages (including x11/nvidia-driver) I needed, and that's basically it.