Problems with multiple devices on AVA-2904

Richard Mottershead rmotters at hotmail.com
Thu Dec 2 09:02:22 PST 1999


Sorry, about the lengthy message but I included some dumps.

Firstly, My Machine Specification:
  P5-166
  IDE HD/CDROM
  ADAPTEC AVA-2904
  Ricoh MP6200S SCSI CD-RW Drive
  Minolta Scan Dual SCSI Film Scanner
  AverMedia TVCapture Card

  Corel Linux 1.0 with 2.2.12 Kernel.

I have a problem when loading the aic7xxx driver with both the CD-RW and 
Scanner turned on. Without the scanner turned on the CD-RW works fine.

I have the same problem with driver versions 5.1.19 and 5.1.20.

I tried loadin it as in the kernel ( machine wont boot), so I rebuilt the 
kernel and used some parameters to give the following information.

This is the content of the 'aic7xxx=dump_card' parameter used when loading 
the module WITHOUT the film scanner.
---

scsi : 0 hosts.
(scsi0) <Adaptec AIC-7850 SCSI host adapter> found at PCI 18/0
(scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs
(scsi0) Downloading sequencer code... 406 instructions downloaded
Adaptec AIC-7850 SCSI host adapter at PCI 18/0.
PCI Dump:
04:07 05:00 06:90 07:02 08:03 0c:08 0d:40 0e:00 10:01 11:ec 12:00 13:00 
14:00
15:b0 16:bf 17:fe 28:00 29:00 2a:00 2b:00 30:00 31:00 32:00 33:00 3c:0a 
3d:01
3e:04 3f:04 40:40 41:01 43:80 44:40 45:01 46:00 47:80
Card Dump:
00:00 01:80 02:3f 03:00 04:00 05:07 08:00 09:00 0a:00 0b:05 0c:00 0d:00 
0e:00
0f:00 10:00 11:a4 18:03 19:00 1a:00 1b:00 1c:00 1d:40 1e:11 1f:00 60:10 
62:0b
63:00 64:00 65:00 66:00 80:04 81:90 82:78 83:50 84:a1 85:40 86:c0 87:06 
88:00
89:00 8a:00 8b:00 8c:00 8d:00 8e:00 90:00 91:00 92:00 93:00 94:29 95:00 
97:00
9a:00 <3>(scsi0) BRKADRINT error(0x20):
  Scratch Ram/SCB Array Ram Parity Error
(scsi0)   SEQADDR=0xb
9b:07 9c:00 <3>(scsi0) BRKADRINT error(0x20):
  Scratch Ram/SCB Array Ram Parity Error
(scsi0)   SEQADDR=0xc
9d:07 9e:00 9f:00
Scratch RAM:
20:00 21:00 22:00 23:00 24:00 25:00 26:00 27:00 28:ff 29:ff 2a:ff 2b:ff 
2c:ff
2d:ff 2e:ff 2f:ff 30:00 31:00 32:00 33:ff 34:08 35:01 36:00 37:50 38:01 
39:00
3a:04 3b:a6 3c:03 3d:01 3e:ff 3f:ff 40:00 41:00 42:60 43:a6 44:03 45:78 
46:a3
47:c7 48:03 49:00 4a:00 4b:00 4c:00 4d:00 4e:00 4f:00 50:00 51:40 52:01 
53:08
54:ff 55:ff 56:ff 57:ff 58:ff 59:ff 5a:67 5b:07 5c:ff 5d:ff 5e:ff 5f:ff
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.20/3.2.4
       <Adaptec AIC-7850 SCSI host adapter>
scsi : 1 host.
  Vendor: RICOH     Model: MP6200S           Rev: 2.20
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0
sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray

---

This is the content of the aic7xxx='verbose;0xffff' parameter used when 
loading the module WITHOUT the film scanner.

---

aic7xxx: <Adaptec AIC-7850 SCSI host adapter> at PCI 18/0
aic7xxx: Initial PCI_COMMAND value was 0x7
aic7xxx: Initial DEVCONFIG value was 0x80000140
aic7xxx: Loading serial EEPROM...
aic7xxx: No SEEPROM available.
aic7xxx: Using default values.
(scsi0) <Adaptec AIC-7850 SCSI host adapter> found at PCI 18/0
(scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs
(scsi0) BIOS disabled, IO Port 0xec00, IRQ 10
(scsi0) IO Memory at 0xfebfb000, MMAP Memory at 0xc4098000
(scsi0) Downloading sequencer code... 406 instructions downloaded
(scsi0) Resetting channel
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.20/3.2.4
       <Adaptec AIC-7850 SCSI host adapter>
scsi : 1 host.
  Vendor: RICOH     Model: MP6200S           Rev: 2.20
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0
sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray

---

This is the content of the aic7xxx='verbose;0xffff' parameter used when 
loading the module WITH the film scanner. (The insmod was killed).

---

scsi : 0 hosts.
aic7xxx: <Adaptec AIC-7850 SCSI host adapter> at PCI 18/0
aic7xxx: Initial PCI_COMMAND value was 0x7
aic7xxx: Initial DEVCONFIG value was 0x80000140
aic7xxx: Loading serial EEPROM...
aic7xxx: No SEEPROM available.
aic7xxx: Using default values.
(scsi0) <Adaptec AIC-7850 SCSI host adapter> found at PCI 18/0
(scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs
(scsi0) BIOS disabled, IO Port 0xec00, IRQ 10
(scsi0) IO Memory at 0xfebfb000, MMAP Memory at 0xc4098000
(scsi0) Downloading sequencer code... 406 instructions downloaded
(scsi0) Resetting channel
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.20/3.2.4
       <Adaptec AIC-7850 SCSI host adapter>
scsi : 1 host.
  Vendor: RICOH     Model: MP6200S           Rev: 2.20
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0
scsi : aborting command due to timeout : pid 144, scsi0, channel 0, id 6, 
lun 0 Test Unit Ready 00 00 00 00 00
(scsi0:0:6:0) Aborting scb 0, flags 0x6
SCSI host 0 abort (pid 144) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
(scsi0:0:6:0) Reset called, scb 0, flags 0x16
(scsi0:0:6:0) Bus Device reset, scb flags 0x16, Data-In phase
(scsi0:0:6:0) SCSISIGI 0x44, SEQADDR 0x10a, SSTAT0 0x0, SSTAT1 0x2
(scsi0:0:6:0) Queueing device reset command.
(scsi0:-1:-1:-1) 0 commands found and queued for completion.
(scsi0:0:6:0) Bus device reset mailed.
(scsi0:0:6:-1) Reset device, active_scb 0
(scsi0:0:6:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:6:-1) Cleaning QINFIFO.
(scsi0:0:6:-1) Cleaning waiting_scbs.
(scsi0:0:6:-1) Cleaning waiting for selection list.
(scsi0:0:6:-1) Cleaning disconnected scbs list.
(scsi0:0:6:-1) Bus Device Reset delivered.
(scsi0:0:6:0) Aborting scb 0
(scsi0:0:6:0) Aborting scb 1
(scsi0:-1:-1:-1) 2 commands found and queued for completion.
SCSI host 0 channel 0 reset (pid 144) timed out - trying harder
SCSI bus is being reset for host 0 channel 0.
(scsi0:0:6:0) Reset called, scb 0, flags 0x6
(scsi0:0:-1:-1) Reset channel called, will initiate reset.
(scsi0:0:-1:-1) Resetting currently active channel.
(scsi0:0:-1:-1) Channel reset
(scsi0:0:-1:-1) Reset device, active_scb 0
(scsi0:0:0:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:1:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:2:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:3:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:4:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:5:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:6:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:-1:-1) Cleaning QINFIFO.
(scsi0:0:-1:-1) Cleaning waiting_scbs.
(scsi0:0:-1:-1) Cleaning waiting for selection list.
(scsi0:0:-1:-1) Cleaning disconnected scbs list.
(scsi0:0:6:0) Aborting scb 0
(scsi0:0:6:0) Aborting scb 1
(scsi0:-1:-1:-1) 2 commands found and queued for completion.
SCSI host 0 abort (pid 144) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
(scsi0:0:6:0) Reset called, scb 0, flags 0x6
(scsi0:0:6:0) Bus Device reset, scb flags 0x6, Command phase
(scsi0:0:6:0) SCSISIGI 0x84, SEQADDR 0x14d, SSTAT0 0x7, SSTAT1 0x2
(scsi0:0:6:0) Queueing device reset command.
(scsi0:-1:-1:-1) 0 commands found and queued for completion.
(scsi0:0:6:0) Bus device reset mailed.
(scsi0:0:6:-1) Reset device, active_scb 0
(scsi0:0:6:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:6:-1) Cleaning QINFIFO.
(scsi0:0:6:-1) Cleaning waiting_scbs.
(scsi0:0:6:-1) Cleaning waiting for selection list.
(scsi0:0:6:-1) Cleaning disconnected scbs list.
(scsi0:0:6:-1) Bus Device Reset delivered.
(scsi0:0:6:0) Aborting scb 0
(scsi0:0:6:0) Aborting scb 1
(scsi0:-1:-1:-1) 2 commands found and queued for completion.
SCSI host 0 channel 0 reset (pid 144) timed out - trying harder
SCSI bus is being reset for host 0 channel 0.
(scsi0:0:6:0) Reset called, scb 0, flags 0x6
(scsi0:0:-1:-1) Reset channel called, will initiate reset.
(scsi0:0:-1:-1) Resetting currently active channel.
(scsi0:0:-1:-1) Channel reset
(scsi0:0:-1:-1) Reset device, active_scb 0
(scsi0:0:0:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:1:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:2:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:3:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:4:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:5:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:6:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:-1:-1) Cleaning QINFIFO.
(scsi0:0:-1:-1) Cleaning waiting_scbs.
(scsi0:0:-1:-1) Cleaning waiting for selection list.
(scsi0:0:-1:-1) Cleaning disconnected scbs list.
(scsi0:0:6:0) Aborting scb 0
(scsi0:0:6:0) Aborting scb 1
(scsi0:-1:-1:-1) 2 commands found and queued for completion.
SCSI host 0 abort (pid 144) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
(scsi0:0:6:0) Reset called, scb 0, flags 0x6
(scsi0:0:6:0) Bus Device reset, scb flags 0x6, Data-In phase
(scsi0:0:6:0) SCSISIGI 0x44, SEQADDR 0x109, SSTAT0 0x0, SSTAT1 0x2
(scsi0:0:6:0) Queueing device reset command.
(scsi0:-1:-1:-1) 0 commands found and queued for completion.
(scsi0:0:6:0) Bus device reset mailed.
(scsi0:0:6:-1) Reset device, active_scb 0
(scsi0:0:6:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:6:-1) Cleaning QINFIFO.
(scsi0:0:6:-1) Cleaning waiting_scbs.
(scsi0:0:6:-1) Cleaning waiting for selection list.
(scsi0:0:6:-1) Cleaning disconnected scbs list.
(scsi0:0:6:-1) Bus Device Reset delivered.
(scsi0:0:6:0) Aborting scb 0
(scsi0:0:6:0) Aborting scb 1
(scsi0:-1:-1:-1) 2 commands found and queued for completion.
SCSI host 0 channel 0 reset (pid 144) timed out - trying harder
SCSI bus is being reset for host 0 channel 0.
(scsi0:0:6:0) Reset called, scb 0, flags 0x6
(scsi0:0:-1:-1) Reset channel called, will initiate reset.
(scsi0:0:-1:-1) Resetting currently active channel.
(scsi0:0:-1:-1) Channel reset
(scsi0:0:-1:-1) Reset device, active_scb 0
(scsi0:0:0:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:1:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:2:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:3:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:4:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:5:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:6:-1) Cleaning up status information and delayed_scbs.
(scsi0:0:-1:-1) Cleaning QINFIFO.
(scsi0:0:-1:-1) Cleaning waiting_scbs.
(scsi0:0:-1:-1) Cleaning waiting for selection list.
(scsi0:0:-1:-1) Cleaning disconnected scbs list.
(scsi0:0:6:0) Aborting scb 0
(scsi0:0:6:0) Aborting scb 1
(scsi0:-1:-1:-1) 2 commands found and queued for completion.
scsi : aborting command due to timeout : pid 145, scsi0, channel 0, id 5, 
lun 0 Mode Sense 00 2a 00 80 00
(scsi0:0:5:0) Aborting scb 0, flags 0x6
(scsi0:0:5:0) SCB found on waiting list and aborted.
(scsi0:0:5:0) Aborting scb 0
(scsi0:-1:-1:-1) 1 commands found and queued for completion.
sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray

---

This is the /proc/scsi/scsi file after I killed the insmod.

---

Attached devices:
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: RICOH    Model: MP6200S          Rev: 2.20
  Type:   CD-ROM                           ANSI SCSI revision: 02

---

This is the /proc/scsi/aic7xxx file after I killed the insmod.

---

Adaptec AIC7xxx driver version: 5.1.20/3.2.4
Compile Options:
  TCQ Enabled By Default : Disabled
  AIC7XXX_PROC_STATS     : Enabled
  AIC7XXX_RESET_DELAY    : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7850 SCSI host adapter
                           Narrow Controller
    PCI MMAPed I/O Base: 0xfebfb000
Adapter SEEPROM Config: SEEPROM not found, using defaults.
      Adaptec SCSI BIOS: Disabled
                    IRQ: 10
                   SCBs: Active 0, Max Active 1,
                         Allocated 15, HW 3, Page 255
             Interrupts: 17094
      BIOS Control Word: 0x0000
   Adapter Control Word: 0x0000
   Extended Translation: Disabled
Disconnect Enable Flags: 0x00ff
Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:5:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(0/0/0/0), goal(0/0/0/0), user(25/15/0/0)
  Total transfers 0 (0 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       0       0       0       0       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0

---

If  you require any more information don't hesitate to ask.

Once, I solve this issue and test the scanner software I have, I can finally 
kick M$ software off my PC.

TIA

Richard Mottershead

P.S. It works fine under Windows 95 (had to get that one in)


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message




More information about the aic7xxx mailing list