Am Sonntag, den 27.03.2005, 20:52 +0100 schrieb António Alegria:
> 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;

This should not matter because you should not use the in-kernel DRM
together with a snapshot. You must disable all DRM options in your
kernel configuration (and recompile/install the kernel). If this doesn't
solve your problems, please post the error messages from dmesg.

> 
> 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!

Regards,
  Felix

-- 
| Felix Kühling <[EMAIL PROTECTED]>                     http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |



-------------------------------------------------------
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_ide95&alloc_id396&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to