[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[no subject]



> Hi Joerg,
>
> Thanks for replying. I'm still confused about a few things:
>
> On Mon, 2006-02-20 at 16:24 +0100, Joerg Schilling wrote:
> > What problems do you have here?
>
> Sorry, I missed the fact that that write did actually succeed. I must be
> getting log-blind.
>
> > As the cdrecord error message correctly states:
> >
> > YOu got a buffer underrun.
> >
> > So either you don't have DMA or there is another unfriendly application
> > that disturbes writing.
>
> It always seems to fail around 250-400 MB, even with burn-free turned
> on, min drive buffer fill was 95%, min fifo fill was 85% (tried 5 times
> in dummy mode, with different media). The fifo was 100% full and buffer
> 99% full at the time of the underrun. I don't understand how it's even
> possible to have a buffer underrun under these conditions.
>
> The fact that it always fails in the same place would seem to imply that
> it's not some process on the system interfering with the writing, unless
> that process caused by the writing itself.
>
> I'm using ide-scsi. The CD-ROM shares a bus with one of the two hard
> disks in the RAID array. All drives have DMA enabled.
>
>
> [chris@ndiyo ubuntu]$ sudo cdrecord -v speed=8 driveropts=burnfree -tao
> dev=2,0,0 -dummy ubuntu-5.10-live-powerpc.iso
> Password:
> Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright (C) 1995-2006 J
> \uffffrg Schilling
> cdrecord: Warning: Running on Linux-2.6.9-ck2-aidworld
> cdrecord: There are unsettled issues with Linux-2.5 and newer.
> cdrecord: If you have unexpected problems, please try Linux-2.4 or
> Solaris.
> cdrecord: Warning: Linux-2.6.8 introduced incompatible interface
> changes.
> cdrecord: Warning: SCSI transport does no longer work for suid root
> programs.
> cdrecord: Warning: if cdrecord fails, try to run it from a root account.
> TOC Type: 1 = CD-ROM
> scsidev: '2,0,0'
> scsibus: 2 target: 0 lun: 0
> Linux sg driver version: 3.5.31
> Using libscg version 'schily-0.8'.
> Driveropts: 'burnfree'
> SCSI buffer size: 64512
> atapi: 1
> Device type    : Removable CD-ROM
> Version        : 2
> Response Format: 2
> Capabilities   :
> Vendor_info    : 'SAMSUNG '
> Identifikation : 'CDRW/DVD SM-352F'
> Revision       : 'T902'
> Device seems to be: Generic mmc2 DVD-ROM.
> Current: 0x0009
> Profile: 0x000A
> Profile: 0x0009 (current)
> Profile: 0x0008
> Profile: 0x0002
> Profile: 0x0010
> 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
> Drive buf size : 1959936 = 1914 KB
> FIFO size      : 4194304 = 4096 KB
> Track 01: data   627 MB
> Total size:      720 MB (71:20.69) = 321052 sectors
> Lout start:      720 MB (71:22/52) = 321052 sectors
> Current Secsize: 2048
> ATIP info from disk:
>   Indicated writing power: 5
>   Is not unrestricted
>   Is not erasable
>   Disk sub type: Medium Type B, low Beta category (B-) (4)
>   ATIP start of lead in:  -11607 (97:27/18)
>   ATIP start of lead out: 359849 (79:59/74)
> Disk type:    Short strategy type (Phthalocyanine or similar)
> Manuf. index: 18
> Manufacturer: Plasmon Data systems Ltd.
> Blocks total: 359849 Blocks current: 359849 Blocks remaining: 38797
> Starting to write CD/DVD at speed 8 in dummy TAO mode for single
> session.
> Last chance to quit, starting dummy write    0 seconds. Operation
> starts.
> Waiting for reader process to fill input buffer ... input buffer ready.
> BURN-Free is ON.
> Starting new track at sector: 0
> Track 01:  378 of  627 MB written (fifo 100%) [buf  99%]
> 8.2x.cdrecord: Input/output error. write_g1: scsi sendcmd: no error
> CDB:  2A 00 00 02 F5 AF 00 00 1F 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: F0 00 05 00 00 00 00 0A 00 00 00 00 21 02 00 00
> Sense Key: 0x5 Illegal Request, Segment 0
> Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
> Sense flags: Blk 0 (valid)
> cmd finished after 1.551s timeout 40s
>
> write track data: error after 397244416 bytes
> cdrecord: The current problem looks like a buffer underrun.
> cdrecord: It looks like 'driveropts=burnfree' does not work for this
> drive.
> cdrecord: Please report.
> cdrecord: Make sure that you are root, enable DMA and check your HW/OS
> set up.
> Writing  time:  339.978s
> Average write speed  12.6x.
> Min drive buffer fill was 95%
> Fixating...
> WARNING: Some drives don't like fixation in dummy mode.
> Fixating time:    0.001s
> BURN-Free was never needed.
> cdrecord: fifo had 6321 puts and 6258 gets.
> cdrecord: fifo was 0 times empty and 6189 times full, min fill was 85%.
>
>
> Another log, different media, same problem:
>
>
> [chris@ndiyo ubuntu]$ sudo cdrecord -v speed=8 driveropts=burnfree -tao
> dev=2,0,0 -dummy ubuntu-5.10-live-powerpc.iso
> Password:
> Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright (C) 1995-2006 J
> \uffffrg Schilling
> cdrecord: Warning: Running on Linux-2.6.9-ck2-aidworld
> cdrecord: There are unsettled issues with Linux-2.5 and newer.
> cdrecord: If you have unexpected problems, please try Linux-2.4 or
> Solaris.
> cdrecord: Warning: Linux-2.6.8 introduced incompatible interface
> changes.
> cdrecord: Warning: SCSI transport does no longer work for suid root
> programs.
> cdrecord: Warning: if cdrecord fails, try to run it from a root account.
> TOC Type: 1 = CD-ROM
> scsidev: '2,0,0'
> scsibus: 2 target: 0 lun: 0
> Linux sg driver version: 3.5.31
> Using libscg version 'schily-0.8'.
> Driveropts: 'burnfree'
> SCSI buffer size: 64512
> atapi: 1
> Device type    : Removable CD-ROM
> Version        : 2
> Response Format: 2
> Capabilities   :
> Vendor_info    : 'SAMSUNG '
> Identifikation : 'CDRW/DVD SM-352F'
> Revision       : 'T902'
> Device seems to be: Generic mmc2 DVD-ROM.
> Current: 0x0009
> Profile: 0x000A
> Profile: 0x0009 (current)
> Profile: 0x0008
> Profile: 0x0002
> Profile: 0x0010
> 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
> Drive buf size : 1959936 = 1914 KB
> FIFO size      : 4194304 = 4096 KB
> Track 01: data   627 MB
> Total size:      720 MB (71:20.69) = 321052 sectors
> Lout start:      720 MB (71:22/52) = 321052 sectors
> Current Secsize: 2048
> ATIP info from disk:
>   Indicated writing power: 5
>   Is not unrestricted
>   Is not erasable
>   Disk sub type: Medium Type A, high Beta category (A+) (3)
>   ATIP start of lead in:  -11634 (97:26/66)
>   ATIP start of lead out: 359846 (79:59/71)
> Disk type:    Short strategy type (Phthalocyanine or similar)
> Manuf. index: 3
> Manufacturer: CMC Magnetics Corporation
> Blocks total: 359846 Blocks current: 359846 Blocks remaining: 38794
> Starting to write CD/DVD at speed 8 in dummy TAO mode for single
> session.
> Last chance to quit, starting dummy write    0 seconds. Operation
> starts.
> Waiting for reader process to fill input buffer ... input buffer ready.
> BURN-Free is ON.
> Starting new track at sector: 0
> Track 01:  264 of  627 MB written (fifo 100%) [buf 100%]
> 8.1x.cdrecord: Input/output error. write_g1: scsi sendcmd: no error
> CDB:  2A 00 00 02 11 E8 00 00 1F 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: F0 00 05 00 00 00 00 0A 00 00 00 00 21 02 00 00
> Sense Key: 0x5 Illegal Request, Segment 0
> Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
> Sense flags: Blk 0 (valid)
> cmd finished after 1.323s timeout 40s
>
> write track data: error after 277823488 bytes
> cdrecord: The current problem looks like a buffer underrun.
> cdrecord: It looks like 'driveropts=burnfree' does not work for this
> drive.
> cdrecord: Please report.
> cdrecord: Make sure that you are root, enable DMA and check your HW/OS
> set up.
> Writing  time:  241.176s
> Average write speed  17.8x.
> Min drive buffer fill was 95%
> Fixating...
> WARNING: Some drives don't like fixation in dummy mode.
> Fixating time:    0.001s
> BURN-Free was never needed.
> cdrecord: fifo had 4440 puts and 4377 gets.
> cdrecord: fifo was 0 times empty and 4333 times full, min fill was 85%.
>
>
> Thanks in advance for your help.
>
> Cheers, Chris.
> --
> (aidworld) chris wilson | chief engineer (chris@aidworld.org)


The same problem with a LG burner in a USB housing (computer USB 1.0)

You could solve the problem with cdrecord unloading the module sr_mod, but 
you could not use k3b and probably other GUIs neither.

A better solution is not touching sr_mod and call cdrecord with dev=/dev/scd0 
or similar, instead of dev=1,0,0. In k3b you can go to Options > user 
parameters and set dev=/dev/scd0 (or dev=/dev/scd1 as your burner be) as an 
option to cdrecord. I don't  know about other GUIs.

Sorry if this were answered elsewhere. I am not suscribed to the list, so, 
please CC any answer to me.

Ignacio



Reply to: