Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems using cdrecord to scsi cdwriter from scsi hard drive

90 views
Skip to first unread message

Guy Maskall

unread,
Jul 11, 2001, 2:52:19 PM7/11/01
to
Further info.
I've now downloaded and compiled the latest version of cdrecord. This is
what happens now:
---start of output---
Track 06: 36 of 36 MB written (fifo 100%).
Track 06: Total bytes read/written: 38285856/38285856 (16278 sectors).
Starting new track at sector: 124000
Track 07: 30 of 56 MB written (fifo 15%)./opt/schily/bin/cdrecord:
Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 02 19 A3 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 00 00 00
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)
cmd finished after 0.095s timeout 200s

write track data: error after 32069520 bytes
Sense Bytes: 53 0A D4 0F 79 0D 25 11 EC 0C EC 0D 64 09 BA 08 07 07
Writing time: 544.550s
Fixating...
WARNING: Some drives don't like fixation in dummy mode.
Fixating time: 0.012s
/opt/schily/bin/cdrecord: fifo had 5102 puts and 5100 gets.
/opt/schily/bin/cdrecord: fifo was 1 times empty and 5003 times full, min
fill was 0%.
---end of output---
This is exactly what happened with the old version at speed=2. What on
earth could be suddenly causing it all to go pear shaped? After this fault
the scsi hard drive goes offline (it still appears mounted but cannot be
accessed - using ls for example - but you get this response from scsi_info:

---start---
/sbin/scsi_info /dev/sda4
open() failed: Device not configured
---end---

If you go through the motions of unmounting the scsi drive it will still be
registered as having being unmounted uncleanly and needs a good fsck.

Anyone??

Guy


(original post follows below)

Guy Maskall wrote:

> Here is the problem:
>
> ----start of terminal output---
> > cdrecord -v -dao -dummy dev=0,4,0 *.wav
> Cdrecord release 1.8a29 Copyright (C) 1995-1999 Jörg Schilling
> TOC Type: 0 = CD-DA
> scsidev: '0,4,0'
> scsibus: 0 target: 4 lun: 0
> Using libscg version 'schily-0.1'
> atapi: 0
> Device type : Removable CD-ROM
> Version : 2
> Response Format: 2
> Capabilities :
> Vendor_info : 'YAMAHA '
> Identifikation : 'CDR400t '
> Revision : '1.0n'
> Device seems to be: Yamaha CDR-400.
> Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
> Driver flags : SWABAUDIO
> Drive buf size : 1176000 = 1148 KB
> FIFO size : 4194304 = 4096 KB
> Track 01: audio 51 MB (05:07.36) no preemp
> Track 02: audio 23 MB (02:22.46) no preemp
> Track 03: audio 44 MB (04:26.40) no preemp
> Track 04: audio 76 MB (07:36.20) no preemp
> Track 05: audio 44 MB (04:23.86) no preemp
> Track 06: audio 36 MB (03:37.04) no preemp
> Track 07: audio 56 MB (05:36.82) no preemp
> Track 08: audio 72 MB (07:10.20) no preemp
> Total size: 407 MB (40:20.36) = 181527 sectors
> Lout start: 407 MB (40:22/27) = 181527 sectors
> Current Secsize: 2048
> ATIP info from disk:
> Indicated writing power: 4
> Is not unrestricted
> Is not erasable
> Disk sub type: 3
> ATIP start of lead in: -11250 (97:32/00)
> ATIP start of lead out: 337275 (74:59/00)
> Disk type: Long strategy type (Cyanine, AZO or similar)
> Manuf. index: 26
> Manufacturer: TDK Corporation
> Blocks total: 337275 Blocks current: 337425 Blocks remaining: 155898
> Starting to write CD/DVD at speed 4 in dummy mode for single session.
> Last chance to quit, starting dummy write in 1 seconds.
> Waiting for reader process to fill input-buffer ... input-buffer ready.
> Sending CUE sheet...
> Writing pregap for track 1 at -150
> Starting new track at sector: 0
> Track 01: 14 of 51 MB written (fifo 100%).cdrecord: Input/output
> error. write_
> g1: scsi sendcmd: retryable error
> CDB: 2A 00 00 00 18 6D 00 00 0D 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 08 00 00
> Sense Key: 0x2 Not Ready, Segment 0
> Sense Code: 0x04 Qual 0x08 (logical unit not ready, long write in
> progress) Fru
> 0x0
> Sense flags: Blk 0 (not valid)
> cmd finished after 0.311s timeout 200s
>
> write track data: error after 14707056 bytes
> Sense Bytes: 3E F5 4A EC 18 F4 53 EB 1C F4 01 ED A9 F5 40 F1 75 F8
> Writing time: 66.430s
> Fixating...
> WARNING: Some drives don't like fixation in dummy mode.
> Fixating time: 0.051s
> cdrecord: fifo had 609 puts and 482 gets.
> cdrecord: fifo was 0 times empty and 453 times full, min fill was 96%.
>
> ----end of terminal output------
>
> As you can see I'm trying to burn an audio cd from wav files ripped
> using cdparanoia. I've not had either the scsi hard drive or cdwriter
> long (second hand) but have used them to write tests of small iso9660
> filesystems which seem to go fine. On the line "Track 01: 14 of 51 MB
> written (fifo 100%).cdrecord: Input/output error. write_g1: scsi
> sendcmd: retryable error", it's not trying to tell me it's trying to
> access /dev/sg1 is it? If so, that's the hard drive generic file. The cd
> writer generic device is /dev/sgc. If I try lowering the speed down to 2
> it gets much further (as far as track 7) but then the hard drive goes
> bezerk and the fifo buffer depletes.
>
> Anyone any ideas?
>
> Cheers, Guy.

Guy Maskall

unread,
Jul 12, 2001, 5:27:01 PM7/12/01
to
Problem now seems to be solved. What had confused me was a combination of s/w
and h/w errors. The first error (with the older version of cdrecord) was
solved by using the latest cdrecord. This was when the error during track 7
came to light. I tracked it down to bad blocks on the hard disk! These have
now been remapped using the host adaptors low level utility and thoroughly
checked. A working audio cd has now been created.

Posting this solution in case it helps anyone else.

Cheers, Guy

0 new messages