From: Frans Pop <elendil@planet.nl>
To: Tony Vroon <tony@vroon.org>
Cc: linux-kernel@vger.kernel.org, Tejun Heo <tj@kernel.org>,
Jens Axboe <jens.axboe@oracle.com>
Subject: Re: CD tray closes spontaneously after opening it
Date: Tue, 30 Sep 2008 14:01:22 +0200 [thread overview]
Message-ID: <200809301401.23160.elendil@planet.nl> (raw)
In-Reply-To: <1222773491.4003.2.camel@localhost>
On Tuesday 30 September 2008, Tony Vroon wrote:
> On Tue, 2008-09-30 at 12:47 +0200, Frans Pop wrote:
> > Since 2.6.27 I've had several times, but not always, that after I
> > open the CD tray by pressing the eject button it spontaneously closes
> > after a short delay. The delay varies between ~0 and ~2 seconds.
>
> For the record, I had this on my Gentoo system. It turned out that HAL
> was responsible. (So it may not be a kernel bug at all)
>
> Do see this report:
> http://bugs.gentoo.org/show_bug.cgi?id=230886
Thanks for the link.
It cannot be hal in my case as I've disabled polling by hal for both
drives using the 'hal-disable-polling' command.
The bug report also mentions udev, but I'm not sure if that's it either
as the bit in the report is about sr* devices, which is SCSI/SATA and
the patch linked there is in Debian's udev.
The udev changelog for Debian has:
udev (0.125-4) unstable; urgency=medium
* 60-persistent-storage.rules: do not run vol_id on media tray open
events or the kernel will close the tray again.
Hmm, in Debian unstable /etc/udev/rules.d/60-persistent-storage.rules
also has:
# skip removable ide devices, because open(2) on them causes an events loop
KERNEL=="hd*[!0-9]", ATTR{removable}=="1", DRIVERS=="ide-cs|ide-floppy", \
GOTO="persistent_storage_end"
I wonder if we've got a simple case of a typo here: ide-cs instead of
ide-cd? However, there is such a thing as an ide-cs driver (legacy driver
for PCMCIA IDE/ATA disk cards).
But it does seem logical that rule should also cover IDE CDs...
Cheers,
FJP
next prev parent reply other threads:[~2008-09-30 12:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-30 10:47 CD tray closes spontaneously after opening it Frans Pop
2008-09-30 11:18 ` Tony Vroon
2008-09-30 12:01 ` Frans Pop [this message]
2008-09-30 12:35 ` Frans Pop
2008-09-30 12:35 ` Kay Sievers
2008-09-30 12:47 ` Frans Pop
2008-09-30 13:55 ` Kay Sievers
2008-09-30 19:50 ` Frans Pop
2008-09-30 20:02 ` Kay Sievers
2008-10-01 7:48 ` Tom Spink
2008-10-01 10:17 ` Kay Sievers
2008-10-01 13:53 ` Frans Pop
2008-10-01 14:02 ` Boris Petkov
2008-10-07 22:47 ` Frans Pop
2008-10-01 14:44 ` Jiri Slaby
[not found] <bhKXZ-55E-11@gated-at.bofh.it>
[not found] ` <bhTyc-7OL-11@gated-at.bofh.it>
[not found] ` <bhTHP-8fv-7@gated-at.bofh.it>
[not found] ` <biapp-4PE-1@gated-at.bofh.it>
2008-10-01 19:43 ` Bodo Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200809301401.23160.elendil@planet.nl \
--to=elendil@planet.nl \
--cc=jens.axboe@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
--cc=tony@vroon.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.