[Pvfs2-developers] Kernel Module on current RHEL4

Phil Carns carns at mcs.anl.gov
Thu Jan 31 10:19:42 EST 2008


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
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers



More information about the Pvfs2-developers mailing list