Ubuntu 7.04 assistance needed.

Discussion in 'Acronis True Image Product Line' started by AaronAnderson, Apr 26, 2007.

Thread Status:
Not open for further replies.
  1. AaronAnderson

    AaronAnderson Registered Member

    Joined:
    Jul 28, 2006
    Posts:
    65
    Trying to install true image server for linux version 3883 onto ubuntu 7.04.

    OK. In previous versions of Ubuntu, all I needed to run was the following to make the Acronis installer happy:

    Code:
    sudo apt-get install rpm build-essential linux-source linux-headers-`uname -r`
    
    The installer bombs on installing the kernel module. I think it's because the default install of Ubuntu 7.04 uses this kernel:

    Code:
    aaron@aaron-desktop:~/Desktop$ uname -r
    2.6.20-15-generic
    
    the -generic might be throwing things off. Installing "linux-source" just installs a package named "linux-source-2.6.20" so the installer probably can't find the proper source files.

    I don't know. I've attached the appropriate log files.

    Please advise.
     

    Attached Files:

  2. AaronAnderson

    AaronAnderson Registered Member

    Joined:
    Jul 28, 2006
    Posts:
    65
    Tried building and installing with dkms.

    Code:
    sudo dkms build -m snapapi26 -v 0.7.16 -k 2.6.20-15-generic --config /boot/config-2.6.20-15-generic --arch i686 --kernelsourcedir /usr/src/linux-headers-2.6.20-15-generic/
    
    Returns

    Code:
    
    Preparing kernel 2.6.20-15-generic for module build:
    (This is not compiling a kernel, only just preparing kernel symbols)
    Storing current .config to be restored when complete
    Running Generic preparation routine
    make mrproper....(bad exit status: 2)
    using /boot/config-2.6.20-15-generic
    make oldconfig....
    make prepare-all....
    
    Building module:
    cleaning build area....
    make KERNELRELEASE=2.6.20-15-generic -C /usr/src/linux-headers-2.6.20-15-generic/ SUBDIRS=/var/lib/dkms/snapapi26/0.7.16/build modules....(bad exit status: 2)
    
    Error! Bad return status for module build on kernel: 2.6.20-15-generic (i686)
    Consult the make.log in the build directory
    /var/lib/dkms/snapapi26/0.7.16/build/ for more information.
    
    
    
    make.log:
    Code:
    DKMS make.log for snapapi26-0.7.16 for kernel 2.6.20-15-generic (i686)
    Thu Apr 26 23:58:27 EDT 2007
    make: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
    find: /linux: No such file or directory
      CC [M]  /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.o
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c:205: warning: ‘kmem_cache_t’ is deprecated
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c: In function ‘sa_cache_emlist_init’:
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c:785: error: ‘SLAB_KERNEL’ undeclared (first use in this function)
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c:785: error: (Each undeclared identifier is reported only once
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c:785: error: for each function it appears in.)
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c: In function ‘sa_cache_emget’:
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c:819: error: ‘SLAB_ATOMIC’ undeclared (first use in this function)
    make[1]: *** [/var/lib/dkms/snapapi26/0.7.16/build/snapapi26.o] Error 1
    make: *** [_module_/var/lib/dkms/snapapi26/0.7.16/build] Error 2
    make: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
    
    

    Certainly this is enough info to get some help! :isay:
     
  3. AaronAnderson

    AaronAnderson Registered Member

    Joined:
    Jul 28, 2006
    Posts:
    65
    Bump for support. Installation works perfect with Debian 4.
     
  4. foghorne

    foghorne Registered Member

    Joined:
    Sep 27, 2005
    Posts:
    1,389
    Location:
    Leeds, Great Britain
    I suggest you raise a support request.

    F.
     
  5. AaronAnderson

    AaronAnderson Registered Member

    Joined:
    Jul 28, 2006
    Posts:
    65
    Official support requested. I'll keep this posted with the outcome.
     
  6. AaronAnderson

    AaronAnderson Registered Member

    Joined:
    Jul 28, 2006
    Posts:
    65
    Support said to do this:

    Code:
    sudo dkms build -m snapapi26 -v 0.7.16 -k 2.6.20-15-generic --config /boot/config-2.6.20-15-generic --arch i686 --kernelsourcedir /usr/src/linux-headers-2.6.20-15-generic/
    It resulted in this:

    command output:
    Code:
    Preparing kernel 2.6.20-15-generic for module build:
    (This is not compiling a kernel, only just preparing kernel symbols)
    Storing current .config to be restored when complete
    Running Generic preparation routine
    make mrproper....(bad exit status: 2)
    using /boot/config-2.6.20-15-generic
    make oldconfig....
    make prepare-all....
    
    Building module:
    cleaning build area....
    make KERNELRELEASE=2.6.20-15-generic -C /usr/src/linux-headers-2.6.20-15-generic                                                                             / SUBDIRS=/var/lib/dkms/snapapi26/0.7.16/build modules....(bad exit status: 2)
    
    Error! Bad return status for module build on kernel: 2.6.20-15-generic (i686)
    Consult the make.log in the build directory
    /var/lib/dkms/snapapi26/0.7.16/build/ for more information.
    

    make.log:
    Code:
    DKMS make.log for snapapi26-0.7.16 for kernel 2.6.20-15-generic (i686)
    Sun Apr 29 21:09:32 EDT 2007
    make: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
    find: /linux: No such file or directory
      CC [M]  /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.o
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c:205: warning: âkmem_cache_tâ is deprecated
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c: In function âsa_cache_emlist_initâ:
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c:785: error: âSLAB_KERNELâ undeclared (first use in this function)
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c:785: error: (Each undeclared identifier is reported only once
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c:785: error: for each function it appears in.)
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c: In function âsa_cache_emgetâ:
    /var/lib/dkms/snapapi26/0.7.16/build/snapapi26.c:819: error: âSLAB_ATOMICâ undeclared (first use in this function)
    make[1]: *** [/var/lib/dkms/snapapi26/0.7.16/build/snapapi26.o] Error 1
    make: *** [_module_/var/lib/dkms/snapapi26/0.7.16/build] Error 2
    make: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
    
     
  7. AaronAnderson

    AaronAnderson Registered Member

    Joined:
    Jul 28, 2006
    Posts:
    65
    Code:
    http://download.acronis.com/sl/wxecbpbozmrweypgtwkl/support/ticket/995195/snapapi26_modules-0.7.19-1.noarch.rpm
    
    rpm -Uvh snapapi26_modules-0.7.19-1.noarch.rpm
    
    
    sudo dkms build -m snapapi26 -v 0.7.19 -k 2.6.20-15-generic --config /boot/config-2.6.20-15-generic --arch i686 --kernelsourcedir /usr/src/linux-source-2.6.20/ 
    sudo dkms install -m snapapi26 -v 0.7.19 -k 2.6.20-15-generic --config /boot/config-2.6.20-15-generic --arch i686 --kernelsourcedir /usr/src/linux-source-2.6.20/
    
    
    
    
    
    

    That fixed it. woot.
     
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.