[Lustre-discuss] Can't build sun rdac driver against lustre source.

Brock Palen brockp at umich.edu
Fri Jul 25 11:03:12 PDT 2008


Hi I ran into two problems, The first was easy to resolve:

/bin/sh: scripts/genksyms/genksyms: No such file or directory
/bin/sh: scripts/mod/modpost: No such file or directory

I just had to copy  genksyms and mod from
linux-2.6.9-67.0.7.EL_lustre.1.6.5.1 to linux-2.6.9-67.0.7.EL_lustre. 
1.6.5.1-obj

I figured you should be aware of this, if its a problem with sun's  
build system for their multipath driver or lustre source package.   
This is on RHEL4.  Using the lustre RPM's form sun's website.


The next problem I am stuck on is:

In file included from mppLnx26_spinlock_size.c:51:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header  
included in userspace
mppLnx26_spinlock_size.c: In function `main':
mppLnx26_spinlock_size.c:102: error: `spinlock_t' undeclared (first  
use in this function)
mppLnx26_spinlock_size.c:102: error: (Each undeclared identifier is  
reported only once
mppLnx26_spinlock_size.c:102: error: for each function it appears in.)
make: *** [mppLnx_Spinlock_Size] Error 1


I guess what I should really ask is,
Has anyone ever made multipath work with a sun 2540 array for use as  
the MDS/MGS file system?

Brock Palen
www.umich.edu/~brockp
Center for Advanced Computing
brockp at umich.edu
(734)936-1985






More information about the lustre-discuss mailing list