I had the Savage dri module snapshot working perfectly with kernel
2.6.11.2 and after updating to 2.6.11.6, and reinstalling it, the
module won't load. Checking dmesg gives error messages which refer to
drm_ioctl.c. I checked the last kernel patches and 2.6.11.5 changed
drivers/char/drm/drm_ioctl.c. Here is the diff taken from
www.linuxhq.org:

diff -Nru a/drivers/char/drm/drm_ioctl.c b/drivers/char/drm/drm_ioctl.c
--- a/drivers/char/drm/drm_ioctl.c   2005-03-18 22:35:10 -08:00
+++ b/drivers/char/drm/drm_ioctl.c   2005-03-18 22:35:10 -08:00
@@ -326,6 +326,8 @@
 
    DRM_COPY_FROM_USER_IOCTL(sv, argp, sizeof(sv));
 
+   memset(&version, 0, sizeof(version));
+
    dev->driver->version(&version);
    retv.drm_di_major = DRM_IF_MAJOR;
    retv.drm_di_minor = DRM_IF_MINOR;

I tried using the snapshots from 2005-03-14 and 2005-02-22. They
worked with 2.6.11.2. Hope you can solve this. Thanks!


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to