[Pvfs2-developers] Kernel Module on current RHEL4

Phil Carns carns at mcs.anl.gov
Thu Jan 31 10:58:37 EST 2008


Maybe just a typo this time?  How about tcp:// for the protocol :)

Bradley Settlemyer wrote:
> Blargh.
> 
> That got it to load, but its still messed up a bit.  On a mount, I get:
> [root at riggins pvfs]# mount -v -t pvfs2 thc://localhost:3334/pvfs2-fs 
> /mnt/pvfs2
> mount: Protocol not available
> 
> Dmesg reports:
> pvfs2_get_sb: mount request failed with -92
> 
> And the client log says:
> 
> [D 10:31:21.683488] [INFO]: Mapping pointer 0x2a95585000 for I/O.
> [D 10:31:21.698321] [INFO]: Mapping pointer 0x2a96987000 for I/O.
> [E 10:32:20.003242] PVFS_isys_fs_add: Failed to initialize any 
> appropriate BMI methods.
> [E 10:32:20.003291] Posting fs_add failed: Protocol not available
> [E 10:32:20.003304] Post of op: PVFS2_VFS_OP_FS_MOUNT failed!
> [E 10:32:20.003329] Operation failed: Operation cancelled (possibly due 
> to timeout)
> 
> But of course pvfs2-ping and pvfs2-cp still works.  My mail solution at 
> clemson is better now, and I can safely join the users list (and handle 
> the large attachements).  Is the best thing to go there and join into 
> that thread?
> 
> Cheers,
> Brad
> 
> 
> 
> On 1/31/08, *Phil Carns* <carns at mcs.anl.gov <mailto:carns at mcs.anl.gov>> 
> wrote:
> 
>     There is a thread in progress on the user's list about this issue:
> 
>     http://www.beowulf-underground.org/pipermail/pvfs2-users/2008-January/002307.html
> 
>     I think the summary is that you may be able to get away with this?
> 
>     - make distclean
>     - configure
>     - manually clear the HAVE_KERNEL_DEVICE_CLASSES flag in pvfs2-config.h
>     - make
> 
>     -Phil
> 
>     Bradley Settlemyer wrote:
>     >  Hello
>     >
>     >   Is there any outstanding problem reports on using the kernel
>     module in
>     >  the latest Red Hat EL4 kernel.
>     >
>     >  I'm running linux-2.6.9-67.0.1-ELsmp on an Intel Core 2 duo, but
>     cannot
>     >  get the kernel module.  Unfortunately, I've never used the kernel
>     module
>     >  before so I don't have much expertise in this area.  While building I
>     >  got a bunch or warnings like (the build log is attached):
>     >
>     >   CC [M]  /root/pvfs-2.7.0/src/kernel/linux-2.6/devpvfs2-req.o
>     >  /root/pvfs-2.7.0/src/kernel/linux-2.6/devpvfs2-req.c: In function
>     >  `pvfs2_dev_init':
>     >  /root/pvfs-2.7.0/src/kernel/linux-2.6/devpvfs2-req.c:1037: warning:
>     >  passing arg 2 of `class_device_create' makes integer from pointer
>     >  without a cast
>     >  /root/pvfs-2.7.0/src/kernel/linux-2.6/devpvfs2-req.c:1037: warning:
>     >  passing arg 3 of `class_device_create' makes pointer from integer
>     >  without a cast
>     >  /root/pvfs-2.7.0/src/kernel/linux-2.6/devpvfs2-req.c:1037:
>     warning: too
>     >  many arguments for format
>     >  /root/pvfs-2.7.0/src/kernel/linux-2.6/devpvfs2-req.c: In function
>     >  `pvfs2_dev_cleanup':
>     >  /root/pvfs-2.7.0/src/kernel/linux-2.6/devpvfs2-req.c:1050: warning:
>     >  implicit declaration of function `class_device_destroy'
>     >
>     >  and on the install I get the following:
>     >
>     >   Building modules, stage 2.
>     >   MODPOST
>     >  *** Warning: "class_device_destroy"
>     >  [/root/pvfs-2.7.0/src/kernel/linux-2.6/pvfs2.ko] undefined!
>     >  install -d //lib/modules/2.6.9-67.0.1.ELsmp/kernel/fs/pvfs2
>     >  install -m 755 src/kernel/linux-2.6/pvfs2.ko
>     >  //lib/modules/2.6.9-67.0.1.ELsmp/kernel/fs/pvfs2
>     >  install -d /opt/pvfs-2.7.0/sbin
>     >  install -m 755 src/apps/kernel/linux/pvfs2-client-core
>     >  src/apps/kernel/linux/pvfs2-client /opt/pvfs-2.7.0/sbin
>     >
>     >  And then when I try to install the mod, I get the dmesg output:
>     >
>     >  pvfs2-set-debug[32686] trap divide error rip:b2c9e9 rsp:ffffd2cc
>     error:0
>     >  pvfs2-set-debug[32687] trap divide error rip:b2c9e9 rsp:ffffd2cc
>     error:0
>     >  pvfs2-set-event[32689] trap divide error rip:b2c9e9 rsp:ffffd2cc
>     error:0
>     >  pvfs2: Unknown symbol class_device_destroy
>     >  pvfs2: Unknown symbol class_device_destroy
>     >
>     >  My guess is I need to hit a config flag, but I don't know which one to
>     >  check.
>     >
>     >  Cheers,
>     >  Brad
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     >  _______________________________________________
>     >  Pvfs2-developers mailing list
>     >  Pvfs2-developers at beowulf-underground.org
>     <mailto:Pvfs2-developers at beowulf-underground.org>
>     >  http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers



More information about the Pvfs2-developers mailing list