From owner-freebsd-questions@FreeBSD.ORG Fri Nov 21 08:32:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E117A16A4CE for ; Fri, 21 Nov 2003 08:32:35 -0800 (PST) Received: from proxy.hddesign.com (dsl-194.madison.chorus.net [216.165.159.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEE4943FA3 for ; Fri, 21 Nov 2003 08:32:33 -0800 (PST) (envelope-from chris@hddesign.com) Received: from [10.0.0.11] (bob.hddesign.com [192.168.1.254]) by proxy.hddesign.com (8.12.8p1/8.11.6) with ESMTP id hALGWTJ5011048; Fri, 21 Nov 2003 10:32:30 -0600 (CST) (envelope-from chris@hddesign.com) From: Chris Meyers To: Charles Swiger In-Reply-To: References: <1069348530.619.16.camel@zim.hddesign.com> <6FA4F2C9-1B91-11D8-B453-003065ABFD92@mac.com> <1069359516.619.37.camel@zim.hddesign.com> <25F4D85A-1B99-11D8-B94F-003065ABFD92@mac.com> <1069361542.619.55.camel@zim.hddesign.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-gWC6r3bbcPwkwEwqPoTe" Message-Id: <1069432349.686.14.camel@zim.hddesign.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 21 Nov 2003 10:32:29 -0600 X-MailScanner: Found to be clean cc: FreeBSD Questions Subject: Re: DVD Burning -- Got it Working!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: chris@hddesign.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 16:32:36 -0000 --=-gWC6r3bbcPwkwEwqPoTe Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-11-20 at 15:30, Charles Swiger wrote: > On Nov 20, 2003, at 3:52 PM, Chris Meyers wrote: > > On Thu, 2003-11-20 at 14:35, Charles Swiger wrote: > >> Double-check what's going on with your devices, what does "camcontrol > >> devlist" give you? Maybe try using "/dev/cd0c" rather than > >> "/dev/acd0c"? > > > > Here's what camcontrol had to say: > > # camcontrol devlist -v > > scbus-1 on xpt0 bus 0: > > < > at scbus-1 target -1 lun -1 (xpt0) > > > > I'm guessing there should be something there between the < >. >=20 > More than that, you should see an entry like: >=20 > at scbus0 target 5 lun 0 (pass2,cd0) >=20 > ...mentioning the CD/DVD device; the entry for xpt0 is simply the=20 > driver interface itself, not a reference to a particular device. >=20 > > I don't have a cd0 entry in /dev so trying growisofs with it give this: > > :-( unable to open("/dev/cd0c",O_RDONLY): No such file or directory > > Also dmesg show this line: > > acd0: DVD-R at ata1-master PIO4 > > which pretty much shows that the drive is being recognized and put at > > acd0 >=20 > Right, but the acd device ['man 4 acd'] and the cd device ['man 4 cd']=20 > are not the same-- that's what the CAM subsystem is for, to provide=20 > passthrough emulation for ATAPI devices so that you can send SCSI=20 > commands to them. The "burncd" program works with ATAPI devices=20 > directly; the programs with dvd+rw-tools need CAM. >=20 > Hmm, also you should be configuring your device to enable UltraDMA=20 > modes rather than PIO; try a "sysctl hw.ata.atapi_dma=3D1", or equivalent= =20 > in /etc/sysctl.conf or /boot/loader.conf. Ok I finally got it working. I did need to recompile my kernel and add: device atapicam Once I did that I ran: growisofs -Z /dev/acd0c -R -J bkuptest and I got an ioctl error. I then tried: growisofs -Z /dev/cd0c -R -J bkuptest and everything worked as it was supposed to. Thanks to Charles and everyone else who pitched in their 2 cents. Chris --=-gWC6r3bbcPwkwEwqPoTe Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/vj4dO2qgt+6sh1URArUuAJ9DJXhbHlNhFlv08A8pzMFc8pduEACgxyXb FHqywfKirMnJIgYIxPMF07A= =PR1+ -----END PGP SIGNATURE----- --=-gWC6r3bbcPwkwEwqPoTe--