From owner-freebsd-stable Thu Nov 21 14:11:17 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25E8437B401 for ; Thu, 21 Nov 2002 14:11:15 -0800 (PST) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98A3A43E9C for ; Thu, 21 Nov 2002 14:11:14 -0800 (PST) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (localhost.dlib.vt.edu [127.0.0.1]) by gromit.dlib.vt.edu (8.12.6/8.12.6) with ESMTP id gALMBGR0052124 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 21 Nov 2002 17:11:16 -0500 (EST) (envelope-from paul@gromit.dlib.vt.edu) Received: (from paul@localhost) by gromit.dlib.vt.edu (8.12.6/8.12.6/Submit) id gALMBGJV052123 for stable@freebsd.org; Thu, 21 Nov 2002 17:11:16 -0500 (EST) Date: Thu, 21 Nov 2002 17:11:16 -0500 From: Paul Mather To: stable@freebsd.org Subject: panic when using NVIDIA driver Message-ID: <20021121221116.GB957@gromit.dlib.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline X-No-Archive: yes X-Operating-System: FreeBSD/i386 4.7-STABLE User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Earlier today I left my desktop machine to attend some presentations. I left the screen locked (via xscreensaver-gnome-4.06). When I came back, I found the system at the xdm login screen. I figured at the time that in my hurry to get to the presentation, I must've selected "Log out" instead of "Lock screen" from the GNOME panel. Later, I discovered my machine had actually rebooted after a panic, apparently induced whilst running the "starwars" screen saver: Nov 21 13:24:30 gromit /kernel: Fatal trap 12: page fault while in kernel mode Nov 21 13:24:30 gromit /kernel: fault virtual address = 0xd5 Nov 21 13:24:30 gromit /kernel: fault code = supervisor read, page +not present Nov 21 13:24:30 gromit /kernel: instruction pointer = 0x8:0xc0226c78 Nov 21 13:24:30 gromit /kernel: stack pointer = 0x10:0xe35e3e7c Nov 21 13:24:30 gromit /kernel: frame pointer = 0x10:0xe35e3e84 Nov 21 13:24:30 gromit /kernel: code segment = base 0x0, limit +0xfffff, type 0x1b Nov 21 13:24:30 gromit /kernel: = DPL 0, pres 1, def32 1, gran 1 Nov 21 13:24:30 gromit /kernel: processor eflags = interrupt enabled, +resume, IOPL = 0 Nov 21 13:24:30 gromit /kernel: current process = 80019 (starwars) Nov 21 13:24:30 gromit /kernel: interrupt mask = none Nov 21 13:24:30 gromit /kernel: trap number = 12 Nov 21 13:24:30 gromit /kernel: panic: page fault Nov 21 13:24:30 gromit /kernel: Nov 21 13:24:30 gromit /kernel: syncing disks... 5 Nov 21 13:24:30 gromit /kernel: Nov 21 13:24:30 gromit /kernel: done Nov 21 13:24:30 gromit /kernel: Uptime: 5d19h27m38s Nov 21 13:24:30 gromit /kernel: Automatic reboot in 15 seconds - press a key on the console to abort Nov 21 13:24:30 gromit /kernel: Rebooting... Nov 21 13:24:30 gromit /kernel: Copyright (c) 1992-2002 The FreeBSD Project. Nov 21 13:24:30 gromit /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Nov 21 13:24:30 gromit /kernel: The Regents of the University of California. All rights reserved. Nov 21 13:24:30 gromit /kernel: FreeBSD 4.7-STABLE #5: Fri Nov 15 17:22:36 EST 2002 Nov 21 13:24:30 gromit /kernel: paul@gromit.dlib.vt.edu:/usr/obj/usr/src/sys/GROMIT I installed the NVIDIA drivers for FreeBSD shortly after their availability was announced. I also upgraded my kernel and userland ~Nov 15 in light of some recent security advisories. Prior to this, I've never encountered any panic whilst leaving my screen locked. As an aside, I know the NVIDIA drivers are for 4.7-STABLE (which I run). But, if I build and install a new kernel, do I need to re-download and re-install the NVIDIA drivers to make sure they are still in sync with the kernel I have now? (It's conceivable that in the kernel upgrade some kernel data structures/API *may* have changed relative to the one for which the NVIDIA driver I have was built, rendering the existing NVIDIA driver incompatible.) So, what is the best way to keep the NVIDIA drivers "in sync" with my system? (Or, in lay terms, how can I tell if that panic was due to a bug in the NVIDIA driver or due to an out of date module?) Cheers, Paul. e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message