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

Reply via email to