public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] HP Cluster on Gentoo
@ 2007-02-19  8:47 Hans-Stefan Bauer
  2007-02-19 12:39 ` Boyd Stephen Smith Jr.
  2007-02-20 22:13 ` Zac Slade
  0 siblings, 2 replies; 8+ messages in thread
From: Hans-Stefan Bauer @ 2007-02-19  8:47 UTC (permalink / raw
  To: gentoo-user

Hallo,

we are trying to install the gfs file system on a HP Proliant DL385 
Server running Gentoo Linux to set up a cluster system. Here the output 
of "uname -a":

Linux storm2 2.6.18-gentoo-r2 #2 SMP Fri Feb 2 10:03:25 CET 2007 x86_64 
AMD Opteron(tm) Processor 280 GNU/Linux

After configuration and compiling of the kernel (the Gentoo kernel and 
not the vanilla kernel), the following packages are installed:

sys-cluster/ccs                         ~amd64
sys-cluster/magma                       ~amd64
sys-cluster/magma-plugins               ~amd64
sys-cluster/dlm                         ~amd64
sys-cluster/dlm-headers                 ~amd64
sys-cluster/dlm-kernel                  ~amd64
sys-cluster/iddev                       ~amd64
sys-cluster/fence                       ~amd64
sys-cluster/cman                        ~amd64
sys-cluster/cman-headers                ~amd64
sys-cluster/cman-kernel                 ~amd64
sys-fs/gfs                              ~amd64
sys-cluster/gfs-headers                 ~amd64
sys-cluster/gfs-kernel                  ~amd64
sys-fs/clvm                             ~amd64
sys-cluster/rgmanager                   ~amd64

Then I started the necessary services and run into the following problem:

storm1 hsbauer # /etc/init.d/ccsd start
 * Starting ccsd 
...                                                       [ ok ]
storm1 hsbauer # /etc/init.d/cman start
 * Loading cman kernel module 
...                                          [ ok ]
 * Starting cman 
...                                                       [ ok ]
 * Waiting for quorum (300 secs) 
...                                       [ ok ]
storm1 hsbauer # /etc/init.d/clvmd start
 * Loading dlm module ...
 * Loading dlm kernel module 
...                                           [ ok ]
 * Starting fence domain 
...                                               [ ok ]
 * Starting clvmd 
...                                                      [ ok ]
 * Scanning LVM volumes 
...                                                [ ok ]
 * Setting up the Logical Volume Manager ...
  No volume groups 
found                                                   [ ok ]
storm1 hsbauer # /etc/init.d/gfs start
 * Starting gfs cluster:
 * Loading lock_dlm kernel module ...
FATAL: Error inserting lock_dlm (/fs/gfs_locking/lock_dlm/lock_dlm.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
 * Failed to load lock_dlm kernel 
module                                   [ !! ]


The dmesg message is

....
CMAN 1.03.00 (built Dec  7 2006 15:04:19) installed
NET: Registered protocol family 30
CMAN: Waiting to join or form a Linux-cluster
CMAN: forming a new cluster
CMAN: quorum regained, resuming activity
DLM 1.03.00 (built Feb  1 2007 15:11:38) installed
lock_dlm: Unknown symbol lm_unregister_proto
lock_dlm: Unknown symbol lm_register_proto
....

Apart from the occurring problem it is strange for me that emerge 
installs the kernel module into the root directory of the system (see 
error message above) and not into "/lib/modules/..." as I would expect.

Any help or suggestions are highly appreciated.

Best regards,

Stefan

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [gentoo-user] HP Cluster on Gentoo
@ 2007-02-21 17:15 Hans-Stefan Bauer
  0 siblings, 0 replies; 8+ messages in thread
From: Hans-Stefan Bauer @ 2007-02-21 17:15 UTC (permalink / raw
  To: gentoo-user

Hallo,

today I updated portage and installed the newest kernel. uname -a now says

Linux storm1 2.6.19-gentoo-r5 #1 SMP Wed Feb 21 15:45:46 CET 2007 x86_64 
AMD Opteron(tm) Processor 280 AuthenticAMD GNU/Linux

Now DLM and GFS2 are compiled as modules

storm1 linux # grep DLM .config
CONFIG_GFS2_FS_LOCKING_DLM=m
CONFIG_DLM=m
# CONFIG_DLM_DEBUG is not set

storm1 linux # grep GFS .config
CONFIG_GFS2_FS=m
# CONFIG_GFS2_FS_LOCKING_NOLOCK is not set
CONFIG_GFS2_FS_LOCKING_DLM=m
CONFIG_CONFIGFS_FS=m

So far so good.

However, then I tried to re-install the cluster manager software 
(packages cman, cman-headers and cman-kernel), since cman is not 
included into the kernel. No problems ocurred with cman and 
cman-headers. But  an emerge of cman-kernel crashed.

...
* Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.19-gentoo-r5/build
 * Found sources for kernel version:
 *     2.6.19-gentoo-r5

--> this is the correct location of the sources !!

...

make[2]: Entering directory `/usr/src/linux-2.6.19-gentoo-r5'
  CC [M]  
/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.o
/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.c: 
In function 'do_ioctl_join_cluster':
/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.c:1751: 
error: 'system_utsname' undeclared (first use in this function)

....

!!! ERROR: sys-cluster/cman-kernel-1.03.00 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4024:   Called src_compile
  cman-kernel-1.03.00.ebuild, line 37:   Called die

!!! compile error
!!! If you need support, post the topmost build error, and the call 
stack if relevant.
!!! A complete build log is located at 
'/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/temp/build.log'.


The variable mentioned in the above error message (system_utsname) is 
nowhere defined in the kernel source tree 2.6.19. In the older kernel 
2.6.18 it was defined in:

/usr/src/linux/init/version.c

For me this means that the cnan-kernel package is not made for this 
kernel. Is there a newer package of cman for gentoo available?


Best regards,

Stefan


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-02-21 17:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-19  8:47 [gentoo-user] HP Cluster on Gentoo Hans-Stefan Bauer
2007-02-19 12:39 ` Boyd Stephen Smith Jr.
2007-02-20 14:33   ` Hans-Stefan Bauer
2007-02-20 15:27     ` Hans-Werner Hilse
2007-02-20 15:51       ` Hans-Stefan Bauer
2007-02-21  0:31     ` Boyd Stephen Smith Jr.
2007-02-20 22:13 ` Zac Slade
  -- strict thread matches above, loose matches on Subject: below --
2007-02-21 17:15 Hans-Stefan Bauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox