SUMMARY: Problems with cdrecord

From: Jeff Kennedy (jeff.kennedy@natdecsys.com)
Date: Tue Apr 20 1999 - 16:28:43 CDT


Never did get it working but it seems to be narrowed down to the scsi
connection. After many communique's with Roger Fujii cdrecord got to the
point where it would run a test burn without all the binary errors. But,
the test always failed. After Joerg Schilling took a look at the output he
confirmed my fears, scsi connection. Kept getting 'scsi reset errors' in
/var/adm/messages. Problem now is finding a way to make this the only
connection on the bus. The only external burner I have is Centronix scsi
and I don't have any of those cables (50 pin to centronix).

I'll keep working on it in my spare time. If anyone is interested let me
know and I'll give you the final outcome.

Finally, my apologies if this is the wrong forum for this type of question.
Mark Ashley pointed out the following list:
               cdwrite@other.debian.org

I was not aware of this group or I would have asked the question there.

Special thanks to Roger Fujii and Joerg Schilling.

Also thanks to:
Michael Kriss
Alan Orndorff
Thad MacMillan
Bryan Blackburn
Paramasivam, Meenakshisundaram

Jeff Kennedy

" May the wind be always at your back " (so that when you spit it doesn't
 hit you in the face)

---------------------- Forwarded by Jeff Kennedy/NDS on 04/20/99 02:01 PM
---------------------------

Jeff Kennedy <jeff.kennedy@natdecsys.com> on 04/12/99 08:03:25 AM
                                                              
                                                              
                                                              
 To: Sun Managers List
          <sun-managers@sunmanagers.ececs.uc.edu>
                                                              
 cc: (bcc: Jeff Kennedy/NDS)
                                                              
                                                              
                                                              
 Subject: Update: Problems with cdrecord
                                                              

Several people have asked whether or not I was running this as root, the
answer is no. I thought I could compile and install this as a user but
that was incorrect. I have since installed it successfully, both the
binary as well as the extra packages. I have also used mkisofs
successfully to make a raw image for burning.

However (and the reason this is an update and not a summary) when I run
it in test mode I get I/O errors like the following:

./cdrecord -dummy -v speed=0 dev=2,0 /opt/cd.raw
Cdrecord release 1.6 Copyright (C) 1995-1998 J

örg Schilling
TOC Type: 1 = CD-ROM
scsidev: '2,0'
scsibus: 0 target: 2 lun: 0
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities :
Vendor_info : 'PLEXTOR '
Identifikation : 'CD-R PX-R24CS '
Revision : '1.13'
Device seems to be: Ricoh RO-1420C.
Using driver for Ricoh RO-1420C (ricoh_ro1420c).
Driver flags :
Track 01: data 209 MB
Total size: 240 MB (23:52.01) = 107401 sectors
Lout start: 241 MB (23:54/01) = 107401 sectors
./cdrecord: faio_wait_on_buffer for writer timed out.
./cdrecord: I/O error. start/stop unit: scsi sendcmd: cmd timeout after
47.025 (40) s
CDB: 1B 00 00 00 01 00
cmd finished after 47.025s timeout 40s
./cdrecord: I/O error. test unit ready: scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 06 00 00 00 00 0A 00 00 00 00 29 00 00 00 00 00
Sense Key: 0x6 Unit Attention, Segment 0
Sense Code: 0x29 Qual 0x00 (power on, reset, or bus device reset
occurred) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 2.905s timeout 40s
./cdrecord: I/O error. start/stop unit: scsi sendcmd: cmd timeout after
47.135 (40) s
CDB: 1B 00 00 00 01 00
cmd finished after 47.135s timeout 40s
./cdrecord: Drive needs to reload the media to return to proper status.
./cdrecord: I/O error. prevent/allow medium removal: scsi sendcmd: no
error
CDB: 1E 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 00 00 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x00 (logical unit is in process of becoming
ready) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.009s timeout 40s
./cdrecord: I/O error. start/stop unit: scsi sendcmd: no error
CDB: 1B 00 00 00 02 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 00 00 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x00 (logical unit is in process of becoming
ready) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.007s timeout 40s
./cdrecord: I/O error. start/stop unit: scsi sendcmd: cmd timeout after
42.049 (40) s
CDB: 1B 00 00 00 01 00
cmd finished after 42.049s timeout 40s
./cdrecord: I/O error. test unit ready: scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 06 00 00 00 00 0A 00 00 00 00 29 00 00 00 00 00
Sense Key: 0x6 Unit Attention, Segment 0
Sense Code: 0x29 Qual 0x00 (power on, reset, or bus device reset
occurred) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 2.994s timeout 40s
./cdrecord: I/O error. start/stop unit: scsi sendcmd: no error
CDB: 1B 00 00 00 01 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 00 00 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x00 (logical unit is in process of becoming
ready) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.009s timeout 40s
./cdrecord: Cannot read TOC
./cdrecord: I/O error. mode select g0: scsi sendcmd: no error
CDB: 15 10 00 00 08 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 00 00 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x00 (logical unit is in process of becoming
ready) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 8
cmd finished after 0.008s timeout 40s
./cdrecord: Cannot set speed/dummy.
./cdrecord: I/O error. prevent/allow medium removal: scsi sendcmd: no
error
CDB: 1E 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 00 00 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x00 (logical unit is in process of becoming
ready) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.007s timeout 40s
host# ./cdrecord: faio_wait_on_buffer for writer timed out.

I tried setting speed=2 first but got the same errors so I set it to 0
thinking it might be too fast.

So I still don't have it working correctly but I'm much closer than
before. It seems strange that I'm getting I/O and buffer issues. My
workstation is a Sparc20 with 2x60MHz processors and 64MB of RAM. Swap
is 134MB. I don't have alot of cpu intensive processes either, Apache
and Big Brother are about it.

Jeff Kennedy wrote:
>
> Hola's all around,
>
> I have downloaded and extracted cdrecord and am having some compiling
> issues. I am running Solaris 2.6 and, persuant to Mr. Schilling's
> instructions, have added the scg package for Solaris. I have also added
> the fbk package but it doesn't seem to work, but that's not a
> necessity. I type 'make' in the directory and it seems to work just
> fine (actually I type 'make CCOM=gcc' since I'm using gcc) but when I
> try to 'make install CCOM=gcc' it returns the following:
>
> host% make install CCOM=gcc
> ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/patches"
> install: nothing to make
> ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/inc"
> NOTICE: Partial source (SRCROOT/inc) missing
> ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/lib"
> ==> MAKING "install" ON SUBCOMPONENT "SRCROOT/lib/libschily.mk"
> ==> The folloging messages may occur:
> ==> cannot find include file: <align.h>
> ==> cannot find include file: <avoffset.h>
> ==> this is not an error, these files are made during the build.
> ==> INSTALLING "/opt/schily/lib/libschily.a"
> *** Error code 2
> make: Fatal error: Command failed for target
> `/opt/schily/lib/libschily.a'
> Current working directory
> /export/home/jkennedy/cdrecorder/cdrecord-1.6/lib
> *** Error code 1
> make: Fatal error: Command failed for target `install'
> Current working directory
> /export/home/jkennedy/cdrecorder/cdrecord-1.6/lib
> *** Error code 1
> make: Fatal error: Command failed for target `install'
>
> I have rebooted with '-r' after adding the packages. I am hoping
> someone with cdrecord experience can help me out with this as I am
> having other issues as well.
>
> My ultimate goal with this was to try and burn some common packages and
> tar'd source code onto a cd to use for building machines while not on a
> network. I originally ftp'd these packages to an NT box that had a cd
> burner but the long file names got truncated to 8.3, not good. NT
> doesn't use long filenames in the true sense, it uses 8 characters in
> one pointer and truncates the next 8 to another pointer and so on. This
> causes problems for me in this situation, not to mention that if you
> create alot of long filename files and/or directories you can run out of
> allocations (whatever NT's equivalent is of an inode).
>
> Thanks,
>
> Jeff Kennedy



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:18 CDT