Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 1995 08:01:34 -0800 (PST)
From:      Donald Burr <d_burr@ix.netcom.com>
To:        Michael Ryan <mike@networx.ie>
Cc:        FreeBSD Support <questions@freebsd.org>
Subject:   Re: AHA-1542 boot problem
Message-ID:  <Pine.BSF.3.91.951115075845.23044B-200000@ncc-1701-d>
In-Reply-To: <ECS9511151217A@networx.ie>

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

[-- Attachment #1 --]
On Wed, 15 Nov 1995, Michael Ryan wrote:

> I have an Adaptec 1542 SCSI adapter with an external
> 1GB disk and external quad-speed CD-ROM.  I also
> have a WD1007V internal disk.  I wanted to install
> FreeBSD on the SCSI disk only.  The problem I ran into
> was if I enabled the SCSI BIOS, then FreeBSD couldn't
> talk to the adapter (see messages below).  Without the
> BIOS enabled, I can't use the SCSI disk as a boot disk.
> The interim solution I've chosen is to install the root
> partition on the WD1007V and everything else on the
> SCSI disk.  While this works fine, it means I can't install
> the SCSI components in another PC and boot FreeBSD
> because I don't have a root partition.
> [...]
> The error messages I got from FreeBSD when the BIOS
> was enabled are as follows:
> 
> aha0: reading board settings, dma=5 int=11 (bus speed defaulted)
> aha0: aha_cmd, cmd/data port full
> aha0 at 0x330-0x333 irq 11 drq 5 on isa
> aha0 waiting for scsi devices to settle
> probe0(aha0:0:0): timed out
> adapter not taking commands... frozen?
> Debugger ("aha1542") called
> /* The last three messages are repeated here */
> aha0: MBO not free
> 
> The 1542 is of recent production (chips labelled 1995).  It
> has what I'd call a SCSI-2 connector for the external
> devices.  The CD-ROM is a SCSI-2 device.  I'm not sure
> about the disk.

Aha, there's the problem.  Looks like you have an Adaptec 1542CP, their 
new Plug-and-Play flavor of the 1542.  The 1542* series (including older 
C, CF's, and the new CP) have a few configuration variables that need to 
be played with in order to get things to work right, plus the Plug and 
Play stuff builtin to the 1542CP throw a monkey wrench into the works as 
well.

You must've missed my recent posting to the net and the lists, detailing 
how I solved this problem, and got everything working happily.  Well, for 
your benefit, here it is again.

Let me know if you have any problems or whatnot.

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.physics.ucsb.edu/~dburr
PGP Public Key available by request (send e-mail) or 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.

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