redhat linux 9

Discussion in 'Acronis True Image Product Line' started by paul2, Dec 15, 2005.

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

    paul2 Guest

    Hi, does anyone know what is the <PATH_TO_KERNEL_SOURCES> ?
    i am building the kernel module
    the whole cmd is # dkms build -m <MODULE_NAME> -v <MODULE_VERSION> \
    > --config <CONFIG_FILE> --arch <KERNEL_ARCH> \
    > --kernelsourcedir <PATH_TO_KERNEL_SOURCES>

    i was stucked at last parameter, ie dkms build -m snapapi –v 2.4.31 --config config-2.4.20-8 --arch i686 --kernelsourcedr <PATH_TO_KERNEL_SOURCES>
     
  2. Acronis Support

    Acronis Support Acronis Support Staff

    Joined:
    Apr 28, 2004
    Posts:
    25,885
    Hello paul2,

    Thank you for choosing Acronis Linux Server Disk Backup Software.

    Could you please do the following?

    1.) Uninstall Acronis True Image Server 8.0 for Linux

    a) # cd /usr/src/trueimagelinuxserver8.0-989.s.e/
    b) # ./trueimage-setup -u

    Do not leave /usr/src/trueimagelinuxserver8.0-989.s.e/

    2.) Re-install TrueImage

    # ./trueimage-setup

    Then please build modules manually:

    3.) Detect your active kernel version

    # uname -r

    You'll get 2.4.xx..

    4.) Detect your kernel package architecture

    # uname -m

    You'll get i686...

    5.) Try to find you kernel config file

    It may be /boot/config-2.4.xx or /boot/vmlinuz.config or something like that.

    6.) Copy your kernel config file to /root/config-2.4.xx if its necessary

    Note that your kernel config should 100% correspond to your running kernel.

    7.) To build snapapi module you should have your kernel sources installed

    To install the kernel sources please find the appopriate package on your Linux distribution CD (the name of the package should be kernel-source<kernel_version>.rpm or kernel-devel<kernel_version>.rpm or something like that).

    You can install the packahe using the below command:
    # rpm -ihv kenel-<package_name>.rpm

    For example is your kernel sources might be installed to /usr/src/linux

    8.) Build and install snapapi module by the issuing the following commands:

    # dkms build -m <MODULE_NAME> -v <MODULE_VERSION> \
    > --config <CONFIG_FILE> --arch <KERNEL_ARCH> \
    > --kernelsourcedir <PATH_TO_KERNEL_SOURCES>
    # dkms install -m <MODULE_NAME> -v <MODULE_VERSION> \
    > --config <CONFIG_FILE> --arch <KERNEL_ARCH> \
    > --kernelsourcedir <PATH_TO_KERNEL_SOURCES>

    Note that the above commands are general example.

    In your case it will be as follows:

    # dkms build -m snapapi -v 0.6.4 -k 2.4.xx --config /root/config-2.4.xx --arch i686 --kernelsourcedir /usr/src/linux

    Then please install modules in the following way:

    # dkms install -m snapapi -v 0.6.4 -k 2.4.xx --config /root/config-2.4.xx --arch i686 --kernelsourcedir /usr/src/linux

    9.) Check if the module was installed properly: # modprobe snapapi

    If it is OK then you can use Acronis True Image Server 8.0 for Linux.

    You can find more information on how to install and use Acronis True Image Server 8.0 for Linux in the respective User's Guide.

    If you still unable to install Acronis True Image Server 8.0 for Linux then please submit a request for technical support with the subject indicating that you want to contact Marian Fadeeva. Describe actions taken before the problem appears step-by-step and provide the link to this thread. Marian will certainly provide you with the further instructions.

    Thank you.
    --
    Alexey Popov
     
Thread Status:
Not open for further replies.