[Unionfs] RE: Unable to load aacraid when kernel is compiled with unionfs

Ngo, Andrew andrew.ngo at lmco.com
Fri Jun 27 13:04:46 EDT 2008


 
The /usr/src/linux/Makefile has the following entry:
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 18
EXTRAVERSION = -8.el5 # Note that the original value of this entry is
-prep, and I changed it to -8.el5

The `uname -a` command returns 2.6.18-8.el5

Is there any other way to look at a kernel label, or the name of a
kernel?

Here is the sequence of my installation:
1.  Install RHEL5.0 image
2.  Install kernel source (kernel-2.6.18-8.el5.src.rpm - A RHEL rpm)
3.  Compile kernel
4.  Compile drivers into the kernel (one of the drivers is
core-iscsi-v.1.6.2.9 which make the iscsi_initiator_mod.ko modules)
5.  Install the image to the production machines
6.  On certain machine where hardware is applicable, perform "moprobe
iscsi_initiator_mod" command.

Thanks in advance for your help.

Andy Ngo


-----Original Message-----
From: Dave Quigley [mailto:dpquigl at tycho.nsa.gov] 
Sent: Friday, June 27, 2008 10:27 AM
To: Ngo, Andrew
Cc: unionfs at fsl.cs.sunysb.edu; Johnson, Je
Subject: Re: [Unionfs] RE: Unable to load aacraid when kernel is
compiled with unionfs

The issue here is that you are trying to load a module into a kernel it
wasn't built for. I doubt your unionfs compiled kernel is labeled
2.6.18-8.el5 so what it seems like is for some odd reason modprobe is
looking at the wrong modules and trying to install them. What is the
name of your unionfs kernel. Did you install the modules when you
installed your kernel? 

Dave

On Thu, 2008-06-26 at 20:20 -0400, Ngo, Andrew wrote:
> Hi,
>  
> I am still having problem of loading certain kernel modules when 
> unionfs is compiled into the kernel.
>  
> My system is RHEL5.0, kernel is 2.6.18-8.el5.  When patched with 
> unionfs 2.3.3 (source 
>
:http://www.fsl.cs.sunysb.edu/pipermail/unionfs/attachments/20080611/12d
89889/unionfs-2.3.3_for_2.6.18.8.centos5.diff-0003.bin), certain modules
such as iscsi_initiator_mod, ics625, wrifx modules can not be loaded
into kernel.
>  
> For example: when attempting loading the iscsi_initiator_mod with the 
> "modprobe iscsi_initiator_mod" command,  Error "FATAL: Error inserting

> iscsi_initiator_mod
>
(/lib/modules/2.6.18-8.el5/kernel/drivers/scsi/iscsi_initiator_mod.ko):
Invalid module format" occurred.
>  
> The /var/log/messages added a new entry:"kernel: iscsi_initiator_mod 
> disagrees about version of symbol struct_mod"
>  
> When I compile the kernel without patching with the above unionfs 
> patch, all the modules can be successfully loaded into kernel.
>  
> Does the above unionfs patch really mean to be used by the kernel
> 2.6.18-8.el5 (RHEL5.0)? or is it designed to be used with  a slightly 
> different version of 2.6.18-8?  Please confirm.
>  
> Also, if anyone out there know how to resolve my kernel loading 
> problem, please advise.  Your help is greatly appreciated.  Thanks...
>  
> Andy Ngo
>  
>  
> 
> 
> ______________________________________________________________________
> From: Ngo, Andrew
> Sent: Thursday, June 12, 2008 10:53 PM
> To: 'unionfs at mail.fsl.cs.sunysb.edu'
> Cc: Ngo, Andrew; Johnson, Je
> Subject: Unable to load aacraid when kernel is compiled with unionfs
> 
> 
> 
> Hi,
>  
> My sytem (RHEL5, kernel 2.6.18-8.el5) used to be able to install the 
> aacraid.ko module, but has failed to do so ever since I  compiled 
> unionfs (2.3.3) as module in the kernel.
>  
> The "modprobe aacraid" command generated error: "FATAL: Error 
> inserting aacraid (/lib/modules/2.6.18-8.el5/updates/aacraid.ko):
> Invalid module format".
>  
> The /var/log/message generated error: "aacraid: disagree about version

> of symbol struct_module"
>  
> Has anyone seen this before?  Any help/suggestion is greatly 
> appreciated.
>  
> Andy Ngo
> _______________________________________________
> unionfs mailing list: http://unionfs.filesystems.org/ 
> unionfs at mail.fsl.cs.sunysb.edu 
> http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs



More information about the unionfs mailing list