Burning in DAO mode broken

From: Pav Lucistnik (pav_at_oook.cz)
Date: 10/18/03

  • Next message: John Hay: "Re: Kernel maybe borked..."
    To: freebsd-current@freebsd.org
    Date: Sat, 18 Oct 2003 18:19:14 +0200
    
    
    

    Hi people,

    I borrowed a DVD writer for this weekend and I'm a bit dissapointed
    because I found that I'm not able to write anything in DAO mode.
    Writing fails in sending CUE *** with burncd, and just before writing
    first data with cdrecord. I have -CURRENT from Friday night (17th Oct
    2003). Blanking works fine, TAO writing works fine. Can anyone write CD
    in DAO mode on -CURRENT?

    # burncd -vnd data data.bin
    adding type 0x08 file data.bin size 677280 KB 338640 blocks
    next writeable LBA 0
    CUE ***:
    41 00 00 14 00 00 02 00
    41 01 01 10 00 00 04 00
    41 aa 01 14 00 4b 13 0f
    burncd: ioctl(CDRIOCSENDCUE): Input/output error

    and syslog have this:
    acd0: FAILURE - SEND_CUE_*** status=51<READY,DSC,ERROR> sensekey=ILLEGAL REQUEST error=4<ABORTED>

    <nothing got written on a CD>

    # cdrecord -dao data.bin
    [snip]
    Waiting for reader process to fill input buffer ... input buffer ready.
    trackno=0
    BURN-Free is ON.
    Performing OPC...
    Sending CUE ***...
    cdrecord: WARNING: Drive returns wrong startsec (0) using -150
    Writing pregap for track 1 at -150
    Starting new track at sector: 0
    Track 01: 7 of 661 MB written (fifo 70%) [buf 94%] 139.1x.
    cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
    CDB: 2A 00 00 00 0E C6 00 00 1F 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)
    cmd finished after 0.000s timeout 200s
     
    write track data: error after 7745536 bytes
    cdrecord: A write error occured.
    cdrecord: Please properly read the error message above.
    Writing time: 13.510s
    Average write speed 831.9x.
    Fixating...
    cdrecord: Input/output error. flush cache: scsi sendcmd: retryable error
    CDB: 35 00 00 00 00 00 00 00 00 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)
    cmd finished after 17.834s timeout 200s
    Trouble flushing the cache
    Fixating time: 17.835s
    cdrecord: fifo had 186 puts and 123 gets.
    cdrecord: fifo was 0 times empty and 1 times full, min fill was 65%.

    <note that 7745536 is a size of burner's buffer. toc got written but no
    data, the CD is toasted>

    # cdrdao write toc
    [snip]
    Writing track 01 (mode MODE1/MODE1 )...
    ?: Input/output error. : scsi sendcmd: retryable error
    CDB: 2A 00 00 00 0E DA 00 00 17 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)
    cmd finished after 0.004s timeout 180s
    ERROR: Write data failed.
    ERROR: Writing failed - buffer under run?

    <hangs in vmmaps state, toc written but no data, CD is toasted>

    dmesg:
    acd0: DVDR <SONY DVD RW DRU-510A> at ata1-master PIO4
    GEOM: create disk cd0 dp=0xc2d24600
    cd0 at ata1 bus 0 target 0 lun 0
    cd0: <SONY DVD RW DRU-510A 1.0d> Removable CD-ROM SCSI-0 device
    cd0: 16.000MB/s transfers
    cd0: cd present [145091 x 2048 byte records]

    -- 
    Pav Lucistnik <pav@oook.cz>
    What do we know about love? Love is like a pear. Pear is sweet and have
    a specific shape. Try to exactly define the shape of a pear.
      -- Marigold: 50 Years Of Poetry
    
    



  • Next message: John Hay: "Re: Kernel maybe borked..."