From owner-freebsd-x11@FreeBSD.ORG Thu Apr 2 06:43:48 2009 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67CF6106564A for ; Thu, 2 Apr 2009 06:43:48 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 35D538FC14 for ; Thu, 2 Apr 2009 06:43:48 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.156] (adsl-1-207-177.bna.bellsouth.net [65.1.207.177]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n326gPQJ086589 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Apr 2009 02:42:25 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "N.J. Mann" In-Reply-To: <20090401154208.GA873@titania.njm.me.uk> References: <20090330201109.9CE521CC09@ptavv.es.net> <1238445388.8491.358.camel@balrog.2hip.net> <20090331151657.GA898@titania.njm.me.uk> <1238517533.8491.371.camel@balrog.2hip.net> <20090401154208.GA873@titania.njm.me.uk> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-bRm4jgr8mikVFjAXY6iz" Organization: FreeBSD Date: Thu, 02 Apr 2009 01:43:05 -0500 Message-Id: <1238654585.1791.15.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@FreeBSD.org Subject: Re: Xorg 7.4 crashes on exit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2009 06:43:48 -0000 --=-bRm4jgr8mikVFjAXY6iz Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2009-04-01 at 16:42 +0100, N.J. Mann wrote: > In message <1238517533.8491.371.camel@balrog.2hip.net>, > Robert Noland (rnoland@FreeBSD.org) wrote: > > On Tue, 2009-03-31 at 16:16 +0100, N.J. Mann wrote: > > > In message <1238445388.8491.358.camel@balrog.2hip.net>, > > > Robert Noland (rnoland@FreeBSD.org) wrote: > > > > On Mon, 2009-03-30 at 13:11 -0700, Kevin Oberman wrote: > > > > > > From: Robert Noland > > > > > > Date: Mon, 30 Mar 2009 14:54:45 -0500 > > > [snip] > > > > > >=20 > > > > > > Is this on CURRENT or STABLE and do you know at least approxima= tely when > > > > > > you started seeing the issue? > > > > > >=20 > > > > >=20 > > > > > It is on stable and I THINK it started when I updated my system t= o > > > > > 7.2-PRERELEASE last week. My previous Stable was on February 7 an= d it > > > > > pre-dated the Xorg-1.5.3 server update on the system. > > > > >=20 > > > > > I normally update ports daily, but I did delay the Xorg update fo= r a > > > > > week or two to let dust settle. > > > >=20 > > > > There are a lot of changed in that window... I really hope that th= is > > > > doesn't fix it, but could you try reverting: > > > >=20 > > > > balrog% svn diff -c r189669 > > > > Index: drm_drv.c > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > --- drm_drv.c (revision 189668) > > > > +++ drm_drv.c (revision 189669) > > > > @@ -131,7 +131,7 @@ > > > > .d_poll =3D drm_poll, > > > > .d_mmap =3D drm_mmap, > > > > .d_name =3D "drm", > > > > - .d_flags =3D D_TRACKCLOSE | D_NEEDGIANT > > > > + .d_flags =3D D_TRACKCLOSE > > > > }; > > > > =20 > > > > static struct drm_msi_blacklist_entry drm_msi_blacklist[] =3D { > > >=20 > > > I was not sure whether you wanted Kevin, me or both of us to try the > > > above, so I tried it anyway. :-) It has no visible affect here at al= l. > > > I double checked I had patched the right file and even re-compiled > > > (after doing a rm -rf /usr/obj and a make clean) and re-installed the > > > resulting kernel. No change. > > >=20 > > > Are there any debug messages I can enable to help you out here? > >=20 > > Yes, I'm not seeing any change here either. So, I don't think that we > > have a locking or ordering issue. Are the effects on shutdown a > > problem? >=20 > Yes, but not excessively so. Once I exit X the only thing I am able to > do is reboot by pressing CTRL+ALT+DEL. Nothing else appears to work. > However, I tend to stay in X all the time on this machine and only exit > if there is a problem. So, diagnosing problems is a real PITA at the > moment. :-) Ok, that isn't good, but... > > I think it may have more to do with the fact that we have > > released memory before we have switched display modes on shutdown. I > > can reproduce the strange color effects on this i915, but haven't hit a > > case where it created any sort of problem. >=20 > Is there a way of logging the shutdown sequence of X to a file? So far > the only error/diagnostic message I get is: >=20 > Fatal server error: > Caught signal 11. Server aborting Ok, if the X server is dumping core... That is a start. If you are using gdm the core will be in /var/gdm. I'm not sure where it might be otherwise. I'm running on a radeon x1650 right now and I'm not seeing this or any issues really. The i915 that I'm testing on, I have seen these shutdown issues... I'm not certain of the root cause at this point, as I've been working on interrupts for several days now. What I have seen seems to be hit or miss... I can't tell if it is taking an exceedingly long time for gnome/X to shutdown, or if it is just that this laptop is that slow... robert. > I really feel like I am not helping much while using up all your > valuable time. >=20 >=20 > Cheers, > Nick. --=20 Robert Noland FreeBSD --=-bRm4jgr8mikVFjAXY6iz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAknUXnkACgkQM4TrQ4qfRONlSACdFTYTkE1uGhqtXrWOgym0iVtW M9gAn0hmWGanYRVIgQXDFwB0jiKJ7avF =EmWN -----END PGP SIGNATURE----- --=-bRm4jgr8mikVFjAXY6iz--