Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 10:32:29 -0600
From:      Chris Meyers <chris@hddesign.com>
To:        Charles Swiger <cswiger@mac.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: DVD Burning -- Got it Working!!
Message-ID:  <1069432349.686.14.camel@zim.hddesign.com>
In-Reply-To: <C842054B-1BA0-11D8-B94F-003065ABFD92@mac.com>
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> <C842054B-1BA0-11D8-B94F-003065ABFD92@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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
> <NEC CD-ROM DRIVE:465 1.03>        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 <Memorex DVD+/-RW Dual-X1> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1069432349.686.14.camel>