Hello SCSI experts, I have recently installed a replacement SCSI card in my system. The card is an Iwill SIDE 2930C, using an Advansys ABP940U chip. I am using SMP Linux 2.2 kernels built from source, on a dual PII/350 with a BX chipset and 192MB RAM. The devices on the SCSI bus are a Plextor 20TSi CDROM, Ricoh MP6200S CDRW (both internal), Iomega Zip100 and UMAX Astra 1220 scanner, (both external). My hard disk drives are IDE. The system boots properly, and individually each of the devices on the SCSI bus seems to operate correctly. My problem occurs when I try to execute two commands at the same time, for example, using two instances of 'cp' to copy large (~100MB) files from different SCSI drives (CDs or Zip drive) to an IDE HDD. I would expect to be able to watch the sizes of _both_ files on the HDD increase simultaneously. What actually happens is that the first 'cp' stalls when the second command begins and does not resume until it is complete. The 'dmesg' command indicates I/O errors and timeout errors on the stalled source device (sample dmesg output attached below). I have noticed that the problem only seems to occur when files are being copied from _different_ source devices. Simultaneouly copying two files from the same CD to the HDD behaves as I would expect, with the copies proceeding in parallel. This would be merely annoying, if it were not for the fact that while one command is stalled in this way, the whole system locks up periodically, for 1-2 seconds at a time, during which time it is entirely unresponsive (e.g. Num Lock key doesn't toggle the LED). On a few occasions (I have not been able to reproduce this reliably) it seems that both 'cp' commands stall, with 'ps' showing them both stuck in the 'D' state. I am unable to reproduce the problem under Windows 95. I have been using 2.2.15 and 2.2.16 kernels, and some intermediate pres. I've tried SMP and uniprocessor builds, gcc 2.95 and gcc 2.7, and various versions of the Advansys drivers. The SCSI bits are compiled into the kernels, not modular. Advansys technical support have suggested that I check my cabling and termination, which I have done. They have also suggested that I disable Synchronous Transfers in the SCSI BIOS, but since my card does not have a EEPROM it is not entirely clear how I should go about this. Can anybody suggest what else might be wrong? Steve Morphet. [EMAIL PROTECTED] -- dmesg output -- [snippage] scsi0 : AdvanSys SCSI 3.2M: PCI Ultra 16 CDB: IO DC00/F, IRQ 18scsi : 1 host. Vendor: UMAX Model: Astra 1220S Rev: V1.3 Type: Scanner ANSI SCSI revision: 02 Detected scsi generic sga at scsi0, channel 0, id 0, lun 0 Vendor: RICOH Model: MP6200S Rev: 2.20 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0 Vendor: PLEXTOR Model: CD-ROM PX-20TS Rev: 1.01 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr1 at scsi0, channel 0, id 3, lun 0 Vendor: IOMEGA Model: ZIP 100 Rev: D.06 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi removable disk sda at scsi0, channel 0, id 5, lun 0 scsi : detected 4 SCSI generics 2 SCSI cdroms 1 SCSI disk total. sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.08 SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB] sda: Write Protect is off [snippage] VFS: Disk change detected on device sr(11,0) ISO 9660 Extensions: Microsoft Joliet Level 3 ISO 9660 Extensions: RRIP_1991A VFS: Disk change detected on device sr(11,1) ISO 9660 Extensions: Microsoft Joliet Level 3 ISO 9660 Extensions: RRIP_1991A scsi : aborting command due to timeout : pid 67, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 02 65 09 00 00 08 00 scsi : aborting command due to timeout : pid 67, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 02 65 09 00 00 08 00 scsi0 channel 0 : resetting for second half of retries. SCSI bus is being reset for host 0 channel 0. advansys: advansys_reset: reset request not active or waiting, completing anyway cb3ed200 scsi0: device driver called scsi_done() for a syncronous reset. sr1: CD-ROM not ready. Make sure you have a disc in the drive. CD-ROM I/O error: dev 0b:01, sector 627748 Device not ready. Make sure there is a disc in the drive. sr1: CD-ROM not ready. Make sure you have a disc in the drive. CD-ROM I/O error: dev 0b:01, sector 627748 scsi : aborting command due to timeout : pid 305, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 00 8d bf 00 00 20 00 scsi : aborting command due to timeout : pid 313, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 00 8d df 00 00 20 00 -- contents of /proc/scsi/advansys/0 -- AdvanSys SCSI 3.3A: PCI Ultra 16 CDB: IO DC00/F, IRQ 18 Device Information for AdvanSys SCSI Host 0: Target IDs Detected: 0, 2, 3, 5, 7, (7=Host Adapter) Host: scsi0 Channel: 00 Id: 02 Lun: 00 Vendor: RICOH Model: MP6200S Rev: 2.20 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 03 Lun: 00 Vendor: PLEXTOR Model: CD-ROM PX-20TS Rev: 1.01 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 05 Lun: 00 Vendor: IOMEGA Model: ZIP 100 Rev: D.06 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: UMAX Model: Astra 1220S Rev: V1.3 Type: Scanner ANSI SCSI revision: 02 EEPROM Settings for AdvanSys SCSI Host 0: Default Settings Used for EEPROM-less Adapter. Host SCSI ID: 7, Host Queue Size: 16, Device Queue Size: 8 cntl bf00, no_scam 0 Target ID: 0 1 2 3 4 5 6 7 Disconnects: Y Y Y Y Y Y Y Y Command Queuing: N N N N N N N N Start Motor: Y Y Y Y Y Y Y Y Synchronous Transfer: Y Y Y Y Y Y Y Y Linux Driver Configuration and Information for AdvanSys SCSI Host 0: host_busy 0, last_reset 67851, max_id 8, max_lun 8, max_channel 0 unique_id 0, can_queue 16, this_id 7, sg_tablesize 50, cmd_per_lun 0 unchecked_isa_dma 0, use_clustering 1, loaded_as_module 0 flags 8, last_reset 1090b, jiffies 3ea4e queue_depth: 0:4 2:4 3:4 5:4 Linux Driver Statistics for AdvanSys SCSI Host 0: command 0, queuecommand 5166, abort 20, reset 5, biosparam 0 interrupt 5182, callback 5151, done 5169 exe_noerror 5151, exe_busy 11178, exe_error 0, exe_unknown 0 build_error 0 cont_cnt 728, cont_xfer 346.5 kb avg_xfer 0.4 kb sg_cnt 15601, sg_elem 387757, sg_xfer 921851.0 kb avg_num_elem 24.8, avg_elem_size 2.3 kb, avg_xfer_size 59.0 kb Active and Waiting Request Queues (Time Unit: 100 HZ): target 0 active: cnt [cur 0, max 1, tot 4], time [min 0, max 4, avg 2.0] waiting: cnt [cur 0, max 0, tot 0], time [min 0, max 0, avg 0.0] target 2 active: cnt [cur 0, max 3, tot 2505], time [min 0, max 301, avg 16.0] waiting: cnt [cur 0, max 4, tot 5612], time [min 0, max 732, avg 6.2] target 3 active: cnt [cur 0, max 3, tot 215], time [min 0, max 3099, avg 218.0] waiting: cnt [cur 0, max 3, tot 2046], time [min 0, max 3000, avg 22.8] target 5 active: cnt [cur 0, max 4, tot 2424], time [min 0, max 170, avg 19.7] waiting: cnt [cur 0, max 4, tot 3520], time [min 0, max 2990, avg 7.6] Asc Library Configuration and Statistics for AdvanSys SCSI Host 0: chip_version 11, lib_version 118, lib_serial_no 121, mcode_date 12c3 mcode_version 50d, err_code 0 Total Command Pending: 0 Command Queuing: 0:N 2:N 3:N 5:N Command Queue Pending: 0:0 2:0 3:0 5:0 Command Queue Limit: 0:4 2:4 3:4 5:4 Command Queue Full: 0:N 2:N 3:N 5:N Synchronous Transfer: 0:N 2:N 3:Y 5:N 3: Transfer Period Factor: 25 (10.0 Mhz), REQ/ACK Offset: 15 -- - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED]
