<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: using cdrecord:  Supported Modes: blank!</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Note the "Supported modes:"  section is blank.  I've tried burning in TAO, SAO and RAW with no luck.</FONT>
</P>

<P><FONT SIZE=2>Any ideas how I can better detect the supported modes?</FONT>
</P>
<BR>

<P><FONT SIZE=2>--------------------------------------------</FONT>
<BR><FONT SIZE=2>sudo  /usr/bin/cdrecord -dummy -v -raw driveropts=burnfree dev=1,4,0 /usr/local/rpa/logarchive/temp.iso 2>&1</FONT>
<BR><FONT SIZE=2>Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling</FONT>
<BR><FONT SIZE=2>TOC Type: 1 = CD-ROM</FONT>
<BR><FONT SIZE=2>scsidev: '1,4,0'</FONT>
<BR><FONT SIZE=2>scsibus: 1 target: 4 lun: 0</FONT>
<BR><FONT SIZE=2>Linux sg driver version: 3.1.24</FONT>
<BR><FONT SIZE=2>Using libscg version 'schily-0.7'</FONT>
<BR><FONT SIZE=2>Driveropts: 'burnfree'</FONT>
<BR><FONT SIZE=2>atapi: 0</FONT>
<BR><FONT SIZE=2>Device type    : Removable CD-ROM</FONT>
<BR><FONT SIZE=2>Version        : 2</FONT>
<BR><FONT SIZE=2>Response Format: 2</FONT>
<BR><FONT SIZE=2>Capabilities   : SYNC LINKED </FONT>
<BR><FONT SIZE=2>Vendor_info    : 'PLEXTOR '</FONT>
<BR><FONT SIZE=2>Identifikation : 'CD-R   PX-W1210S'</FONT>
<BR><FONT SIZE=2>Revision       : '1.05'</FONT>
<BR><FONT SIZE=2>Device seems to be: Generic mmc CD-RW.</FONT>
<BR><FONT SIZE=2>Using generic SCSI-3/mmc CD-R driver (mmc_cdr).</FONT>
<BR><FONT SIZE=2>Driver flags   : MMC-3 SWABAUDIO BURNFREE </FONT>
<BR><FONT SIZE=2>Supported modes: </FONT>
<BR><FONT SIZE=2>Drive buf size : 2394336 = 2338 KB</FONT>
<BR><FONT SIZE=2>FIFO size      : 4194304 = 4096 KB</FONT>
<BR><FONT SIZE=2>Encoding speed : 247x (18493 sectors/s) for libedc from Heiko Eißfeldt</FONT>
<BR><FONT SIZE=2>/usr/bin/cdrecord: Drive does not support RAW recording.</FONT>
<BR><FONT SIZE=2>/usr/bin/cdrecord: Illegal write mode for this drive.</FONT>
<BR><FONT SIZE=2>--------------------------------------------</FONT>
</P>
<BR>

<P><FONT SIZE=2>--rich</FONT>
</P>

<P><FONT SIZE=2>PGP FingerPrint: BA3A 4D29 F3CF 172A D90B  05AA 6C1E 65BC C19F F6F1</FONT>
<BR><FONT SIZE=2>-----------------------------------------------------------------------</FONT>
</P>
<BR>
<BR>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Richard Tricoche </FONT>
<BR><FONT SIZE=2>Sent: Thursday, October 09, 2003 3:50 PM</FONT>
<BR><FONT SIZE=2>To: 'fedora-list@redhat.com'</FONT>
<BR><FONT SIZE=2>Subject: using cdrecord as non-root - no luck! :(</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi.</FONT>
</P>

<P><FONT SIZE=2>I am growing a beard trying to figure out why I cannot burn CDs from a non-root user.</FONT>
</P>

<P><FONT SIZE=2>I've tried changing permissions on /dev/sg0 and /dev/sg1.  I've setuid and guid on /usr/bin/cdrecord.  I've used 'sudo'.</FONT></P>

<P><FONT SIZE=2>And still... I get the following error messages!</FONT>
</P>

<P><FONT SIZE=2>Yet, I can burn as root on the cmdline.  Can anyone PLEASE help me with this.  :(</FONT>
</P>

<P><FONT SIZE=2>--------------------------------------------</FONT>
<BR><FONT SIZE=2>CDRECORD execution error...</FONT>
<BR><FONT SIZE=2>scsidev: '1,4,0'</FONT>
<BR><FONT SIZE=2>scsibus: 1 target: 4 lun: 0</FONT>
<BR><FONT SIZE=2>Linux sg driver version: 3.1.24</FONT>
<BR><FONT SIZE=2>Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling TOC Type: 1 = CD-ROM Using libscg version 'schily-0.7'</FONT></P>

<P><FONT SIZE=2>atapi: 0</FONT>
<BR><FONT SIZE=2>Device type : Removable CD-ROM</FONT>
<BR><FONT SIZE=2>Version : 2</FONT>
<BR><FONT SIZE=2>Response Format: 2</FONT>
<BR><FONT SIZE=2>Capabilities : SYNC LINKED</FONT>
<BR><FONT SIZE=2>Vendor_info : 'PLEXTOR '</FONT>
<BR><FONT SIZE=2>Identifikation : 'CD-R PX-W1210S'</FONT>
<BR><FONT SIZE=2>Revision : '1.05'</FONT>
<BR><FONT SIZE=2>Device seems to be: Generic mmc CD-RW.</FONT>
<BR><FONT SIZE=2>Using generic SCSI-3/mmc CD-R driver (mmc_cdr).</FONT>
<BR><FONT SIZE=2>Driver flags : MMC-3 SWABAUDIO BURNFREE</FONT>
<BR><FONT SIZE=2>Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Drive buf size : 2394336 = 2338 KB FIFO size : 4194304 = 4096 KB</FONT></P>

<P><FONT SIZE=2>/usr/bin/cdrecord: Drive needs to reload the media to return to proper status. Track 01: data 269 MB Total size: 309 MB (30:37.46) = 137810 sectors Lout start: 309 MB (30:39/35) = 137810 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 6 Is not unrestricted Is not erasable Disk sub type: Medium Type C, low Beta category (C-) (6) ATIP start of lead in: -11231 (97:32/19) ATIP start of lead out: 359847 (79:59/72) Disk type: Short strategy type (Phthalocyanine or similar) Manuf. index: 27</FONT></P>

<P><FONT SIZE=2>Manufacturer: Prodisc Technology Inc.</FONT>
<BR><FONT SIZE=2>Trying to clear drive status.</FONT>
<BR><FONT SIZE=2>Starting to write CD/DVD at speed 12 in dummy TAO mode for single session. Last chance to quit, starting dummy write in 9 seconds.  8 seconds.  7 seconds.  6 seconds.  5 seconds.  4 seconds.  3 seconds.  2 seconds.  1 seconds.  0 seconds. Operation starts. Waiting for reader process to fill input buffer ... /usr/bin/cdrecord: Input/output error. read track info: scsi sendcmd: no error</FONT></P>

<P><FONT SIZE=2>CDB: 52 01 00 00 00 FF 00 00 1C 00</FONT>
<BR><FONT SIZE=2>status: 0x2 (CHECK CONDITION)</FONT>
<BR><FONT SIZE=2>Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0 Sense flags: Blk 0 (not valid)</FONT></P>

<P><FONT SIZE=2>resid: 28</FONT>
<BR><FONT SIZE=2>cmd finished after 0.001s timeout 240s</FONT>
<BR><FONT SIZE=2>input buffer ready.</FONT>
<BR><FONT SIZE=2>BURN-Free is OFF.</FONT>
<BR><FONT SIZE=2>Writing time: 0.016s</FONT>
<BR><FONT SIZE=2>Average write speed 999.0x.</FONT>
<BR><FONT SIZE=2>Fixating...</FONT>
<BR><FONT SIZE=2>WARNING: Some drives don't like fixation in dummy mode. Fixating time: 0.003s</FONT>
<BR><FONT SIZE=2>/usr/bin/cdrecord: fifo had 64 puts and 0 gets.</FONT>
<BR><FONT SIZE=2>/usr/bin/cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.</FONT>
<BR><FONT SIZE=2>Cmd: sudo /usr/bin/cdrecord -dummy -v dev=1,4,0 /usr/local/rpa/logarchive/temp.iso 2>&1</FONT>
<BR><FONT SIZE=2>--------------------------------------------</FONT>
</P>
<BR>

<P><FONT SIZE=2>Sincerely,</FONT>
<BR><FONT SIZE=2>Long beard</FONT>
</P>

<P><FONT SIZE=2>PGP FingerPrint: BA3A 4D29 F3CF 172A D90B  05AA 6C1E 65BC C19F F6F1</FONT>
<BR><FONT SIZE=2>-----------------------------------------------------------------------</FONT>
</P>

</BODY>
</HTML>