From owner-freebsd-x11@FreeBSD.ORG Wed Feb 10 20:40:19 2010 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70A64106566B; Wed, 10 Feb 2010 20:40:19 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 2F3678FC14; Wed, 10 Feb 2010 20:40:18 +0000 (UTC) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id o1AKeITU017741; Wed, 10 Feb 2010 12:40:18 -0800 (PST) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.3/Submit) id o1AKeI8o017740; Wed, 10 Feb 2010 12:40:18 -0800 (PST) (envelope-from david) Date: Wed, 10 Feb 2010 12:40:18 -0800 From: David Wolfskill To: Robert Noland Message-ID: <20100210204018.GF391@bunrab.catwhisker.org> References: <20100208172654.GA391@bunrab.catwhisker.org> <1265764746.8609.18.camel@balrog.2hip.net> <20100210023558.GV391@bunrab.catwhisker.org> <1265802517.8609.25.camel@balrog.2hip.net> <20100210130642.GA391@bunrab.catwhisker.org> <1265813805.8609.52.camel@balrog.2hip.net> <20100210150604.GC391@bunrab.catwhisker.org> <1265814875.8609.61.camel@balrog.2hip.net> <20100210193752.GE391@bunrab.catwhisker.org> <1265831741.8609.98.camel@balrog.2hip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5uhzMJlTksuFv+PE" Content-Disposition: inline In-Reply-To: <1265831741.8609.98.camel@balrog.2hip.net> User-Agent: Mutt/1.4.2.1i Cc: x11@FreeBSD.org Subject: Re: DRI problems with ati/radeon on stable/7 r203425 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Wolfskill , x11@FreeBSD.org List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 20:40:19 -0000 --5uhzMJlTksuFv+PE Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 10, 2010 at 01:55:41PM -0600, Robert Noland wrote: > ... > > About the 5th time around, xdm didn't come back. > >=20 > > Couldn't switch to a vty (via Ctl+Alt+Fx). No "login: " prompt at > > serial console. > >=20 > > Sent a BREAK to the latter; backtrace shows: > >=20 > > agp0: Setting AGP v2 mode 4 >=20 > Hrm, this is the first time I've heard of msi issues on radeons. You > might also try different agp modes i.e. AGPMode "1". agp can be a bit > finicky... Actually, an r200 trying to do msi? What does pciconf -lvbc > show for the card/chip? The test for msi should just fail and normal > interrupt should be used. What else is sharing the interrupt with > vgapci? Looks as if I'll need to reboot to find that out; in the mean time: db> show irqs irq0: clk (no thread) irq1: atkbd0 (pid 37) irq3: (no thread) irq4: sio0 (no thread) irq5: (no thread) irq6: fdc0 (no thread) {ENTROPY} irq7: ppbus0 ppc0 (pid 41) irq8: rtc (no thread) irq9: pcm0 acpi0 (pid 22) irq10: (no thread) irq11: cbb0 cbb1++* (pid 23) irq12: psm0 (pid 38) irq13: (no thread) irq14: ata0 (pid 34) {ENTROPY} irq15: ata1 (pid 35) {ENTROPY} db>=20 While I'm waiting for the fsck to complete, I'll remind folks that this hardware & configuration (as it was, with DRI enabled) was working fine in stable/6. In stable/7, it works if I disable DRI. When I was using X.org built under stable/6, I also needed to disable DRI to run X.org under stable/7 (or /8) reliably (using the compat6x port). The hardware in question is by no means "cutting edge" -- it has been around for years. OK; here's the stanza for the ATi device: vgapci0@pci0:1:0:0: class=3D0x030000 card=3D0x00d51028 chip=3D0x4c66100= 2 rev=3D0x01 hdr=3D0x00 vendor =3D 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device =3D 'Radeon Mobility 9000 series (ATI MOBILITY RADEON 9000 (= Microsoft Corporation -)' class =3D display subclass =3D VGA bar [10] =3D type Prefetchable Memory, range 32, base 0xe0000000, siz= e 134217728, enabled bar [14] =3D type I/O Port, range 32, base 0xc000, size 256, enabled bar [18] =3D type Memory, range 32, base 0xfcff0000, size 65536, enab= led cap 02[58] =3D AGP 4x 2x 1x SBA disabled cap 01[50] =3D powerspec 2 supports D0 D1 D2 D3 current D0 (obtained after booting with the /etc/ttys entry for xdm turned off). Let's see... dmesg says that the Ati card is at irq=A011; vmstat -i only shows "cbb0 cbb1++*" for irq 11. I *think* dmesg is showing that nearly everything on the machine that isn't explicitly listed in the "vmstat -i" output is assigned to irq 11; I've attached a copy of dmesg.boot. I'll try setting AGPMode to a non-default value & see what happens. Thanks. Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --5uhzMJlTksuFv+PE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAktzGbEACgkQmprOCmdXAD39FQCeII1FtIni9timf4ghU97cafbs SukAn042LGZcjNnm1VlpvtbIYSRV29rE =s5a0 -----END PGP SIGNATURE----- --5uhzMJlTksuFv+PE--