snapscan and aic7xxx driver don't work together

Ben Stanley bds02 at uow.edu.au
Sun Jul 1 19:40:29 PDT 2001


Hi,

I asked Justin Gibbs a question about this, and then figured out where 
this list was. so I'll bother the list with this instead of just Justin.

I have an Acer Prisa 620s scanner, which works fine with an Iomega Zip 
Zoom scsi card (aha152x driver). However, when I installed an AIC-7850 
SCSI card, I found that things didn't work with the new aic7xxx driver, 
but do work with the aic7xxx_old driver.

Justin asked me to upgrade to the newest revision of the driver, and 
then asked a few questions (see end). Here's the results.

With the aic7xxx driver on linux-2.4.4-aic7xxx-6.1.13 and aic7xxx=verbose,
upon loading the scsi_hostadapter module I get

Jul 1 19:36:34 dragon kernel: SCSI subsystem driver Revision: 1.00
Jul 1 19:36:35 dragon kernel: PCI: Found IRQ 9 for device 00:0c.0
Jul 1 19:36:35 dragon kernel: IRQ routing conflict in pirq table for 
device 00:0c.0
Jul 1 19:36:35 dragon kernel: ahc_pci:0:12:0: Reading SEEPROM...done.
Jul 1 19:36:35 dragon kernel: ahc_pci:0:12:0: internal 50 cable not present
Jul 1 19:36:35 dragon kernel: ahc_pci:0:12:0: external cable not present
Jul 1 19:36:35 dragon kernel: ahc_pci:0:12:0: BIOS eeprom not present
Jul 1 19:36:35 dragon kernel: ahc_pci:0:12:0: Low byte termination Enabled
Jul 1 19:36:35 dragon kernel: ahc_pci:0:12:0: Downloading Sequencer 
Program... 443 instructions downloaded
Jul 1 19:36:35 dragon kernel: scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI  
HBA DRIVER, Rev 6.1.13
Jul 1 19:36:35 dragon kernel: <Adaptec aic7850 SCSI adapter>
Jul 1 19:36:35 dragon kernel:         aic7850: Single Channel A, SCSI  
Id=7, 3/255 SCBs
Jul 1 19:36:35 dragon kernel:
Jul 1 19:36:35 dragon kernel: (scsi0:A:2:0): Sending SDTR period 19,  
offset f
Jul 1 19:36:35 dragon kernel: (scsi0:A:2:0): refuses synchronous  
negotiation. Using asynchronous transfers
Jul 1 19:36:35 dragon kernel:   Vendor: Color     Model: 
FlatbedScanner_9  Rev: 0117
Jul 1 19:36:35 dragon kernel:   Type:   Scanner                      
ANSI SCSI revision: 02
Jul 1 19:36:36 dragon kernel: (scsi0:A:5:0): Sending SDTR period 19, 
offset f
Jul 1 19:36:36 dragon kernel: (scsi0:A:5:0): refuses synchronous 
negotiation. Using asynchronous transfers
Jul 1 19:36:36 dragon kernel:   Vendor: IOMEGA    Model: ZIP 100         
  Rev: D.13
Jul 1 19:36:36 dragon kernel:   Type:   Direct-Access                    
  ANSI SCSI revision: 02

The scanner refuses to operate properly with this driver, although the
scanner will initialise itself and did a preview the first time I tried.
I could not repeat the preview operation successfully; all further
attempts resulted in io errors.

With the aic7xxx_old driver on linux-2.4.4-aic7xxx-6.1.13 and 
aic7xxx=verbose, upon loading the scsi_hostadapter module I get

Jul 1 20:18:18 dragon kernel: PCI: Enabling device 00:0c.0 (0006 -> 0007)
Jul 1 20:18:18 dragon kernel: PCI: Found IRQ 9 for device 00:0c.0
Jul 1 20:18:18 dragon kernel: IRQ routing conflict in pirq table for
device 00:0c.0
Jul 1 20:18:18 dragon kernel: (scsi0) <Adaptec AIC-7850 SCSI host
adapter> found at PCI 0/12/0
Jul 1 20:18:18 dragon kernel: (scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs
Jul 1 20:18:18 dragon kernel: (scsi0) Cables present (Int-50 NO, Ext-50 NO)
Jul 1 20:18:18 dragon kernel: (scsi0) Downloading sequencer code... 415
instructions downloaded
Jul 1 20:18:18 dragon kernel: scsi0 : Adaptec AHA274x/284x/294x
(EISA/VLB/PCI-Fast SCSI) 5.2.1/5.2.0
Jul 1 20:18:18 dragon kernel: <Adaptec AIC-7850 SCSI host adapter>
Jul 1 20:18:22 dragon kernel: Vendor: Color Model:
FlatbedScanner_9 Rev: 0117
Jul 1 20:18:22 dragon kernel: Type: Scanner
ANSI SCSI revision: 02
Jul 1 20:18:22 dragon kernel: Detected scsi generic sg0 at scsi0,
channel 0, id 2, lun 0, type 6
Jul 1 20:18:23 dragon kernel: Vendor: IOMEGA Model: ZIP 100
Rev: D.13
Jul 1 20:18:23 dragon kernel: Type: Direct-Access
ANSI SCSI revision: 02

using aic7xxx_old the scanner works flawlessly.

I have no cables plugged into the internal 50 pin socket, and I have an
external cable plugged in to the back. Strangely neither driver detects
this...

Justin T. Gibbs wrote:

 >What does the old driver list as the sync rate for the scanner?
 >With the new driver, what is your bus settle delay?

Um... how do I find these out? I couldn't figure out how to use the
verbose option to give me any useful info here.

Ben.



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