<div dir="ltr">Hi,<br><br>I have compiled and used the run rdac driver and my modified makefile is attached.<br><br>The sequence I've used (perhaps not the best) is:<br><br>    - cd /lib/modules/2.6.9-67.0.7.EL_lustre.1.6.5.1smp/source/<br>
    - cp /boot/config-2.6.9-67.0.7.EL_lustre.1.6.5.1smp .config<br>    - make clean<br>    - make mrproper<br>    - make prepare-all<br><br>    - cd /tmp<br>    - tar xf <path_to_rdac_tarfile>/rdac-LINUX-09.01.B2.74-source.tar<br>
    - cd linuxrdac-09.01.B2.74/<br>    - cp <path_to_my_makefile>/Makefile_linuxrdac-09.01.B2.74 Makefile<br>    - make clean<br>    - make uninstall<br>    - make<br>    - make install<br>    - vim /boot/grub/menu.lst (initrd -> mpp)<br>
    - reboot<br><br>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.<br><br>Stuart<br><br><br><div class="gmail_quote">On Fri, Jul 25, 2008 at 11:03 AM, Brock Palen <<a href="mailto:brockp@umich.edu">brockp@umich.edu</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi I ran into two problems, The first was easy to resolve:<br>
<br>
/bin/sh: scripts/genksyms/genksyms: No such file or directory<br>
/bin/sh: scripts/mod/modpost: No such file or directory<br>
<br>
I just had to copy  genksyms and mod from<br>
linux-2.6.9-67.0.7.EL_lustre.1.6.5.1 to linux-2.6.9-67.0.7.EL_lustre.<br>
1.6.5.1-obj<br>
<br>
I figured you should be aware of this, if its a problem with sun's<br>
build system for their multipath driver or lustre source package.<br>
This is on RHEL4.  Using the lustre RPM's form sun's website.<br>
<br>
<br>
The next problem I am stuck on is:<br>
<br>
In file included from mppLnx26_spinlock_size.c:51:<br>
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header<br>
included in userspace<br>
mppLnx26_spinlock_size.c: In function `main':<br>
mppLnx26_spinlock_size.c:102: error: `spinlock_t' undeclared (first<br>
use in this function)<br>
mppLnx26_spinlock_size.c:102: error: (Each undeclared identifier is<br>
reported only once<br>
mppLnx26_spinlock_size.c:102: error: for each function it appears in.)<br>
make: *** [mppLnx_Spinlock_Size] Error 1<br>
<br>
<br>
I guess what I should really ask is,<br>
Has anyone ever made multipath work with a sun 2540 array for use as<br>
the MDS/MGS file system?<br>
<br>
Brock Palen<br>
<a href="http://www.umich.edu/%7Ebrockp" target="_blank">www.umich.edu/~brockp</a><br>
Center for Advanced Computing<br>
<a href="mailto:brockp@umich.edu">brockp@umich.edu</a><br>
(734)936-1985<br>
<br>
<br>
<br>
_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
</blockquote></div><br></div>