🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.periphs.scsi
4 messages
4 total messages Started by Tony Sat, 06 Oct 2001 14:33
SCSI CD writing...problem
#17270
Author: Tony
Date: Sat, 06 Oct 2001 14:33
103 lines
4555 bytes
Posted to SCSI and Linux group


Hi Experts,

SCSI problem here with failed CD-writing to Yamaha CRW8824
on Linux system, may not be OS problem.

The writing fails with the following errors (Log):

Log file:
-------
pregap1: -1
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
TOC Type: 0 = CD-DA
scsidev: '0,6,0'
scsibus: 0 target: 6 lun: 0
Linux sg driver version: 3.1.17
Using libscg version 'schily-0.1'
atapi: 0
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : SYNC
Vendor_info    : 'YAMAHA  '
Identifikation : 'CRW8824S        '
Revision       : '1.00'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Drive buf size : 3172848 = 3098 KB
FIFO size      : 6291456 = 6144 KB

[...files to be written...]

Total size:     753 MB (74:41.93) = 336145 sectors
Lout start:     754 MB (74:43/70) = 336145 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: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 27
Manufacturer: Prodisc Technology Inc.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 23704
Starting to write CD/DVD at speed 8 in write mode for single session.
Waiting for reader process to fill input buffer ...
input buffer ready.
Performing OPC...
Starting new track at sector: 0

Track 01: Total bytes read/written: 31062864/31062864 (13207 sectors).
Starting new track at sector: 13359
...
...
...
Track 17: Total bytes read/written: 35574000/35574000 (15125 sectors).
Starting new track at sector: 238886

Track 18: Total bytes read/written: 28701456/28701456 (12203 sectors).
Starting new track at sector: 251241
CDB:  2A 00 00 03 FE 8B 00 00 1B 00
cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x00 (logical block address out of range) Fru 0x0
Sense flags: Blk 0 (not valid)

write track data: error after 24766560 bytes
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00
Writing  time:  567.283s
Fixating...
Fixating time:   32.447s
----------
End log file


As the above log shows there seems to be a problem with the SCSI
commands.  I can not find the cause of it.

If I do the writing in "dummy" mode ie. switch off the laser, the result
is the same.  The error does not occur at any particular time.  It is
random when it fails.

I have tried a number of things from setting the SCSI devices
to run slower, swapped cards around in the motherboard
and checked cables.  Nothing seems to be wrong.

Any advice from the "crowds out there", thanks in advance.

Tony


-- 
------------------------------------------------------------
Anthony White running RedHat 7 on an AMD Thunderbird 800
E-Mail:     remove "no_spam." in reply address (No quotes)
E-Mail: anthonyw@bigpond-dot-net-dot-au
Re: SCSI CD writing...problem
#17271
Author: Tim Haynes
Date: Sat, 06 Oct 2001 15:42
49 lines
3047 bytes
"Tony" <anthonyw@no_spam.bigpond.net.au> writes:

> SCSI problem here with failed CD-writing to Yamaha CRW8824 on Linux
> system, may not be OS problem.

IIRC that's what I've got here, too. 8,8,24 it says on the front, and it's
a yamaha...

[snip]
> Track 01: Total bytes read/written: 31062864/31062864 (13207 sectors).
> Starting new track at sector: 13359

Erm, is there any reason why it would be writing multiple tracks? What have
you specified as a set of files to be written?

[snip]
> cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
> Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 00 00 00
> status: 0x2 (CHECK CONDITION)
> Sense Key: 0x5 Illegal Request, Segment 0
> Sense Code: 0x21 Qual 0x00 (logical block address out of range) Fru 0x0
> Sense flags: Blk 0 (not valid)
[snip]
> As the above log shows there seems to be a problem with the SCSI
> commands. I can not find the cause of it.
> 
> If I do the writing in "dummy" mode ie. switch off the laser, the result
> is the same. The error does not occur at any particular time. It is
> random when it fails.

So it's somewhere between kernel and cd-writer inclusive, excluding the
laser. Sounds like it's in the SCSI neck of the woods.

> I have tried a number of things from setting the SCSI devices to run
> slower, swapped cards around in the motherboard and checked cables. 
> Nothing seems to be wrong.

Weird. What make scsi card do you have, and what version of the kernel are
you using?

Me, I use a powerbook's built-in MESH scsi controller, with kernel 2.4.4
(it's the only one of the 2.4.x series I've managed to make compile on
ppc!). But that works; I've also had success with an Initio/adaptec card on
x86.

~Tim
-- 
Bagpuss gave a big yawn,                    |piglet@stirfried.vegetable.org.uk
and settled down to sleep.                  |http://spodzone.org.uk/
Re: SCSI CD writing...problem
#17272
Author: ken_yap_10632611_aus
Date: Sat, 06 Oct 2001 15:54
7 lines
1507 bytes
|> Track 01: Total bytes read/written: 31062864/31062864 (13207 sectors).
|> Starting new track at sector: 13359
|
|Erm, is there any reason why it would be writing multiple tracks? What have
|you specified as a set of files to be written?

He's probably writing an audio CD.
Re: SCSI CD writing...problem
#17273
Author: Tony
Date: Sun, 07 Oct 2001 01:05
51 lines
3142 bytes
In article <868zeoydv5.fsf@potato.vegetable.org.uk>, "Tim Haynes"
<usenet@stirfried.vegetable.org.uk> wrote:

Just some further info...

> "Tony" <anthonyw@no_spam.bigpond.net.au> writes:
> 
>> SCSI problem here with failed CD-writing to Yamaha CRW8824 on Linux
>> system, may not be OS problem.
[...]

> [snip]

>> cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
>> Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 00 00 00 status:
>> 0x2 (CHECK CONDITION)
>> Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x21 Qual 0x00
>> (logical block address out of range) Fru 0x0 Sense flags: Blk 0 (not
>> valid)
> [snip]
[...snip...]

> So it's somewhere between kernel and cd-writer inclusive, excluding the
> laser. Sounds like it's in the SCSI neck of the woods.
> 
>> I have tried a number of things from setting the SCSI devices to run
>> slower, swapped cards around in the motherboard and checked cables.
>> Nothing seems to be wrong.
> 
> Weird. What make scsi card do you have, and what version of the kernel
> are you using?

Well I should have posted more details...it was late:-)

My card is Adaptec 29160 with firmware v. 3.10 (Card normally ships
with 2.54, flashed it, it failed, sent card in etc. etc. etc.)

Kernel is 2.4.3-12 Redhat 7.1.  Program is Xcdroast (Front end to the usual
Linux CD writer tools)

On later thaught I think that the kernel shipped with Redhat worked OK
but I am not sure.  It certainly is all a mystery.

Tony


-- 
------------------------------------------------------------
Anthony White running RedHat 7 on an AMD Thunderbird 800
E-Mail:     remove "no_spam." in reply address (No quotes)
E-Mail: anthonyw@bigpond-dot-net-dot-au
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads