From owner-freebsd-current@FreeBSD.ORG Sun Feb 8 19:38:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C53CC16A4CE for ; Sun, 8 Feb 2004 19:38:51 -0800 (PST) Received: from elkins.org (user41.net272.fl.sprint-hsd.net [64.45.235.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FF4C43D1F for ; Sun, 8 Feb 2004 19:38:51 -0800 (PST) (envelope-from bsd@elkins.org) Received: from kathix.elkins ([192.168.0.10]) by elkins.org with esmtp (Exim 3.36 #1 (Debian)) id 1Aq2G3-0004tK-00 for ; Sun, 08 Feb 2004 22:38:51 -0500 From: Jeff Elkins To: freebsd-current@freebsd.org Date: Sun, 8 Feb 2004 22:38:50 -0500 User-Agent: KMail/1.5.4 References: <20040209003036.332DC5D07@ptavv.es.net> In-Reply-To: <20040209003036.332DC5D07@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402082238.50491.bsd@elkins.org> Subject: Re: Using the ATAPI/CAM Driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 09 Feb 2004 03:38:51 -0000 On Sunday 08 February 2004 7:30 pm, Kevin Oberman wrote: > > From: Jeff Elkins > > Date: Sun, 8 Feb 2004 16:56:17 -0500 > > Sender: owner-freebsd-current@freebsd.org > > > > I've enabled the ATAPI/CAM driver in my kernel under freebsd 5.2 - this > > has given me two devices: /dev/cd0 and /dev/cd1. Thus far, I'm able to > > burn CDs/DVDs but I am having trouble mounting them (as root). > > > > If I issue the command: mount /cdrom or mount -t cd9660 /dev/cd0 /cdrom I > > get the message: cd9660: /dev/cd0: Device not configured > > > > > > However, if I comment out the /dev/cd devices in fstab and enable the acd > > devices: > > > > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > > /dev/acd1 /cdrom1 cd9660 ro,noauto 0 0 > > #/dev/cd0 /cdrom cd9660 ro,noauto 0 0 > > #/dev/cd1 /cdrom1 cd9660 ro,noauto 0 0 > > > > I'm able to mount w/o problems. > > I suspect it's a timing issue. The ATAPICAM driver does not create the > cd devices until quite a while (about 10 seconds) after the disc is > inserted. And there is no CD device when the drive is empty/open. This > leads to a variety of annoyances, especially if you are using a tool > that assumes too much, such as the permanent presence of the device so > that its status can be checked. > > I really wish that the /dev/cdN devices were always present if the > physical drive was present! In this case, even when I boot with a CD/DVD in place, the error still occurs. Jeff