Fedora 9 2.6.25 TI 9.5 echo server Linux fails install

Discussion in 'Acronis True Image Product Line' started by gtucker, May 27, 2008.

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

    gtucker Registered Member

    Joined:
    May 27, 2008
    Posts:
    7
    I have downloaded the trial install to test on Fedora 9 o/s kernel 2.6.25-14.fc9.i686. The auto install fails. After reading some forums for suggestions i found this thread https://www.wilderssecurity.com/showthread.php?p=1212882 which i have followed. unfortunately the build fails now with a different error shown below.

    I have heard good things about True image but I am reluctant to purchase software that doesn't even install!! Can anyone suggest how i may install this software?

    thanks

    DKMS make.log for snapapi26-0.7.29 for kernel 2.6.25-14.fc9 (i686)
    Tue May 27 08:05:51 BST 2008
    make: Entering directory `/usr/src/kernels/2.6.25-14.fc9.i686'
    find: /linux: No such file or directory
    find: /linux: No such file or directory
    CC [M] /var/lib/dkms/snapapi26/0.7.29/build/snapapi26.o
    /var/lib/dkms/snapapi26/0.7.29/build/snapapi26.c: In function ‘submit_pending_request’:
    /var/lib/dkms/snapapi26/0.7.29/build/snapapi26.c:1193: warning: assignment from incompatible pointer type
    /var/lib/dkms/snapapi26/0.7.29/build/snapapi26.c: In function ‘sa_cache_block’:
    /var/lib/dkms/snapapi26/0.7.29/build/snapapi26.c:1289: warning: assignment from incompatible pointer type
    /var/lib/dkms/snapapi26/0.7.29/build/snapapi26.c: In function ‘session_devinfo’:
    /var/lib/dkms/snapapi26/0.7.29/build/snapapi26.c:1870: error: ‘struct hd_struct’ has no member named ‘ios’
    /var/lib/dkms/snapapi26/0.7.29/build/snapapi26.c:1871: error: ‘struct hd_struct’ has no member named ‘sectors’
    /var/lib/dkms/snapapi26/0.7.29/build/snapapi26.c:1872: error: ‘struct hd_struct’ has no member named ‘ios’
    /var/lib/dkms/snapapi26/0.7.29/build/snapapi26.c:1873: error: ‘struct hd_struct’ has no member named ‘sectors’
    /var/lib/dkms/snapapi26/0.7.29/build/snapapi26.c: In function ‘bread_submit_bios’:
    /var/lib/dkms/snapapi26/0.7.29/build/snapapi26.c:2034: warning: assignment from incompatible pointer type
    make[1]: *** [/var/lib/dkms/snapapi26/0.7.29/build/snapapi26.o] Error 1
    make: *** [_module_/var/lib/dkms/snapapi26/0.7.29/build] Error 2
    make: Leaving directory `/usr/src/kernels/2.6.25-14.fc9.i686'
     
  2. jura0001

    jura0001 Registered Member

    Joined:
    Jun 27, 2007
    Posts:
    47
    Sad to see you got no answers and sorry, I am no help either...

    But I have exactly the same experience with a kernel 2.6.25 (not using Fedora, but Debian SID). My error messages are just like yours (e.g.: error: ‘struct hd_struct’ has no member named ‘ios’).

    While the trick mentioned in your link still works for the kernel 2.6.24, it doesn't work any longer for 2.6.25.

    But maybe someone knows how to edit those .c files this time?

    I find it highly discouraging having to fear that True Image no longer compiles with each new kernel release! This kernel dependency of True Image modules is very far from ideal, but this is so with quite a few Linux programs that cannot be compiled "outside" the kernel... :-(

    Anyway, for various reasons, I still use 2.6.24.


    bye
     
  3. gtucker

    gtucker Registered Member

    Joined:
    May 27, 2008
    Posts:
    7
    thanks for your anwser, Jura001; this explains a little. i am quite new to linux and ti so although i have 2.6.25 installed i have a old kernel source as i upgraded from fedora 8 2.6.24 is there a way i can use this to get ti working or am i screwed till they update ti?
     
  4. gtucker

    gtucker Registered Member

    Joined:
    May 27, 2008
    Posts:
    7
    any solutions acronis support??
     
  5. Acronis Support

    Acronis Support Acronis Support Staff

    Joined:
    Apr 28, 2004
    Posts:
    25,885
    Hello gtucker and jura0001,

    Thank you for choosing Acronis Linux Server Disk Backup Software.

    We are sorry for delayed response.

    Coudl you please collect some information to let us investigate the problem thoroughly?

    Please download the Linux System Report utility available here and do the following to create the report:

    - Unpack the archive: # tar xvf sysinfo.tar

    - Make the script executable: # chmod +x sysinfo

    - Run the executable: # ./sysinfo

    Then submit a request for technical support. Attach all the collected files and information to your request along with the step-by-step description of the actions taken before the problem appears and the link to this thread. We will investigate the problem and try to provide you with a solution.

    Thank you.
    --
    Marat Setdikov
     
  6. _Dmitry_

    _Dmitry_ Registered Member

    Joined:
    Jun 10, 2008
    Posts:
    2

    I've fixed this messages (like ‘struct hd_struct’ has no member named ‘ios’")

    Now I've compiled snapapi26 with 2.6.25.4-30.fc9.x86_64.
    Testing now :)

    to fix this, open snapapi26-0.7.26/snapapi26.c, goto line 1869

    and replace following lines:

    out.reads = bdev->bd_part->_READS;
    out.read_sectors = bdev->bd_part->_READ_SECTORS;
    out.writes = bdev->bd_part->_WRITES;
    out.write_sectors = bdev->bd_part->_WRITE_SECTORS;

    with this ones:

    out.partsize = bdev->bd_part->nr_sects;
    out.reads = bdev->bd_part->dkstats->_READS;
    out.read_sectors = bdev->bd_part->dkstats->_READ_SECTORS;
    out.writes = bdev->bd_part->dkstats->_WRITES;
    out.write_sectors = bdev->bd_part->dkstats->_WRITE_SECTORS;

    And viola :argh:
     
  7. jura0001

    jura0001 Registered Member

    Joined:
    Jun 27, 2007
    Posts:
    47
    Hi, just did as you wrote, Dmitry.

    Unfortunately, it still doesn't work for me.

    This is the error I get:

    /var/lib/dkms/snapapi26/0.7.28/build/snapapi26.c:1870: error: invalid type argument of '->'

    Hopefully, this posting from lynx is not distorted, don't have much time anyway.

    Perhaps, you know what went wrong, Dmitry?


    Regards, jura0001
     
  8. jura0001

    jura0001 Registered Member

    Joined:
    Jun 27, 2007
    Posts:
    47
    2.6.25 - doesn't Acronis check what they release...?

    Dmitry, are you still here?


    Anyway:
    Someone sent me newer snapapi modules (version 0.7.35), and Acronis, I cannot understand you:

    Inside the source code you explicitely mention kernel version 2.6.25, and the modules still don't work with kernel 2.6.25!? Just because you use blk_put_queue! But the symbol is no longer exported with kernel 2.6.25. I had to replace blk_put_queue by blk_cleanup_queue, now everything compiles and the module can be insmodded, though I get some kernel warning, don't know how relevant it is, though.

    Look here:
    snapapi_init: Snapapi(v.0.7.35) init OK. Session size 4752.
    snumbd_init: Snumbd(v.0.7.35) init OK. Ctl major 250, blk major
    253.
    sys_init_module: 'snumbd26'->init suspiciously returned 253, it
    should follow 0/-E convention
    sys_init_module: loading module anyway...
    Pid: 7333, comm: modprobe Tainted: PF 2.6.25 #1
    [<c013cd34>] sys_init_module+0x154/0x1970
    [<c0103f8a>] syscall_call+0x7/0xb


    So it seems to work, but maybe there is still a problem...?


    What I absolutely don't understand, is that Acronis knows about kernel 2.6.25 (see the mention in the source code), but obviously doesn't even test and check if the modules compile and if they can be used. So they apparently just change some source code without real testing! :-(


    cheers
     
  9. _Dmitry_

    _Dmitry_ Registered Member

    Joined:
    Jun 10, 2008
    Posts:
    2

    Hi jura0001,

    that the problem, you are using 0.7.28 and mine patch is for 0.7.29.
    If you want I can send you full fixed snapapi package.

    Afterwards you have to copy this files in /var/lib/dkms/snapapi26/
    and start
    /usr/sbin/dkms install -m snapapi26 -v 0.7.29


    And I don't receive any warnings at all.

    [root@xxxxx]# modprobe snapapi26
    [root@xxxxx]# lsmod | grep sna
    snapapi26 35160 0
    [root@xxxxx]# tail /var/log/messages
    Jun 13 20:40:06 xxxxxxx kernel: snapapi_init: Snapapi(v.0.7.29) init OK. Session size 13416.
     
    Last edited: Jun 13, 2008
  10. jura0001

    jura0001 Registered Member

    Joined:
    Jun 27, 2007
    Posts:
    47
    Dmitry, I sent you a private message yesterday. So your help is appreciated, though the newer modules (in spite of the kernel warning messages) seem to work.


    Regards, jura0001
     
  11. gtucker

    gtucker Registered Member

    Joined:
    May 27, 2008
    Posts:
    7
    hi . thanks for your suggestions dimity & jura001. have been away on hols and no net :-(. but eager to try suggestions above. will let you know outcome..\

    thanks
     
  12. gtucker

    gtucker Registered Member

    Joined:
    May 27, 2008
    Posts:
    7
    dkms builds and installs ok but when i go to do a backup i get an unable to open (initialize) computer error. required kernel object module ('snapapi' driver) not found during intialization.
     
  13. jura0001

    jura0001 Registered Member

    Joined:
    Jun 27, 2007
    Posts:
    47

    Maybe a silly question, but anyway:

    Did you check that the modules not only built but that that they were also copied to your kernel modules directory (/lib/modules/<yourkernel>...)?

    Do the 2 modules (snapapi26 and snumbd26, the latter only for certain operations) appear when you do a "lsmod"?

    What version of the modules did you install?


    Regards, jura0001
     
  14. gtucker

    gtucker Registered Member

    Joined:
    May 27, 2008
    Posts:
    7
    no not a silly question..jura001.. .i'm still new to linux so. yep was getting a fatal error. when i used modprobe command. although dkms reported succuseful install.

    Now as it has been more than 15 days since i downloaded trial. trial edition no longer works arrg wants unlock code. So I then downloaded trial ent server edition and extract linux install util. This now installs ok into fedora 9. now when i issue lsmod commands I get ...

    root@XXXX]# modprobe snapapi26
    [root@XXXX]# lsmod | grep sna
    snapapi26 29488 3
    dm_snapshot 18468 0
    dm_mod 48980 9 dm_multipath,dm_snapshot,dm_zero,dm_mirror

    I use a windows comp to connect to my acronis agent running on fedora. I can connect to machine now and choose backup tasks. This has not solved the problem tho; As if i choose backup my computer. The management console freezes at processing please wait or if i choose data files option. i can get through screens until the final preparing backup screen appears when this method also hangs. Alas it appears problem remains un-resolved.
     
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.