Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 16:30:37 -0500
From:      Charles Swiger <cswiger@mac.com>
To:        chris@hddesign.com
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: DVD Burning
Message-ID:  <C842054B-1BA0-11D8-B94F-003065ABFD92@mac.com>
In-Reply-To: <1069361542.619.55.camel@zim.hddesign.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 < >.

More than that, you should see an entry like:

<NEC CD-ROM DRIVE:465 1.03>        at scbus0 target 5 lun 0 (pass2,cd0)

...mentioning the CD/DVD device; the entry for xpt0 is simply the 
driver interface itself, not a reference to a particular device.

> 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

Right, but the acd device ['man 4 acd'] and the cd device ['man 4 cd'] 
are not the same-- that's what the CAM subsystem is for, to provide 
passthrough emulation for ATAPI devices so that you can send SCSI 
commands to them.  The "burncd" program works with ATAPI devices 
directly; the programs with dvd+rw-tools need CAM.

Hmm, also you should be configuring your device to enable UltraDMA 
modes rather than PIO; try a "sysctl hw.ata.atapi_dma=1", or equivalent 
in /etc/sysctl.conf or /boot/loader.conf.

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C842054B-1BA0-11D8-B94F-003065ABFD92>