Bug 799480

Summary: X-server does not start using opensuse 12.3 beta 1 in VirtualBox 4.2.6
Product: [openSUSE] openSUSE 12.3 Reporter: Forgotten User PoQ9LLo9Cj <forgotten_PoQ9LLo9Cj>
Component: X11 3rd Party DriverAssignee: Michal Seben <mseben>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Critical    
Priority: P3 - Medium CC: bwiedemann, coolo, forgotten_0Iyw_XgfeX, forgotten_5jFyFBvk-I, forgotten_x6bXrL76Fh, gs, harbrink, hendersj, mircea.mucha, psikodad
Version: RC 1   
Target Milestone: ---   
Hardware: i686   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs
x-server log file with virtualbox packages installed
sreenshot virtualbox 4.2.6 start of opensuse 12.3 rc1 32bit
initialize buffer.base

Description Forgotten User PoQ9LLo9Cj 2013-01-19 16:03:28 UTC
Created attachment 520990 [details]
y2logs

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0

I have installed opensuse 12.3 Beta 1 in VirtualBox 4.2.6.
The x-server starts up without problems for the first part of the installation process (selection of setup options, installing the files to harddisk). The x-server does not start up for the yast autoconfiguration phase. The autoconfiguration phase uses yast2 text mode.
After the installation process or after system start no x-server starts up.



Reproducible: Always

Steps to Reproduce:
1. Install opensuse 12.3 Beta 1 in VirtualBox 4.2.6
2. Select a desktop (kde, gnome, etc.) for installation
3. Wait for the autoconfig phase of the installation process
4. Login to the installed system and try to start the x-server

Actual Results:  
+text mode for yast2 autoconfiguration
+no x-server starts up after installation or system start

Expected Results:  
+x-server starts correctly for yast2 autoconfiguration
+x-server starts up after installation or system start

Workaround for installation:
Do not install the following packages 
  virtualbox-guest-kmp-desktop
  virtualbox-guest-tools
  virtualbox-guest-x11
After installation finished install the virtualbox additions manually.

Fix problem after installation:
Deinstall the following packages
  virtualbox-guest-kmp-desktop
  virtualbox-guest-tools
  virtualbox-guest-x11
Restart system. The x-server starts up correctly with virtualbox standard resolution.
Install the virtualbox additions manually.
Comment 1 Forgotten User PoQ9LLo9Cj 2013-01-19 17:05:53 UTC
Created attachment 520991 [details]
x-server log file with virtualbox packages installed

If I try to start the x-server manually with startx and the virtuabox packages are installed there is an error message for the vboxvideo modul:

[   398.887] (II) LoadModule: "vboxvideo"
[   398.889] (II) Loading /usr/lib/xorg/modules/drivers/vboxvideo_drv.so
[   398.889] (II) Module vboxvideo: vendor="Oracle Corporation"
[   398.889] 	compiled for 10.12.0, module version = 1.0.1
[   398.889] 	Module class: X.Org Video Driver
[   398.889] 	ABI class: X.Org Video Driver, version 12.0
[   398.889] (EE) module ABI major version (12) doesn't match the server's version (13)
[   398.889] (II) UnloadModule: "vboxvideo"
[   398.889] (II) Unloading vboxvideo
[   398.890] (EE) Failed to load module "vboxvideo" (module requirement mismatch, 0)
Comment 2 Arvin Schnell 2013-01-20 16:59:14 UTC
*** Bug 799492 has been marked as a duplicate of this bug. ***
Comment 3 Stefan Dirsch 2013-01-21 09:18:40 UTC
*** Bug 799497 has been marked as a duplicate of this bug. ***
Comment 4 Stefan Dirsch 2013-01-21 10:39:01 UTC
*** Bug 798480 has been marked as a duplicate of this bug. ***
Comment 5 Stefan Dirsch 2013-01-21 13:17:18 UTC
Just did a submitrequest. Anybody who could test the fix?

Request: #149422

  submit:       home:sndirsch:branches:Virtualization/virtualbox(cleanup) -> Virtualization


Message:
- install 1.13 vboxvideo driver on openSUSE 12.3 (bnc#799480)

State:   new        2013-01-21T13:15:51 sndirsch
Comment: <no comment>
Comment 6 Bernhard Wiedemann 2013-01-21 14:00:22 UTC
This is an autogenerated message for OBS integration:
This bug (799480) was mentioned in
https://build.opensuse.org/request/show/149425 Factory / virtualbox
Comment 7 Jim Henderson 2013-01-21 19:59:26 UTC
I performed the following steps:

1.  Clean reinstall of 12.3 beta1 with GNOME desktop selected.
2.  Add the Virtualization repo from factory
3.  Remove the virtualbox guest packages installed by beta1
4.  Install the virtualbox guest packages from the factory virtualization repo
5.  Reboot

This seems to work on my system.  (I tried an upgrade and that didn't seem to work, but I probably just didn't have the right switches to force a switch of repository).
Comment 8 Forgotten User PoQ9LLo9Cj 2013-01-21 20:29:19 UTC
I have removed the virtualbox guest packages from beta1 and I have installed the new virtualbox guest packages from factory manually with zypper. After a system restart the x-server starts up correctly. The virtualbox autoscale screen function seems to work with the Xfce desktop.
Comment 9 Stefan Dirsch 2013-01-22 06:35:55 UTC
Ok. So let's close that one as fixed.
Comment 10 Stefan Dirsch 2013-01-22 11:03:06 UTC
*** Bug 799814 has been marked as a duplicate of this bug. ***
Comment 11 Christian Boltz 2013-01-28 17:27:41 UTC
*** Bug 799508 has been marked as a duplicate of this bug. ***
Comment 12 Gabriele Mohr 2013-02-07 09:32:00 UTC
Seems that same problem is with RC1. Workaround of initial comment also works.
Package virtualbox with bug-fix from comment #5 is installed.
Comment 13 Forgotten User 0Iyw_XgfeX 2013-02-09 16:54:11 UTC
Confirm. I couldn't start 12.3rc1 LiveCD or installed system in VirtualBox. Unchecking virtualbox-guest-* on installation helped.
Comment 14 Stefan Dirsch 2013-02-11 09:48:50 UTC
(In reply to comment #12)
> Seems that same problem is with RC1. Workaround of initial comment also works.
> Package virtualbox with bug-fix from comment #5 is installed.

Which problem? The resize issue of bnc#798480? Or does X no longer start at all  for the yast autoconfiguration phase, i.e. second part of installation?
Comment 15 Forgotten User PoQ9LLo9Cj 2013-02-11 17:27:55 UTC
Created attachment 524183 [details]
sreenshot virtualbox 4.2.6 start of opensuse 12.3 rc1 32bit

I have just installed opensuse 12.3 RC1 32 bit and 64 bit using VirtualBox 4.2.6

For the 64 bit version the x-server starts up correctly and the virtualbox autoscale screen function seems to work with the Xfce desktop.

For the 32 bit version the x-server does not start at all. I also have no login prompt.
Comment 16 Stephan Kulow 2013-02-18 13:32:40 UTC
Should I remove the driver from DVD/live cd?
Comment 17 Michal Seben 2013-02-18 22:16:34 UTC
I have to confirm that openSUSE-12.3-KDE-LiveCD-Build0024-i686.iso doesn't boot up (tested on suse 12.2 and window xp hosts + latest vbox) - looks like kernel panic or some guru meditation - hard to debug as there is no login prompt after this crash available

i will install older 12.2 release and do upgrade to 12.3, without virtualbox-guest-* packages and will post the results here, maybe 32bit kernel raise some hidden vbox bug
Comment 18 Michal Seben 2013-02-19 20:54:13 UTC
so I've made 12.3 installation without virtualbox-guest-* and it works, but I hit the crashed X after installing package virtualbox-guest-kmp-* - to be concrete it's the vboxvideo.ko which trigger/cause this crash (when I comment the line in /etc/init.d/vboxadd where this module is loaded using modprobe command, X started fine)

now I will try to get backtrace from crashed Xorg and will look around for similar issues: 
https://bugs.archlinux.org/task/33229
https://forums.virtualbox.org/viewtopic.php?f=3&t=51727&start=30
Comment 19 Michal Seben 2013-02-20 11:24:46 UTC
Created attachment 525470 [details]
initialize buffer.base
Comment 20 Michal Seben 2013-02-20 11:30:45 UTC
Stefan, 
I found patch for xorg server which resolve this issue,could you please check the request (osc request show 155893) which I've made against openSUSE:12.3:Update/xorg-x11-server ? I tested it and it fix our issue, I don't have backtrace

patch is simple it only initialize framebuffer.base to NULL

here is the reference to original bug report:
https://bugs.archlinux.org/task/33229
here is upstream bug report :
https://bugs.freedesktop.org/show_bug.cgi?id=59825
statement from vboxteam :
https://www.virtualbox.org/ticket/11356

in previous attachement you could find the patch itself
Comment 21 Bernhard Wiedemann 2013-02-20 12:00:14 UTC
This is an autogenerated message for OBS integration:
This bug (799480) was mentioned in
https://build.opensuse.org/request/show/155893 Maintenance /
Comment 22 Stefan Dirsch 2013-02-20 13:58:03 UTC
Thanks a lot, Michal. I've now added the patch to obs://X11:XOrg as well and did for openSUSE:Factory also a submit request. Closing. IMHO it would make sense to fix this still for GM, since this issue already happens during installation/with the LiveCD, right?
Comment 23 Bernhard Wiedemann 2013-02-20 14:00:11 UTC
This is an autogenerated message for OBS integration:
This bug (799480) was mentioned in
https://build.opensuse.org/request/show/155904 Factory / xorg-x11-server
Comment 24 Stephan Kulow 2013-02-21 14:14:39 UTC
*** Bug 804182 has been marked as a duplicate of this bug. ***
Comment 25 Gabriele Mohr 2013-09-30 08:03:35 UTC
*** Bug 798620 has been marked as a duplicate of this bug. ***