Bug 23314

Summary: [aic] aic driver fails to detect Adaptec 1520B unless PnP is disabled on the adapter
Product: Base System Reporter: jmcoopr <jmcoopr>
Component: kernAssignee: freebsd-scsi (Nobody) <scsi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-RELEASE   
Hardware: Any   
OS: Any   

Description jmcoopr 2000-12-06 01:30:01 UTC
	aic driver fails to detect Adaptec 1520B adapter with adapter BIOS set to default
	configuration.  Disabling PnP mode in the adapter BIOS and manually reserving
	IRQ 11 in the motherboard BIOS causes the aic driver to detect the adapter.

Fix: 

The work-around is to disable the Adaptec 1520B's PnP feature in its BIOS using it's
	BIOS utility (press Ctrl-A when the Adaptec copyright screen comes up) and reserve
	IRQ 11 for the adapter in the PCI/PNP section of the configuration program for the
	motherboard BIOS.
How-To-Repeat: 
	Merely set the Adaptec 1520B to its default configuration in my environment and the
	aic driver will fail to detect 100% of the time.  All other SCSI drivers have been
	removed from the kernel with no effect (other than reduced kernel size).
Comment 1 jmcoopr 2000-12-28 21:54:27 UTC
Problem also exists (with identical symptoms/work-around) on my upgraded
machine under FreeBSD 4.2-STABLE i386

Environment
        CPU:  AMD Duron 700
        RAM:  64 Megs (133 mHz)
        Motherboard:  DFI AK74-EC, Rev. A2
        Motherobard BIOS:  Award v.6.0 (DFI 11/03/2000)
        SCSI Adapter:  Adaptec 1520B
        SCSI Adapter BIOS:  v. 1.13S (the very latest)
        Connections to Adapter:  AIWA TD-20001 Travan/NS-20 SCSI-2 Tape
Drive

Notes:
        I have an identical SCSI setup on my IBM OS/2 Warp 4.0
workstation.  I note that under OS/2's rmview /dc, the adapter ID's
itself as a 1530--could the driver be fooled by this?

Nice to have:
        Support for using a DMA channel with card (it can use 1-7) would
be nice.
Comment 2 jmcoopr 2001-06-27 18:56:48 UTC
I believe a patch to aic_isa.c has been made to -CURRENT that might fix 
things so that PnP recognizes my Adaptec (which ID's as a 1530 under 
PnP).  Unforetuneately, it's hard for me to tell as this patch hasn't 
been MFC'ed . . . :(
Comment 3 iedowse freebsd_committer freebsd_triage 2001-11-18 13:10:41 UTC
State Changed
From-To: open->feedback


Waiting for submitter to test RELENG_4 version of the changes that 
are already in -current.
Comment 4 John Merryweather Cooper 2002-08-25 15:04:53 UTC
All right, I've had to reinstall the 1520B when my AdvanSys 3030 went 
down.  Still have the same problem--PNP must be disabled in the card 
BIOS for the card to work.

jmc
Comment 5 Giorgos Keramidas freebsd_committer freebsd_triage 2002-08-26 04:12:20 UTC
State Changed
From-To: feedback->open

The problem still exists.  Reopen this.
Comment 6 John Merryweather Cooper 2004-05-28 16:14:23 UTC
First, the jmcoopr@webmail.bmi.net e-mail address is dead, please replace with coop9211@uidaho.edu.

Second, I've tested the 1520 on a recent -CURRENT and the problem still exists.

jmc
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2004-08-26 21:41:02 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-scsi

Reassign to appropriate mailing list.
Comment 8 John Merryweather Cooper 2007-11-19 19:49:11 UTC
This PR has been overtaken by events.  It relates to FreeBSD 4.x and I no longer have the hardware.  Please close.

jmc
Comment 9 Ade Lovett freebsd_committer freebsd_triage 2007-11-20 01:51:12 UTC
State Changed
From-To: open->closed

Closed at the request of submitter.