Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 14:58:48 -0500
From:      "Nick Pegg" <nick.pegg@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   dvd+rw problems
Message-ID:  <428f57310605261258g66b820fbqecaca74d044ba1d5@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm having some troubles reading and writing DVD+RW discs. I've
installed dvd+rw-tools and followed the instructions in the FreeBSD
Handbook and searched Google without much luck. Here's the specific
errors I'm getting:

Trying to mount the disc:
server# mount_cd9660 /dev/cd0 /cdrom
mount_cd9660: /dev/cd0: Invalid argument

Trying to burn stuff to the disc:
server# growisofs -Z /dev/cd0 -J -R /root/dumps
:-( unable to cam_open_pass("/dev/pass0",O_RDWR): Operation not permitted


When trying the same operations with a DVD-R disc, I can successfully
mount and read the disc, however I get the same error when trying to
write to the disc. The drive can also mount and read CD media just
fine. I've double-checked the permissions in /dev and I'm running
everything as root, so that shouldn't be a problem.

Here's some additional info to help in figuring out what my problem could be:

server# camcontrol devlist
<TDK DVDRW0404N 1.0A>              at scbus1 target 1 lun 0 (cd0,pass0)

Here's some relevant stuff from dmesg:
acd0: CDR <CD-ROM! Erive/G6E ! ! ! ! ! ! ! ! ! ! !/M1/31 !> at
ata1-master UDMA33
acd1: DVDR <TDK DVDRW0404N/1.0A> at ata1-slave UDMA33
(probe0:ata1:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0
(probe0:ata1:0:0:0): CAM Status: SCSI Status Error
(probe0:ata1:0:0:0): SCSI Status: Check Condition
(probe0:ata1:0:0:0): ILLEGAL REQUEST info?:1000100 csi:0,1,0,1 asc:24,1
(probe0:ata1:0:0:0): Reserved ASC/ASCQ pair
(probe0:ata1:0:0:0): Unretryable error
cd0 at ata1 bus 0 target 1 lun 0
cd0: <TDK DVDRW0404N 1.0A> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
g_vfs_done():acd0[READ(offset=65536, length=8192)]error = 5
g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5
g_vfs_done():cd0[READ(offset=65536, length=8192)]error = 5
(cd0:ata1:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
(cd0:ata1:0:1:0): CAM Status: SCSI Status Error
(cd0:ata1:0:1:0): SCSI Status: Check Condition
(cd0:ata1:0:1:0): ILLEGAL REQUEST asc:24,0
(cd0:ata1:0:1:0): Invalid field in CDB: Command byte 6 is invalid
(cd0:ata1:0:1:0): Unretryable error
g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5


Thanks for the help!

-Nick



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