[DRBD-user] compilation error: unregister_ioctl32_conversion amd64

Lars Ellenberg Lars.Ellenberg at linbit.com
Wed Jun 8 13:49:41 CEST 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


/ 2005-06-08 13:17:54 +0200
\ gueniche:
> hello,
> On an Linux AMD64 Debian Machine, with 2.6.12-rc4-mm2 kernel, the drbd 0.7.11 version compile with a warning :
> *** Warning: "unregister_ioctl32_conversion" [/usr/src/drbd-0.7.11/drbd/drbd.ko] undefined!
> *** Warning: "register_ioctl32_conversion" [/usr/src/drbd-0.7.11/drbd/drbd.ko] undefined!

> What can I do to have a correct compile of drbd ?

kernel api changed.
you options:
 - don't use a bleeding edge kernel,
 - wait for the developers (me) to ifdef drbd code to support
   ->compat_ioctl interface in addition to register_ioctl32_conversion interface
 - patch the now deprecated register_ioctl32_conversion interface back
   into the kernel source (or just drop the remove from the patchset,
   and hope for the best)
 - patch drbd yourself, add ->compat_ioctl support, and send patch to me
   [ my favorite ]

thanks,

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list