From owner-freebsd-current@FreeBSD.ORG Wed Sep 17 19:05:13 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D52431065681; Wed, 17 Sep 2008 19:05:13 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id 000768FC28; Wed, 17 Sep 2008 19:05:12 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:References:X-Attribution:Date:Message-Id; b=ub4m8RvRmyNBP9+gyvsnvGCewmQjxy15w1ImfdssfKf7VAupIKoIRLPmJ1rjThpQWQN1/UXFRMEXtVpZOsETMSPYPw78MjdrYw8peAXgECMuoVVkecB0ADEuXH50lfLiCDYHKG+2hRyTNTRiTvD+Ooi0xcnhcAaqZ+hpEriSqIRFSZbVeCEpyCpfOA6bXZdcJ1THqz/f8DXdIq5CjZXFPNkAYHOGIT04yT+BoK51Rg+Cmvq29+5Mrprd6ddeisgP; Received: from uucp by munchkin.clue.co.za with local-rmail (Exim 4.67) (envelope-from ) id 1Kg2Kr-0005Q2-5D; Wed, 17 Sep 2008 19:05:09 +0000 Received: from dsl-241-65-41.telkomadsl.co.za ([41.241.65.41] helo=clue.co.za) by urchin.clue.co.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Kg2KO-0007i1-TH; Wed, 17 Sep 2008 19:04:41 +0000 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Kg2KJ-0000Pa-R4; Wed, 17 Sep 2008 21:04:35 +0200 To: Kostik Belousov From: Ian FREISLICH In-Reply-To: <20080912130117.GJ39652@deviant.kiev.zoral.com.ua> References: <20080912130117.GJ39652@deviant.kiev.zoral.com.ua> <20080910104936.GR39652@deviant.kiev.zoral.com.ua> <20080826005920.8aca164b.nork@FreeBSD.org> <20080906080801.8099c753.nork@ninth-nine.com> <47655429@bb.ipt.ru> <20080907163909.e4ed4fab.nork@FreeBSD.org> <36888738@bb.ipt.ru> X-Attribution: BOFH Date: Wed, 17 Sep 2008 21:04:35 +0200 Message-Id: Cc: Boris Samorodov , freebsd-current@freebsd.org, Norikatsu Shigemura Subject: Re: Do you need x11-drivers/xf86-video-radeonhd-devel? (Re: How about AMD Puma platform support?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 19:05:14 -0000 Kostik Belousov wrote: > On Fri, Sep 12, 2008 at 02:46:39PM +0200, Ian FREISLICH wrote: > > Interesting, I have the same (card/chip) and same problem: > >=20 > > (--) PCI:*(2:0:0) ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)] re= > v 0, Mem @ 0xd0000000/27, 0xdfff0000/16, I/O @ 0xe800/8, BIOS @ 0xdffc0000/= > 17 > > (--) PCI: (2:0:1) ATI Technologies Inc RV370 [Radeon X300SE] rev 0, Mem @= > 0xdffe0000/16 > >=20 > > in my -STABLE box which is also plagued by these spurious freezes. > > They always happen when logging out or quitting the window manager. > > Yesterday the mouse pointer movd but very slowly. The Xorg process > > using 100% on one CPU and unkillable. In the past, it's locked up > > the machine entirely, but this time everything else was working. > > I still had to power cycle it to reboot though. > >=20 > > I'll try to get a ktrace next time it happens. > > This is quite similar to my problem. I expect your X server to spend time > in kernel. Please, use the procstat -k to get the kernel stack of the > process. [brane] ~ # procstat -k 1593 PID TID COMM TDNAME KSTACK 1593 100062 Xorg initial thread mi_switch ast Xfast_syscall [brane] ~ # procstat -k 1593 PID TID COMM TDNAME KSTACK 1593 100062 Xorg initial thread mi_switch turnstile_wait _mtx_lock_sleep giant_ioctl devfs_ioctl_f kern_ioctl ioctl syscall Xfast_syscall [brane] ~ # procstat -k 1593 PID TID COMM TDNAME KSTACK 1593 100062 Xorg initial thread mi_switch ast Xfast_syscall truss -p 1593 ioctl(8,0x20006444 { IO 0x64('d'), 68, 0 },0x0) ERR#16 'Device busy' ioctl(8,0x20006444 { IO 0x64('d'), 68, 0 },0x0) ERR#16 'Device busy' ioctl(8,0x20006444 { IO 0x64('d'), 68, 0 },0x0) ERR#16 'Device busy' ioctl(8,0x20006444 { IO 0x64('d'), 68, 0 },0x0) ERR#16 'Device busy' ioctl(8,0x20006444 { IO 0x64('d'), 68, 0 },0x0) ERR#16 'Device busy' ioctl(8,0x20006444 { IO 0x64('d'), 68, 0 },0x0) ERR#16 'Device busy' ioctl(8,0x20006444 { IO 0x64('d'), 68, 0 },0x0) ERR#16 'Device busy' And then, after killing it... [brane] ~ # kill -9 1593 [brane] ~ # truss -p 1593 truss: can not attach to target process: No such process Yet in top: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1593 root 1 0 0 211M 35972K rdnrel 1 53:43 100.00% Xorg Ian -- Ian Freislich