*BSD News Article 86716


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.alt.net!newspost1.alt.net!jdr
From: jdr@magpage.com (Jim Rosemary)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.1.5 doesn't see the 2940U and more
Date: 11 Jan 1997 23:07:38 GMT
Organization: The Magnetic Page [302] 651-WRLD
Lines: 37
Message-ID: <5b96fq$4uj@tofu.alt.net>
References: <01bbfe2a$6e910560$99a9bacd@#mp-lv>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33996

In article <01bbfe2a$6e910560$99a9bacd@#mp-lv>,
Rick Verhaalen <rickver@jci.com> wrote:
>On a Compaq Deskpro 6000 with a 2940U the ahc0 driver is never loaded and

It's actually the ahc1 driver you want.

>no PCI devices shown in the view mode of config. The 2.1.6 boot floppy will
>see the PCI bus but I would like to use the 2.1.5 CD.  Also the CD on the
>secondary IDE port (irq 15, I/O 170 is not detected).  Any ideas?  I'm
>about ready to download 2.1.6 to my DOS partition and install from there.

The 2.1.6 boot.flp will allow you to install the 2.1.5 CD if you change
the version label in "options" in the install program. You will then
have a 2.1.5 kernel, which doesn't seem to like to 2940. This can
be corrected. After installing freebsd and booting from the IDE
hard drive, go to /usr/src/sys/pci and edit aic7870.c. Change
the line
#define PCI_DEVICE_ID_ADAPTEC_2940U 0x81789004ul
to
#define PCI_DEVICE_ID_ADAPTEC_2940U 0x61789004ul

Add ahc1 to the kernel config file in /usr/src/sys/i386/conf.
Rebuild the kernel (instructions for this are in 'The Complete
FreeBSD', which comes with the CD's from Walnut Creek).

Everything should then work. Have fun!

-Jim

PS I'm not sure if this 'fix' will bring on other problems, so
I posted a question about it earlier today. You might want to
see if anything appears on that thread.
 

>