From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Bowler Date: Thu, 13 May 2010 21:37:37 +0000 Subject: Re: udev cdrom_id rules prevent unmounted CD from spinning down Message-Id: <20100513213737.GA5459@elliptictech.com> List-Id: References: <20100513153043.GA3966@elliptictech.com> In-Reply-To: <20100513153043.GA3966@elliptictech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On 23:27 Thu 13 May , Kay Sievers wrote: > On Thu, May 13, 2010 at 22:13, Nick Bowler wro= te: > > On 18:27 Thu 13 May =A0 =A0 , Marco d'Itri wrote: > >> On May 13, Nick Bowler wrote: > >> > >> > The cdrom_id udev rules seem to be preventing the cdrom drive on my > >> Which udev release are you using? > > > > I was using 151, but I just upgraded to 154 and the problem persists. >=20 > Does: > udevadm monitor > print something? Yes (copied by hand): KERNEL[1273786356.346839] change /devices/pci0000:00/0000:00:1f.2/host1/tar= get1:0:0/1:0:0:0 (scsi) UDEV [1273786356.352880] change /devices/pci0000:00/0000:00:1f.2/host1/tar= get1:0:0/1:0:0:0/block/sr0 (block) KERNEL[1273786356.357396] change /devices/pci0000:00/0000:00:1f.2/host1/tar= get1:0:0/1:0:0:0/block/sr0 (block) UDEV [1273786356.361771] change /devices/pci0000:00/0000:00:1f.2/host1/tar= get1:0:0/1:0:0:0 (scsi) UDEV [1273786356.595945] change /devices/pci0000:00/0000:00:1f.2/host1/tar= get1:0:0/1:0:0:0/block/sr0 (block) KERNEL[1273786361.162051] change /devices/pci0000:00/0000:00:1f.2/host1/tar= get1:0:0/1:0:0:0 (scsi) KERNEL[1273786361.166466] change /devices/pci0000:00/0000:00:1f.2/host1/tar= get1:0:0/1:0:0:0/block/sr0 (block) and it spews out a bunch like this every time the disk spins back up. > Does killing udevd changes the issue? Yes, after killing udevd the disk stops spinning. --=20 Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)