Using a GDT-6550 as a 5 Channel SCSI-Adapter

2001-06-16 Thread Matthias Schniedermeyer

#include hallo.h



I just got $subject (5 Channel-FAST-SCSI Raid-Controller)

I wanted to use it as a SCSI-Adapter with 5 Channels, to save some
PCI-Slots.

I have 4 Teac-CD-R58S (8x CD-R) and connected each one to a different
channel.

-- cat /proc/scsi/scsi --
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: IBM  Model: DDYS-T18350N Rev: S93E
  Type:   Direct-AccessANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 04 Lun: 00
  Vendor: PIONEER  Model: DVD-ROM DVD-303  Rev: 1.10
  Type:   CD-ROM   ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 02 Lun: 00
  Vendor: PIONEER  Model: DVD-ROM DVD-304  Rev: 1.03
  Type:   CD-ROM   ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 03 Lun: 00
  Vendor: PIONEER  Model: DVD-ROM DVD-304  Rev: 1.03
  Type:   CD-ROM   ANSI SCSI revision: 02
Host: scsi3 Channel: 01 Id: 00 Lun: 00
  Vendor: TEAC Model: CD-R58S  Rev: 1.0H
  Type:   CD-ROM   ANSI SCSI revision: 02
Host: scsi3 Channel: 02 Id: 01 Lun: 00
  Vendor: TEAC Model: CD-R58S  Rev: 1.0N
  Type:   CD-ROM   ANSI SCSI revision: 02
Host: scsi3 Channel: 03 Id: 06 Lun: 00
  Vendor: TEAC Model: CD-R58S  Rev: 1.0P
  Type:   CD-ROM   ANSI SCSI revision: 02
Host: scsi3 Channel: 04 Id: 04 Lun: 00
  Vendor: TEAC Model: CD-R58S  Rev: 1.0K
  Type:   CD-ROM   ANSI SCSI revision: 02
-- end --

-- cdrecord -scanbus --
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.17
cdrecord: Warning Linux Bus mapping botch.
cdrecord: Warning Linux Bus mapping botch.
cdrecord: Warning Linux Bus mapping botch.
cdrecord: Warning Linux Bus mapping botch.
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) *
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) 'IBM ' 'DDYS-T18350N' 'S93E' Disk
0,7,0 7) *
scsibus1:
1,0,0   100) *
1,1,0   101) *
1,2,0   102) *
1,3,0   103) *
cdrecord: Warning: controller returns wrong size for CD capabilities page.
1,4,0   104) 'PIONEER ' 'DVD-ROM DVD-303 ' '1.10' Removable CD-ROM
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *
scsibus3:
3,0,0   300) 'TEAC' 'CD-R58S ' '1.0H' Removable CD-ROM
3,1,0   301) 'TEAC' 'CD-R58S ' '1.0N' Removable CD-ROM
3,2,0   302) 'PIONEER ' 'DVD-ROM DVD-304 ' '1.03' Removable CD-ROM
3,3,0   303) 'PIONEER ' 'DVD-ROM DVD-304 ' '1.03' Removable CD-ROM
3,4,0   304) 'TEAC' 'CD-R58S ' '1.0K' Removable CD-ROM
3,5,0   305) *
3,6,0   306) 'TEAC' 'CD-R58S ' '1.0P' Removable CD-ROM
3,7,0   307) *
-- end --

If i now want to burn something i have no luck

-- cdrecord -eject -dao dev=3,0,0 speed=8 fs=30m -v IMAGE --
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '3,0,0'
scsibus: 3 target: 0 lun: 0
Linux sg driver version: 3.1.17
cdrecord: Warning Linux Bus mapping botch.
Using libscg version 'schily-0.5'
atapi: 0
Device type: Removable CD-ROM
Version: 2
Response Format: 2
Capabilities   : RELADR SYNC LINKED
Vendor_info: 'TEAC'
Identifikation : 'CD-R58S '
Revision   : '1.0H'
Device seems to be: Generic CD-ROM.
cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found
on this target.
-- end --

The cdrecord: Warning Linux Bus mapping botch. Message comes
-1x for 3,0,0
-2x for 3,1,0
-3x for 3,6,0
-4x for 3,4,0

I've tried to load the gdth-driver with diffrent options, but there
weren't any changes. The last two trys where this

modprobe gdth disable=0 reserve_mode=0 reverse_scan=0 rescan=1 hdr_channel=5
modprobe gdth disable=0 reserve_mode=2 reverse_scan=0 rescan=1 hdr_channel=5





Bis denn

-- 
Real Programmers consider what you see is what you get to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a you asked for it, you got it text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.


-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]



Re: Using a GDT-6550 as a 5 Channel SCSI-Adapter

2001-06-16 Thread Douglas Gilbert

Matthias Schniedermeyer wrote:
 
 #include hallo.h
 
 I just got $subject (5 Channel-FAST-SCSI Raid-Controller)
 
 I wanted to use it as a SCSI-Adapter with 5 Channels, to save some
 PCI-Slots.
 
 I have 4 Teac-CD-R58S (8x CD-R) and connected each one to a different
 channel.
 
 -- cat /proc/scsi/scsi --
 Host: scsi0 Channel: 00 Id: 06 Lun: 00
   Vendor: IBM  Model: DDYS-T18350N Rev: S93E
   Type:   Direct-AccessANSI SCSI revision: 03
 Host: scsi1 Channel: 00 Id: 04 Lun: 00
   Vendor: PIONEER  Model: DVD-ROM DVD-303  Rev: 1.10
   Type:   CD-ROM   ANSI SCSI revision: 02
 Host: scsi3 Channel: 00 Id: 02 Lun: 00
   Vendor: PIONEER  Model: DVD-ROM DVD-304  Rev: 1.03
   Type:   CD-ROM   ANSI SCSI revision: 02
 Host: scsi3 Channel: 00 Id: 03 Lun: 00
   Vendor: PIONEER  Model: DVD-ROM DVD-304  Rev: 1.03
   Type:   CD-ROM   ANSI SCSI revision: 02
 Host: scsi3 Channel: 01 Id: 00 Lun: 00
   Vendor: TEAC Model: CD-R58S  Rev: 1.0H
   Type:   CD-ROM   ANSI SCSI revision: 02
 Host: scsi3 Channel: 02 Id: 01 Lun: 00
   Vendor: TEAC Model: CD-R58S  Rev: 1.0N
   Type:   CD-ROM   ANSI SCSI revision: 02
 Host: scsi3 Channel: 03 Id: 06 Lun: 00
   Vendor: TEAC Model: CD-R58S  Rev: 1.0P
   Type:   CD-ROM   ANSI SCSI revision: 02
 Host: scsi3 Channel: 04 Id: 04 Lun: 00
   Vendor: TEAC Model: CD-R58S  Rev: 1.0K
   Type:   CD-ROM   ANSI SCSI revision: 02
 -- end --
 
 -- cdrecord -scanbus --
 Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
 Linux sg driver version: 3.1.17
 cdrecord: Warning Linux Bus mapping botch.
 cdrecord: Warning Linux Bus mapping botch.
 cdrecord: Warning Linux Bus mapping botch.
 cdrecord: Warning Linux Bus mapping botch.
 Using libscg version 'schily-0.5'
 scsibus0:
 0,0,0 0) *
 0,1,0 1) *
 0,2,0 2) *
 0,3,0 3) *
 0,4,0 4) *
 0,5,0 5) *
 0,6,0 6) 'IBM ' 'DDYS-T18350N' 'S93E' Disk
 0,7,0 7) *
 scsibus1:
 1,0,0   100) *
 1,1,0   101) *
 1,2,0   102) *
 1,3,0   103) *
 cdrecord: Warning: controller returns wrong size for CD capabilities page.
 1,4,0   104) 'PIONEER ' 'DVD-ROM DVD-303 ' '1.10' Removable CD-ROM
 1,5,0   105) *
 1,6,0   106) *
 1,7,0   107) *
 scsibus3:
 3,0,0   300) 'TEAC' 'CD-R58S ' '1.0H' Removable CD-ROM
 3,1,0   301) 'TEAC' 'CD-R58S ' '1.0N' Removable CD-ROM
 3,2,0   302) 'PIONEER ' 'DVD-ROM DVD-304 ' '1.03' Removable CD-ROM
 3,3,0   303) 'PIONEER ' 'DVD-ROM DVD-304 ' '1.03' Removable CD-ROM
 3,4,0   304) 'TEAC' 'CD-R58S ' '1.0K' Removable CD-ROM
 3,5,0   305) *
 3,6,0   306) 'TEAC' 'CD-R58S ' '1.0P' Removable CD-ROM
 3,7,0   307) *
 -- end --
 
 If i now want to burn something i have no luck
 
 -- cdrecord -eject -dao dev=3,0,0 speed=8 fs=30m -v IMAGE --
 Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
 TOC Type: 1 = CD-ROM
 scsidev: '3,0,0'
 scsibus: 3 target: 0 lun: 0
 Linux sg driver version: 3.1.17
 cdrecord: Warning Linux Bus mapping botch.
 Using libscg version 'schily-0.5'
 atapi: 0
 Device type: Removable CD-ROM
 Version: 2
 Response Format: 2
 Capabilities   : RELADR SYNC LINKED
 Vendor_info: 'TEAC'
 Identifikation : 'CD-R58S '
 Revision   : '1.0H'
 Device seems to be: Generic CD-ROM.
 cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found
 on this target.
 -- end --
 
 The cdrecord: Warning Linux Bus mapping botch. Message comes
 -1x for 3,0,0
 -2x for 3,1,0
 -3x for 3,6,0
 -4x for 3,4,0
 
 I've tried to load the gdth-driver with diffrent options, but there
 weren't any changes. The last two trys where this
 
 modprobe gdth disable=0 reserve_mode=0 reverse_scan=0 rescan=1 hdr_channel=5
 modprobe gdth disable=0 reserve_mode=2 reverse_scan=0 rescan=1 hdr_channel=5

Matthias,
This looks like cdrecord (libscg) getting confused by the 
different channel numbers on that 5 channel SCSI adapter. 
So I'll cc this reply to Joerg Schilling and hope that he 
responds.

Doug Gilbert

-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]