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

Re: Samsung SM-352F on Linux, cannot write CDs



Chris Wilson <chris@aidworld.org> wrote:

> Hi all,
>
> I'm having real trouble writing normal CDs on this drive. I would really
> appreciate some advice.
>
> I used to be able to write CDs on this box, but recently I have made
> nothing except coasters. Perhaps the drive is wearing out due to age?
> Old media? (how long does unused media last?)
>
> I built 2.01.01a06 myself using smake on this box. I run: 
>
> [chris@ndiyo FC4]$ sudo nice -20 /usr/local/bin/cdrecord -v -tao
> dev=2,0,0 speed=1 -driveropts=forcespeed,burnfree -dummy
> FC4-i386-disc1.iso
>
> Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright (C) 1995-2006 J
> \uffffrg Schilling
> /usr/local/bin/cdrecord: Warning: Running on Linux-2.6.9-ck2-aidworld
> /usr/local/bin/cdrecord: There are unsettled issues with Linux-2.5 and
> newer.
> /usr/local/bin/cdrecord: If you have unexpected problems, please try
> Linux-2.4 or Solaris.
> /usr/local/bin/cdrecord: Warning: Linux-2.6.8 introduced incompatible
> interface changes.
> /usr/local/bin/cdrecord: Warning: SCSI transport does no longer work for
> suid root programs.
> /usr/local/bin/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: 'forcespeed,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   634 MB
> Total size:      728 MB (72:12.28) = 324921 sectors
> Lout start:      729 MB (72:14/21) = 324921 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: 34925
> Starting to write CD/DVD at speed 8 in dummy TAO mode for single
> session.
> Last chance to quit, starting dummy write    8 seconds.
> BURN-Free was never needed.
> /usr/local/bin/cdrecord: fifo had 64 puts and 0 gets.
> /usr/local/bin/cdrecord: fifo was 0 times empty and 1 times full, min
> fill was 0%.


What problems do you have here?

> Another disc (different manufacturer) burned fine in dummy mode, but
> when I removed the dummy flag, it failed almost immediately:
>
> [chris@ndiyo FC4]$ sudo nice -20 /usr/local/bin/cdrecord -v -tao
> dev=2,0,0 speed=2 -driveropts=burnfree FC4-i386-disc1.iso
>
> Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright (C) 1995-2006 J
> \uffffrg Schilling
> /usr/local/bin/cdrecord: Warning: Running on Linux-2.6.9-ck2-aidworld
> /usr/local/bin/cdrecord: There are unsettled issues with Linux-2.5 and
> newer.
> /usr/local/bin/cdrecord: If you have unexpected problems, please try
> Linux-2.4 or Solaris.
> /usr/local/bin/cdrecord: Warning: Linux-2.6.8 introduced incompatible
> interface changes.
> /usr/local/bin/cdrecord: Warning: SCSI transport does no longer work for
> suid root programs.
> /usr/local/bin/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   634 MB
> Total size:      728 MB (72:12.28) = 324921 sectors
> Lout start:      729 MB (72:14/21) = 324921 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: 34928
> Starting to write CD/DVD at speed 8 in real TAO mode for single session.
> Last chance to quit, starting real write    0 seconds. Operation starts.
> Waiting for reader process to fill input buffer ... input buffer ready.
> BURN-Free is ON.
> Performing OPC...
> Starting new track at sector: 0
> Track 01:    1 of  634 MB written (fifo  92%) [buf  75%]
> 45.2x./usr/local/bin/cdrecord: Input/output error. write_g1: scsi
> sendcmd: no error
> CDB:  2A 00 00 00 02 2E 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 13.805s timeout 40s

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.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily



Reply to: