• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Linux 9.3 VMware 5 Wichtig brauche schnelle Hilfe.

MOC

Newbie
Hi Leute,

es ist mir wichtig das ich das schnell hinkriege und ich hoffe ihr könnt helfen, bin alleridngs noch linux neuling: (Habe das Forum aber schon durchgesehen)

Habe wie oben geschrieben VMware 5 installiet und die config gestartet, bekomme jedoch hier immer einen fehler:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include
]

In diesem Verzechnis ist nichts drin und ich habe nen aktuellen Compiler und auch den Kernel-Source installiert.

habe das Forum schon durchkämmt und kam dann auf das Update über YOU bzgl. der Kernels. Da ist aber nichts gelistet von wegen Kerner aktualisieren oder so.

Habt ihr ein Tipp?

Danke und Gruß
MOC
 

Martin Breidenbach

Ultimate Guru
Da sollte aber was liegen wenn die Kernelquellen installiert sind.

- VMware RPM installieren
- Kernelquellen installieren
- Entwicklertools installieren (make, gcc...)
- sicherstellen daß Kernelquellen zum laufenden Kernel passen (ggf durch Yast Online Update YOU)
- cd /usr/src/linux
- make cloneconfig
- make prepare-all
- vmware-config.pl

Das sollte es normalerweise tun.
 
OP
M

MOC

Newbie
Danke für die schnelle Antowort.

Also wird es erstmal an den Kernelquellen liegen?

Wenn ich in Yast reinschaue ist das Paket kernel-source mit einem hacken versehen also installiert.
(Hab ich auch 2 od. 3 mal nachinstalliert weil ich erst dachte es liegt daran)

wenn ich nun in das Verzeichnis:
/usr/src/linux/include gehe und ls -all ausführe steht folgendes da:
drwxr-xr-x 2 root root 72 2005-05-19 10:02 .
drwxr-xr-x 5 root root 136 2005-05-19 13:53 ..
lrwxrwxrwx 1 root root 8 2005-05-19 10:02 asm -> asm-i386[/i]

Was kann ich noch machen?

Gruß
MOC
 

Martin Breidenbach

Ultimate Guru
Blöde Frage: was passiert denn wenn Du bei der Frage einfach auf ENTER drückst ?

Diese Abfrage kommt nämlich immer dann wenn VMware kein vorkompiliertes Modul für den laufenden Kernel hat.
 
OP
M

MOC

Newbie
Diese Abfrage kommt nämlich immer dann wenn VMware kein vorkompiliertes Modul für den laufenden Kernel hat.

Ich kann ja nix anderes machen als:
1. VMWare installieren
2. Gcc compiler installieren
3. kernel-source installieren

Oder hab ich was vergessen?
 
OP
M

MOC

Newbie
so habe alles nochmal gemacht und habe jetzt:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is an existing directory, but it does not
contain at least one of these directories "linux", "asm", "net" as expected.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
 
OP
M

MOC

Newbie
unter:
/usr/src/linux-2.6.11.4-20a/ hätte ich die verzeichnisse nochmal !?!?!?
 

Arnd

Member
schau mal bei usr/src ob dort noch ein paar Ordner sind außer Linux

so z.b. linux ( kernelnummer ) jedem menge drinne.

die ganzen unterordner und Dateien hatte ich mal von dort nach usr/scr/linux kopiert und danacht hat es auch im Terminal geklappt mit

cd usr/scr/linux

danach den Befehl make cloneconfig
danach den Befehl make prepare
danach den Befehl vmware-config.pl

Hoffe es hilft.
Ansonsten nochmal bei yast unter suche Kernel eintippen und alles installieren was dort so mit kernel ist außer die multiprozessorteile.

Hatte bei mir zumindest gefunzt :D

Arnd
 
OP
M

MOC

Newbie
ja wenn ich unter /usr/src nachschaue gibts es mehrer ordner unter anderem :
/usr/src/linux-2.6.11.4-20a/
dort sind viele unterordner wie z.b. include; net usw.

aber kann ich einfach vom einen in den anderen kopieren?
was für einen sinn hat das?
 

Martin Breidenbach

Ultimate Guru
/usr/src/linux ist ein Link auf das 'aktuelle' Kernelquellenverzeichnis (in Deinem Fall /usr/src/linux-2.6.11.4-20a/ ).

Existiert bei Dir auch /usr/src/linux oder nur /usr/src/linux-2.6.11.4-20a/ ?
 
OP
M

MOC

Newbie
Es existieren beide also:

/usr/src/linux
und
/usr/src/linux-2.6.11.4-20a/
und
/usr/src/linux-2.6.11.4-20a-obj/
 

Martin Breidenbach

Ultimate Guru
MOC schrieb:
/usr/src/linux-2.6.11.4-20a/

Den Kernel hab ich auch.

MOC schrieb:
The path "/usr/src/linux/include" is an existing directory, but it does not
contain at least one of these directories "linux", "asm", "net" as expected.

Da fällt mir gerade was wie Schuppen aus den Haaren...

Ich hatte da schonmal so ein dubioses Problem... vor längerer Zeit.

Ich hab jetzt meine SuSE 9.3 mit VMware 5.0 'oben' und mal verglichen.

/usr/src/linux/include/asm ist ein Link (bei mir auf /usr/src/linux/include/asm-i386). Ich hatte das irgendwann mal daß der Link irgendwie gefehlt hatte... prüfe das doch mal. Ich habe dann den Link von Hand gesetzt und das Gemecker hat aufgehört.
 
OP
M

MOC

Newbie
sieht nicht so aus:

****@****:/usr/src/linux/include> ls -all
insgesamt 0
drwxr-xr-x 2 root root 72 2005-05-19 14:45 .
drwxr-xr-x 5 root root 136 2005-05-19 13:53 ..
lrwxrwxrwx 1 root root 8 2005-05-19 14:45 asm -> asm-i386



Was ist wenn ich bei der config den pfad von dem anderen (also linux-2.6 usw) ordner angebe?
darf den rechner aber nicht zerschiessen... ;-)
 
OP
M

MOC

Newbie
nein da existiert nichts weiter, ordner wie "net"; linux usw stehen nur unter:

/usr/src/linux-2.6.11.4-20a/
 

Martin Breidenbach

Ultimate Guru
Das ist NICHT in Ordnung !

/usr/src/linux/include sieht bei mir so aus:

Code:
drwxr-xr-x    3 root root  1088 Apr 19 17:58 acpi
lrwxrwxrwx    1 root root     8 Apr 19 19:01 asm -> asm-i386
drwxr-xr-x    2 root root  3448 Apr 19 17:58 asm-alpha
drwxr-xr-x   24 root root  3800 Apr 19 17:58 asm-arm
drwxr-xr-x    2 root root  3000 Apr 19 17:58 asm-arm26
drwxr-xr-x    3 root root  2424 Apr 19 17:58 asm-cris
drwxr-xr-x    2 root root  3048 Apr 19 17:58 asm-frv
drwxr-xr-x    2 root root   944 Apr 19 17:58 asm-generic
drwxr-xr-x    2 root root  2752 Apr 19 17:58 asm-h8300
drwxr-xr-x   10 root root  4184 Apr 19 20:58 asm-i386
drwxr-xr-x    3 root root  3768 Apr 19 17:58 asm-ia64
drwxr-xr-x    5 root root  2776 Apr 19 17:58 asm-m32r
drwxr-xr-x    2 root root  4648 Apr 19 17:58 asm-m68k
drwxr-xr-x    2 root root  3800 Apr 19 17:58 asm-m68knommu
drwxr-xr-x   45 root root  5864 Apr 19 17:58 asm-mips
drwxr-xr-x    2 root root  3248 Apr 19 17:58 asm-parisc
drwxr-xr-x    2 root root  4920 Apr 19 17:58 asm-ppc
drwxr-xr-x    3 root root  3624 Apr 19 17:58 asm-ppc64
drwxr-xr-x    2 root root  2808 Apr 19 17:58 asm-s390
drwxr-xr-x   31 root root  3664 Apr 19 17:58 asm-sh
drwxr-xr-x    2 root root  2504 Apr 19 17:58 asm-sh64
drwxr-xr-x    2 root root  4176 Apr 19 17:58 asm-sparc
drwxr-xr-x    2 root root  3920 Apr 19 17:58 asm-sparc64
drwxr-xr-x    2 root root  3656 Apr 19 17:58 asm-um
drwxr-xr-x    2 root root  3200 Apr 19 17:58 asm-v850
drwxr-xr-x    2 root root  3840 Apr 19 17:58 asm-x86_64
drwxr-xr-x    5 root root   400 Apr 19 17:58 asm-xen
drwxr-xr-x  431 root root 14016 Apr 19 20:58 config
drwxr-xr-x   17 root root 18840 Apr 19 20:58 linux
drwxr-xr-x    2 root root   312 Apr 19 17:58 math-emu
drwxr-xr-x    2 root root   384 Apr 19 17:58 media
drwxr-xr-x    2 root root   208 Apr 19 17:58 mtd
drwxr-xr-x    6 root root  2320 Apr 19 17:58 net
drwxr-xr-x    2 root root   320 Apr 19 17:58 pcmcia
drwxr-xr-x    2 root root   352 Apr 19 17:58 rxrpc
drwxr-xr-x    2 root root   600 Apr 19 17:58 scsi
drwxr-xr-x    2 root root  2248 Apr 19 17:58 sound
drwxr-xr-x    2 root root   768 Apr 19 17:58 video

Keine Ahnung was da bei Dir schiefgegangen ist - hau mal kernel-source runter und installier das neu.
 
OP
M

MOC

Newbie
ich frag mich auch was nicht stimmt, den kernel source habe ich ja schon mind. 3 mal wieder neuinstalliert.... :cry:

/usr/src/linux/include sieht so aus:
insgesamt 0
drwxr-xr-x 2 root root 72 2005-05-19 14:45 .
drwxr-xr-x 5 root root 136 2005-05-19 13:53 ..
lrwxrwxrwx 1 root root 8 2005-05-19 14:45 asm

und
/usr/src/linux-2.6.11.4-20a/include sieht so aus:
drwxr-xr-x 38 root root 992 2005-03-23 23:54 .
drwxr-xr-x 19 root root 720 2005-05-19 14:45 ..
drwxr-xr-x 3 root root 1088 2005-05-19 14:45 acpi
drwxr-xr-x 2 root root 3448 2005-05-19 14:45 asm-alpha
drwxr-xr-x 24 root root 3800 2005-05-19 14:45 asm-arm
drwxr-xr-x 2 root root 3000 2005-05-19 14:45 asm-arm26
drwxr-xr-x 3 root root 2424 2005-05-19 14:45 asm-cris
drwxr-xr-x 2 root root 3048 2005-05-19 14:45 asm-frv
drwxr-xr-x 2 root root 944 2005-05-19 14:45 asm-generic
drwxr-xr-x 2 root root 2752 2005-05-19 14:45 asm-h8300
drwxr-xr-x 10 root root 4152 2005-05-19 14:45 asm-i386
drwxr-xr-x 3 root root 3768 2005-05-19 14:45 asm-ia64
drwxr-xr-x 5 root root 2776 2005-05-19 14:45 asm-m32r
drwxr-xr-x 2 root root 4648 2005-05-19 14:45 asm-m68k
drwxr-xr-x 2 root root 3800 2005-05-19 14:45 asm-m68knommu
drwxr-xr-x 45 root root 5864 2005-05-19 14:45 asm-mips
drwxr-xr-x 2 root root 3248 2005-05-19 14:45 asm-parisc
drwxr-xr-x 2 root root 4920 2005-05-19 14:45 asm-ppc
drwxr-xr-x 3 root root 3624 2005-05-19 14:45 asm-ppc64
drwxr-xr-x 2 root root 2808 2005-05-19 14:45 asm-s390
drwxr-xr-x 31 root root 3664 2005-05-19 14:45 asm-sh
drwxr-xr-x 2 root root 2504 2005-05-19 14:45 asm-sh64
drwxr-xr-x 2 root root 4176 2005-05-19 14:45 asm-sparc
drwxr-xr-x 2 root root 3920 2005-05-19 14:45 asm-sparc64
drwxr-xr-x 2 root root 3656 2005-05-19 14:45 asm-um
drwxr-xr-x 2 root root 3200 2005-05-19 14:45 asm-v850
drwxr-xr-x 2 root root 3840 2005-05-19 14:45 asm-x86_64
drwxr-xr-x 5 root root 400 2005-05-19 14:45 asm-xen
drwxr-xr-x 17 root root 18776 2005-05-19 14:45 linux
drwxr-xr-x 2 root root 312 2005-05-19 14:45 math-emu
drwxr-xr-x 2 root root 384 2005-05-19 14:45 media
drwxr-xr-x 2 root root 208 2005-05-19 14:45 mtd
drwxr-xr-x 6 root root 2320 2005-05-19 14:45 net
drwxr-xr-x 2 root root 320 2005-05-19 14:45 pcmcia
drwxr-xr-x 2 root root 352 2005-05-19 14:45 rxrpc
drwxr-xr-x 2 root root 600 2005-05-19 14:45 scsi
drwxr-xr-x 2 root root 2248 2005-05-19 14:45 sound
drwxr-xr-x 2 root root 768 2005-05-19 14:45 video
 
OP
M

MOC

Newbie
Sehr komisch, aber ich werde jetzt mal nach hause fahren und ne nacht drüber schlafen. falls dir noch was einfällt einfach posten ich schau morgen wieder rein.

Vielen dank für eure Hilfe.
 
Oben