Michael,
Pete and I checked in a bunch of fixes to get pvfs2 kmod to work
on recent kernels.. I am not sure if they were checked into pete's osd trunk
or to the main CVS head.. Pete?
If you are able to build pvfs2 kmod from HEAD without any compile time warnings
it should work just fine after loading..there have been a few dcache
related bugs that Phil and Sam have nailed down and hence it is
probably a good idea to try CVS head anyways.
thanks,
Murali

> Since pvfs2.7.0.tar.gz as downloadable from
> ftp://ftp.parl.clemson.edu/pub/pvfs2/pvfs-2.7.0.tar.gz does not compile
> on redhat enterprise 4
> systems, make: *** No rule to make target
> `/usr/include/bits/syslog-path.h', needed by `src/server/unexpected.d'.
> Stop.
> I checked out the more recent 2.7.1pre sourcetree from CVS.
>
> It does seem to compile just fine, however when I attempt to compile the
> kernel-module, it complains because of the missing
> function src/kernel/linux-2.6/devpvfs2-req.c:
> class_device_destroy(pvfs2_dev_class, MKDEV(pvfs2_dev_major, 0)) and
> in consequence the module created does not load.
>
> My workaround is to edit pvfs2-config.h and take out the following
> definition:
>
> /* Define if kernel lacks device classes */
> #define HAVE_KERNEL_DEVICE_CLASSES 1
>
> After this and recompiling, the module works.
>
> Note the following warnings:
>   CC [M]  /root/pvfs2/src/kernel/linux-2.6/file.o
> /root/pvfs2/src/kernel/linux-2.6/file.c: In function `check_mapping_tree':
> /root/pvfs2/src/kernel/linux-2.6/file.c:802: warning: passing arg 1 of
> `_read_lock' from incompatible pointer type
> /root/pvfs2/src/kernel/linux-2.6/file.c:822: warning: passing arg 1 of
> `_read_unlock' from incompatible pointer type
> /root/pvfs2/src/kernel/linux-2.6/file.c: In function `locate_file_pages':
> /root/pvfs2/src/kernel/linux-2.6/file.c:894: warning: passing arg 1 of
> `_read_lock' from incompatible pointer type
> /root/pvfs2/src/kernel/linux-2.6/file.c:915: warning: passing arg 1 of
> `_read_unlock' from incompatible pointer type
> /root/pvfs2/src/kernel/linux-2.6/file.c:918: warning: passing arg 1 of
> `_read_lock' from incompatible pointer type
> /root/pvfs2/src/kernel/linux-2.6/file.c:938: warning: passing arg 1 of
> `_read_unlock' from incompatible pointer type
> /root/pvfs2/src/kernel/linux-2.6/file.c: In function `do_readv_writev':
> /root/pvfs2/src/kernel/linux-2.6/file.c:1133: warning: 'total_actual_io'
> might be used uninitialized in this function
>   CC [M]  /root/pvfs2/src/kernel/linux-2.6/inode.o
>
> On a machine with the stock 2.6.9-55smp kernel, it seems to function in
> spite of the compile time warnings,
> however another more patched kernel crashes (still need to connect
> serial console to it to capture the detail on that one)
>
> Is this a known issue?
>
> Which version of PVFS is best suited for running on RHEL4 - and what
> level of confidence do the developers have with the outcome?
>
> Michael
> _______________________________________________
> Pvfs2-users mailing list
> [email protected]
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to