Do you need x11-drivers/xf86-video-radeonhd-devel? (Re: How about AMD Puma platform support?)

Ian FREISLICH ianf at clue.co.za
Wed Sep 17 19:05:14 UTC 2008


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



More information about the freebsd-current mailing list