From owner-freebsd-ports@FreeBSD.ORG Tue Dec 4 17:04:08 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6FAFE51C; Tue, 4 Dec 2012 17:04:08 +0000 (UTC) (envelope-from angelvg@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 077628FC1E; Tue, 4 Dec 2012 17:04:07 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fo14so4274677vcb.13 for ; Tue, 04 Dec 2012 09:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=hMtRI1cyG/BdJbGtdSlFKDZHgyIN0/iVyUqzyz2huuU=; b=kdoK8vh/tUaG7e0FV8ikvN70v8uK4oUsGlw4AoHYA3XBG9goi4t04/OSrqgpoOembk pGG1S23A6LJjGHLB22Wg8j85RcacFQ/M9pf2O0u8pLX9YGLRJegj8pRY6MldeJaMoJIK jS0CjDrpO2kfGa98Ly0kTHKRxSDjUrMQyI6jAdTVtK3YEsZ8K3ojYpLGbow8GtTkU3xv pJNldCcT765RxPWocuqW4b7aMLkfvKHmoFc4WUOIFdyR3bA6RA80Yb4Ml77qIFy/wnTd /TJ/5oyyPASKOmJrjEHfLakB0sGnU7e2GBSyR1uu2PvJaYhpQgYRbd+izAzirwZuajsk K2Rg== MIME-Version: 1.0 Received: by 10.52.175.71 with SMTP id by7mr10574913vdc.105.1354640647178; Tue, 04 Dec 2012 09:04:07 -0800 (PST) Received: by 10.58.215.114 with HTTP; Tue, 4 Dec 2012 09:04:07 -0800 (PST) Date: Tue, 4 Dec 2012 12:04:07 -0500 Message-ID: Subject: Impossible the burn DVD with the new FreeBSD 9.0 RELEASE? From: angelv To: marius@FreeBSD.org, ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 17:04:08 -0000 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@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=3D8 dev=3D8,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=F6rg 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 AS= CQ) # 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 SA= TA 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 acces= s) 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 contro= ller # cat /boot/loader.conf # The Z File System (ZFS) vm.kmem_size=3D"512M" vm.kmem_size_max=3D"512M" vfs.zfs.arc_max=3D"40M" vfs.zfs.vdev.cache.size=3D"5M" vfs.zfs.prefetch_disable=3D"0" # NVIDIA Driver nvidia_load=3D"YES" # Intel HDA ALC889 audio codec snd_hda_load=3D"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.htm= l # 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=3D"YES" # Enable DMA access for ATAPI devices hw.ata.atapi_dma=3D"1" The error when i run the script: # /home/backups/Grabar/ BackupDVD-1.sh Grabando el DVD =3D=3D=3D> 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.g= z.aa | builtin_dd of=3D/dev/pass5 obs=3D32k seek=3D0' 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@LBA=3D90h: 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 =3D=3D=3D>" growisofs -dvd-compat -udf -iso-level 3 -speed=3D8 -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