Bug#616389: xserver-xorg-video-radeon: Crashes when closing graphical VT ("(EE) RADEON(0): failed to set mode: Permission denied")

Michel Dänzer daenzer at debian.org
Thu Mar 10 06:33:21 PST 2011

On Don, 2011-03-10 at 14:13 +0000, Thue Janus Kristensen wrote: 
> Accoding to gdb, the second server is called as 
>    drmDropMaster(fd=9)
> and the first server calls
>    drmSetMaster(fd=9)
> Switching between VT7 and VT8 a few times, they also are both called
> with drmDropMaster(fd=9) and drmSetMaster(fd=9).

Then I'm confused why the EBADF... If the file descriptor was closed
before drmDropMaster, then I would have expected that to implicitly drop
master as well. Dave, any ideas? 
Thue, if you'd like to play with adding some debugging output in the
kernel, e.g. starting from why drm_setmaster_ioctl() fails, that might
be interesting.

Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer

More information about the xorg-driver-ati mailing list