From: Jerome G. <gl...@fr...> - 2009-07-21 12:42:54
|
On Tue, 2009-07-21 at 04:00 -0700, Steven Noonan wrote: > On Tue, Jul 21, 2009 at 3:53 AM, Steven Noonan<st...@up...> wrote: > > On Tue, Jul 21, 2009 at 3:45 AM, Dave Airlie<ai...@gm...> wrote: > >>> > >>> I'm getting a kernel panic when trying to run the latest git version > >>> of drm. I built it following the instructions from here: > >>> http://dri.freedesktop.org/wiki/Building > >>> > >>> It's a very very predictable panic. Log in, 'startx', exit X11, and > >>> then after a couple seconds, panic. > >>> > >>> I unfortunately can't get a text version of the panic log, but I do > >>> have a photo: http://twitpic.com/b2yva > >>> > >>> Any ideas? More importantly, am I excluding any important information > >>> to help debug the issue? > >>> > >> > >> Don't use the kernel modules from that tree, use whatever came with the kernel. > >> > >> Dave. > > > > Okay, well, I've almost debugged it anyway. I'll have a couple patches > > for you in less than a half hour. > > > > One patch submitted. And I can't figure out why, but the timer that is > supposed to be deleted by drm_vblank_cleanup() isn't getting > destroyed. And once the timer fires, the device is already > invalidated, and it oopses in radeon_get_vblank_counter(). The obvious > temporary solution is a check whether dev->mmio is a valid pointer, > and if not, return -EINVAL. But obviously, fixing the timer is more > ideal. > > - Steven. Don't bother fixing anythings in this code, it should be considered dead and we should delete it. I am all for creating libdrm and broke build of drm so that people stop trying build it. Something like a big message when someone type make. Use Linus tree if you want lastest bits, bugs you are facing are already corrected their. Cheers, Jerome |