[Lustre-discuss] Can't build sun rdac driver against lustre source.
Stuart Marshall
stuart.l.marshall at gmail.com
Fri Jul 25 11:19:18 PDT 2008
Hi,
I have compiled and used the run rdac driver and my modified makefile is
attached.
The sequence I've used (perhaps not the best) is:
- cd /lib/modules/2.6.9-67.0.7.EL_lustre.1.6.5.1smp/source/
- cp /boot/config-2.6.9-67.0.7.EL_lustre.1.6.5.1smp .config
- make clean
- make mrproper
- make prepare-all
- cd /tmp
- tar xf <path_to_rdac_tarfile>/rdac-LINUX-09.01.B2.74-source.tar
- cd linuxrdac-09.01.B2.74/
- cp <path_to_my_makefile>/Makefile_linuxrdac-09.01.B2.74 Makefile
- make clean
- make uninstall
- make
- make install
- vim /boot/grub/menu.lst (initrd -> mpp)
- reboot
The changes in the Makefile may fix your problem. I'm using 6140 Sun arrays
and also plan to use a 2540 as the MDT soon.
Stuart
On Fri, Jul 25, 2008 at 11:03 AM, Brock Palen <brockp at umich.edu> wrote:
> 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 <http://www.umich.edu/%7Ebrockp>
> Center for Advanced Computing
> brockp at umich.edu
> (734)936-1985
>
>
>
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20080725/62825465/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile_linuxrdac-09.01.B2.74
Type: application/octet-stream
Size: 13610 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20080725/62825465/attachment.obj>
More information about the lustre-discuss
mailing list