[Lustre-discuss] lustre-discuss-list - 10 new messages in 5 topics - digest

Oleg Drokin Oleg.Drokin at Sun.COM
Thu Jul 23 08:23:55 PDT 2009


Hello!

On Jul 23, 2009, at 10:45 AM, Ettore Enrico Delfino Ligorio wrote:

> ln -s ../../lustre-1.8.0.1/lustre/kernel_patches/patches/ .
> ln -s ../../lustre-1.8.0.1/lustre/kernel_patches/series/2.6.18- 
> vanilla.series
> series
> quilt -av push

> rm series ; rm patches;
> ln -s ../../lustre-1.8.0.1/ldiskfs/kernel_patches/series/ 
> ldiskfs-2.6.18-vanilla.series
> series
> ln -s ../../lustre-1.8.0.1/ldiskfs/kernel_patches/patches/ .
> quilt -av push

No need to apply ldiskfs patches to the kernel, this is a wrong step  
you need to omit.

> make menuconfig
> # i marked ext3 and jbd
> rm /boot/vmlinuz-2.6.18.8-xen
> rm /boot/System.map-2.6.18.8-xen
> rm -fr /lib/modules/2.6.18.8-xen
> make
> make modules
> make modules_install install
> mkinitramfs -o /boot/initrd.img-2.6.18.8-xen 2.6.18.8-xen
>
> update-grub
> # i'm using debian to this setup
>
> This doesn't worked for me.

What was the error or how it did not work?
I did not try with xen-distruibutes 2.6.18-8, I only tried with centos  
kernels.

> I also tried to change the order of application of patches.
>  - First ldiskfs then lustre
> The Dom0 boots, but there is a problem with ext3 as fallow:
>
> ext3:Unknown symbol c_move_locked
> ext3:Unknown symbol d_rehash_cond
> modprobe: FATAL: Error inserting ext3
> (/lib/modules/2.6.18-8-xen/kernel/fs/ext3/ext3.ko) Unknown symbol in
> module or unknow parameter

Well, I guess at at any time quilt only applies one series file.
If you apply ldiskfs first, then other symbols are not exported.

>  - Only Lustre.
> I have the fallowing error doing make to compile the kernel
>
> CC      fs/jbd/checkpoint.o
> fs/jbd/checkpoint.c: In function ‘log_do_checkpoint’:
> fs/jbd/checkpoint.c:352: error: too few arguments to function  
> ‘__process_buffer’
> make[2]: *** [fs/jbd/checkpoint.o] Error 1
> make[1]: *** [fs/jbd] Error 2
> make: *** [fs] Error 2

Hm, I have not looked at them xen-supplied kernel might have  
sufficiently
diverged from mainline (or centos kernel).

> The lustre kernel rpm, is working very well in machines with linux
> distributions based on RedHat Enterprise 5, but, it does not boot up
> as dom0.

Well, we do not build our kernel rpms with XEN dom0 support.
If you need dom0 support, get redhat kernel we support,
patch it, use our supplied config, but enable various XEN features in  
it.
That should work.

> Please, can you give any direction to make it work? Does Citrix
> XenServer or Sun xVm supports Lustre 1.8?

I don't know. Anything that can work with kernels supported by us
(which includes rebuilding those services from scratch, not necessary  
pre-built
binaries) should work.

Bye,
     Oleg



More information about the lustre-discuss mailing list