Date: Wed, 10 Feb 2010 12:40:18 -0800 From: David Wolfskill <david@catwhisker.org> To: Robert Noland <rnoland@FreeBSD.org> Cc: x11@FreeBSD.org Subject: Re: DRI problems with ati/radeon on stable/7 r203425 Message-ID: <20100210204018.GF391@bunrab.catwhisker.org> In-Reply-To: <1265831741.8609.98.camel@balrog.2hip.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100210204018.GF391>