On Mon, 16 Oct 2000, Douglas Gilbert wrote:

<snip>

> Sg has an ioctl called SG_SET_TRANSFORM which is only
> relevant to the ide-scsi driver. As far as I know, no
> applications use it. Still it is not clear why Mark's
> system would work on a UP machine but fail on a SMP box.

Hi Douglas, Jörg, all,

<Background for Jörg: my hp7100i fails to blank cdrw's with cdrecord
1.8.1.  A ricoh 9060 on a machine running identical kernel build /
cdrecord binary works fine>

I just finished compiling cdrecord-1.8.1 with debug enabled.  The two
attached log files are from the hp7100i / smp / 2.2.18pre15, and the
ricoh 9060 / up /2.2.18pre15.  Exact same cdrw media.

# ./cdrecord -debug dev=1,0,0 blank=all 2>&1 | tee log.(hp7100|ricoh)

I should note that the ricoh when blanking took a whole 5-6 seconds,
so it didn't blank the whole disk.  I guess it's being 'clever' and
knew the disk was blank, and just 'made sure'.

I just finished writing a 650Mb iso to the cdrw in question, so it
does appear to still be okay.

Looking at the traces and where they diverge it does appear to be
shortly after cdrecord attempts to read ATIP data - which the Ricoh
supports, and the HP7100i doesn't.  I'm guessing that it's something
in cdrecord making a bad assumption if ATIP isn't available, though
I'll have to look further into this.

Thanks to everyone who has taken time looking at this so far.  It's
appreciated.

Cheers,

Mark

-- 
+-------------------------------------------------------------------------+
Mark Cooke                  The views expressed above are mine and are not
Systems Programmer          necessarily representative of university policy
University Of Birmingham    URL: http://www.sr.bham.ac.uk/~mpc/
+-------------------------------------------------------------------------+
fs: 4194304 buflen: 4198400
./cdrecord: shared memory segment allocated: 48169
./cdrecord: shared memory segment attached: 40149000
buf: 40149000 bufend: 4054A000, buflen: 4198400
buf: 40149000 bufend: 4054A000, buflen: 4198400 (align 0)
SCSI buffer size: 32768
dev: 1,0,0 speed: -1 fs: -1
Cdrecord 1.8.1 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
l1: 0xA000005 l2: 0x0
Bus: 0 Target: 5 Lun: 0 Chan: 0 Ino: 10
l1: 0x32000000 l2: 0x0
Bus: 1 Target: 0 Lun: 0 Chan: 0 Ino: 50
Using libscg version 'schily-0.1'
scsi_getbuf: 32768 bytes
atapi: 1
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x08073550 size: 36 - using copy buffer
DMA addr: 0xBFFFDDC0 size: 8 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDAA0 size: 2 - using copy buffer
DMA addr: 0xBFFFDAA0 size: 30 - using copy buffer
DMA addr: 0xBFFFDBE0 size: 30 - using copy buffer
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'HP      '
Identifikation : 'CD-Writer+ 7100 '
Revision       : '3.01'
Device seems to be: Generic mmc CD-RW.
DMA addr: 0xBFFFDF40 size: 8 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDC20 size: 2 - using copy buffer
DMA addr: 0xBFFFDC20 size: 30 - using copy buffer
DMA addr: 0xBFFFDD60 size: 30 - using copy buffer
DMA addr: 0xBFFFDF60 size: 8 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDC40 size: 2 - using copy buffer
DMA addr: 0xBFFFDC40 size: 30 - using copy buffer
DMA addr: 0xBFFFDD80 size: 30 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDD70 size: 2 - using copy buffer
DMA addr: 0xBFFFDD70 size: 30 - using copy buffer
DMA addr: 0xBFFFDEB0 size: 30 - using copy buffer
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
DMA addr: 0xBFFFE1B0 size: 12 - using copy buffer
Drive buf size : 786432 = 768 KB
./cdrecord: Input/output error. read toc: scsi sendcmd: retryable error
status: 0x2 (CHECK CONDITION)
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDF30 size: 259 - using copy buffer
Pages: 0x1 0x5 0xd 0xe 0x2a 
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDF30 size: 259 - using copy buffer
Pages: 0x1 0x5 0xd 0xe 0x2a 
Current Secsize: -1
DMA addr: 0x08073578 size: 8 - using copy buffer
DMA addr: 0xBFFFE0C0 size: 2 - using copy buffer
Disk info: 00 20 10 01 01 01 01 00 00 00 00 00 00 00 00 00 00 61 1A 3F 00 4B 00 00 00 
00 00 00 00 00 00 00 00 00
Disk info: 00 20 10 01 01 01 01 00 00 00 00 00 00 00 00 00 00 61 1A 3F 00 4B 00 00 00 
00 00 00 00 00 00 00 00 00
DMA addr: 0xBFFFE0C0 size: 2 - using copy buffer
CDB:  43 00 04 00 00 00 00 00 02 00
Sense Bytes: F0 00 05 00 00 00 00 19 00 02 69 7B 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 (valid) 
cmd finished after 0.003s timeout 40s
./cdrecord: Cannot get disk type.
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDFD0 size: 16 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
dev: 0,0,0 speed: -1 fs: -1
Cdrecord 1.8.1 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
l1: 0x32000000 l2: 0x0
Bus: 0 Target: 0 Lun: 0 Chan: 0 Ino: 50
Using libscg version 'schily-0.1'
scsi_getbuf: 32768 bytes
atapi: 1
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x08073550 size: 36 - using copy buffer
DMA addr: 0xBFFFDE10 size: 8 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDAF0 size: 2 - using copy buffer
DMA addr: 0xBFFFDAF0 size: 34 - using copy buffer
DMA addr: 0xBFFFDC30 size: 34 - using copy buffer
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'RICOH   '
Identifikation : 'DVD/CDRW MP9060 '
Revision       : '1.60'
Device seems to be: Generic mmc2 DVD.
DMA addr: 0xBFFFDF90 size: 8 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDC70 size: 2 - using copy buffer
DMA addr: 0xBFFFDC70 size: 34 - using copy buffer
DMA addr: 0xBFFFDDB0 size: 34 - using copy buffer
DMA addr: 0xBFFFDFB0 size: 8 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDC90 size: 2 - using copy buffer
DMA addr: 0xBFFFDC90 size: 34 - using copy buffer
DMA addr: 0xBFFFDDD0 size: 34 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDDC0 size: 2 - using copy buffer
DMA addr: 0xBFFFDDC0 size: 34 - using copy buffer
DMA addr: 0xBFFFDF00 size: 34 - using copy buffer
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
DMA addr: 0xBFFFE200 size: 12 - using copy buffer
Drive buf size : 1310720 = 1280 KB
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDF80 size: 259 - using copy buffer
Pages: 0x1 0x5 0x8 0xe 0x1a 0x1d 0x2a 
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDF80 size: 259 - using copy buffer
Pages: 0x1 0x5 0x8 0xe 0x1a 0x1d 0x2a 
Current Secsize: -1
DMA addr: 0x08073578 size: 8 - using copy buffer
DMA addr: 0xBFFFE110 size: 2 - using copy buffer
DMA addr: 0xBFFFE110 size: 28 - using copy buffer
ATIP info: 00 1A 00 00 D1 00 C6 00 61 1A 00 00 4B 00 00 00 02 4C B0 00 00 00 00 00 00 
00 00 00
Disk info: 00 20 10 01 01 01 01 00 FF 00 00 00 00 00 00 00 00 61 1A 41 00 4B 00 00 00 
00 00 00 00 00 00 00 00 00
Disk info: 00 20 10 01 01 01 01 00 FF 00 00 00 00 00 00 00 00 61 1A 41 00 4B 00 00 00 
00 00 00 00 00 00 00 00 00
DMA addr: 0xBFFFE110 size: 2 - using copy buffer
DMA addr: 0xBFFFE110 size: 28 - using copy buffer
ATIP info: 00 1A 00 00 D1 00 C6 00 61 1A 00 00 4B 00 00 00 02 4C B0 00 00 00 00 00 00 
00 00 00
ATIP lead in:  -11700 (97:26/00)
ATIP lead out: 337350 (75:00/00)
  Is erasable
disk status: empty
session status: empty
first track: 1 number of sessions: 1 first track in last sess: 1 last track in last 
sess: 1
  Is not unrestricted
Disk type: undefined
last start of lead in: -11635
last start of lead out: 337350
ATIP info from disk:
  Indicated writing power: 5
  Reference speed: 2
  Is not unrestricted
  Is erasable
  ATIP start of lead in:  -11700 (97:26/00)
  ATIP start of lead out: 337350 (75:00/00)
  speed low: 0 speed high: 4
  power mult factor: 4 6
  recommended erase/write power: 3
  A2 values: 00 00 00
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDDF0 size: 2 - using copy buffer
DMA addr: 0xBFFFDDF0 size: 60 - using copy buffer
DMA addr: 0xBFFFDF30 size: 60 - using copy buffer
CD write parameter: 37 21 00 00 05 32 01 04 08 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
CD write parameter: 37 21 00 00 05 32 11 04 08 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
DMA addr: 0xBFFFDF40 size: 60 - using copy buffer
DMA addr: 0xBFFFE1D0 size: 28 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDDF0 size: 2 - using copy buffer
DMA addr: 0xBFFFDDF0 size: 60 - using copy buffer
DMA addr: 0xBFFFDF30 size: 60 - using copy buffer
CD write parameter: 37 21 00 00 05 32 11 04 08 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
CD write parameter: 37 21 00 00 05 32 01 04 08 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
DMA addr: 0xBFFFDF40 size: 60 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDB90 size: 2 - using copy buffer
DMA addr: 0xBFFFDB90 size: 34 - using copy buffer
DMA addr: 0xBFFFDCD0 size: 34 - using copy buffer
Starting to write CD/DVD at speed 1 in write mode for single session.
Last chance to quit, starting real write in 9 seconds.8 seconds.7 
seconds.6 seconds.5 seconds.4 seconds.3 
seconds.2 seconds.1 seconds.
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFDC70 size: 2 - using copy buffer
DMA addr: 0xBFFFDC70 size: 34 - using copy buffer
DMA addr: 0xBFFFDDB0 size: 34 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0xBFFFE000 size: 16 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer

Reply via email to