[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Advansys SCSI configuration problem



Hi.  I'm trying to set up my SCSI card and CD-R and I need some advice. 
Below is the output I get when I load my SCSI module.

I don't know what sr0-6 are but a get a feeling I only need 1 of them. 
Once this module is loaded devices /dev/scd0 through /dev/scd6 accesses
the same single cd burner that is plugged into the SCSI card.  I don't
know what a lun, or id is either.  Continuing below . . .


debian# insmod advansys

Using /lib/modules/2.2.17/scsi/advansys.o
scsi0 : Advansys SCSI 3.2M: ISA PnP 17 CDB: BIOS C800, IO 120/f, IRQ 10,
DMA 7
scsi : 1 host
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi 0, channel 0, id 1, lun 0
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi 0, channel 0, id 1, lun 0
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Detected scsi CD-ROM sr2 at scsi 0, channel 0, id 1, lun 0
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Detected scsi CD-ROM sr3 at scsi 0, channel 0, id 1, lun 0
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Detected scsi CD-ROM sr4 at scsi 0, channel 0, id 1, lun 0
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Detected scsi CD-ROM sr5 at scsi 0, channel 0, id 1, lun 0
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Detected scsi CD-ROM sr6 at scsi 0, channel 0, id 1, lun 0

When I a look at the SCSI card in the proc directory as below I get the
following.

debian# more /proc/scsi/advansys/0
AdvanSys SCSI 3.2M: ISA PnP 17 CDB: BIOS C800, IO 120/F, IRQ 10, DMA 7
Device Information for AdvanSys SCSI Host 0:
Target IDs Detected: 0, 1, 2, 3, 4, 5, 6, 7, (0=Host Adapter)
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 07 Lun: 00
  Vendor: RICOH    Model: RO-1420C         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02

EEPROM Settings for AdvanSys SCSI Host 0:
 Serial Number Signature Not Present.
 Host SCSI ID: 0, Host Queue Size: 17, Device Queue Size: 4
 cntl 0, no_scam 11
 Target ID:            0 1 2 3 4 5 6 7
 Disconnects:          Y N N N Y N N N
 Command Queuing:      Y N N N Y N N N
 Start Motor:          N N N N N N N N
 Synchronous Transfer: Y N N N Y N N N
 Host ISA DMA speed:   10 MB/S

Linux Driver Configuration and Information for AdvanSys SCSI Host 0:
 host_busy 0, last_reset 0, max_id 8, max_lun 8, max_channel 0
 unique_id 0, can_queue 17, this_id 0, sg_tablesize 50, cmd_per_lun 1
 unchecked_isa_dma 1, use_clustering 1, loaded_as_module 1
 flags 8, last_reset 0, jiffies 4a5136
 queue_depth: 1:4 2:4 3:4 4:4 5:4 6:4 7:4

Linux Driver Statistics for AdvanSys SCSI Host 0:
 command 0, queuecommand 21, abort 0, reset 0, biosparam 0
 interrupt 34, callback 21, done 21
 exe_noerror 21, exe_busy 0, exe_error 0, exe_unknown 0
 build_error 0
 cont_cnt 21, cont_xfer 10.5 kb avg_xfer 0.4 kb
 Active and Waiting Request Queues (Time Unit: 100 HZ):
 target 1
   active: cnt [cur 0, max 1, tot 3], time [min 0, max 2, avg 1.0]
   waiting: cnt [cur 0, max 0, tot 0], time [min 0, max 0, avg 0.0]
 target 2
   active: cnt [cur 0, max 1, tot 3], time [min 1, max 2, avg 1.3]
   waiting: cnt [cur 0, max 0, tot 0], time [min 0, max 0, avg 0.0]
 target 3
   active: cnt [cur 0, max 1, tot 3], time [min 1, max 1, avg 1.0]
   waiting: cnt [cur 0, max 0, tot 0], time [min 0, max 0, avg 0.0]
 target 4
   active: cnt [cur 0, max 1, tot 3], time [min 1, max 1, avg 1.0]
   waiting: cnt [cur 0, max 0, tot 0], time [min 0, max 0, avg 0.0]
 target 5
   active: cnt [cur 0, max 1, tot 3], time [min 0, max 1, avg 0.6]
   waiting: cnt [cur 0, max 0, tot 0], time [min 0, max 0, avg 0.0]
 target 6
   active: cnt [cur 0, max 1, tot 3], time [min 1, max 1, avg 1.0]
   waiting: cnt [cur 0, max 0, tot 0], time [min 0, max 0, avg 0.0]
 target 7
   active: cnt [cur 0, max 1, tot 3], time [min 1, max 2, avg 1.3]
   waiting: cnt [cur 0, max 0, tot 0], time [min 0, max 0, avg 0.0]

Asc Library Configuration and Statistics for AdvanSys SCSI Host 0:
 chip_version 33, lib_version 118, lib_serial_no 121, mcode_date 12c3
 mcode_version 50d, err_code 0
 Total Command Pending: 0
 Command Queuing: 1:N 2:N 3:N 4:N 5:N 6:N 7:N
 Command Queue Pending: 1:0 2:0 3:0 4:0 5:0 6:0 7:0
 Command Queue Limit: 1:4 2:4 3:4 4:4 5:4 6:4 7:4
 Command Queue Full: 1:N 2:N 3:N 4:N 5:N 6:N 7:N
 Synchronous Transfer: 1:N 2:N 3:N 4:N 5:N 6:N 7:N



I am guessing that I have to modify the EEPROM of the SCSI card to make
things work correctly?  I have the msdos software to do this.  Can I do
this from Linux without have to reboot to a msdos floppy.  Can I correct
this just by using the software differently.  

Any and all replys are greatly appreciated!

MTY



Reply to: