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

Samsung SM-352F on Linux, cannot write CDs



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%.

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

write track data: error after 1142784 bytes
/usr/local/bin/cdrecord: The current problem looks like a buffer
underrun.
/usr/local/bin/cdrecord: It looks like 'driveropts=burnfree' does not
work for this drive.
/usr/local/bin/cdrecord: Please report.
/usr/local/bin/cdrecord: Make sure that you are root, enable DMA and
check your HW/OS set up.
Writing  time:   43.379s
Average write speed 200.0x.
Fixating...
Fixating time:    2.014s
BURN-Free was never needed.
/usr/local/bin/cdrecord: fifo had 82 puts and 19 gets.
/usr/local/bin/cdrecord: fifo was 0 times empty and 8 times full, min
fill was 90%.

Notes:

* driveropts=burnfree and driveropts=forcespeed make no difference;
* It still tries to write with at least 8 speed, whatever I do, even
with driveropts=forcespeed;
* Accessing the drive via ATA rather than ide-scsi makes no difference.
* New media makes no difference.
* Media is blank generic CD-Rs, about 1 year old.
* CD writer is /dev/hdd, system runs off software RAID on hda and hdc. I
can change this but performance will suffer so I would rather eliminate
all other options first.

Running on:

* Fedora Core release 2
* Linux ndiyo.int.aidworld.org 2.6.9-ck2-aidworld #1 SMP 
* Intel(R) Pentium(R) 4 CPU 3.00GHz, 2 GB RAM.

Using "hdd=ide-scsi" kernel command line and ide-scsi driver.

Thanks in advance for any help or advice!

Cheers, Chris.
-- 
(aidworld) chris wilson | chief engineer (chris@aidworld.org)



Reply to: