This bug (GFS_EATYPE_LAST) has been fixed recently.
brassow
On Oct 18, 2004, at 4:03 AM, Rocty Wang wrote:
Hi, Jefferson,
Â
ÂÂÂÂÂÂ I have upgraded my FC2 kernel to 2.6.8.1, but after I done all patches under /cluster folder on this version kernel,
I do the below operations:
ÂÂÂÂÂÂ ./configure âkernel_src=/lib/modules/2.6.8.1/build
ÂÂÂÂÂÂ make install
Â
ÂÂÂÂÂÂ But it also occurred the following error:
ÂÂÂÂÂÂ ----------------------------------------
The file \cluster\gfs\gfs_fsck\pass2.c' :
Line 139 ÂÂÂÂÂÂ ea_name, ea_hdr->ea_type, GFS_EATYPE_LAST);
ÂÂÂ Error: âGFS_EATYPE_LASTâ undeclared
Â
Also I only found this symbol will be patched under the kernel 2.6.9-rc1-mm3
in the file of /gfs-kernel/patches/2.6.9-rc1-mm3/gfs.patch, no any such patches in kernel 2.6.8.1
Â
Line 33730: +#define GFS_EATYPE_LASTÂÂ ÂÂÂÂÂÂÂ (2)
Line 33735: +#define GFS_EATYPE_VALID(x)ÂÂÂÂ ((x) && (x) <= GFS_EATYPE_LAST)
Â
So how can I solve them? Any Help will be appreciated.
Â
Rocty Wang
2004-10-18
<x-tad-bigger>åää</x-tad-bigger><x-tad-bigger>:</x-tad-bigger><x-tad-bigger> linux-cluster-bounces@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] </x-tad-bigger><x-tad-bigger>äè</x-tad-bigger><x-tad-bigger> </x-tad-bigger><x-tad-bigger>Jefferson M. da Silva - LSI</x-tad-bigger>
<x-tad-bigger>åéæé</x-tad-bigger><x-tad-bigger>:</x-tad-bigger><x-tad-bigger> 2004</x-tad-bigger><x-tad-bigger>å</x-tad-bigger><x-tad-bigger>10</x-tad-bigger><x-tad-bigger>æ</x-tad-bigger><x-tad-bigger>16</x-tad-bigger><x-tad-bigger>æ</x-tad-bigger><x-tad-bigger> 6:08</x-tad-bigger>
<x-tad-bigger>æää</x-tad-bigger><x-tad-bigger>:</x-tad-bigger><x-tad-bigger> Discussion of clustering software components including GFS</x-tad-bigger>
<x-tad-bigger>ä</x-tad-bigger><x-tad-bigger>é</x-tad-bigger><x-tad-bigger>:</x-tad-bigger><x-tad-bigger> Re: [Linux-cluster] Compile problem under Fedora Core2 2.6.5-1.358</x-tad-bigger>
Â
<x-tad-bigger>Hi, Rocty Wang.</x-tad-bigger>
Â
Â
<x-tad-bigger>Hi, Rocty Wang.</x-tad-bigger>
Â
<x-tad-bigger>the patches work well with </x-tad-bigger><x-tad-bigger>kernel org 2.6.x</x-tad-bigger><x-tad-bigger>, I compiled on FC2 (Kernel org 2.6.8.1) and I obtained success.</x-tad-bigger>
ÂÂÂÂÂÂÂ ------------------------------------------------------------------------
ÂÂÂÂÂÂÂ Jefferson Maximo da Silva
ÂÂvÂÂÂ LSITEC - LaboratÃrio de Sistemas Integraveis
/(_)\Â Fone: +55 11 3091-9727
Â^ ^ÂÂ jmaximo@xxxxxxxxxx
ÂÂÂÂÂÂÂ ------------------------------------------------------------------------
<x-tad-bigger>----- Original Message -----</x-tad-bigger>
<x-tad-bigger> </x-tad-bigger><x-tad-bigger>From:</x-tad-bigger><x-tad-bigger> </x-tad-bigger><x-tad-bigger>Rocty Wang</x-tad-bigger><x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>To:</x-tad-bigger><x-tad-bigger> </x-tad-bigger><x-tad-bigger>linux-cluster@xxxxxxxxxx</x-tad-bigger><x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>Sent:</x-tad-bigger><x-tad-bigger> Wednesday, October 13, 2004 2:53 AM</x-tad-bigger>
<x-tad-bigger>Subject:</x-tad-bigger><x-tad-bigger> [Linux-cluster] Compile problem under Fedora Core2 2.6.5-1.358</x-tad-bigger>
Â
Hi, all,
Â
ÂÂÂÂÂÂ I have downloaded (using cvs) Redhat Linux Cluster Project source code from sources.redhat.com CVS server
ÂÂÂ But when I compiled them under FC2(kernel2.6.5-1.358), I found that it failed.
Â
ÂÂÂ According to the usage.txt, I canât find any patches due to kernel 2.6.5 in cluster packages.
ÂÂÂ So I do nothing about the following steps of 1, 2, 3. Is that right?
Â
1. apply kernel patches from
ÂÂ cluster/cman-kernel/patches/
ÂÂ cluster/dlm-kernel/patches/
ÂÂ cluster/gfs-kernel/patches/
Â
2. configure kernel, selecting DM, CMAN, DLM, GFS
Â
3. build kernel and cluster modules
ÂÂ make; make modules_install
Â
the 4<x-tad-bigger>th</x-tad-bigger> step I do as the below: (if set the kernel source directory as /usr/src/linux-2.6.5-1.358, it failed)
cd cluster
./configure âkernel_src=/lib/modules/2.6.5-1.358/build
make install
Â
then the following warnings and error occur, what is the problem? Anyone can help me? Thanks!
Â
/home/cluster/cman-kernel/src/membership.c: In function `init_membership_services':
/home/cluster/cman-kernel/src/membership.c:640: warning: implicit declaration of function `sock_create_kern'
/home/cluster/cman-kernel/src/sm_control.c: In function `sm_start':
/home/cluster/cman-kernel/src/sm_control.c:73: warning: implicit declaration of function `sock_create_kern'
*** Warning: "sock_create_kern" [/home/cluster/cman-kernel/src/cman.ko] undefined!
/home/cluster/dlm-kernel/src/locking.c: In function `dlm_lock_stage1':
/home/cluster/dlm-kernel/src/locking.c:508: warning: implicit declaration of function `msleep'
/home/cluster/dlm-kernel/src/lockqueue.c: In function `process_lockqueue_reply':
/home/cluster/dlm-kernel/src/lockqueue.c:316: warning: implicit declaration of function `msleep'
/home/cluster/dlm-kernel/src/lowcomms.c: In function `connect_to_sock':
/home/cluster/dlm-kernel/src/lowcomms.c:581: warning: implicit declaration of function `sock_create_kern'
*** Warning: "msleep" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_addref_cluster" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_node_by_addr" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_node_addresses" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "sock_create_kern" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_releaseref_cluster" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kthread_stop" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_current_interface" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_get_node_by_nodeid" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_leave_service" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_remove_callback" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_global_service_id" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_unregister_service" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_join_service" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_start_done" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kthread_should_stop" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kthread_create" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_add_callback" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "kcl_register_service" [/home/cluster/dlm-kernel/src/dlm.ko] undefined!
*** Warning: "lm_register_proto" [/home/cluster/gfs-kernel/src/nolock/lock_nolock.ko] undefined!
*** Warning: "lm_unregister_proto" [/home/cluster/gfs-kernel/src/nolock/lock_nolock.ko] undefined!
*** Warning: "kcl_addref_cluster" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_get_services" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_cluster_name" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_lock" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_releaseref_cluster" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_get_members" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_query" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kthread_stop" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_leave_service" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_locks_dump" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "lm_register_proto" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "lm_unregister_proto" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_unregister_service" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_join_service" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_release_lockspace" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_start_done" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kthread_should_stop" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kthread_create" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_unlock" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "kcl_register_service" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_new_lockspace" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
*** Warning: "dlm_debug_dump" [/home/cluster/gfs-kernel/src/dlm/lock_dlm.ko] undefined!
/home/cluster/gfs-kernel/src/gulm/xdr_socket.c: In function `xdr_open':
/home/cluster/gfs-kernel/src/gulm/xdr_socket.c:27: error: too few arguments to function `sock_create'
make[5]: *** [/home/cluster/gfs-kernel/src/gulm/xdr_socket.o] Error 1
make[4]: *** [/home/cluster/gfs-kernel/src/gulm] Error 2
make[3]: *** [all] Error 2
make[2]: *** [install] Error 2
make[1]: *** [install] Error 2
make: *** [install] Error 2
<x-tad-bigger>Â</x-tad-bigger>
<x-tad-bigger>Â</x-tad-bigger>
--
Linux-cluster@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/linux-cluster
--
Linux-cluster@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/linux-cluster