Hi,

I think it's likely that this is a known problem, but I haven't been
able to find anything relevant in TFM or on the net.  

The problem is that only the first scsi bus is reported by executing
cdrecord -scanbus, which makes it difficult to use cdrecord with
xcdroast when the CD-R is not on the first bus.  The machine has an
Adaptec 2940 as scsi0, an Adaptec 2940uw as scsi1 and ide-scsi
emulation for an ATAPI CD-R as scsi2.  

I've successfully used cdrecord and xcdroast with this scsi setup in
the past.  What's changed?  I'd be very appreciative if someone could
point out the solution or give me a clue to things I should be
looking at.

I have cdrecord compiled with debugging so I would be able to provide
additional information from that source if it would help. 

Many thanks,

Mike McKernan

These are the vitals on my setup

      Linux Mandrake release 7.2 (Odyssey) for i586

      Linux tivoli.mv.com 2.4.2 #2 SMP Sun Mar 11 20:19:44 EST 2001
      i686 unknown

      cdrecord-1.9-6
      glibc-2.2.2-4mdk
      compat-glibc-7.2-2.1.3.2mdk

This is what I get from cdrecord:  

   <tivoli: i686-linux-cc> ./cdrecord -scanbus
   Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
   Linux sg driver version: 3.1.17
   Using libscg version 'schily-0.1'
   scsibus0:
           0,0,0          0) 'HP      ' 'C2520A          ' '3503' Processor
           0,1,0          1) *
           0,2,0          2) *
           0,3,0          3) *
           0,4,0          4) 'HP      ' 'C1533A          ' '9406' Removable Tape
           0,5,0          5) 'SONY    ' 'CD-ROM CDU-76S  ' '1.2d' Removable CD-ROM
           0,6,0          6) 'PIONEER ' 'CD-ROM DRM-600  ' '2404' Removable CD-ROM
           0,7,0          7) *

I'll do this again with -V at the end of the message.

However, specifying dev:

   <tivoli: i686-linux-cc> ./cdrecord -scanbus dev=2,0,0
   Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
   scsidev: '2,0,0'
   scsibus: 2 target: 0 lun: 0
   Linux sg driver version: 3.1.17
   Using libscg version 'schily-0.1'
   scsibus2:
           2,0,0        200) 'MITSUMI ' 'CR-4801TE       ' '1.04' Removable CD-ROM
           2,1,0        201) *
           2,2,0        202) *
           2,3,0        203) *
           2,4,0        204) *
           2,5,0        205) *
           2,6,0        206) *
           2,7,0        207) *

which is the device of interest.  Using -inq for that device gives this:

   <tivoli: i686-linux-cc> ./cdrecord -inq dev=2,0,0
   Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
   scsidev: '2,0,0'
   scsibus: 2 target: 0 lun: 0
   Linux sg driver version: 3.1.17
   Using libscg version 'schily-0.1'
   Device type    : Removable CD-ROM
   Version        : 0
   Response Format: 1
   Vendor_info    : 'MITSUMI '
   Identifikation : 'CR-4801TE       '
   Revision       : '1.04'
   Device seems to be: Philips CDD-522.


/proc/scsi/scsi

   <tivoli: i686-linux-cc> cat /proc/scsi/scsi
   Attached devices: 
   Host: scsi0 Channel: 00 Id: 00 Lun: 00
     Vendor: HP       Model: C2520A           Rev: 3503
     Type:   Processor                        ANSI SCSI revision: 02
   Host: scsi0 Channel: 00 Id: 04 Lun: 00
     Vendor: HP       Model: C1533A           Rev: 9406
     Type:   Sequential-Access                ANSI SCSI revision: 02
   Host: scsi0 Channel: 00 Id: 05 Lun: 00
     Vendor: SONY     Model: CD-ROM CDU-76S   Rev: 1.2d
     Type:   CD-ROM                           ANSI SCSI revision: 02
   Host: scsi0 Channel: 00 Id: 06 Lun: 00
     Vendor: PIONEER  Model: CD-ROM DRM-600   Rev: 2404
     Type:   CD-ROM                           ANSI SCSI revision: 01 CCS
   Host: scsi0 Channel: 00 Id: 06 Lun: 01
     Vendor: PIONEER  Model: CD-ROM DRM-600   Rev: 2404
     Type:   CD-ROM                           ANSI SCSI revision: 01 CCS
   Host: scsi0 Channel: 00 Id: 06 Lun: 02
     Vendor: PIONEER  Model: CD-ROM DRM-600   Rev: 2404
     Type:   CD-ROM                           ANSI SCSI revision: 01 CCS
   Host: scsi0 Channel: 00 Id: 06 Lun: 03
     Vendor: PIONEER  Model: CD-ROM DRM-600   Rev: 2404
     Type:   CD-ROM                           ANSI SCSI revision: 01 CCS
   Host: scsi0 Channel: 00 Id: 06 Lun: 04
     Vendor: PIONEER  Model: CD-ROM DRM-600   Rev: 2404
     Type:   CD-ROM                           ANSI SCSI revision: 01 CCS
   Host: scsi0 Channel: 00 Id: 06 Lun: 05
     Vendor: PIONEER  Model: CD-ROM DRM-600   Rev: 2404
     Type:   CD-ROM                           ANSI SCSI revision: 01 CCS
   Host: scsi1 Channel: 00 Id: 00 Lun: 00
     Vendor: IBM-PCCO Model: DDRS-39130W   !# Rev: S97B
     Type:   Direct-Access                    ANSI SCSI revision: 02
   Host: scsi1 Channel: 00 Id: 01 Lun: 00
     Vendor: COMPAQPC Model: DDRS-39130W      Rev: S99C
     Type:   Direct-Access                    ANSI SCSI revision: 02
   Host: scsi1 Channel: 00 Id: 03 Lun: 00
     Vendor: IBM-PSG  Model: DNES-309170W  !# Rev: SAHR
     Type:   Direct-Access                    ANSI SCSI revision: 03
   Host: scsi2 Channel: 00 Id: 00 Lun: 00
     Vendor: MITSUMI  Model: CR-4801TE        Rev: 1.04
     Type:   CD-ROM                           ANSI SCSI revision: 02


Here's the scanbus output with -V:

   <tivoli: i686-linux-cc> ./cdrecord -scanbus -V        
   Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
   Linux sg driver version: 3.1.17
   Using libscg version 'schily-0.1'
   scsibus0:

   Executing 'test unit ready' command on Bus 0 Target 0, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s
           0,0,0          0) 
   Executing 'test unit ready' command on Bus 0 Target 0, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s

   Executing 'inquiry' command on Bus 0 Target 0, Lun 0 timeout 40s
   CDB:  12 00 00 00 24 00
   cmd finished after 0.001s timeout 40s
   Inquiry Data   : 03 00 02 02 1F 00 00 00 48 50 20 20 20 20 20 20 43 32 35 
32 30 41 20 20 20 20 20 20 20 20 20 20 33 35 30 33
   Inquiry Data   : ........HP      C2520A          3503
   'HP      ' 'C2520A          ' '3503' Processor

   Executing 'test unit ready' command on Bus 0 Target 1, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s
           0,1,0          1) *

   Executing 'test unit ready' command on Bus 0 Target 2, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s
           0,2,0          2) *

   Executing 'test unit ready' command on Bus 0 Target 3, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s
           0,3,0          3) *

   Executing 'test unit ready' command on Bus 0 Target 4, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable 
error
   CDB:  00 00 00 00 00 00
   status: 0x2 (CHECK CONDITION)
   Sense Bytes: 70 00 02 00 00 00 00 0E 00 00 00 00 3A 00 00 00
   Sense Key: 0x2 Not Ready, Segment 0
   Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
   Sense flags: Blk 0 (not valid) 
   cmd finished after 0.008s timeout 40s
           0,4,0          4) 
   Executing 'test unit ready' command on Bus 0 Target 4, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable 
error
   CDB:  00 00 00 00 00 00
   status: 0x2 (CHECK CONDITION)
   Sense Bytes: 70 00 02 00 00 00 00 0E 00 00 00 00 3A 00 00 00
   Sense Key: 0x2 Not Ready, Segment 0
   Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
   Sense flags: Blk 0 (not valid) 
   cmd finished after 0.006s timeout 40s

   Executing 'inquiry' command on Bus 0 Target 4, Lun 0 timeout 40s
   CDB:  12 00 00 00 24 00
   cmd finished after 0.003s timeout 40s
   Inquiry Data   : 01 80 02 02 26 00 00 18 48 50 20 20 20 20 20 20 43 31 35 
33 33 41 20 20 20 20 20 20 20 20 20 20 39 34 30 36

   Executing 'inquiry' command on Bus 0 Target 4, Lun 0 timeout 40s
   CDB:  12 00 00 00 2B 00
   cmd finished after 0.003s timeout 40s
   Inquiry Data   : 01 80 02 02 26 00 00 18 48 50 20 20 20 20 20 20 43 31 35 
33 33 41 20 20 20 20 20 20 20 20 20 20 39 34 30 36 20 20 20 39 00 00 02
   Inquiry Data   : ....&...HP      C1533A          9406   9...
   'HP      ' 'C1533A          ' '9406' Removable Tape

   Executing 'test unit ready' command on Bus 0 Target 5, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable 
error
   CDB:  00 00 00 00 00 00
   status: 0x2 (CHECK CONDITION)
   Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
   Sense Key: 0x2 Not Ready, Segment 0
   Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
   Sense flags: Blk 0 (not valid) 
   cmd finished after 0.001s timeout 40s
           0,5,0          5) 
   Executing 'test unit ready' command on Bus 0 Target 5, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable 
error
   CDB:  00 00 00 00 00 00
   status: 0x2 (CHECK CONDITION)
   Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
   Sense Key: 0x2 Not Ready, Segment 0
   Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
   Sense flags: Blk 0 (not valid) 
   cmd finished after 0.001s timeout 40s

   Executing 'inquiry' command on Bus 0 Target 5, Lun 0 timeout 40s
   CDB:  12 00 00 00 24 00
   cmd finished after 0.001s timeout 40s
   Inquiry Data   : 05 80 02 02 1F 00 00 18 53 4F 4E 59 20 20 20 20 43 44 2D 
52 4F 4D 20 43 44 55 2D 37 36 53 20 20 31 2E 32 64
   Inquiry Data   : ........SONY    CD-ROM CDU-76S  1.2d

   Executing 'mode sense g1' command on Bus 0 Target 5, Lun 0 timeout 40s
   CDB:  5A 00 3F 00 00 00 00 00 08 00
   ./cdrecord: Input/output error. mode sense g1: scsi sendcmd: retryable error
   CDB:  5A 00 3F 00 00 00 00 00 08 00
   status: 0x2 (CHECK CONDITION)
   Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 20 00 00 00
   Sense Key: 0x5 Illegal Request, Segment 0
   Sense Code: 0x20 Qual 0x00 (invalid command operation code) Fru 0x0
   Sense flags: Blk 0 (not valid) 
   cmd finished after 0.001s timeout 40s

   Executing 'test unit ready' command on Bus 0 Target 5, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable 
error
   CDB:  00 00 00 00 00 00
   status: 0x2 (CHECK CONDITION)
   Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
   Sense Key: 0x2 Not Ready, Segment 0
   Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
   Sense flags: Blk 0 (not valid) 
   cmd finished after 0.001s timeout 40s

   Executing 'mode sense g0' command on Bus 0 Target 5, Lun 0 timeout 40s
   CDB:  1A 00 2A 00 01 00
   ./cdrecord: Input/output error. mode sense g0: scsi sendcmd: retryable error
   CDB:  1A 00 2A 00 01 00
   status: 0x2 (CHECK CONDITION)
   Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 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 (not valid) 
   cmd finished after 0.001s timeout 40s
   'SONY    ' 'CD-ROM CDU-76S  ' '1.2d' Removable CD-ROM

   Executing 'test unit ready' command on Bus 0 Target 6, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s
           0,6,0          6) 
   Executing 'test unit ready' command on Bus 0 Target 6, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s

   Executing 'inquiry' command on Bus 0 Target 6, Lun 0 timeout 40s
   CDB:  12 00 00 00 24 00
   cmd finished after 0.002s timeout 40s
   Inquiry Data   : 05 80 01 01 36 00 00 00 50 49 4F 4E 45 45 52 20 43 44 2D 
52 4F 4D 20 44 52 4D 2D 36 30 30 20 20 32 34 30 34

   Executing 'inquiry' command on Bus 0 Target 6, Lun 0 timeout 40s
   CDB:  12 00 00 00 3B 00
   cmd finished after 0.003s timeout 40s
   Inquiry Data   : 05 80 01 01 36 00 00 00 50 49 4F 4E 45 45 52 20 43 44 2D 
52 4F 4D 20 44 52 4D 2D 36 30 30 20 20 32 34 30 34 00 00 00 D0 90 27 3E 01 04 
91 00 18 06 F0 FC 00 00 07 98 00 00 00 FF
   Inquiry Data   : ....6...PIONEER CD-ROM DRM-600  2404.....'>................

   Executing 'mode sense g1' command on Bus 0 Target 6, Lun 0 timeout 40s
   CDB:  5A 00 3F 00 00 00 00 00 08 00
   ./cdrecord: Input/output error. mode sense g1: scsi sendcmd: retryable error
   CDB:  5A 00 3F 00 00 00 00 00 08 00
   status: 0x2 (CHECK CONDITION)
   Sense Bytes: 70 00 05 00 00 00 00 08 00 00 00 00 20 00 00 00
   Sense Key: 0x5 Illegal Request, Segment 0
   Sense Code: 0x20 Qual 0x00 (invalid command operation code) Fru 0x0
   Sense flags: Blk 0 (not valid) 
   cmd finished after 0.002s timeout 40s

   Executing 'test unit ready' command on Bus 0 Target 6, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s

   Executing 'mode sense g0' command on Bus 0 Target 6, Lun 0 timeout 40s
   CDB:  1A 00 2A 00 01 00
   ./cdrecord: Input/output error. mode sense g0: scsi sendcmd: retryable error
   CDB:  1A 00 2A 00 01 00
   status: 0x2 (CHECK CONDITION)
   Sense Bytes: 70 00 05 00 00 00 00 08 00 00 00 00 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 (not valid) 
   cmd finished after 0.002s timeout 40s
   'PIONEER ' 'CD-ROM DRM-600  ' '2404' Removable CD-ROM

   Executing 'test unit ready' command on Bus 0 Target 7, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s
           0,7,0          7) *

   Executing 'test unit ready' command on Bus 0 Target 8, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s

   Executing 'test unit ready' command on Bus 0 Target 9, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s

   Executing 'test unit ready' command on Bus 0 Target 10, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s

   Executing 'test unit ready' command on Bus 0 Target 11, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s

   Executing 'test unit ready' command on Bus 0 Target 12, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s

   Executing 'test unit ready' command on Bus 0 Target 13, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s

   Executing 'test unit ready' command on Bus 0 Target 14, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s

   Executing 'test unit ready' command on Bus 0 Target 15, Lun 0 timeout 40s
   CDB:  00 00 00 00 00 00
   ./cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
   CDB:  00 00 00 00 00 00
   cmd finished after 0.000s timeout 40s



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

Reply via email to