Dietmar Maurer wrote on 08.01.2009 15:53:
Ok, this is not kernel related. Seems to be related to my init-logger
vzctl patch.

Anyways, can some developer explain the content of this debug message?

It seem to be related to a mount command used inside a container.

Jan  8 10:43:12 oahu kernel: ioctl32(mount:886): Unknown cmd fd(4)
cmd(80041272){t:12;sz:4} arg(bfaf9f48) on /

- Dietmar



_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Hello Dietmar,

Have you found the reason?
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---

You have CONFIG_COMPAT enabled, haven't you?


_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to