lkml.org 
[lkml]   [2008]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CD tray closes spontaneously after opening it
Hi,

On Wed, Oct 1, 2008 at 3:53 PM, Frans Pop <elendil@planet.nl> wrote:
> On Tuesday 30 September 2008, Kay Sievers wrote:
>> >> Does this also happen when you set:
>> >> /proc/sys/dev/cdrom/autoclose
>> >> to 0?
>> >
>> > I'll set that on boot using /etc/sysctl.conf and will report if I can
>> > still reproduce with that setting. I've checked that the "normal"
>> > value is 1.
>>
>> That will prevent the closing, when something tries to open the device
>> in blocking mode. If that solves the issue, you should start looking
>> which process tries to access your drive.
>
> Right. It happens with autoclose=0 too.
>
> Any suggestions for the next step? Maybe add some instrumentation in the
> cdrom or ide-cd drivers?

I have a debugging infrastructure ready in ide-cd which is in Bart's tree, you
could apply it ontop of current git, enable it and send dmesg so that we could
see exactly what is going on:

http://www.kernel.org/pub/linux/kernel/people/bart/pata-2.6/patches/

--
Regards/Gruss,
Boris


\
 
 \ /
  Last update: 2008-10-01 16:05    [W:0.080 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site