On Tue, Jun 13, 2006 at 03:42:17PM -0700, Steve Langasek wrote:
> On Tue, Jun 13, 2006 at 11:23:02PM +0200, Sjoerd Simons wrote:
> > On Mon, Jun 05, 2006 at 12:29:55PM -0400, Daniel Schepler wrote:
> > > I can confirm that this happens on my laptop as well; when a CD is in the
> > > drive, I can hear the drive spinning all the time, although at a lower
> > > speed than when the disc is being read.  After I stop hald manually, the
> > > drive spins down after about a minute.
> 
> > What hal does is poll the cddrive for status every two seconds.. This
> > shouldn't spin up the drive though.. Could you try to kill/stop the
> > /usr/lib/hal/hald-addon-storage processes that hal spawns (These poll your
> > drive) and check if that solves it ?
> 
> FWIW, hald-addon-storage is totally fucked on my machine as well, and
> regularly goes into a disk-wait state whenever I try to suspend to ram,
> so I kill it off by hand whenever I reboot.

Well, the addon does three different ioctl's: CDROM_DRIVE_STATUS,
CDROM_MEDIA_CHANGED and SG_IO. The last two are only done when there is a cd in
the drive.. 

That it goes in disk-wait is not that strange. But the fact that it fucks up
your suspend to ram is a kernel bug imho. 

  Sjoerd
-- 
Just remember, wherever you go, there you are.
                -- Buckaroo Bonzai


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to