T500 cdrom drive never stops spinning until mount.
The ThinkPad T500 has a SATA cdrom drive attached to an Intel ICH9M/M-E SATA ACHI controller. Upon inserting a disk into this drive, if sr-mod is loaded, the disk will never stop spinning by itself: it will spin up to full speed, then start slowing down, but just before it stops, it will spin up to full speed, then start slowing down, ad infinitum.
If sr-mod is not loaded, the disk stops spinning right after insertion. It is only possible to remove sr-mod when the disk is spinning at full speed (all other times the module is in use), and then the disk stops.
Mounting the disk also causes it to stop spinning (and it remains stopped after unmounting it).
I see this behaviour with both 2.6.32 and 2.6.34-rc7.
Quoted 2 lines · Nick Bowler
Mounting the disk also causes it to stop spinning (and it remains stopped after unmounting it).
Sorry, this was a lie. As soon as the disk spins up again after unmounting (or if it was unmounted while still spinning), it will continue to spin forever.
Signature · 1 line
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
Quoted 6 lines · Nick Bowler
The ThinkPad T500 has a SATA cdrom drive attached to an Intel ICH9M/M-E SATA ACHI controller. Upon inserting a disk into this drive, if sr-mod is loaded, the disk will never stop spinning by itself: it will spin up to full speed, then start slowing down, but just before it stops, it will spin up to full speed, then start slowing down, ad infinitum.
Quoted 8 lines
If sr-mod is not loaded, the disk stops spinning right after insertion. It is only possible to remove sr-mod when the disk is spinning at full speed (all other times the module is in use), and then the disk stops.
Mounting the disk also causes it to stop spinning (and it remains stopped after unmounting it).
I see this behaviour with both 2.6.32 and 2.6.34-rc7.
Is something like hal, devicekit, etc. accessing the drive in this case? Can you try a minimal boot with no unnecessary processes and see if the same thing happens?
Quoted 3 lines · Robert Hancock
Is something like hal, devicekit, etc. accessing the drive in this case? Can you try a minimal boot with no unnecessary processes and see if the same thing happens?
Good call, booting with init=/bin/zsh and sure enough, the cd drive spins down. Looks like udev is causing the constant spin-ups, so I'll post to linux-hotplug instead.
Sorry for the noise,
Signature · 1 line
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)