Can't burn with ahci(4) and cdrecord
Brandon Gooch
jamesbrandongooch at gmail.com
Thu Feb 3 21:00:30 UTC 2011
On Thu, Feb 3, 2011 at 2:36 PM, David Demelier <demelier.david at gmail.com> wrote:
> Hello,
>
> I tried to burn a little iso with ahci(4) instead of old ata drivers and it
> fails to burn with :
>
> markand at Melon ~ $ sudo cdrecord downloads/ubuntu-10.10-desktop-i386.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-freebsd8.2) Copyright (C)
> 1995-2010 Jörg Schilling
> Using libscg version 'schily-0.9'.
> No target specified, trying to find one...
> Using dev=1,0,0.
> Device type : Removable CD-ROM
> Version : 0
> Response Format: 2
> Capabilities :
> Vendor_info : 'hp '
> Identifikation : 'DVDRAM GT20L '
> Revision : 'DC05'
> Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
> Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
> Driver flags : MMC-3 SWABAUDIO BURNFREE
> Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
> LAYER_JUMP
> Starting to write CD/DVD/BD at speed 24 in real SAO mode for single session.
> Last chance to quit, starting real write 0 seconds. Operation starts.
> Turning BURN-Free off
> cdrecord: WARNING: Drive returns wrong startsec (0) using -150
> cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
> CDB: 2A 00 FF FF FF 6A 00 00 20 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00
> Sense Key: 0xFFFFFFFF [], Segment 0
> Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
> Sense flags: Blk 0 (not valid)
> resid: 65536
> cmd finished after 13.147s timeout 200s
> write track pad data: error after 0 bytes
> BFree: 597 K BSize: 597 K
> 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: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00
> Sense Key: 0xFFFFFFFF [], Segment 0
> Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
> Sense flags: Blk 0 (not valid)
> resid: 65536
> cmd finished after 0.001s timeout 200s
> write track data: error after 0 bytes
> cdrecord: A write error occured.
> cdrecord: Please properly read the error message above.
>
> This is happening on my HP Probook 4510s with 8.2-RC2 amd64.
Are you on 8.x or 9? I think this is due to a known issue [1].
Alexander Motin has patches for 9-CURRENT [2] that fix the issue for
me (and others). He hasn't had time to clean up the patches for
committal to the tree, and the patches may no longer cleanly apply --
I haven't re-patched since my last few updates.
Let us know if the patches work for you.
-Brandon
[1] http://lists.freebsd.org/pipermail/freebsd-current/2010-November/020944.html
[2] http://people.freebsd.org/~mav/sense/
More information about the freebsd-questions
mailing list