Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753179AbYJAHs3 (ORCPT ); Wed, 1 Oct 2008 03:48:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751537AbYJAHsV (ORCPT ); Wed, 1 Oct 2008 03:48:21 -0400 Received: from nf-out-0910.google.com ([64.233.182.185]:4194 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750739AbYJAHsU (ORCPT ); Wed, 1 Oct 2008 03:48:20 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dwUthi58DPb5CXDUG2rU2kt/9HSC+i7O8/Oj/Ony9lmtRGfGPvXdEY3jHkvSt12lCx N3WpXTxsspaCJIbadmZ/4m32Rh5Hs8hykRTih6xpyTLeya6kVVRuHSYpAWxfuZP9xOFT eX6cdnlB/nWq2E8mNldhIri0Hg4cRG6sDxLFU= Message-ID: <7b9198260810010048q170c72f4wfc306505f1a6ac00@mail.gmail.com> Date: Wed, 1 Oct 2008 08:48:19 +0100 From: "Tom Spink" To: "Kay Sievers" Subject: Re: CD tray closes spontaneously after opening it Cc: "Frans Pop" , "Tony Vroon" , linux-kernel@vger.kernel.org, "Tejun Heo" , "Jens Axboe" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809301247.05367.elendil@planet.nl> <200809301447.35915.elendil@planet.nl> <200809302150.38872.elendil@planet.nl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2054 Lines: 56 2008/9/30 Kay Sievers : > On Tue, Sep 30, 2008 at 9:50 PM, Frans Pop wrote: >> On Tuesday 30 September 2008, Kay Sievers wrote: >>> Does: >>> /sbin/udevadm monitor --env >>> print something while you see the tray closing? >> >> I was somewhat lucky to reproduce it with that running and there was no >> output during the open or close. I guess that rules out udev? > > I think so, yes. > >> I still don't know how to reliably reproduce this. It seems that after it >> has occurred once, it will not occur again unless the system is rebooted. >> But I'm not 100% sure of that. >> >> Most times I've seen it was after playing a DVD when ejecting the disc to >> put it back in its box, but not when the DVD was inserted earlier. >> But I've also seen it shortly after the system is booted when just opening >> the tray with no media inserted. >> >> Just to be clear: until recently the drive has always behaved perfectly in >> the same situations. >> >>> 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. > > Kay > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > Hi Kay, If you can manage to reproduce this, can you try/have you tried different kernel versions? -- Tom Spink -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/