> Have you found the reason?
no, unfortunately not.
> It seems strange from my point of view.
> cmd =80041272 should be BLKGETSIZE64_32
> Seems in your case the call chain is:
> compat_sys_ioctl - > compat_ioctl_error -> compat_printk("ioctl32
...")
>
> But IMHO it should be
> ---8<---
> compat_sys_ioctl:
> ....
> if (filp->f_op && filp->f_op->compat_ioctl) {
> error = filp->f_op->compat_ioctl(filp, cmd, arg);
> ....
> --->8---
>
>
> flip->f_op->compat_ioctl is compat_blkdev_ioctl
>
> ---8<---
> const struct file_operations def_blk_fops = {
> ...
> #ifdef CONFIG_COMPAT
> .compat_ioctl = compat_blkdev_ioctl,
> #endif
> ...
> };
> --->8---
Yes, its strange.
>
> You have CONFIG_COMPAT enabled, haven't you?
Yes, I have that enabled.
- Dietmar
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users