Date: Sun, 24 Aug 2008 19:19:23 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Robert Noland <rnoland@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/conf files src/sys/dev/drm ati_pcigart.c drm-subprocess.pl drm.h drmP.h drm_agpsupport.c drm_auth.c drm_bufs.c drm_context.c drm_dma.c drm_drawable.c drm_drv.c drm_fops.c drm_internal.h drm_ioctl.c drm_irq.c drm_lock.c ... Message-ID: <20080824161923.GA92405@deviant.kiev.zoral.com.ua> In-Reply-To: <1219593053.3430.59.camel@wombat.2hip.net> References: <200808232100.m7NL0rXB065082@repoman.freebsd.org> <20080824110312.GZ1803@deviant.kiev.zoral.com.ua> <1219593053.3430.59.camel@wombat.2hip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 24, 2008 at 11:50:52AM -0400, Robert Noland wrote: > On Sun, 2008-08-24 at 14:03 +0300, Kostik Belousov wrote: > > Unfortunately, I still get a hang with r300 in drm_lastclose(). >=20 > I don't understand this. You are the only one that I'm hearing this > from now. Our open/close routines are an ugly maze, but the last time I > had radeon hardware it worked great. I had tests with this patch on a > 9250 and some newer, higher end radeons also. Can you get a trace or > see if it is hung on a lock? >=20 > I don't currently have any radeon hardware, so I have to work blind on > it. >=20 > robert. I believe I already posted the backtrace of the X server whan this happen (see below). The thing I cannot explain is the mouse pointer that still follows the mouse. Everything else in X is frozen; system as a whole works, X server eats 100% of the CPU in the loop that is easily deducable from the trace. I get this almost deterministically when I run either firefox or xdvi. Probably, the hang could be reproduced with other apps too, but I use xterm, xchat and xpdf only. My graphic card is r300 (PCI:*(1:0:0) ATI Technologies Inc R420 JI [Radeon X800PRO] rev 0). The same problem was observed on r200. For some time, I blamed rev. 1.7 of drm_drv.c, but it appears that reverting it does not make any change. Would be happy to help get this resolved. #4 0xc04c9bb9 in _sleep (ident=3D0xe7c91840, lock=3D0xc54a98d8, priority= =3D84, =20 wmesg=3D0xc550ed1a "rdnrel", timo=3D1) = =20 at /usr/bsd/src/sys/kern/kern_synch.c:235 = =20 #5 0xc54fecfe in radeon_do_release () from /boot/kernel/radeon.ko = =20 #6 0xc551f0c5 in drm_lastclose () from /boot/kernel/drm.ko = =20 #7 0xc551ff3b in drm_close () from /boot/kernel/drm.ko = =20 #8 0xc0487fb0 in giant_close (dev=3D0xc5527a00, fflag=3D67, devtype=3D8192= , =20 td=3D0xc5871880) at /usr/bsd/src/sys/kern/kern_conf.c:371 = =20 #9 0xc046ad2c in devfs_close (ap=3D0xe7c91940) = =20 at /usr/bsd/src/sys/fs/devfs/devfs_vnops.c:372 #10 0xc06eddc2 in VOP_CLOSE_APV (vop=3D0xc0731380, a=3D0xe7c91940) = =20 at vnode_if.c:424 --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEUEARECAAYFAkixigsACgkQC3+MBN1Mb4jnjgCePCEDwJs3VDMu15cv4tekmBYF 2BYAl23ZGPdKxZnOIhaFBSuZYV/Qynw= =5V4h -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080824161923.GA92405>