Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760155Ab2BJUnF (ORCPT ); Fri, 10 Feb 2012 15:43:05 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:49713 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755209Ab2BJUnC (ORCPT ); Fri, 10 Feb 2012 15:43:02 -0500 Date: Fri, 10 Feb 2012 15:43:01 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Nelson, Doug" cc: Paolo Bonzini , Linus Torvalds , Matthew Wilcox , Kernel development list Subject: Re: scsi_id: sending ioctl 2285 to a partition Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2526 Lines: 49 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 Feb 10 11:19:52 netrider kernel: [ 3.104305] md: bind 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 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/