Menu

buffer underruns with 8x and more on the fly

Help
chouki
2003-05-22
2003-05-22
  • chouki

    chouki - 2003-05-22

    hi,

    when i try to copy an audio-cd on-the fly with a speed more than 4x, there is always buffer underruns.
    my burner is a liteon 52x24x52 on secondary ide (as master) and the cdrom reader is on primary ide as slave.
    this cdrom reader is a liteon 52x which can extract dae at 17x without dma (tested with cdspeed) and 30x with dma.
    here is the command-line:

    cdrdao copy --source-device 0,0,0 --source-driver generic-mmc-raw --device 0,1,0 --driver generic-mmc-raw --speed 8 --buffers 256 --on-the-fly

    is this a known problem? because cdrdao does not take attention to DMA settings?

    thank you for your help :)

     
    • Tim Nordell

      Tim Nordell - 2003-05-22

      Fine.. I'll repost this.. again....

      All Linux ATAPI transport implementations do not support DMA.
      Current execptions are:

      - ide-scsi with block size 2048 and if DMA has been enabled

      - The new experimental ATAPI interface starting with Linux-2.5.45
      allows DMA if DMA has been enabled and the sector size is a
      multiple of 4. This allows to use DMA for audio CDs and
      when writing any type of CD in RAW mode.

      RAW mode is needed for many new and cheap drives that have bugs when
      writing in cooked mode. If there is no DMA, you cannot write faster
      than approx 16x.

      That is a quote from cdrecord's manual. So... it's only possible to get it to work with MODE1 then.. and non-raw.

       

Log in to post a comment.