On Tue, Jul 21, 2009 at 3:53 AM, Steven Noonan<ste...@uplinklabs.net> wrote: > On Tue, Jul 21, 2009 at 3:45 AM, Dave Airlie<airl...@gmail.com> 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. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel