PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Virtualbox Guest Additions in Suse 10.3-Gast?



smartysmart34
30.10.07, 22:53
Hallo zusammen,

ich habe gerade einen Suse 10.3-Gast unter Virtualbox 1.5.2 installiert. Davor habe ich das Gleiche mit Debian Etch 4.0 und Ubuntu 7.10 gemacht. In beiden Fällen ließen sich die Guest Additions relativ problemlos laden.

Unter Suse habe ich die Kernel-Header-Files installiert und dann den Installer für die Additions gestartet. Der lief fehlerfrei durch und warf nur die Standardmeldungen "building GuestAdditons kernel module..."
Beendet wurde mit ... successfully installed. You have to reboot the system...

Wenn ich allerdings reboote, dann bleibt z.B. die Maus immernoch im Gast gefangen und auch die Auflösungen stehen nicht zur Verfügung.

Gibt es da noch ein Problem? Ich habe zumindest in den Gast-Logs (warn, messages, boot.msg...) nix gravierendes gefunden...

Danke und Gruß,
Martin

psy
31.10.07, 06:47
Ist das jeweilige Kernel-Modul denn geladen?
Das kannst du mit lsmod nachschauen.

smartysmart34
31.10.07, 07:18
Hallo psy,

ja, ein lsmod | grep box wirft mir sowohl vboxvfs als auch vboxadd als geladene Module...

Gruß,
Martin

P.S.: Beim runterfahren des Gasts hat er sich gerade beim Stoppen des vboxadd mit failed beschwert: Module is in use... falls das jemandem weiterhilft.

fuffy
31.10.07, 09:01
Hi!

Welcher Maustreiber ist denn in /etc/X11/xorg.conf eingetragen? Es sollte vboxmouse sein.

Gruß
fuffy

Rain_maker
31.10.07, 12:41
P.S.: Beim runterfahren des Gasts hat er sich gerade beim Stoppen des vboxadd mit failed beschwert: Module is in use... falls das jemandem weiterhilft.

Nope das habe ich auch, wenn ich vorher den Shared Folder nicht umounte.

Ist ärgerlich aber nicht ursächlich für Dein Problem, sondern (Vermutung) einfach nur etwas schlechtes Timing, weil das Modul entladen werden soll, bevor der shared Folder ausgehängt wurde.

Macht bei mir bis auf die beiden unschönen Fehlermeldungen aber auch keine Probleme.

Greetz,

RM

smartysmart34
31.10.07, 20:09
Hallo zusammen,

kurze Frage nochmal: Ich habe jetzt die virtuelle Suse 10.3 in den Runlevel 3 gebootet und dort sax2 gestartet. Meine naive ANnahme war, daß ich dann dort sowohl die entsprechende Grafikkarte als auch die Maus auswählen kann... Fehlannahme.

Muß ich ernsthaft die xorg.conf manuell konfigurieren? Kann doch nicht wahr sein, oder?

Passenderweise finde ich in sax2 nicht nur die Maus nicht, sondern er schluckt auch die 1280er Auflösung nicht. Welchen Grafiktreiber muß ich denn dann manuelle eintragen um höhere Auflösungen einstellen zu können?

Danke und Gruß,
Martin

P.S.: Ich wäre dran interessiert zu erfahren, wieso das alles halbwegs problemlos unter Debian und Ubuntu klappt, während Suse zwar die Module läd, aber weiter nix damit macht?

P.P.S.: Mal was zum raten: Grade editiere ich die xorg.conf. Was steht als InputDevice dirn? Driver "vboxmouse".

Wieso zum Henker gibt er die dann nicht frei???

Auszug:
Liefere ich nach. Bin grade in Runlevel 3 und kann nicht kopieren...

P.P.P.S: Ich habe mir gedacht.. mensch, biste schlau und schreibst die entscheidenden Passagen aus dem funktionierenden Debian Etch ab. Gedacht, getan. danach in Runlevel 5 gewechselt und siehe da: Auflösung geht und Maus-Integration geht auch. Zum test das System nochmal durch Null gefahren: Er kommt mit der richtigen Auflösung hoch, aber die Maus ist wieder gefangen. Was soll der Mist? Wieso zickt Suse in Virtualbox so rum?

stefan.becker
01.11.07, 21:07
Poste doch mal deine geändert xorg.conf. Ich vergleich das mal mit ner Fedora Installation in VB.

smartysmart34
02.11.07, 06:30
# /.../
# SaX generated X11 config file
# Created on: 2007-10-30T22:45:38+0100.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "freetype"
Load "extmod"
Load "glx"
EndSection

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "de"
Option "XkbModel" "microsoftpro"
Option "XkbRules" "xfree86"
Option "XkbVariant" "nodeadkeys"
EndSection


Section "InputDevice"
Driver "vboxmouse"
Identifier "Mouse[1]"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection


Section "Monitor"
HorizSync 28-57
Identifier "Monitor[0]"
Option "DPMS"
VertRefresh 43-60
EndSection



Section "Screen"
SubSection "Display"
Modes "1152x864" "1024x768" "800x600"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection


Section "Device"
Driver "vboxvideo"
Identifier "Device[0]"
EndSection


Auszug aus boot.msg mit Bezug zu vbox:

<6>vboxadd: initializing version 0.5
<4>ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
<7>PCI: setting IRQ 10 as level-triggered
<6>ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
<6>vboxadd: major code: 254, using irq 10, io port 0xc040, memory at 0xf0400000 (size 4194304 bytes), hypervisor window at 0xf1580000 (size 0xc00000 bytes)
<6>pcnet32.c:v1.33-NAPI 27.Jun.2006 tsbogend@alpha.franken.de
<4>ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
<7>PCI: setting IRQ 11 as level-triggered
<6>ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
<7>PCI: Setting latency timer of device 0000:00:03.0 to 64

stefan.becker
02.11.07, 16:59
Bei mir sieht der Mausbereich im Fedora Gast so aus:



Section "InputDevice"
Identifier "VBoxMouse"
Driver "vboxmouse"
Option "CorePointer"
EndSection

Versuchs mal, ob es hilft? Keine Ahnung. Im Fedora Gast geht das so jedenfalls.

smartysmart34
02.11.07, 17:05
Hallo Stefan,

das Witzige ist ja, daß die o.g. Mausdefinition unter Debian in vbox klasse tut. Und nachdem ich das in Runlevel 3 so wie oben beschrieben unter Opsensuse 10.3 gespeichert habe, ging es mit einem Absetzen von "init 5" auch unter Suse.

Nur nach einem Reboot ist wieder alles beim Alten ohne Mausintegration. Deshalb verzweifel ich ja grad.. :-(

stefan.becker
02.11.07, 17:25
Mal sehen, wenn ich am Wochenende etwas Zeit habe, will ich mal ne Suse aufsetzen als Gast. Die ct DVD liegt hier noch rum, da kann ich das mal testen.

smartysmart34
02.11.07, 21:49
Hallo,

ich hab' s jetzt auch nochmal so eingetragen, wie es bei Dir der Fall ist (den Identifyer habe ich natürlich so übernommen, wie er in meiner xorg.conf zum Zusammenbau des Desktops benötigt wird...). Tut aber auch nicht :-(

stefan.becker
03.11.07, 19:11
So, hier mal eine Suse 10.3 / VB Gast xorg.conf. 1280x1024, Maus übergangslos geht beides.



# /.../
# SaX generated X11 config file
# Created on: 2007-11-03T20:00:23+0100.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection

Section "Module"
Load "glx"
Load "type1"
Load "extmod"
Load "dbe"
Load "freetype"
EndSection

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "de"
Option "XkbModel" "microsoftpro"
Option "XkbRules" "xfree86"
Option "XkbVariant" "nodeadkeys"
EndSection


Section "InputDevice"
Driver "vboxmouse"
Identifier "Mouse[1]"
Option "Buttons" "9"
Option "Device" "/dev/input/mice"
Option "Name" "ImExPS/2 Generic Explorer Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
Option "CalcAlgorithm" "XServerPool"
DisplaySize 305 230
HorizSync 31-64
Identifier "Monitor[0]"
ModelName "1280X1024@60HZ"
VendorName "--> VESA"
VertRefresh 50-60
UseModes "Modes[0]"
EndSection


Section "Modes"
Identifier "Modes[0]"
EndSection


Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection


Section "Device"
BoardName "Framebuffer Graphics"
Driver "vboxvideo"
Identifier "Device[0]"
Screen 0
VendorName "VESA"
EndSection



Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection


Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
EndSection

smartysmart34
03.11.07, 22:08
Hallo nochmal.

Also jetzt langsam verläßt mich mein Latein...
Ich dachte schon es liegt an der Bootmeldung zu Major code: 254....
Sieht aber unter Debian bis auf's Byte genauso aus und dort läuft's.
Ich glaube nicht, daß es an der xorg.conf liegt. Die Auflösung tut ja. Es wird nur die Maus nicht freigegeben.... Hat sonst noch jemand das Problem oder eine Lösung???

Gruß,
Martin

stefan.becker
03.11.07, 22:19
Sorry, ich habe so keine Idee.

Ich habe Fedora 7 und Suse 10.3 Gäste neu installiert. Sowohl Maus als Grafik als auch Shared Folder gehen jeweils einwandfrei.

stefan.becker
03.11.07, 22:20
PS: Hast du meine xorg.conf mal komplett übernommen?

smartysmart34
03.11.07, 22:37
Ja, habe ich. Ich hatte dann auch "nur" eine 1280er Auflösung, aber die Maus ist dennoch gefangen...

Mal blöde nachgefragt: Hast Du die Virtualbox auf Version 1.5 oder 1.5.2? Ich habe letztere. gibt es da evtl. ein Problem mit den Guest Additions?

diarnst
04.11.07, 13:18
Hast Du die Virtualbox auf Version 1.5 oder 1.5.2? Ich habe letztere. gibt es da evtl. ein Problem mit den Guest Additions?

Wenn ich an dieser Stelle einmal mitspielen darf :)
Bei mir sind weder unter 1.5 noch 1.5.2 Probleme mit der Maus aufgetreten. Die bewegt sich völlig losgelöst...
Bei den Guest Additions für 1.5 gab es zwar Probleme mit DirectDraw, die sind aber mit denen für 1.5.2 verschwunden. Läuft alles hervorragend.
Ich hatte allerdings mal Probleme bei der Umstellung von 1.4(?) auf 1.5. Hatte da zwar die Additions für 1.5 installiert, die Additions für 1.4 aber nicht deinstalliert. Sind die 1.5er denn bei Dir deinstalliert ?


Dietger

smartysmart34
04.11.07, 13:44
Ich habe Suse erst mit VB 1.5.2 aufgesetzt und demnach auch direkt die 1.5.2er Guest additions eingespielt. Es waren vorher nie andere drin...

In den anderen Systemen (Debian, Ubintu, WinXP) habe ich noch die 1.5er additions drin und die tun ganz hervorragend..

stefan.becker
04.11.07, 15:51
Ich habe beides aktuell in Version 1.52. Und wie gesagt: Problemlos mit allen Gästen.

Einzige Ausnahme aktuell: Vista Gast und Shared Folders sind wohl aktuell ein Fremdwort.

smartysmart34
06.11.07, 22:36
Für alle. die es interessiert:
http://forums.virtualbox.org/viewtopic.php?t=2480
Das war's gewesen...

Gruß,
Martin