Impossible the burn DVD with the new FreeBSD 9.0 RELEASE?
angelv
angelvg at gmail.com
Tue Dec 4 17:04:08 UTC 2012
Hi,
I have a new installation of FreeBSD 9.0 RELEASE
# uname -a
FreeBSD delta.alpha.telemedellin.tv 9.0-RELEASE-p3 FreeBSD
9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
And the port
# ls /var/db/pkg | grep cdrtools
cdrtools-3.00_2
Searching for the SATA DVD
# cdrecord -scanbus
...
scsibus8:
8,0,0 800) 'HL-DT-ST' 'DVDRAM GH20NS15 ' 'IL00' Removable CD-ROM
Create the .iso
# mkisofs -R -J -udf -iso-level 3 -o
/home/backups/Grabar/imagefile.iso
/home/backups/Grabar/admindocimagenes-2012-11-28-00-00.tar.gz.aa
Burn the DVD
# cdrecord speed=8 dev=8,0,0 /home/backups/Grabar/
imagefile.iso
cdrecord: No write mode specified.
cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive
dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-freebsd9.0) Copyright
(C) 1995-2010 Jörg Schilling
scsidev: '8,0,0'
scsibus: 8 target: 0 lun: 0
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVDRAM GH20NS15 '
Revision : 'IL00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO LAYER_JUMP
Starting to write CD/DVD/BD at speed 8 in real SAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Turning BURN-Free off
cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
CDB: 2A 00 00 00 00 00 00 00 20 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 00 00 0C 30 05 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 65536
cmd finished after 0.002s timeout 200s
write track data: error after 0 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
# dmesg
(cd0:ahcich7:0:0:0): Command Specific Info: 0xc
(cd0:ahcich7:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
(cd0:ahcich7:0:0:0): CAM status: SCSI Status Error
(cd0:ahcich7:0:0:0): SCSI status: Check Condition
(cd0:ahcich7:0:0:0): SCSI sense: MEDIUM ERROR asc:10,90 (Vendor Specific ASCQ)
# cat /usr/src/sys/amd64/conf/GENERIC | grep ATA
# ATA controllers
device ahci # AHCI-compatible SATA controllers
device ata # Legacy ATA/SATA controllers
options ATA_CAM # Handle legacy controllers with CAM
options ATA_STATIC_ID # Static device numbering
device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA
# ATA/SCSI peripherals
device scbus # SCSI bus (required for ATA/SCSI)
device pass # Passthrough device (direct ATA/SCSI access)
device arcmsr # Areca SATA II RAID
device twa # 3ware 9000 series PATA/SATA RAID
device twe # 3ware ATA RAID
device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller
# cat /boot/loader.conf
# The Z File System (ZFS)
vm.kmem_size="512M"
vm.kmem_size_max="512M"
vfs.zfs.arc_max="40M"
vfs.zfs.vdev.cache.size="5M"
vfs.zfs.prefetch_disable="0"
# NVIDIA Driver
nvidia_load="YES"
# Intel HDA ALC889 audio codec
snd_hda_load="YES"
---------------------------------------------
The old options in the Handbook for dvd+rw-tools not work
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html
# ls /var/db/pkg | grep dvd+rw-tools
dvd+rw-tools-7.1
# cat /boot/loader.conf
...
# Creating and Using Optical Media (DVDs)
# The ATAPI/CAM Driver
atapicam_load="YES"
# Enable DMA access for ATAPI devices
hw.ata.atapi_dma="1"
The error when i run the script:
# /home/backups/Grabar/
BackupDVD-1.sh
Grabando el DVD ===>
Executing 'mkisofs -udf -iso-level 3 -V Backup 2012-11-29 -joliet-long
-J -R /home/backups/Grabar/Admindoc/admindocimagenes-2012-11-28-00-00.tar.gz.aa
| builtin_dd of=/dev/pass5 obs=32k seek=0'
0.22% done, estimate finish Thu Nov 29 16:56:17 2012
0.44% done, estimate finish Thu Nov 29 17:00:04 2012
0.66% done, estimate finish Thu Nov 29 16:58:48 2012
/dev/pass5: "Current Write Speed" is 8.2x1352KBps.
:-( unable to WRITE at LBA=90h: Input/output error
:-( write failed: Input/output error
/dev/pass5: flushing cache
/dev/pass5: updating RMA
/dev/pass5: closing disc
Proceso terminado, puede retirar el DVD ;-)
Script content:
# cat /home/backups/Grabar/BackupDVD-1.sh
#! /bin/sh
# Requiere:
#
# sysutils/dvd+rw-tools
#
# /sysutils/eject
echo "Grabando el DVD ===>"
growisofs -dvd-compat -udf -iso-level 3 -speed=8 -V "Backup `date
+%Y-%m-%d`" -joliet-long -Z /dev/cd0 -J -R \
/home/backups/Grabar/Admindoc/*.tar.gz.aa
echo "Proceso terminado, puede retirar el DVD ;-)"
echo
eject /dev/cd0$
---------------------------------------------
Impossible the burn DVD with the new FreeBSD 9.0 RELEASE?
Thank you for you work (cdrtools team and dvd+rw-tools team)
--
"When you understand why you dismiss all the other possible gods, you
will understand why I dismiss yours." - Stephen F Roberts
More information about the freebsd-ports
mailing list