From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 19:43:40 2003 Return-Path: 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 46A3A37B401 for ; Thu, 3 Apr 2003 19:43:40 -0800 (PST) Received: from sunfire.lclark.edu (lclark.edu [149.175.1.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 8EFD943F3F for ; Thu, 3 Apr 2003 19:43:39 -0800 (PST) (envelope-from eta@lclark.edu) Received: from [149.175.30.191] ([149.175.30.191]) by sunfire.lclark.edu (SAVSMTP 3.0.1.45) with SMTP id M2003040319432123178 ; Thu, 03 Apr 2003 19:43:21 -0800 From: Eric Anholt To: Ted Faber In-Reply-To: <20030317032428.GB9944@praxis.lunabase.org> References: <1047429424.8471.40.camel@leguin> <20030314074826.GB38481@hal9000.halplant.com> <20030317032428.GB9944@praxis.lunabase.org> Content-Type: multipart/mixed; boundary="=-OTu55BHDPhl0ap5E14F5" Organization: Message-Id: <1049428097.609.46.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 03 Apr 2003 19:48:17 -0800 cc: stable@FreeBSD.ORG Subject: Re: Signal 11 on X server startup (Was: HEADSUP: XFree86 4.3.0 update X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 03:43:40 -0000 --=-OTu55BHDPhl0ap5E14F5 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sun, 2003-03-16 at 19:24, Ted Faber wrote: > On Fri, Mar 14, 2003 at 02:48:26AM -0500, Andrew J Caines wrote: > > Starting the server as normal with xinit gives normal startup messages, then fails > > with a signal 11: > > I have this problem, too. Same nv server. I'm happy to provide > details. One that might help is that this is an Athelon XP 1800. > > Let me know what you need to debug with. Could you try adding the following file to x11-servers/XFree86-4-Server/files and adding the filename to the list after PATCHDIR in the Makefile, then recompiling? It was committed to XFree86 recently with a log message that sounds related. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org --=-OTu55BHDPhl0ap5E14F5 Content-Disposition: attachment; filename=patch-nv_setup.c Content-Type: text/x-patch; name=patch-nv_setup.c; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Index: programs/Xserver/hw/xfree86/drivers/nv/nv_setup.c =================================================================== RCS file: /home/ncvs/xfree/xc/programs/Xserver/hw/xfree86/drivers/nv/nv_setup.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -u -r1.28 -r1.29 --- programs/Xserver/hw/xfree86/drivers/nv/nv_setup.c 12 Mar 2003 21:27:18 -0000 1.28 +++ programs/Xserver/hw/xfree86/drivers/nv/nv_setup.c 4 Apr 2003 00:18:50 -0000 1.29 @@ -24,7 +24,7 @@ /* Hacked together from mga driver and 3.3.4 NVIDIA driver by Jarno Paananen */ -/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/nv_setup.c,v 1.27 2003/02/10 23:42:51 mvojkovi Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/nv_setup.c,v 1.28 2003/03/12 21:27:18 mvojkovi Exp $ */ #include "nv_include.h" @@ -424,6 +424,9 @@ break; } + if(pNv->riva.Architecture == 3) + pNv->riva.PCRTC0 = pNv->riva.PGRAPH; + if(pNv->SecondCRTC) { pNv->riva.PCIO = pNv->riva.PCIO0 + 0x2000; pNv->riva.PCRTC = pNv->riva.PCRTC0 + 0x800; @@ -492,7 +495,6 @@ frameBase+0x00C00000, 0x00008000); NVCommonSetup(pScrn); - pNv->riva.PCRTC = pNv->riva.PCRTC0 = pNv->riva.PGRAPH; } void --=-OTu55BHDPhl0ap5E14F5--