Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 1995 20:58:31 -0800 (PST)
From:      Donald Burr <d_burr@ix.netcom.com>
To:        Dave Franco <100075.2767@compuserve.com>
Cc:        Anyone <bugs@freebsd.org>
Subject:   Re: Assistance with FreeBSD and aha1542
Message-ID:  <Pine.BSF.3.91.951211204134.1943A-200000@ncc-1701-d>
In-Reply-To: <951211192521_100075.2767_EHK107-1@CompuServe.COM>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 11 Dec 1995, Dave Franco wrote:

> 1.  aha0: reading board settings dma=5, int=11  (bus speed defaulted)
> 2.  aha0: aha_cmd, cmd/data port full
> 3.  aha0: at 0x330 - 0x333 irq 11 drq 4 on isa
> 4.  aha0: waiting for SCSI devices to settle
> 5.  probe 0(aha0:0:0), timed out
> 6.  adapter not taking comands . . frozen ?!

Here is a document I posted to the list about a month ago.  It explains 
how to get an Adaptec AHA-1542CP card to work under FreeBSD 2.0.5.  Since 
the symptoms that this workaround fixes are the same as the symptoms 
you're experiencing, I think this file will be of help to you as well.  
Let me know how it works out, eh?

Donald Burr [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212
TEL (805)564-1871 / FAX 564-2315 / WWW http://www.geopages.com/WallStreet/2072
PGP Public Key available by request (send e-mail) or on Public Key Servers.
** Uphold your right to privacy - Use PGP. **

[-- Attachment #2 --]
These are the steps I took to make my Adaptec AHA-1542CP card work under
FreeBSD.

Note that, with this configuration, my system still works perfectly when
using DOS and Windows 95.

First, I disabled the Plug and Play support on the card.  This is because
I have a non-Plug-and-Play system, with lots of non-Plug-and-Play devices
("legacy" system), and I was having lots of problems getting things set
up and working under Windows 95, which insisted on trying to set things
up by itself, but was always getting things goofed up.

To do this, you have to flip one of the DIP switches on the card.  Flip
switch #1 to the "ON" (pointed AWAY from the card... I think) position.

Now, reboot and get into the card's BIOS configuration utility (press
CTRL-A when the Adaptec copyright message pops up).  Choose your card's
I/O address (only necessary if you have multiple 1542's in your system),
then choose "Configure/View Host Adapter Settings".

Most of the stuff on the first setup page should be left alone (i.e. the
efaults are OK), although you may want to try and increase the transfer
rate -- however, some systems' DMA controllers won't handle an increase.
I was able to get a small increase (up to 5.7/sec), but when I tried
running any faster, unpredictable results started setting in.

OK, from here, choose the "Advanced Configuration Options".  HERE is
where you have to fiddle with a lot of stuff to get the card to work
with FreeBSD.  Note that, when you select each option, it gives you a
list of choices, one of them has a asterisk (*) next to it.  This one
is the DEFAULT (i.e. what the card is set up with, when it comes from
the factory).

The following settings need to be changed to NON-DEFAULT settings.
EVERYTHING ELSE CAN (SHOULD?) BE LEFT AT ITS DEFAULT.

"Plug and Play SCAM Support" : Disabled
"Extended BIOS Translation for DOS Drives > 1 GByte" : Disabled
Support Removable Disks under BIOS as Fixed Disks" : Disabled (*see NOTE below)
"Dynamically Scan SCSI Bus for BIOS Devices" : Disabled
"BIOS Support for more than 2 Drives (MS-DOS(R) 5.0 and above)" : Disabled

*NOTE: I set this option to "Disabled" due to weird oddities I was experi-
encing with my SyQuest removable cartridge drive.  It MAY or MAY NOT be
necesary to change this value, to make your system work with FreeBSD.
I haven't tested it.
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951211204134.1943A-200000>