PDA

View Full Version : Adaptec 2410 Raid problem


liszli
2006-04-12, 01:49 PM CDT
Dear Gurus,

This problem is not strictly Fedora related, however it may be interesting to others.
I would like to install Redhat 7.3 to a machine. It contains an Adaptec 2410SA real SATA RAID adapter. This adapter has driver for the original 7.3 kernel. (maybe 2.4.18). After installing it worked fine. The driver was aacraid.o
Later a third party installer updated the kernel to 2.4.20-28.7. After reboot it drops a message with kernel panic since unable to mount root. After some investigation the cause is the aacraid driver of both kernels does not know the 2410sa. OK, the driver must be updated, Adaptec provides the sources. Here are the steps what I did:
1. install sources, both kernel and aacraid
2. make the driver:
- make oldconfig
- make modules
Here I am now. At this point the new driver works, but I need to use the -f (force) switch when inserting this module with insmod. The insmod refuses loading the module (in case of without -f) because kernel version mismatch. (The driver has kernel version "2.4.20-28.7custom" while the updated kernel is just only "2.4.20-28.7").
My question is:
How to compile - for example - one module for a specific kernel without recompiling the whole kernel and modules ? Or more exactly why the compiler appends the word "custom" to the end ? How to get rid of this ?

Thanks a lot
Liszli