On Friday September 22, [EMAIL PROTECTED] wrote:
> The SET_BITMAP_FILE ioctl currently doesn't have a compat entry, so on
> 64-bit systems a 32-bit mdadm will fail:
>
> Sep 20 16:34:52 caspian kernel: ioctl32(mdadm:8056): Unknown cmd fd(3)
> cmd(8004092b){00} arg(00000004) on /dev/md0
>
> The fix is to build a 64-bit mdadm or apply the following patch (compile
> tested only).
Thanks. I'll make sure it gets to akpm.
NeilBrown
>
> --
> Paul
> --- ./include/linux/compat_ioctl.h.orig 2006-09-22 11:14:53.000000000
> -0400
> +++ ./include/linux/compat_ioctl.h 2006-09-22 11:15:24.000000000 -0400
> @@ -121,6 +121,7 @@ ULONG_IOCTL(START_ARRAY)
> COMPATIBLE_IOCTL(STOP_ARRAY)
> COMPATIBLE_IOCTL(STOP_ARRAY_RO)
> COMPATIBLE_IOCTL(RESTART_ARRAY_RW)
> +ULONG_IOCTL(SET_BITMAP_FILE)
> /* DM */
> COMPATIBLE_IOCTL(DM_VERSION_32)
> COMPATIBLE_IOCTL(DM_REMOVE_ALL_32)
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html