From owner-freebsd-current@FreeBSD.ORG Mon Jul 13 09:15:09 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D41A0106566B for ; Mon, 13 Jul 2009 09:15:09 +0000 (UTC) (envelope-from jh@saunalahti.fi) Received: from gw03.mail.saunalahti.fi (gw03.mail.saunalahti.fi [195.197.172.111]) by mx1.freebsd.org (Postfix) with ESMTP id 949848FC15 for ; Mon, 13 Jul 2009 09:15:09 +0000 (UTC) (envelope-from jh@saunalahti.fi) Received: from a91-153-125-115.elisa-laajakaista.fi (a91-153-125-115.elisa-laajakaista.fi [91.153.125.115]) by gw03.mail.saunalahti.fi (Postfix) with SMTP id C096D21658B; Mon, 13 Jul 2009 12:15:05 +0300 (EEST) Date: Mon, 13 Jul 2009 12:15:05 +0300 From: Jaakko Heinonen To: Alexander Best Message-ID: <20090713091505.GA2228@a91-153-125-115.elisa-laajakaista.fi> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-current@FreeBSD.org Subject: Re: ejecting mounted media possible after `cdcontrol play` X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 09:15:10 -0000 Hi, On 2009-07-12, Alexander Best wrote: > when `cdcontrol play` is used with a mounted data cd or dvd the following > message appears (only when running the cdcontrol shell): Here is a patch to make cdcontrol(1) print error messages also in non-interactive mode: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/124517 > "Device not configured" I couldn't reproduce this. I get "Input/output error". > since there are no audio tracks on a data cd or dvd it's obvious cdcontrol > will fail. however after issuing the command the drive lock gets removed. now > it's possible to push the eject button and remove the media even though it's > mounted. is this a bug or a feature? If you are using ATAPI driver see PR kern/125139 and the latest patch submitted to it: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/125139 -- Jaakko