[lkml]   [2006]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: BUG? atleast >=2.6.19-rc5, x86 chroot on x86_64
    On Wed, 13 Dec 2006 02:50:01 -0500
    Chuck Ebbert <> wrote:

    > In-Reply-To: <1165984783.23819.7.camel@localhost>
    > On Wed, 13 Dec 2006 05:39:43 +0100, Kasper Sandberg wrote:
    > > do you think it may be a bug in the kernel? the stuff with wine that
    > > gets thrown in the kernel messages?
    > Let's just say the behavior has changed. It now returns
    > -EINVAL instead of -ENOTTY when the msdos IOCTLs fail.

    For an unknown ioctl the correct return is -ENOTTY. For an invalid ioctl
    (known but wrong parameters) it may be -EINVAL.

    > Anyway, here is a much simpler patch that restores the previous
    > behavior (but leaves the message.) However if you aren't having
    > any problems now other than the messages maybe there's no real
    > problem after all?

    As far as I can see from a quick review the code should return -ENOTTY
    in this situation not -EINVAL, for all unhandled ioctls.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-12-13 12:07    [W:0.019 / U:7.412 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site