Gentoo Archives: gentoo-user

From: Hans-Stefan Bauer <hsbauer@×××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] HP Cluster on Gentoo
Date: Wed, 21 Feb 2007 17:25:38
Message-Id: 45DC7E2A.9070407@uni-hohenheim.de
1 Hallo,
2
3 today I updated portage and installed the newest kernel. uname -a now says
4
5 Linux storm1 2.6.19-gentoo-r5 #1 SMP Wed Feb 21 15:45:46 CET 2007 x86_64
6 AMD Opteron(tm) Processor 280 AuthenticAMD GNU/Linux
7
8 Now DLM and GFS2 are compiled as modules
9
10 storm1 linux # grep DLM .config
11 CONFIG_GFS2_FS_LOCKING_DLM=m
12 CONFIG_DLM=m
13 # CONFIG_DLM_DEBUG is not set
14
15 storm1 linux # grep GFS .config
16 CONFIG_GFS2_FS=m
17 # CONFIG_GFS2_FS_LOCKING_NOLOCK is not set
18 CONFIG_GFS2_FS_LOCKING_DLM=m
19 CONFIG_CONFIGFS_FS=m
20
21 So far so good.
22
23 However, then I tried to re-install the cluster manager software
24 (packages cman, cman-headers and cman-kernel), since cman is not
25 included into the kernel. No problems ocurred with cman and
26 cman-headers. But an emerge of cman-kernel crashed.
27
28 ...
29 * Determining the location of the kernel source code
30 * Found kernel source directory:
31 * /usr/src/linux
32 * Found kernel object directory:
33 * /lib/modules/2.6.19-gentoo-r5/build
34 * Found sources for kernel version:
35 * 2.6.19-gentoo-r5
36
37 --> this is the correct location of the sources !!
38
39 ...
40
41 make[2]: Entering directory `/usr/src/linux-2.6.19-gentoo-r5'
42 CC [M]
43 /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.o
44 /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.c:
45 In function 'do_ioctl_join_cluster':
46 /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.c:1751:
47 error: 'system_utsname' undeclared (first use in this function)
48
49 ....
50
51 !!! ERROR: sys-cluster/cman-kernel-1.03.00 failed.
52 Call stack:
53 ebuild.sh, line 1614: Called dyn_compile
54 ebuild.sh, line 971: Called qa_call 'src_compile'
55 environment, line 4024: Called src_compile
56 cman-kernel-1.03.00.ebuild, line 37: Called die
57
58 !!! compile error
59 !!! If you need support, post the topmost build error, and the call
60 stack if relevant.
61 !!! A complete build log is located at
62 '/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/temp/build.log'.
63
64
65 The variable mentioned in the above error message (system_utsname) is
66 nowhere defined in the kernel source tree 2.6.19. In the older kernel
67 2.6.18 it was defined in:
68
69 /usr/src/linux/init/version.c
70
71 For me this means that the cnan-kernel package is not made for this
72 kernel. Is there a newer package of cman for gentoo available?
73
74
75 Best regards,
76
77 Stefan
78
79
80 --
81 gentoo-user@g.o mailing list