I am having a strange problem building a module for the Qlogic HBA 4010C
(http://www.qlogic.com/support/os_detail.asp?productid=341&osid=125) I have
included their instructions below as an example of what they suggest in order
to get the HBA to work.
However I have tried this and a couple other options and still get the same
error when I try to insmod the module;
/usr/src/linux/drivers/scsi/qla4xxx # insmod ./qla4010.o
./qla4010.o: kernel-module version mismatch
./qla4010.o was compiled for kernel version 2.4.19-4GB
while this kernel is version 2.4.19-64GB-SMP.
I have gone to the effort of building my own kernel from the sources and made
sure to include large mem support and SMP. But seeing as I am no kernel
hacker I was hopeing someone could have a look and see what I am doing wrong.
The Makefile I am using is the standard Qlogic one etc. I have mailed them as
well and hope to get a response as well, but if any one has any advice it
would be much appricated.
Thanks in advance
Proud Member of ILUG! Are You?
----- Snip Their Instructions --
3. To ensure kernel version synchronization between the driver and
running kernel, type the following:
# cd /usr/src/linux
# make mrproper (completely clean the kernel tree)
# cp /boot/vmlinuz.config .config (copy the new config)
# make oldconfig (update configuration using .config)
# make dep (rebuild the dependencies)
# make modules (build the modules)
4. Using the diskette you created in Section 4, copy the source file
qla4xxxsrc-v3.xx.tgz to the qla4xxx directory. Follow these steps:
# mkdir /usr/src/linux/drivers/scsi/qla4xxx
# cd /usr/src/linux/drivers/scsi/qla4xxx
# mcopy a:*.tgz . (the period at the end is required)
# tar -xvzf *.tgz
5. Build the Driver qla4010.o from the source code by
# make OSVER=linux
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!