Koozali.org: home of the SME Server

Notes on Adaptec 7901 installation with SME 6

rcoup

Notes on Adaptec 7901 installation with SME 6
« on: September 27, 2004, 03:43:34 PM »
Hi All,

Just recording my notes from installing SME to an Adaptec PCI-X AIC-7901 SCSI setup (IBM x206 server).

First, disable HostRAID in the SCSI BIOS.

Second, get the sources for the Adaptec drivers from www.adaptec.com (U320 non-HostRAID Linux Driver v2.0.2 Source Code).

Third, get the packages from http://mirror.contribs.org/smeserver/contribs/saco/contrib/devtools_SME6.0/
and install them. (I only ended up using autoconf, automake, cpp, gcc, glibc-devel, glibc-kernheaders, kernel-source and m4)

Fourth, replace the contents of /usr/src/linux-2.4.20-18.7/drivers/scsi/aic7xxx with the source from Adaptec. The existing code crashed with a kernel panic when the module was loading.

Fifth, follow the instructions from http://www.comnetel.com/bootdisk.htm . Because the new driver is a lot bigger, you'll need to remove some other drivers from your modules and the associated configuration files (I removed aic7xxx because i only wanted aic79xx), or it won't fit back into the boot.img file.

Sixth, copy the ks_stub.cfg file into the boot.img (disk.dir) as ks.cfg or SME will complain.

Seventh, reboot and enjoy.

Hope this helps someone else.
Rob :)

rcoup

Notes on Adaptec 7901 installation with SME 6
« Reply #1 on: September 27, 2004, 04:33:01 PM »
Whoops - I spoke too soon.

After installation was finished, I reboot and it panics again. Thinking about it, its fairly obvious that I need to recompile the SMP/UP kernels so that they are using the new code from Adaptec.

I know there is a good guide to installing a new kernel from RPMs - is there one for how to compile one into RPMs?

Will replacing the kernel RPMs on the ISO in e-smith\RPMS do the trick or do I need to go further than that?

Thanks,

Rob :)