Operating System - Linux
1826469 Members
3502 Online
109692 Solutions
New Discussion

kernel building on RH 2.1AS

 
Rick Garland
Honored Contributor

kernel building on RH 2.1AS

Hi all:

Working with RH Linux 2.1 Application Server (AS) on Dell Poweredge
machine.
Part of this hardware includes an HBA FC card so I can hook up to the
SAN and do backups.

The chipset for this HW is Qlogic 2200.

I have downloaded the driver and followed the directions mostly (not
all of the directions apply or have the specifics included)

Per the README file on installation of this driver, I have modified
the Makefile the the kernel scsi directory and modified the Config.in
file under the kernel scsi directory.

When I do the make menuconfig I see what I need to see and make the
appropriate selections. On the 'make dep' command I get the following:

make[6]: Leaving directory `/usr/src/linux-2.4.9-e.3/drivers/scsi/isp'
make -C qla2xxx fastdep
make[6]: Entering directory
`/usr/src/linux-2.4.9-e.3/drivers/scsi/qla2xxx'
make[6]: *** No rule to make target `fastdep'. Stop.
make[6]: Leaving directory
`/usr/src/linux-2.4.9-e.3/drivers/scsi/qla2xxx'
make[5]: *** [_sfdep_qla2xxx] Error 2
make[5]: Leaving directory `/usr/src/linux-2.4.9-e.3/drivers/scsi'
make[4]: *** [fastdep] Error 2
make[4]: Leaving directory `/usr/src/linux-2.4.9-e.3/drivers/scsi'
make[3]: *** [_sfdep_scsi] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.9-e.3/drivers'
make[2]: *** [fastdep] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.9-e.3/drivers'
make[1]: *** [_sfdep_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.9-e.3'
make: *** [dep-files] Error 2

Looks like I may need some modification(s) to the files I listed
above, only problem is I did what the README said - what other
modifications may be needed is not documentated (Or is it documentated
somewhere else?)

Anybody have any ideas?

Many thanks
2 REPLIES 2
Paul R. Dittrich
Esteemed Contributor

Re: kernel building on RH 2.1AS

I always start with `make clean` and/or `make mrproper` so no old garbage is left behind.
Then try `make all` and see what happens.

HTH,
Paul
Garry Ferguson
Frequent Advisor

Re: kernel building on RH 2.1AS

My only comment is
"make mrproper" is very
dangerous IMHO! It wipes out all sorts of stuff. Use with care or read it up fully first.
Garry