From owner-freebsd-x11@FreeBSD.ORG Mon Mar 30 17:21:02 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 6A1C21065697 for ; Mon, 30 Mar 2009 17:21:02 +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 2A4968FC1D for ; Mon, 30 Mar 2009 17:21:01 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.156] (adsl-157-58-177.bna.bellsouth.net [70.157.58.177]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n2UHJfb9067578 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Mar 2009 13:19:41 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "N.J. Mann" In-Reply-To: <20090330162723.GD920@titania.njm.me.uk> References: <200903250150.n2P1ou4g062376@svn.freebsd.org> <20090325092904.GA2801@titania.njm.me.uk> <1237999344.1828.6.camel@balrog.2hip.net> <20090227141146.GA88783@titania.njm.me.uk> <20090330105326.GA920@titania.njm.me.uk> <1238424768.8491.331.camel@balrog.2hip.net> <20090330151923.GB920@titania.njm.me.uk> <1238429902.8491.336.camel@balrog.2hip.net> <20090330162723.GD920@titania.njm.me.uk> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-3bKYxQBOpyrFoHz9nhg3" Organization: FreeBSD Date: Mon, 30 Mar 2009 12:20:28 -0500 Message-Id: <1238433628.8491.338.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, 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: Mon, 30 Mar 2009 17:21:02 -0000 --=-3bKYxQBOpyrFoHz9nhg3 Content-Type: multipart/mixed; boundary="=-DEiduW+DNS7at/yRBSJG" --=-DEiduW+DNS7at/yRBSJG Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2009-03-30 at 17:27 +0100, N.J. Mann wrote: > In message <1238429902.8491.336.camel@balrog.2hip.net>, > Robert Noland (rnoland@FreeBSD.org) wrote: > > On Mon, 2009-03-30 at 16:19 +0100, N.J. Mann wrote: > > > In message <1238424768.8491.331.camel@balrog.2hip.net>, > > > Robert Noland (rnoland@FreeBSD.org) wrote: > > > > On Mon, 2009-03-30 at 11:53 +0100, N.J. Mann wrote: > [snip] > > > > >=20 > > > > > Okay I tried out your recent changes this morning. > > > > >=20 > > > > > First I did a svn update to r190540 to bring my sources up to dat= e and > > > > > then I built a new 7-Stable world and kernel and installed them. = Sadly, > > > > > I still got the video mode corruption on exiting X or switching f= rom X > > > > > to a VT. I then merged all the changes from head/sys/dev/drm to > > > > > stable/7/sys/dev/drm and tried again. Unfortunately, I got the s= ame > > > > > results. (Xorg.log and dmesg.boot available if required.) The c= hanges > > > > > I merged were: 190020, 190021, 190022, 190023, 190123, 190124, 19= 0125, > > > > > 190163, 190164, 190166, 190170, 190282, 190399, 190400, 19401 and > > > > > 190433. Some of these were probably not relevant, but I did ever= ything > > > > > to make it easier for me. (I am very much still testing the wate= r with > > > > > svn and this was the first time I tried doing a merge!) > > > > >=20 > > > > > Any ideas where to go from here? > > > >=20 > > > > Which chip do you have? I have a patch now that fixes vblank issue= s, at > > > > least I can't break it. This corruption issue on shutdown still ex= ists, > > > > but I've never had a problem vt switching. I'm told that something= is > > > > still wrong with interrupts on g45 though. > > >=20 > > > Is this the information you require? > > >=20 > > > % grep '^\(vga\|agp\|drm\)' r19054M.dmesg.boot > > > vgapci0: port 0xf140-0xf147 mem 0xff900000-0= xff97ffff,0xd0000000-0xdfffffff,0xff700000-0xff7fffff irq 16 at device 2.0 = on pci0 > > > agp0: on vgapci0 > > > vgapci0: Reserved 0x10000000 bytes for rid 0x18 type 3 at 0xd0000000 > > > vgapci0: Reserved 0x80000 bytes for rid 0x10 type 3 at 0xff900000 > > > vgapci0: Reserved 0x100000 bytes for rid 0x1c type 3 at 0xff700000 > > > agp0: detected 7164k stolen memory > > > agp0: aperture size is 256M > > > drm0: on vgapci0 > > > vgapci0: Reserved 0x80000 bytes for rid 0x10 type 3 at 0xff900000 > > > vgapci0: child drm0 requested pci_enable_busmaster > > > vga: vga0 already exists; skipping it > > > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on = isa0 > > >=20 > > > The MB is a Intel DG31GL, which incorporates an Intel GMA 3100 graphi= cs > > > adapter. > >=20 > > Ok, Are you seeing the corruption with an unpatched 7-STABLE? >=20 > Yes. I csup'ed at 0730 BST (0630 UTC) this morning to the latest > 7-STABLE (without patches) it still failed. I then did a svn update > about an hour later and had the same result. (The reason for doing both > is that I am still testing the water with svn and I do not trust myself > to not make any mistakes. :-) ) Please try this patch on top of a clean STABLE. robert. >=20 > Cheers, > Nick. --=20 Robert Noland FreeBSD --=-DEiduW+DNS7at/yRBSJG Content-Disposition: attachment; filename="drm-drm_pci.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="drm-drm_pci.patch"; charset="us-ascii" SW5kZXg6IGRldi9kcm0vZHJtX3BjaS5jDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQotLS0gZGV2L2RybS9kcm1fcGNp LmMJKHJldmlzaW9uIDE5MDQ4MSkNCisrKyBkZXYvZHJtL2RybV9wY2kuYwkod29ya2luZyBjb3B5 KQ0KQEAgLTkxLDcgKzkxLDcgQEANCiAJfQ0KIA0KIAlyZXQgPSBidXNfZG1hbWVtX2FsbG9jKGRt YWgtPnRhZywgJmRtYWgtPnZhZGRyLA0KLQkgICAgQlVTX0RNQV9XQUlUT0sgfCBCVVNfRE1BX1pF Uk8sICZkbWFoLT5tYXApOw0KKwkgICAgQlVTX0RNQV9XQUlUT0sgfCBCVVNfRE1BX1pFUk8gfCBC VVNfRE1BX05PQ0FDSEUgLCAmZG1haC0+bWFwKTsNCiAJaWYgKHJldCAhPSAwKSB7DQogCQlidXNf ZG1hX3RhZ19kZXN0cm95KGRtYWgtPnRhZyk7DQogCQlmcmVlKGRtYWgsIERSTV9NRU1fRE1BKTsN Cg== --=-DEiduW+DNS7at/yRBSJG-- --=-3bKYxQBOpyrFoHz9nhg3 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) iEYEABECAAYFAknQ/1wACgkQM4TrQ4qfRONeQACfdxsM6jRVynXNq6YjZWBZjteL 43AAnjVMeY8ziiAakB1g8wQdsJwg0LdO =6p7y -----END PGP SIGNATURE----- --=-3bKYxQBOpyrFoHz9nhg3--