Acronis Backup and Recovery 11 failed to install in RHEL 5.5
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Acronis Backup and Recovery 11 failed to install in RHEL 5.5
Hi Everyone,
Good Day!
I'm just new here. I'm trying to install Acronis Backup and Recovery 11 in RHEL 5.5, it has x86_64 architecture. I'm having a problem in building SNAPAPI, snapapi is a requirement of Acronis that needs to be installed.
Preparing kernel 2.6.18-194.el5 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Storing current Modules.symvers to be restored when complele
Running Generic preparation routine
make mrproper....(bad exit status: 2)
using /boot/config-2.6.18-194.el5
make oldconfig....
make prepare-all....(bad exit status: 2)
Building module:
cleaning build area....
make KERNELRELEASE=2.6.18-194.el5 -C /lib/modules/2.6.18-194.el5/build SUBDIRS=/var/lib/dkms/snapapi26/0.7.61/build modules....(bad exit status: 2)
Error! Bad return status for module build on kernel: 2.6.18-194.el5 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/snapapi26/0.7.61/build/ for more information.
0
0
Here is the make.log that has been genereted. Anyone knows how to read it? Any suggestions on what to do in able to make the application acronis running?
justing:/home/justing/Download # cat make.log.TCHAPD01
DKMS make.log for snapapi26-0.7.61 for kernel 2.6.18-194.el5 (x86_64)
Wed Nov 16 17:47:49 PHT 2011
make: Entering directory `/usr/src/kernels/2.6.18-194.el5-x86_64'
grep: /usr/src/kernels/2.6.18-194.el5-x86_64/include/linux/freezer.h: No such file or directory
CC [M] /var/lib/dkms/snapapi26/0.7.61/build/snapapi26.o
In file included from /var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:7:
include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:103:1: warning: "inline" redefined
In file included from include/linux/compiler-gcc4.h:4,
from include/linux/compiler.h:42,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:14,
from include/linux/capability.h:16,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:15:
include/linux/compiler-gcc.h:27:1: warning: this is the location of the previous definition
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c: In function ‘sn_blkdev_get’:
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:434: warning: cast from pointer to integer of different size
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c: In function ‘sa_cache_save’:
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:1661: warning: assignment from incompatible pointer type
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:1662: warning: pointer/integer type mismatch in conditional expression
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c: In function ‘session_getmap’:
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:3291: warning: label ‘out_copy’ defined but not used
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c: In function ‘collect_bitmap_to_user’:
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:3413: warning: passing argument 1 of ‘copy_bits_to_user’ from incompatible pointer type
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:3413: warning: passing argument 3 of ‘copy_bits_to_user’ from incompatible pointer type
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c: In function ‘session_getsparsedmap’:
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:3460: warning: passing argument 2 of ‘map_init’ makes integer from pointer without a cast
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:3477: warning: assignment from incompatible pointer type
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c: At top level:
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:4525: warning: initialization from incompatible pointer type
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c: In function ‘snapapi_init’:
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:4657: warning: label ‘err_thread’ defined but not used
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c: At top level:
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:829: warning: ‘set_block_in_map’ defined but not used
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:1099: warning: ‘remove_from_busy_list’ defined but not used
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:4170: warning: ‘snapapi4_ioctl’ defined but not used
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:4668: warning: ‘__inittest’ defined but not used
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:4669: warning: ‘__exittest’ defined but not used
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c: In function ‘sa_cache_save’:
/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c:1646: warning: ‘entry’ may be used uninitialized in this function
/bin/sh: line 1: 26813 Bus error scripts/basic/fixdep /var/lib/dkms/snapapi26/0.7.61/build/.snapapi26.o.d /var/lib/dkms/snapapi26/0.7.61/build/snapapi26.o 'gcc -Wp,-MD,/var/lib/dkms/snapapi26/0.7.61/build/.snapapi26.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -fno-delete-null-pointer-checks -fwrapv -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DHAVE_FREEZE_BDEV -DHAVE_LINUX_CONFIG -DHAVE_LINUX_AUTOCONF -DHAVE_IOCTL32_CONVERSIONS -DHAVE_PAGE_MAPCOUNT -DHAVE_SPIN_LOCK_UNLOCKED -DHAVE_FMODE_T -DHAVE_TRY_TO_FREEZE -DHAVE_UNLOCKED_IOCTL -DHAVE_BD_CLAIM -DHAVE_BLKDEV_GET_3ARG_FLAG -DMODULE -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(snapapi26)" -D"KBUILD_MODNAME=KBUILD_STR(snapapi26)" -c -o /var/lib/dkms/snapapi26/0.7.61/build/.tmp_snapapi26.o /var/lib/dkms/snapapi26/0.7.61/build/snapapi26.c' > /var/lib/dkms/snapapi26/0.7.61/build/.snapapi26.o.tmp
make[1]: *** [/var/lib/dkms/snapapi26/0.7.61/build/snapapi26.o] Error 135
make: *** [_module_/var/lib/dkms/snapapi26/0.7.61/build] Error 2
make: Leaving directory `/usr/src/kernels/2.6.18-194.el5-x86_64'
I can't offer a solution, but maybe get you looking in the right area.
My best guess is that because of this:
Code:
make mrproper....(bad exit status: 2)
using /boot/config-2.6.18-194.el5
make oldconfig....
make prepare-all....(bad exit status: 2)
The remaining build process is trying to build on a tainted kernel source tree, leading to the later failure. I've never built snapapi, but an option may be to download the source archive for the kernel that you have (make sure it's the same one), extract to it's own build directory and run
Code:
make mrproper
make oldconfig
Then point the snapapi build to your new kernel source tree and see if the build succeeds. I wouldn't recommend continuing to make install of snapapi this way, but would rather use it as a diagnosis to get a clearer view of where the build is actually being caused to fail, then fix the cause (rather than the symptom).
Ok - get the kernel source and unarchive it somewhere convenient (perhaps your home dir), then in a terminal cd to the new kernel source. For demonstration I will assume it's in ~/kernel - ~/ is a shortcut to your home dir). There, run the two commands I gave:
Code:
cd ~/kernel
make mrproper
make oldconfig
Once done go back to your snapapi build (as shown in your original post) and include the parameter --kernelsourcedir ~/kernel as shown in your original post. You can then see if it builds correctly. Remember to replace ~/kernel with the actual location of your new kernel sources, both at the cd command and the --kernelsourcedir paramater.
As I said, this should only be for debugging the build, and not to go through to final install. If this works then you need to return to your original kernel to try to track down the errors.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.