Hackerboard Wiki HaboBlog
Hackerboard bei Facebook Hackerboard bei Google+ Hackerboard bei Twitter

[HaBo]

 
Linux/UNIX Linuxverfechter finden hier Weggefährten.

Vmware Server 2.0: Installation

Diskussion: Vmware Server 2.0: Installation im Forum Linux/UNIX, in der Kategorie Operating Systems; Anzeige Hi, ich bekomme bei der installation vom VMware Server 2.0 folgenden Fehler: Code: None of the pre-built vsock modules ...

Antwort
Alt 24.09.08, 21:57   #1 (permalink)
Senior Member
 
Registriert seit: 26.03.06
Serow Leistung: 8086
Likes: 16
Standard Vmware Server 2.0: Installation

Anzeige

Hi,
ich bekomme bei der installation vom VMware Server 2.0 folgenden Fehler:

Code:
None of the pre-built vsock modules for VMware Server is suitable for your 
running kernel.  Do you want this program to try to build the vsock module for 
your system (you need to have a C compiler installed on your system)? [yes] 

Extracting the sources of the vsock module.

Building the vsock module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vsock-only'
make -C /lib/modules/2.6.27-4-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-4-generic'
  CC [M]  /tmp/vmware-config0/vsock-only/linux/af_vsock.o
  CC [M]  /tmp/vmware-config0/vsock-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config0/vsock-only/linux/util.o
/tmp/vmware-config0/vsock-only/linux/util.c: In function ?VSockVmciLogPkt?:
/tmp/vmware-config0/vsock-only/linux/util.c:157: warning: format not a string literal and no format arguments
  CC [M]  /tmp/vmware-config0/vsock-only/linux/vsockAddr.o
  LD [M]  /tmp/vmware-config0/vsock-only/vsock.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "VMCIDatagram_CreateHnd" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_DestroyHnd" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: "VMCI_GetContextID" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_Send" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
  CC      /tmp/vmware-config0/vsock-only/vsock.mod.o
  LD [M]  /tmp/vmware-config0/vsock-only/vsock.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-4-generic'
cp -f vsock.ko ./../vsock.o
make: Leaving directory `/tmp/vmware-config0/vsock-only'
Unable to make a vsock module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config0/vsock.o': -1 Unknown symbol in module
There is probably a slight difference in the kernel configuration between the 
set of C header files you specified and your running kernel.  You may want to 
rebuild a kernel based on that directory, or specify another directory.

The VM communication interface socket family is used in conjunction with the VM
communication interface to provide a new communication path among guests and 
host.  The rest of this software provided by VMware Server is designed to work 
independently of this feature.  If you wish to have the VSOCK feature  you can 
install the driver by running vmware-config.pl again after making sure that 
gcc, binutils, make and the kernel sources for your running kernel are 
installed on your machine. These packages are available on your distribution's 
installation CD.
[ Press the Enter key to continue.]
Was nun? GCC, binutils, make und kernel-quellen sind installiert.

cu
serow
Serow ist offline   Mit Zitat antworten
Alt 24.09.08, 22:09   #2 (permalink)
Moderator
 
Benutzerbild von xeno
 
Registriert seit: 09.09.04
xeno Leistung: Pentium Ixeno Leistung: Pentium I
xeno eine Nachricht über ICQ schicken
Likes: 76
Standard

auf den ersten blick sieht das so aus, als wären die kernelquellen nicht von dem kernel, der bei dir grad läuft. kannst du das bestätigen?
xeno ist offline   Mit Zitat antworten
   
HaBOT
 
- Anzeige -

Werbung ist gerade online    
Alt 24.09.08, 22:15   #3 (permalink)
Senior Member
Themenstarter
 
Registriert seit: 26.03.06
Serow Leistung: 8086
Likes: 16
Standard

Das einzige Packet, das auf den Namen linux-source-* hört ist linux-source-2.6.7. Linux Header sind folgende installiert:

linux-headers-2.6.27-3
linux-headers-2.6.27-3-generic
linux-headers-2.6.27-4
linux-headers-2.6.27-4-generic
linux-headers-generic

uname -r sagt:
Code:
2.6.27-4-generic
/lib/modules sieht so aus:
Code:
drwxr-xr-x 7 root root 4096 2008-09-22 19:47 2.6.24-19-generic
drwxr-xr-x 6 root root 4096 2008-09-23 16:45 2.6.27-3-generic
drwxr-xr-x 7 root root 4096 2008-09-24 22:12 2.6.27-4-generic
drwxr-xr-x 7 root root 4096 2008-09-24 19:00 last-good-boot
Serow ist offline   Mit Zitat antworten
Alt 24.09.08, 22:16   #4 (permalink)
Moderator
 
Benutzerbild von bitmuncher
 
Registriert seit: 30.09.06
bitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcore
Likes: 441
Standard

Sind die Kernel-Quellen die, die zu deinem laufenden Kernel gehören, in /usr/src/linux zu finden und mittels 'cd /usr/src/linux && cp /boot/config-<kernelversion> /usr/src/linux/.config && make oldconfig' vorkonfiguriert?
__________________
Mein Blog - Mein Job - Diaspora

Der Ring uns zu knechten besteht aus 12 Sternen auf blauem Grund.

Neue Beiträge im Habo via Twitter - Das HaBo auf FB - Das HaBo bei G+
bitmuncher ist offline   Mit Zitat antworten
Alt 24.09.08, 22:19   #5 (permalink)
Moderator
 
Benutzerbild von xeno
 
Registriert seit: 09.09.04
xeno Leistung: Pentium Ixeno Leistung: Pentium I
xeno eine Nachricht über ICQ schicken
Likes: 76
Standard

ich vermute eher, daß die kernel-header nicht reichen. mein tip:

apt-get install linux-sources-<deineversion>
cd /usr/src
tar xfz linux-source-<deineversion>
ln -s linux-sources-blabla linux

... also auch die sourcen (nicht die header) nach /usr/src/linux verlinken.
xeno ist offline   Mit Zitat antworten
Alt 24.09.08, 22:20   #6 (permalink)
Senior Member
Themenstarter
 
Registriert seit: 26.03.06
Serow Leistung: 8086
Likes: 16
Standard

/usr/src sieht so aus:
Code:
mathias@wizard:/usr/src$ ls -l
total 51592
drwxr-xr-x 22 root root     4096 2008-09-22 19:39 linux-headers-2.6.27-3
drwxr-xr-x  7 root root     4096 2008-09-22 19:39 linux-headers-2.6.27-3-generic
drwxr-xr-x 22 root root     4096 2008-09-23 16:21 linux-headers-2.6.27-4
drwxr-xr-x  7 root root     4096 2008-09-23 16:21 linux-headers-2.6.27-4-generic
-rw-r--r--  1 root root 52742891 2008-09-22 08:06 linux-source-2.6.27.tar.bz2
drwxr-xr-x  2 root root     4096 2008-09-23 17:22 nvidia-177.76
drwxr-xr-x 10 root root     4096 2008-09-23 16:14 vboxdrv-2.0.2
drwxr-xr-x  6 root root     4096 2008-09-23 16:14 virtualbox-ose-guest-2.0.2
Den symlink linux gibts garnicht. Soll ich generic oder nicht-generic nehmen? *ratlos* Kann mich allerdings nicht erinnern, dass das mit VMware Server 1.0.7 unter Hardy (2.6.24) nötig war. 1.0.7 läuft allerdings nicht mehr unter 2.6.24. deswegen muss ich updaten.

cu
serow
Serow ist offline   Mit Zitat antworten
Alt 24.09.08, 22:21   #7 (permalink)
Moderator
 
Benutzerbild von xeno
 
Registriert seit: 09.09.04
xeno Leistung: Pentium Ixeno Leistung: Pentium I
xeno eine Nachricht über ICQ schicken
Likes: 76
Standard

Zitat:
Original von Serow
/usr/src sieht so aus:
Code:
mathias@wizard:/usr/src$ ls -l
total 51592
drwxr-xr-x 22 root root     4096 2008-09-22 19:39 linux-headers-2.6.27-3
drwxr-xr-x  7 root root     4096 2008-09-22 19:39 linux-headers-2.6.27-3-generic
drwxr-xr-x 22 root root     4096 2008-09-23 16:21 linux-headers-2.6.27-4
drwxr-xr-x  7 root root     4096 2008-09-23 16:21 linux-headers-2.6.27-4-generic
-rw-r--r--  1 root root 52742891 2008-09-22 08:06 linux-source-2.6.27.tar.bz2
drwxr-xr-x  2 root root     4096 2008-09-23 17:22 nvidia-177.76
drwxr-xr-x 10 root root     4096 2008-09-23 16:14 vboxdrv-2.0.2
drwxr-xr-x  6 root root     4096 2008-09-23 16:14 virtualbox-ose-guest-2.0.2
Den symlink linux gibts garnicht. Soll ich generic oder nicht-generic nehmen? *ratlos* Kann mich allerdings nicht erinnern, dass das mit VMware Server 1.0.7 unter Hardy (2.6.24) nötig war. 1.0.7 läuft allerdings nicht mehr unter 2.6.24. deswegen muss ich updaten.

cu
serow
deine kernel sources sind nicht entpackt. also wie ich grad beschrieben habe -> entpacken -> nach /usr/src/linux symlinken.
xeno ist offline   Mit Zitat antworten
Alt 24.09.08, 22:28   #8 (permalink)
Senior Member
Themenstarter
 
Registriert seit: 26.03.06
Serow Leistung: 8086
Likes: 16
Standard

Okay, habs so gemacht. Hab auch mit make oldconfig konfiguriert. Hat alles nix genützt. Immernoch gleiche Fehlermeldung.

Code:
mathias@wizard:/usr/src$ ls -la
total 51604
drwxrwsr-x 10 root src      4096 2008-09-24 22:23 .
drwxr-xr-x 14 root root     4096 2008-09-23 17:22 ..
lrwxrwxrwx  1 root src        19 2008-09-24 22:23 linux -> linux-source-2.6.27
drwxr-xr-x 22 root root     4096 2008-09-22 19:39 linux-headers-2.6.27-3
drwxr-xr-x  7 root root     4096 2008-09-22 19:39 linux-headers-2.6.27-3-generic
drwxr-xr-x 22 root root     4096 2008-09-23 16:21 linux-headers-2.6.27-4
drwxr-xr-x  7 root root     4096 2008-09-23 16:21 linux-headers-2.6.27-4-generic
drwxr-xr-x 25 root root     4096 2008-09-24 22:24 linux-source-2.6.27
-rw-r--r--  1 root root 52742891 2008-09-22 08:06 linux-source-2.6.27.tar.bz2
drwxr-xr-x  2 root root     4096 2008-09-23 17:22 nvidia-177.76
drwxr-xr-x 10 root root     4096 2008-09-23 16:14 vboxdrv-2.0.2
drwxr-xr-x  6 root root     4096 2008-09-23 16:14 virtualbox-ose-guest-2.0.2
mathias@wizard:/usr/src$
Code:
mathias@wizard:/lib/modules$ ls -al
total 32
drwxr-xr-x  6 root root  4096 2008-09-24 19:00 .
drwxr-xr-x 16 root root 12288 2008-09-24 11:06 ..
drwxr-xr-x  7 root root  4096 2008-09-22 19:47 2.6.24-19-generic
drwxr-xr-x  6 root root  4096 2008-09-23 16:45 2.6.27-3-generic
drwxr-xr-x  7 root root  4096 2008-09-24 22:25 2.6.27-4-generic
drwxr-xr-x  7 root root  4096 2008-09-24 19:00 last-good-boot
mathias@wizard:/lib/modules$
Er fragt mich oben folgendes:
Code:
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.27-4-generic/build/include]
Das dürfte aber per default so okay sein oder?
Serow ist offline   Mit Zitat antworten
Alt 24.09.08, 22:31   #9 (permalink)
Moderator
 
Benutzerbild von xeno
 
Registriert seit: 09.09.04
xeno Leistung: Pentium Ixeno Leistung: Pentium I
xeno eine Nachricht über ICQ schicken
Likes: 76
Standard

eigentlich sollte dort nun /usr/src/linux/include rein. kann ich aber nicht beschwören.
xeno ist offline   Mit Zitat antworten
Alt 24.09.08, 22:57   #10 (permalink)
Moderator
 
Benutzerbild von bitmuncher
 
Registriert seit: 30.09.06
bitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcore
Likes: 441
Standard

Deinstalliere mal die unnötigen Kernel-Header wieder. Die sorgen sonst nur für Probleme, wenn parallel Sources existieren.
__________________
Mein Blog - Mein Job - Diaspora

Der Ring uns zu knechten besteht aus 12 Sternen auf blauem Grund.

Neue Beiträge im Habo via Twitter - Das HaBo auf FB - Das HaBo bei G+
bitmuncher ist offline   Mit Zitat antworten
Alt 25.09.08, 09:32   #11 (permalink)
Senior Member
Themenstarter
 
Registriert seit: 26.03.06
Serow Leistung: 8086
Likes: 16
Standard

Hi,

installiert sind jetzt noch

linux-headers-2.6.27-4
linux-headers-2.6.27-4-generic
linux-headers-generic

Die gehören scheinbar irgendwie zusammen.

Wenn ich /usr/src/linux/include angebe kommt
Zitat:
The path "/usr/src/linux/include" is a kernel header file directory, but it
does not contain the file "linux/version.h" as expected. This can happen if
the kernel has never been built, or if you have invoked the "make mrproper"
command in your kernel directory. In any case, you may want to rebuild your
kernel.
Muss ich das make noch durchlaufen lassen?
Serow ist offline   Mit Zitat antworten
Alt 25.09.08, 13:12   #12 (permalink)
Moderator
 
Benutzerbild von xeno
 
Registriert seit: 09.09.04
xeno Leistung: Pentium Ixeno Leistung: Pentium I
xeno eine Nachricht über ICQ schicken
Likes: 76
Standard

das ist ein problem, was irgendwie seit 2.6.22 oder so auftritt. genaueres kann ich dir dazu leider nicht sagen. mal auf bit warten.
xeno ist offline   Mit Zitat antworten
Alt 25.09.08, 14:04   #13 (permalink)
Moderator
 
Benutzerbild von bitmuncher
 
Registriert seit: 30.09.06
bitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcorebitmuncher Quadcore
Likes: 441
Standard

Einfach mittels 'touch /usr/src/linux/include/version.h' die Datei anlegen. Und die verbliebenen Kernel-Header-Pakete solltest du auch deinstallieren.
__________________
Mein Blog - Mein Job - Diaspora

Der Ring uns zu knechten besteht aus 12 Sternen auf blauem Grund.

Neue Beiträge im Habo via Twitter - Das HaBo auf FB - Das HaBo bei G+
bitmuncher ist offline   Mit Zitat antworten
Alt 25.09.08, 14:10   #14 (permalink)
Senior Member
Themenstarter
 
Registriert seit: 26.03.06
Serow Leistung: 8086
Likes: 16
Standard

Oh man, ich kann das Ding nicht mal stoppen um vmware-config.pl ausführen zu können:

Code:
mathias@wizard:~$ sudo vmware-config.pl 
Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
   Virtual machines                                                   failed
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                           failed
Stopping VMware services:
   VMware Authentication Daemon                                        done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Bridged networking on /dev/vmnet0                                   done
   Host network detection                                              done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                   failed
Unable to stop services for VMware Server

Execution aborted.

mathias@wizard:~$ sudo /etc/init.d/vmware-core stop
Stopping VMware services:
   VMware Authentication Daemon                                        done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Bridged networking on /dev/vmnet0                                   done
   Host network detection                                              done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                   failed
mathias@wizard:~$
EDIT: Okay ein reboot hats gebracht. Seltsam ... Aber das klappt alles nicht:
Code:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux/include

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.27-4-generic).  Even if the module were to 
compile successfully, it would not load into the running kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
EDIT:
Ich befürchte wir habens hier einfach mit nam Bug zu tun. Ich hab spasseshalber einfach mal versucht das Ding unter Hardy (2.6.24) zu installieren und das läuft einwandfrei. Danke für die Mühen! Werd wohl erst auf Intrepid umsteigen wenns stable ist
Serow ist offline   Mit Zitat antworten
Antwort
   
- Anzeige -

Werbung ist gerade online    

[HaBo] » Operating Systems » Linux/UNIX » Vmware Server 2.0: Installation
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind aus
Pingbacks sind aus
Refbacks sind aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
VMWare Server 2.0 auf Vista 64 Bit Prototipping Windows Vista 0 16.04.08 21:57
Mysql-server Installation weau Linux/UNIX 12 29.01.08 14:24
VMware GSX Server: Kostenloser Download Lesco Downloads 0 06.02.06 11:06
Installation von VMWare Workstation jagdfalke Linux/UNIX 17 23.09.05 21:01
Rechtevergabe: VMWare ESX Server 4future Linux/UNIX 2 06.05.05 10:52


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61