Problem on Red Hat AS 4 64 bit compiling snapapi

Discussion in 'Acronis True Image Product Line' started by fabio.emidi, Mar 13, 2007.

Thread Status:
Not open for further replies.
  1. fabio.emidi

    fabio.emidi Registered Member

    Joined:
    Mar 13, 2007
    Posts:
    2
    Hello.
    I installed Acronis True Image Server 9.1 for Linux (Trial Version) on Red Hat AS 4 64 bit. I choose not to compile snapapi during installation (cause it failed).
    I tried to do io by hand, following reccomended procedure. I launched this command:

    dkms build -m snapapi26 -v 0.7.10 -k 2.6.9-42.ELsmp --config /boot/config-2.6.9-42.ELsmp --arch x86_64 --kernelsourcedir /usr/src/kernels/2.6.9-42.EL-smp-x86_64/

    ... but I received errors. Here is an extract from file /var/lib/dkms/snapapi26/0.7.10/build/make.log:

    DKMS make.log for snapapi26-0.7.10 for kernel 2.6.9-42.ELsmp (i686)
    Tue Mar 13 10:05:34 CET 2007
    make: Entering directory `/usr/src/kernels/2.6.9-42.EL-smp-x86_64'
    find: /linux: No such file or directory
    CC [M] /var/lib/dkms/snapapi26/0.7.10/build/snapapi26.o
    cc1: code model `kernel' not supported in the 32 bit mode
    In file included from include/linux/timex.h:157,
    from include/linux/sched.h:11,
    from include/linux/module.h:10,
    from /var/lib/dkms/snapapi26/0.7.10/build/snapapi26.c:11:



    ... and the last lines ...

    include/asm/pgtable.h:436: warning: left shift count >= width of type
    In file included from /var/lib/dkms/snapapi26/0.7.10/build/snapapi26.c:24:
    include/linux/mm.h: In function `pmd_alloc':
    include/linux/mm.h:638: warning: left shift count >= width of type
    make[1]: *** [/var/lib/dkms/snapapi26/0.7.10/build/snapapi26.o] Error 1
    make: *** [_module_/var/lib/dkms/snapapi26/0.7.10/build] Error 2
    make: Leaving directory `/usr/src/kernels/2.6.9-42.EL-smp-x86_64'


    The full log file is attached. Anyone has some idea of what is going on o_O
     

    Attached Files:

  2. fabio.emidi

    fabio.emidi Registered Member

    Joined:
    Mar 13, 2007
    Posts:
    2
    Well, none else ever tried to install TI on 64 bit Red Hat distro ?
     
  3. eugenevdm

    eugenevdm Registered Member

    Joined:
    Mar 31, 2007
    Posts:
    6
    I am trying - but not Red Hat but Fedora Core 4 64-bit...no luck compiling the snapapi because of a Kernel Sources problem:

    [root@cp1 boot]# /usr/sbin/dkms build -m snapapi26 -v 0.7.10 --config /boot/config-2.6.11-1.1369_FC4 --arch x86_64 --kernelsourcedir /usr/src/redhat/

    Error! Your kernel source for kernel 2.6.11-1.1369_FC4 cannot be found at
    /lib/modules/2.6.11-1.1369_FC4/build or /lib/modules/2.6.11-1.1369_FC4/source.
    You can use the --kernelsourcedir option to tell DKMS where it's located.


    Tried downloading and installed:
    http://fr.rpmfind.net//linux/RPM/fedora/4/src/kernel-2.6.11-1.1369_FC4.src.html

    But I'm not sure if this is the correct files because it ain't working.
     
  4. eugenevdm

    eugenevdm Registered Member

    Joined:
    Mar 31, 2007
    Posts:
    6
    This finally sorted it out:

    yum install kernel-devel (apparently these are header files)

    and then:

    /usr/sbin/dkms build -m snapapi26 -v 0.7.10 --config /boot/config-2.6.11-1.1369_FC4 --arch x86_64 --kernelsourcedir /usr/src/kernels/2.6.17-1.2142_FC4-x86_64
     
  5. Acronis Support

    Acronis Support Acronis Support Staff

    Joined:
    Apr 28, 2004
    Posts:
    25,885
    Hello fabio.emidi,

    Thank you for choosing Acronis Linux Server Disk Backup Software.

    We are sorry for the delayed response.

    Could you please do the following?

    dkms build -m snapapi26 -v 0.7.10 -k 2.6.9-42.ELsmp --config /boot/config-2.6.9-42.ELsmp --arch x86_64 --kernelsourcedir /lib/modules/2.6.9-42.ELsmp/build

    Thank you.
    --
    Aleksandr Isakov
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.