http://bugs.freedesktop.org/show_bug.cgi?id=20954


Rafael Antonio Porras Samaniego <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24374|0                           |1
        is obsolete|                            |




--- Comment #3 from Rafael Antonio Porras Samaniego <[email protected]>  
2009-04-10 08:17:18 PST ---
Created an attachment (id=24695)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=24695)
Kernel panic complete message

Here is the complete panic message. I've used objdump with the radeon.ko module
to locate the specific line that causes the error. It seems to be this:

radeon_get_vblank_counter(radeon_irq.c:307)

return RADEON_READ(RADEON_CRTC2_CRNT_FRAME);
    de10:       8b 80 e0 00 00 00       mov    0xe0(%eax),%eax
    de16:       8b 40 10                mov    0x10(%eax),%eax
    de19:       05 14 02 00 00          add    $0x214,%eax
    de1e:       8b 00                   mov    (%eax),%eax
    de20:       83 c4 0c                add    $0xc,%esp
    de23:       c3                      ret    

The problem is 0xde16(radeon_get_vblank_counter+0x76) operating with eax = NULL
as you can see in the photo. I guess that dev_priv->mmio is NULL and that
triggers the oops. I've tested this hypothesis adding a check:

if (dev_priv->mmio == NULL)
    return -EINVAL;

This avoids the panic.

Well, this is the information I've been able to gather but I'm not an expert so
I'm sorry if I've erroneously brought more darkness than light :)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to