Re: [REGRESSION] cdrom drive doesn't detect removal

From: Kay Sievers
Date: Tue Sep 14 2010 - 19:50:09 EST


On Wed, Sep 15, 2010 at 01:38, Maxim Levitsky <maximlevitsky@xxxxxxxxx> wrote:
> On Tue, 2010-09-14 at 10:07 +0200, Kay Sievers wrote:

>> Are we sure, that there is something that still polls the drive?
>> Udisks is only auto-started, when the desktop calls into some D-Bus
>> methods, unlike HAL where it was an init script.
>
> Note that on current vanilla head, I applied the attached manual revert
> patch, and problem disappears (and probably introduces the same bug that
> patch supposed to fix).

Can you please check which process polls the device, and attach an
strace to it, to see what's going on?

If there is no such process, does "touch /dev/sr0" create the missing event?

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/