[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: build scsi kernel module for other kernel



On Thu, 2006-03-02 at 11:02 -0500, FM wrote:
> Hello,
> I'm using VMWARE esx with RHEL4 as a guest
> 
> I have buslogic kernel module for U2 kernel but not for the the latest
> security kernel update.
> 
> I also have the buslogic source (provided by VMWARE).
> 
> Is it possible to build the scsi kernel for the 2.6.9-22.0.2 (I
> installed the update but I cannot reboot :) ) from the U2default kernel ?


put the source in it's own directory
make a Makefile that looks like


obj-m += BusLogic.c

(or whatever the .c file is called)

and then do 

make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` modules

and .. voila 

(you do need the kernel-devel package installed for this)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]