lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 1 Oct 2008 15:53:04 +0200
From:	Frans Pop <elendil@...net.nl>
To:	"Kay Sievers" <kay.sievers@...y.org>
Cc:	"Tony Vroon" <tony@...on.org>, linux-kernel@...r.kernel.org,
	"Tejun Heo" <tj@...nel.org>, "Jens Axboe" <jens.axboe@...cle.com>
Subject: Re: CD tray closes spontaneously after opening it

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 think I'll also go back to 2.6.26 for a while to see if I can reproduce 
it with that. I'm fairly sure it won't, but confirming that will be a 
good data point.

I don't see myself bisecting this as long as I don't have a reliable way 
to reproduce it.

BTW, I have considered a hardware problem like a short in the eject 
button, but I don't think that's it. The eject button "feels" good and 
I'd expect it to also spontaneously eject if that was the problem.
It also does feel like there is a pattern to it, even if I cannot see yet 
what that pattern would be.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ