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.
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.