Bug#656899: mdadm: sending ioctl 1261 to a partition warnings in kernel log with kernel 3.2

Michael Tokarev mjt at tls.msk.ru
Mon Jan 23 12:24:07 UTC 2012


On 22.01.2012 22:42, Rik Theys wrote:
> Package: mdadm
> Version: 3.2.3-2
> Severity: normal
> 
> Dear Maintainer,
> 
> After upgrading my system to the latest sid packages I'm seeing the following errors
> in the kernel log:
> 
> [    4.334881] mdadm: sending ioctl 800c0910 to a partition!
> [    4.334886] mdadm: sending ioctl 800c0910 to a partition!
> [    4.334899] mdadm: sending ioctl 1261 to a partition!
> [    4.334903] mdadm: sending ioctl 1261 to a partition!
> [    4.335072] mdadm: sending ioctl 1261 to a partition!

[]
> The updates installed linux kernel 3.2, which I assume is triggering this.
> Recently there was a security issue with ioctls sent to partitions being
> forwarded to the whole disk. I assume the 3.2 kernel has a fix for this and
> this is causing the messages.

This is correct, the message is recent addition in
block/scsi_ioctl.c.

1261 appears to be BLKFLSBUF, -- I'm not sure why it
is not allowed for a partition anymore, and why it
gets routed to scsi_ioctl.c.

[]
> Debian Release: wheezy/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)

Which kernel package version is that, exactly?

Thanks,

/mjt





More information about the pkg-mdadm-devel mailing list