>From: [EMAIL PROTECTED]

>recordable CDs are the only affordable backup medium for a Linux system
>(at least for private use) - therefore it's a key technology for Linux.

For Linux ???? 

If I got you correctly, then it should read "a key technology for any OS"

>I've been using Unix for over 10 years now and Linux for several years
>at work where I have expensive DAT recorders for backup.

Is this fact related to your problem?

>Now for private use I am on my own since all seems to depend on a single
>person (Joerg Schilling) who seems to dislike Linux very much.

Why do you make this assumption?
How is it related to your problem?


>On Linux I've read several HowTo and similar things, I've
>reconfigured my 2.4.0 kernel until 
>cdrecord -scanbus recognizes my 2 CD drives.

Sorry, you should blame e.g. Alan Cox for this problem.
Linux still uses a default configuration that does not
reflect current technology.

ATAPI is SCSI over IDE transport. You only need to
have one SCSI CD-ROm driver and a SCSI hostadaptor driver
for the IDE interface. The argument that I mostly hear:
"why do nwe need a full blown SCSI subsystem for a IDE only 
machine" goes away if you use loadable kernel modules.

>cdrecord is able to read the manufactor information on the
>blank CD and it's able to eject the CD, so in principle
>it could access the drive.

So cdrecord works correctly.

>But then I get only a scsi error message.

>Perhaps someone (other) can give me a hint where to
>start to investigate the problem.

>For those who can get some information out of cdrecord's
>error log, I've appended it.

>My drive seems to be (it has a sticker 'HP CD-Writer Plus')

>Hewlett Packard LT9340 ???
>Device type    : Removable CD-ROM
>Version        : 0
>Response Format: 1
>Vendor_info    : 'IDE-CD  '
>Identifikation : 'R/RW 4x4x32     '
>Revision       : '1.4B'

It would be intesting to know who build this drive ;-)



>Calling: /usr/local/bin/cdrecord dev=0,1,0 fs=4096k  -v -useinfo speed=4 -dao -eject 
>-pad -data "/BackUp/CD_Images/track-01.img" ...

>scsidev: '0,1,0'
>scsibus: 0 target: 1 lun: 0
>Linux sg driver version: 3.1.17
>pregap1: -1
>Cdrecord 1.10a11 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
>TOC Type: 1 = CD-ROM
>Using libscg version 'schily-0.4'
>atapi: 1
>Device type    : Removable CD-ROM
>Version        : 0
>Response Format: 1
>Vendor_info    : 'IDE-CD  '
>Identifikation : 'R/RW 4x4x32     '
>Revision       : '1.4B'
>Device seems to be: Generic mmc CD-RW.
>Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
>Driver flags   : SWABAUDIO
>Drive buf size : 1572864 = 1536 KB
>FIFO size      : 4194304 = 4096 KB
>Track 01: data  395 MB         padsize:  30 KB
>Total size:     453 MB (44:56.98) = 202274 sectors
>Lout start:     454 MB (44:58/74) = 202274 sectors
>Current Secsize: 2048
>ATIP info from disk:
>Indicated writing power: 5
>Is not unrestricted
>Is not erasable
>ATIP start of lead in:  -11080 (97:34/20)
>ATIP start of lead out: 335100 (74:30/00)
>Disk type:    Long strategy type (Cyanine, AZO or similar)
>Manuf. index: 11
>Manufacturer: Mitsubishi Chemical Corporation
>Blocks total: 335100 Blocks current: 335100 Blocks remaining: 132826
>RBlocks total: 342460 RBlocks current: 342460 RBlocks remaining: 140186
>Starting to write CD/DVD at speed 4 in write mode for single session.
>Waiting for reader process to fill input buffer ...
>cdrecord: Input/output error. mode select g1: scsi sendcmd: retryable error
>CDB:  55 10 00 00 00 00 00 00 3C 00
>status: 0x0 (GOOD STATUS)

Well for this error there are several possible reasons.

-       Let me use this first so you can"t tell me again that I am against 
        Linux (in fact I run Linux on my notebook).

        There may be HW or cabling problems.

-       a bug in the SCSI subsystem of the kernel

-       binary incompatibility of cdrecord with the kernel.
        Please always make sure that you compiled cdrecord on the 
        machine you are using. A cdrecord binary compiled on a
        3 month old Linux-2.4-xxx.yyyy.zzz would not run on a
        4 month old linux-2.4-xxx.yyyy.zzz.

One important note: with ATAPI there is in theory only one possible
error condition which definitely sets the CHECK_CONDITION bit
in the SCSI status. This is missing - find out, why cdrecord does not
get it from the kernel.


>cmd finished after 0.007s timeout 200s
>cdrecord: Warning: using default CD write parameter data.
>Mode Select Data 00 11 00 00 05 32 02 00 00 00 00 00 00 00 00 00 00 00 00 96 00 00 00 
>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>00 00 00 00 00

It looks that the mode page 05 that is send back by the drive is not correct.
So it may even be rotten firmware.

As the write type is "packet"  it may also be a defective  media.

If you have problems with cdrecord you always should do some 
testst that make sure that your environment is not the reason for
the observed problems....

J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to