Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2008 21:04:35 +0200
From:      Ian FREISLICH <ianf@clue.co.za>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        Boris Samorodov <bsam@ipt.ru>, freebsd-current@freebsd.org, Norikatsu Shigemura <nork@freebsd.org>
Subject:   Re: Do you need x11-drivers/xf86-video-radeonhd-devel? (Re: How about AMD Puma platform support?) 
Message-ID:  <E1Kg2KJ-0000Pa-R4@clue.co.za>
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> <E1Ke82p-0004uF-Gh@clue.co.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Kg2KJ-0000Pa-R4>