Re: scsi_id: sending ioctl 2285 to a partition

From: Alan Stern
Date: Fri Feb 10 2012 - 15:43:05 EST


On Fri, 10 Feb 2012, "Nelson, Doug" wrote:

> On 02/10/2012 11:40 AM, Paolo Bonzini wrote:
> > On 02/10/2012 06:23 PM, Nelson, Doug wrote:
> >>> # scsi devices
> >>> KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*",
> >>> IMPORT{program}="scsi_id --export --whitelisted -d $tempnode",
> >>> ENV{ID_BUS}="scsi"
> >>
> >> The rule I had was not excluding partitions. I'll fix that and try
> >> again.
> >
> > So was it a custom rule, or it came with the distro?
> >
>
> It's a custom rule we've been using for a long time to rename our 672 x
> ssd's.

By the way, I see the same sort of thing happening with mdadm. Maybe I
haven't gotten things configured quite right...

Anyway, here's an example extracted from the system log (this is under
Fedora 16's 3.2.3 kernel):

Feb 10 11:19:52 netrider kernel: [ 2.803184] mdadm: sending ioctl 800c0910 to a partition!
Feb 10 11:19:52 netrider kernel: [ 2.803191] mdadm: sending ioctl 800c0910 to a partition!
Feb 10 11:19:52 netrider kernel: [ 2.803194] mdadm: sending ioctl 800c0910 to a partition!
Feb 10 11:19:52 netrider kernel: [ 2.803201] mdadm: sending ioctl 1261 to a partition!
Feb 10 11:19:52 netrider kernel: [ 2.803203] mdadm: sending ioctl 1261 to a partition!
Feb 10 11:19:52 netrider kernel: [ 2.803382] mdadm: sending ioctl 800c0910 to a partition!
Feb 10 11:19:52 netrider kernel: [ 2.803385] mdadm: sending ioctl 800c0910 to a partition!
Feb 10 11:19:52 netrider kernel: [ 2.803389] mdadm: sending ioctl 800c0910 to a partition!
Feb 10 11:19:52 netrider kernel: [ 2.803390] mdadm: sending ioctl 800c0910 to a partition!
Feb 10 11:19:52 netrider kernel: [ 2.803393] mdadm: sending ioctl 1261 to a partition!
Feb 10 11:19:52 netrider kernel: [ 2.975991] md: bind<sdb3>
Feb 10 11:19:52 netrider kernel: [ 3.104305] md: bind<sda3>
Feb 10 11:19:52 netrider kernel: [ 3.106372] md: raid1 personality registered for level 1
Feb 10 11:19:52 netrider kernel: [ 3.106567] bio: create slab <bio-1> at 1
Feb 10 11:19:52 netrider kernel: [ 3.106728] md/raid1:md1: active with 2 out of 2 mirrors
Feb 10 11:19:52 netrider kernel: [ 3.106841] md1: detected capacity change from 0 to 4301717504
Feb 10 11:19:52 netrider kernel: [ 3.108360] md1: unknown partition table

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/