Looks like you skipped the part about building the kernel module
(Section 5.2 in the same guide)


Kyle Schochenmaier



On Sat, Jan 14, 2012 at 5:49 AM, g_p g_p <[email protected]> wrote:
> Hello,
>
> I would like to load the kernel module in pvfs and i'm studying the chapter
> 5.4.1 in the following link:
> http://www.pvfs.org/cvs/pvfs-2-8-branch-docs/doc//pvfs2-quickstart.pdf
>
> I do:
>
> sudo     /sbin/insmod      /usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2.ko
> insmod: can't read '/usr/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2.ko': No such
> file or directory
>
> Then i typed "ls" in the   /usr/pvfs-2.8.1/src/kernel/linux-2.6/ directory
> which consists of the following files:
>
> acl.c           Makefile           pvfs2-kernel.h  upcall.h
> dcache.c        Makefile.in        pvfs2-mod.c     waitqueue.c
> devpvfs2-req.c  namei.c            pvfs2-proc.c    xattr.c
> dir.c           pvfs2-bufmap.c     pvfs2-proc.h    xattr-default.c
> downcall.h      pvfs2-bufmap.h     pvfs2-utils.c   xattr-trusted.c
> file.c          pvfs2-cache.c      super.c
> inode.c         pvfs2-dev-proto.h  symlink.c
>
> But "pvfs2.ko"  in not in there!
>
> Also, the directory " /usr/pvfs-2.8.1/src/kernel" consists of two folders:
>
> 1.  linux-2.4
> 2.  linux-2.6
>
> In folder  "/usr/pvfs-2.8.1/src/kernel/linux-2.4/" there are only 2 files:
> No file named "pvfs2.o" is found in here!
>
> a. Makefile
> b. Makefile.in
>
> Since i can't find the "pvfs2.o" or the "pvfs2.ko" file, how can i load the
> kernel module?
> Shall i do something else or shall i search into another directory in order
> to find the previous files?
>
> Thanks, in advance
>
>
>
> _______________________________________________
> 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