Need help - Linux installation

Discussion in 'Parallels Workstation for Windows and Linux' started by kostjaz, Apr 10, 2006.

  1. kostjaz

    kostjaz Bit poster

    Messages:
    4
    Hello, this is the first time I write in this forum and I hope someone can help me.

    My situation:
    Debian Linux testing/unstable
    uname -a gives the folows:
    ----------------
    Linux LS 2.6.9 #5 Thu Dec 23 04:21:17 CET 2004 i686 GNU/Linux
    ----------------
    Pentium 4 1,7 GHz 512 RAM

    My problem:
    I've downloaded the trial version of Parallels Workstation (2.1 build 1670)
    Installation went fine.
    If I type "parallels-config" i get the folowing....
    _________________
    LS:/home/kostja# parallels-config

    Configuring Parallels Workstation 2.1 build 1670



    Configuring Parallels Workstation 2.1 drivers...
    Compiling Parallels Workstation 2.1 drivers...

    Can not compile and/or link drivers. Read /usr/lib/parallels/doc/INSTALL
    and follow instructions specified in this document.

    Configuration and compilation log is available at /usr/lib/parallels/comp.log.24340.error
    _________________

    the logfile says...
    ________________________
    ...
    ...
    make[2]: Leaving directory `/usr/lib/parallels/drivers'
    Making all in hypervisor
    make[2]: Entering directory `/usr/lib/parallels/drivers/hypervisor'
    make -C /lib/modules/2.6.9/build SUBDIRS=/usr/lib/parallels/drivers/hypervisor SRCRO
    make[3]: Entering directory `/usr/src/kernel-source-2.6.9'
    CC [M] /usr/lib/parallels/drivers/hypervisor/hypmain.o
    cc1: Invalid option `-falign-loops=2'
    cc1: Invalid option `-falign-jumps=2'
    cc1: Invalid option `-falign-functions=2'
    In file included from /usr/lib/parallels/drivers/drv_main/mm/mm.h:30,
    from /usr/lib/parallels/drivers/hypervisor/hypmain.c:27:
    /usr/lib/parallels/include/PMM.h:82: warning: unnamed struct/union that defines no i
    make[4]: *** [/usr/lib/parallels/drivers/hypervisor/hypmain.o] Fehler 1
    make[3]: *** [_module_/usr/lib/parallels/drivers/hypervisor] Fehler 2
    make[3]: Leaving directory `/usr/src/kernel-source-2.6.9'
    make[2]: *** [hypervisor] Fehler 2
    make[2]: Leaving directory `/usr/lib/parallels/drivers/hypervisor'
    make[1]: *** [all-recursive] Fehler 1
    make[1]: Leaving directory `/usr/lib/parallels/drivers'
    make: *** [all-recursive] Fehler 1
    ________________________

    I think the problem is a wrong Kernel source version (that told me VMware - it had also problems with instmod).
    I have a selfmade kernel, but the source in /usr/src/kernel-source-2.6.9 must be the right one.
    I have also an other problem....if I try to compile another kernel, I get the folowing error:
    ______________________
    LS:/usr/src/linux-2.6.9# make
    CHK include/linux/version.h
    make[1]: »arch/i386/kernel/asm-offsets.s« ist bereits aktualisiert.
    CHK include/linux/compile.h
    CC arch/i386/kernel/process.o
    {standard input}: Assembler messages:
    {standard input}:830: Error: suffix or operands invalid for `mov'
    {standard input}:831: Error: suffix or operands invalid for `mov'
    {standard input}:1029: Error: suffix or operands invalid for `mov'
    {standard input}:1030: Error: suffix or operands invalid for `mov'
    {standard input}:1098: Error: suffix or operands invalid for `mov'
    {standard input}:1099: Error: suffix or operands invalid for `mov'
    {standard input}:1221: Error: suffix or operands invalid for `mov'
    {standard input}:1222: Error: suffix or operands invalid for `mov'
    {standard input}:1231: Error: suffix or operands invalid for `mov'
    {standard input}:1243: Error: suffix or operands invalid for `mov'
    make[1]: *** [arch/i386/kernel/process.o] Fehler 1
    make: *** [arch/i386/kernel] Fehler 2
    ______________________
    For this error I could not find anything on the net.


    Maybe my modules are not linked correctly?
    _________________________
    LS:/usr/src/linux-2.6.9# ls -la /lib/modules/2.6.9
    ...
    lrwxrwxrwx 1 root root 28 2006-04-10 15:06 build -> /usr/src/kernel-source-2.6.9
    ...
    ...
    lrwxrwxrwx 1 root root 28 2006-04-10 15:07 source -> /usr/src/kernel-source-2.6.9
    LS:/usr/src/linux-2.6.9#
    _________________________

    Is there a way to figure out which sources and headers I have used to compile my kernel?

    Thanks for any help.
     
  2. constant

    constant Forum Maven

    Messages:
    1,010
    .
    Kostjaz,

    This to me seems just a bit too unreasonable.

    You are trying to install software that does not report anyware that it supports the OS you are trying to use.

    Your using an unsupported, unstable OS, and you would like advise about what source headers you used to compile your kernel. If you don't know this yourself, then what are you doing with that OS.

    Use a stable, supported OS, and then it will be reasonable for you to ask questions.
    .
     
  3. teig

    teig Bit poster

    Messages:
    3
    Hi,

    don't know what you specific problem is.
    May I suggest updating the kernel first and get it running without problems.

    Then re-config parallels.

    I've tried the demo on Slackware, Arch and now Gentoo, no problem with the modules so far.
    There are differences in the init system, but that was all.

    Ohh, and none of them are supported!
    Haven't been able to get vmware to work on any of those.

    Kudo's for this to the Parallels team!
     
  4. Nadine McSim

    Nadine McSim Junior Member

    Messages:
    17
    What is version of gcc you're using?
     
  5. kostjaz

    kostjaz Bit poster

    Messages:
    4
    thank you all for your help

    I am using 4.0 but I tryed also with 2.95 , 3.0 , 3.3 and 3.4

    The version of my sources and the running kernel are the same. But vmware and parallels tell me the same error.

    I am running ...
    LS:/home/kostja# uname -a
    Linux LS 2.6.9 #5 Thu Dec 23 04:21:17 CET 2004 i686 GNU/Linux

    The sources I downloaded and installed from kernel.org
    http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.9.tar.bz2


    @ constant
    vmware works fine with the same OS (unstable/testing - kernel 2.4)
     
  6. super awesome

    super awesome Junior Member

    Messages:
    19

    Kostjaz - ignore anything Constant says. He is a troll who is counter-productive to the Parallels community and I don't see why the Parallels team hasn't banned him yet.

    Funny that there was an article on Slashdot just yesterday regarding Linux snobs being the barrier to mainstream Linux - gee, wonder where they got that idea?
     
  7. constant

    constant Forum Maven

    Messages:
    1,010
    .
    Super Awful,

    What a whiny little baby with no sense of humour you are. If you persist in doing no more than personally attacking people, then what a great help you are.

    What help has Awful just provided you Kostjaz? He just dribbles on about something your not even interested in.
    .
     
  8. kostjaz

    kostjaz Bit poster

    Messages:
    4
    @ constant
    what help has you privided ?!
     
  9. kostjaz

    kostjaz Bit poster

    Messages:
    4
    I don't understand much about kernels and architecture yet. But could be the problem because of the different architecture?
    The installed kernel is i686, and while compiling any new kernel it stops at the folder arch/i386/....could it be the problem? Does s.o. knows the difference between them?
     
  10. constant

    constant Forum Maven

    Messages:
    1,010
    .
    Kostjaz,

    Your on a Parallels forum asking about kernel headers, compiling kernels, unstable OS, etc. What sort of help do you expect?

    What would be most helpful to you in running Parallels would be if you use a supported OS. That is the reality of the situation. That is the help I have already provided, not that forums are exclusively for help. Forums are also for questions(you have some) and comments as well.

    Also, Parallels is not VMware, or VPC, or Xen, as Honda is not Toyota, or GM, or Ford. Just expecting one to have something because one of the others does. Why?
    .
     
  11. Andrew @ Parallels

    Andrew @ Parallels Parallels Team

    Messages:
    1,507
    kostjaz,

    I have passed your issue to support team - hope they will help you.
     
  12. tgrogan

    tgrogan Pro

    Messages:
    255
    @constant....
    Also, Parallels is not VMware, or VPC, or Xen, as Honda is not Toyota, or GM, or Ford. Just expecting one to have something because one of the others does.
    ...................

    Actually, this probably defines the problem more than anything. VMware, WinPro, et al all require consistency between the kernel in use, the GCC that built it, and the headers installed/referenced via links - just like Parallels. Clearly Kostjaz, you have not acheived this consistency. I have installed all of the above on 2.6.9 successfully. Try Googling for how to set up VMware for some hints as to what to do. It is nearly impossible for others to examine your disk contents to help you. Good Luck!
     

Share This Page