ошибка при установки drbd
Добрый День Уважаемые коллеги!
Решил поставить drbd на gentoo.
Сразу скажу в gentoo я не профи, но своими силами справится не получается.
Вобщем прощу помощи!
и так дано:
uname -a
Linux cluster2 2.6.29-gentoo-r5 #2 SMP Fri Jul 3 14:34:31 Local time zone must be set--see zic m x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
cat /etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=athlon64 -O3 -msse -msse3 -mmmx -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="-X -gtk -gnome -qt -kde -dvd -alsa -cdr mmx sse sse2 mysql"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ "
Скажу сразу для установки drbd нужные опции включены.
и собственно ошибка
emerge drbd
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 2) sys-cluster/drbd-kernel-8.0.14
* drbd-8.0.14.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* This profile has not been tested thoroughly and is not considered to be
* a supported server profile at this time. For a supported server
* profile, please check the Hardened project (http://hardened.gentoo.org).
* This profile is merely a convenience for people who require a more
* minimal profile, yet are unable to use hardened due to restrictions in
* the software being used on the server. This profile should also be used
* if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
* applies to you, then it doesn't and you should probably be using
* Hardened, instead.
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.29-gentoo-r5/build
* Found sources for kernel version:
* 2.6.29-gentoo-r5
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Unpacking drbd-8.0.14.tar.gz to /var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/work
* Applying drbd-kernel-8.0.0-scripts.adjust_drbd_config_h.sh.patch ... [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/work
>>> Compiling source in /var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/work/drbd-8.0.14 ...
* Preparing drbd module
make HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= -j1 KDIR=/usr/src/linux O= default
Calling toplevel makefile of kernel source tree, which I believe is in
KDIR=/usr/src/linux
test -f ../scripts/adjust_drbd_config_h.sh && \
KDIR=/usr/src/linux O= /bin/bash ../scripts/adjust_drbd_config_h.sh
/usr/src/linux /var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/work/drbd-8.0.14/drbd
Sorry, automagic adjustment of drbd_config.h failed.
For well known 2.6. kernels, no adjustment to the shipped drbd_config is necessary.
You need to verify it yourself.
make: [kbuild] Error 1 (ignored)
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/work/drbd-8.0.14/drbd modules
make[1]: Entering directory `/usr/src/linux-2.6.29-gentoo-r5'
CC [M] /var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/work/drbd-8.0.14/drbd/drbd_buildtag.o
CC [M] /var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/work/drbd-8.0.14/drbd/drbd_bitmap.o
CC [M] /var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/work/drbd-8.0.14/drbd/drbd_proc.o
CC [M] /var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/work/drbd-8.0.14/drbd/drbd_worker.o
In file included from /var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/work/drbd-8.0.14/drbd/drbd_worker.c:37:
include/linux/mm_inline.h: In function 'add_page_to_lru_list':
include/linux/mm_inline.h:31: error: implicit declaration of function 'mem_cgroup_add_lru_list'
include/linux/mm_inline.h: In function 'del_page_from_lru_list':
include/linux/mm_inline.h:39: error: implicit declaration of function 'mem_cgroup_del_lru_list'
make[2]: *** [/var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/work/drbd-8.0.14/drbd/drbd_worker.o] Error 1
make[1]: *** [_module_/var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/work/drbd-8.0.14/drbd] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29-gentoo-r5'
make: *** [kbuild] Error 2
*
* ERROR: sys-cluster/drbd-kernel-8.0.14 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3332: Called linux-mod_src_compile
* environment, line 2574: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= -j1 KDIR=/usr/src/linux O= default
*
* 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/drbd-kernel-8.0.14/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/temp/environment'.
*
>>> Failed to emerge sys-cluster/drbd-kernel-8.0.14, Log file:
>>> '/var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/temp/build.log'
* Messages for package sys-cluster/drbd-kernel-8.0.14:
*
* ERROR: sys-cluster/drbd-kernel-8.0.14 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3332: Called linux-mod_src_compile
* environment, line 2574: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= -j1 KDIR=/usr/src/linux O= default
*
* 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/drbd-kernel-8.0.14/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-cluster/drbd-kernel-8.0.14/temp/environment'.
*
Поясните пожалуйста, что ему надо?
- Для комментирования войдите или зарегистрируйтесь
А кто его знает :( .
А кто его знает :( . Мантаинер пакета и тот не знает .
баги я открыл давно . http://bugs.gentoo.org/show_bug.cgi?id=269763; http://bugs.gentoo.org/show_bug.cgi?id=269762
P.S судя по всему, только аlexxy и знает, оно у него работает
У него карма мощнейшая :), может из-за этого.
P.P.S по правде , весь redhat-cluster пребывает,ИМХО, в глубокой заброшенности.
Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)
Такое ощущение что я не на
Такое ощущение что я не на том ядре это все собираю. Может для него нужно определенное?
Как организовать кластеризацию если нету много денег?
Это смотря что вам надо,
Это смотря что вам надо, кластера разные бывают . :)
Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)
Мне нужен HA кластер, хотел
Мне нужен HA кластер, хотел его сделать при помощи drbd и харбет.. Но вот drbd не ставится...