Date: Sun, 08 Feb 2004 16:30:36 -0800 From: "Kevin Oberman" <oberman@es.net> To: Jeff Elkins <bsd@elkins.org> Cc: freebsd-current@freebsd.org Subject: Re: Using the ATAPI/CAM Driver Message-ID: <20040209003036.332DC5D07@ptavv.es.net> In-Reply-To: Message from Jeff Elkins <bsd@elkins.org> of "Sun, 08 Feb 2004 16:56:17 EST." <200402081656.17726.bsd@elkins.org>
index | next in thread | previous in thread | raw e-mail
> From: Jeff Elkins <bsd@elkins.org> > 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! -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040209003036.332DC5D07>
