*BSD News Article 86767


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!ames!agate!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!news.sprintlink.net!news-hub.sprintlink.net!news.sprintlink.net!news-pen-16.sprintlink.net!news.gol.com!gol2!pinboard.com!Kurt
Subject: Adaptec 2940 vs 2940U
Newsgroups: comp.unix.bsd.freebsd.misc
From: Kurt@pinboard.com
Date: Thu, 23 Jan 97 00:01:33 JST
Message-ID: <8759484801@pinboard.com>
Organization: PINBOARD - it's where you go for e-mail solutions
Lines: 48
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34038


---
 Subj:   Adaptec 2940 vs 2940U
---

 Om> Hi, I currently have FreeBSD 2.1.5 running on a pentium 100 with an
 Om> Adaptec 2940 SCSI controller.  I'm getting a second machine and want
 Om> to ensure that it works well with FreeBSD (I'll probably install 2.1.6
 Om> on it). Am I better off with the Adaptec 2940 controller for this
 Om> machine, or  will the Adapect 2940U controller (ultra?) work just as
 Om> well?

I just did something similar yesterday. In 2.1.5, a file needs a fix for
the AHA2940U controller, whereas I'm told 2.1.6 works 'out-of-the-box'.

What I did:

1) start the install from a 2.1.6 floppy

2) change the options to install the 2.1.5-RELEASE (because this is the
   CD I used)

3) install everything, BUT do not hit ENTER at the end of the install,
   DO NOT BOOT YET!

4) switch to the F4-console (ALT + F4)

5) change the file /usr/src/sys/pci/aic7870.c
   old  #define PCI_DEVICE_ID_ADAPTEC2940U 0x81789004ul
   new  #define PCI_DEVICE_ID_ADAPTEC2940U 0x61789004ul

   (only one character needs to be changed from 8 to 6)

6) make a new kernel with
        controller ahc1
        controller scbus0 at ahc1
   and compile it (AHA2940U uses ahc1, not ahc0)

7) now switch back to the F1-console and hit ENTER for the reboot

So the trick is to make the new kernel before you complete the install.

Good luck.

Kurt

... Kurt@pinboard.com * 22 Jan 97 14:25:59 (JST) * http://www.pinboard.com