Bug 621893 - F14 Beta RC1 X fails on VirtualBox
Summary: F14 Beta RC1 X fails on VirtualBox
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: 14
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 626978 646818 (view as bug list)
Depends On:
Blocks: F14Target F14VirtTarget
TreeView+ depends on / blocked
 
Reported: 2010-08-06 12:23 UTC by Robert Szalai
Modified: 2018-04-11 09:47 UTC (History)
27 users (show)

Fixed In Version: xorg-x11-server-1.9.0-13.fc14
Clone Of:
Environment:
Last Closed: 2010-10-06 20:44:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
VirtualBox log (64.39 KB, text/plain)
2010-08-06 15:44 UTC, Jaroslav Reznik
no flags Details
Log of RC4 install attempt with VirtualBox 3.2.8 (43.53 KB, text/plain)
2010-08-16 13:21 UTC, Richard Shaw
no flags Details
Xorg.0.log (8.53 KB, text/plain)
2010-08-31 14:04 UTC, Andre Robatino
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 30585 0 None None None Never

Description Robert Szalai 2010-08-06 12:23:53 UTC
Description of problem:

Downloaded Fedora-14-x86_64-netinst.iso from TC2 and tried a) Install new system b) Install with basic video driver. Both options result in a blank screen.

Version-Release number of selected component (if applicable):
anaconda 14.14

How reproducible:
Every time

Steps to Reproduce:
1. start Virtualbox with the netinst image attached
2. Notice that the installer hangs and displayes blank screen
3.
  
Actual results:
The installer hangs and displays blank screen.

Expected results:
The installer displays information on screen as to how to proceed.

Additional info:
Was tried on VirtualBox 3.2.6 on OS X 1.5.8 on a MacPro3,1

Comment 1 Jaroslav Reznik 2010-08-06 15:44:03 UTC
Created attachment 437187 [details]
VirtualBox log

I can confirm on Linux (VirtualBox 3.1.8).

Comment 2 Andre Robatino 2010-08-07 00:01:03 UTC
I see this also with RC1 i386 (DVD, CD #1, or netinst) on VirtualBox 3.1.8.  However, it's possible to do a graphical install (or at least start one) by using VNC.  (Change the guest's Network Adapter from the default "NAT" to "Bridged Adapter", press [Tab] at the boot menu and add the "vnc" option, then use one of Fedora's VNC clients.)

Comment 3 Andre Robatino 2010-08-07 00:36:12 UTC
Update: I successfully completed a default i386 DVD install using VNC, but graphical fails in the same way it does during install, so it's necessary to use runlevel 3 (which is the default after doing a VNC install).  I used the useradd and passwd commands to create an ordinary user account, since the graphical firstboot couldn't run.

Comment 4 Andre Robatino 2010-08-07 00:47:36 UTC
Should mention that RC1 x86_64 install won't work at all (on VirtualBox or otherwise) due to bug 621775.

Comment 5 Andre Robatino 2010-08-07 11:35:28 UTC
RC2 x86_64 DVD install in VirtualBox guest works for me using VNC as described above.

Comment 6 Andre Robatino 2010-08-11 10:59:04 UTC
Same blank screen problem with RC3.

Comment 7 Andre Robatino 2010-08-13 10:07:51 UTC
Same blank screen problem with RC4.

Comment 8 Richard Shaw 2010-08-16 13:21:29 UTC
Created attachment 438943 [details]
Log of RC4 install attempt with VirtualBox 3.2.8

Here's my log from RC4 x86-64 with the same issue.

Same results with default menu option or basic video driver option.

Comment 9 Matthias Runge 2010-08-18 07:11:12 UTC
Updateing a freshly installed F-13 via preupgrade results in a blank screen during update and a hard lockup.

Comment 10 Jason Montleon 2010-08-25 05:57:02 UTC
You can get around this by setting up the rpmfusion devel repo and installing VirtualBox-OSE-guest (I had to use --skip-broken to get it installed); after that I get a desktop instead of a black screen

Comment 11 Nathanael Noblet 2010-08-25 19:10:56 UTC
*** Bug 626978 has been marked as a duplicate of this bug. ***

Comment 12 Adam Jackson 2010-08-30 14:21:41 UTC
Once you've installed, run X and see if it fails.  It should fail in the same way as at anaconda time.  Grab the X log from a failure case and attach it here.

Comment 13 Andre Robatino 2010-08-31 14:04:23 UTC
Created attachment 442191 [details]
Xorg.0.log

This is from a failed attempt to start X after installing Fedora 14 Alpha in VirtualBox 3.2.8 using VNC. No updates applied.

Comment 14 Andre Robatino 2010-09-01 05:16:26 UTC
Adam: any particular reason your needinfo specifies the original reporter? Everyone here is having exactly the same problem (with the possible exception of comment 10). My attachment in comment 13 should suffice.

Comment 15 Andre Robatino 2010-09-10 10:44:56 UTC
Same problem exists in Beta TC1.

Comment 16 Richard Shaw 2010-09-14 02:55:39 UTC
Just a "me too" F14 Beta TC1 x86_64 and virtualbox 3.2.8 (on F13 x86_64 host).

Comment 17 Matěj Cepl 2010-09-14 20:12:47 UTC
(In reply to comment #14)
> Adam: any particular reason your needinfo specifies the original reporter?
> Everyone here is having exactly the same problem (with the possible exception
> of comment 10). My attachment in comment 13 should suffice.

This line

[   136.653] (EE) open /dev/fb0: No such file or directory

makes me concerned. Why it isn't there? This seems to be different from the previous issues with VirtualBox.

Andre, please, keep watch on this bug, as you seem to be know a designated reporter (and we cannot change the reporter post in bugzilla, so you have to keep watch on you emails from Bugzilla).

Thank you

Comment 18 Matěj Cepl 2010-09-14 20:15:56 UTC
Also, Andre, would you be willing to try with images from http://alt.fedoraproject.org/pub/alt/stage/14-Beta.TC1/ ?

Is the situation  better?

Comment 19 Michael Cronenworth 2010-09-14 20:23:26 UTC
(In reply to comment #17)
> 
> This line
> 
> [   136.653] (EE) open /dev/fb0: No such file or directory
> 
> makes me concerned. Why it isn't there? This seems to be different from the
> previous issues with VirtualBox.

I don't have a /dev/fb0 in my F13 VBox machine, which works great and has full 3D (compiz) support. I also don't have a /dev/fb0 on my bare metal F13 install.

> 
> Andre, please, keep watch on this bug, as you seem to be know a designated
> reporter (and we cannot change the reporter post in bugzilla, so you have to
> keep watch on you emails from Bugzilla).

I'm also affected by this and can provide any logs that are required.

(In reply to comment #18)
> 
> Also, Andre, would you be willing to try with images from
> http://alt.fedoraproject.org/pub/alt/stage/14-Beta.TC1/ ?
>
> Is the situation  better?

He already replied saying that the Beta TC1 build failed, too. See comment 15.

Comment 20 Andre Robatino 2010-09-14 20:37:49 UTC
(In reply to comment #18)
> Also, Andre, would you be willing to try with images from
> http://alt.fedoraproject.org/pub/alt/stage/14-Beta.TC1/ ?
> 
> Is the situation  better?

Already tested - comment 15.

Comment 21 Andre Robatino 2010-09-14 20:43:46 UTC
BTW, there was a VirtualBox ticket filed for this issue:

http://www.virtualbox.org/ticket/7387

but it's been closed. They're convinced the problem is on the Fedora side.

Comment 22 Matěj Cepl 2010-09-15 09:03:42 UTC
(In reply to comment #20)
> (In reply to comment #18)
> > Also, Andre, would you be willing to try with images from
> > http://alt.fedoraproject.org/pub/alt/stage/14-Beta.TC1/ ?
> > 
> > Is the situation  better?
> 
> Already tested - comment 15.

Whoops! Yes, I am sorry, I have overlooked this one.

Comment 23 Michael Cronenworth 2010-09-18 05:53:15 UTC
Still broken in F14 Beta RC1.

Comment 24 Richard Shaw 2010-09-19 16:55:17 UTC
Still broken in F14 Beta RC2.

Comment 25 Andre Robatino 2010-09-20 03:34:23 UTC
Broken in the same way using the F14 RC2 live image Fedora-14-Beta-i686-Live.iso.

Comment 26 Richard Shaw 2010-09-27 23:32:28 UTC
Still broken in F14 Beta RC3 x86_64 install DVD.

Comment 27 john 2010-09-28 21:25:25 UTC
Still broken in F14 Beta x86_64 Live

Comment 28 Germán Racca 2010-09-30 02:43:00 UTC
Still broken in F14 Beta x86_64 Live

Comment 29 David 2010-09-30 03:07:04 UTC
(In reply to comment #28)
> Still broken in F14 Beta x86_64 Live

Support X.org 1.9.0 -> fixed post-3.2.8

http://www.virtualbox.org/ticket/7306

Comment 30 Oded Arbel 2010-09-30 12:40:56 UTC
(In reply to comment #29)
> Support X.org 1.9.0 -> fixed post-3.2.8
> 
> http://www.virtualbox.org/ticket/7306

I'm not sure its relevant as the fix to this problem - the fix in virtualbox was to make the guest additions compile and run under X.org 1.9.0, which means that if you managed to install the system using text mode, then you should be able to build guest additions that would allow X to run in F14 (maybe - I haven't tested it yet, and the VirtualBox bug talks about Ubuntu).

The problem in Fedora is that the graphical installer crashes (the kernel, itself, VirtualBox?), so you won't get a chance to get to the new guest additions.

Comment 31 Andre Robatino 2010-10-03 14:43:04 UTC
One of the VirtualBox maintainers claims to have pinpointed the cause of this problem, in the Xorg code. Can someone verify this so hopefully we can get a fix soon?

http://www.virtualbox.org/ticket/7387#comment:19

Comment 32 Frank Mehnert 2010-10-03 14:47:31 UTC
That was me:

Guys, the reason for this crash is this line:

http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/vbe/vbe.c?h=server-1.9-branch#n589

Here the code tries to copy 206 bytes. In the other case (VESA 3.0 supported), only 188 + 66 - 50 = 204 bytes are copied. VirtualBox supports only VESA 2.0, therefore the crash. The memcpy function is compiled with fortify enabled.

Please could you fix this code in Fedora 14 if upstream doesn't fix it in time?

Comment 33 Frank Mehnert 2010-10-03 14:51:33 UTC
Created an upstream bug, see here:

https://bugs.freedesktop.org/show_bug.cgi?id=30585

Comment 34 Fedora Update System 2010-10-04 17:45:42 UTC
xorg-x11-server-1.9.0-12.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/xorg-x11-server-1.9.0-12.fc14

Comment 35 Fedora Update System 2010-10-05 05:19:30 UTC
xorg-x11-server-1.9.0-12.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update xorg-x11-server'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/xorg-x11-server-1.9.0-12.fc14

Comment 36 Frank Mehnert 2010-10-05 07:32:09 UTC
Still not correct because the upstream patch is wrong. The correct size to copy is 255 bytes not 256 (the structure has a size of 255 bytes)!

Comment 37 Andre Robatino 2010-10-05 11:29:54 UTC
I tested both this and the corresponding Rawhide build in my KVM guests and they didn't fix bug 623956 which is supposed to have the same cause. I'll test in both KVM and VirtualBox when fixed builds are pushed.

Comment 38 James Laska 2010-10-05 12:07:26 UTC
(In reply to comment #36)
> Still not correct because the upstream patch is wrong. The correct size to copy
> is 255 bytes not 256 (the structure has a size of 255 bytes)!

Moving back to ASSIGNED based on test feedback.

Comment 39 satellitgo 2010-10-05 12:27:01 UTC
su -c 'yum --enablerepo=updates-testing update xorg-x11-server'.
does not work for me.....

#fedora-qa (today)
<satellit_afk> soas-i386-20101004.16.iso  su -c 'yum --enablerepo=updates-testing update xorg-x11-server'  no package xorg-x11-server available?  [Bug 621893] F14 Beta RC1 X fails on VirtualBox  Comment #35
----snip-----
<jlaska> satellit_: there is no binary package called, xorg-x11-server, there is a xorg-x11-server.src.rpm which provides several xorg-x11-server-* packages (see http://koji.fedoraproject.org/koji/buildinfo?buildID=198809)
<satellit_> jlaska: OK so comment #35 was in error. Tried this on booted live CD

Comment 40 Frank Mehnert 2010-10-05 12:31:55 UTC
Use xorg-x11-server-Xorg

Comment 41 Fedora Update System 2010-10-05 17:42:02 UTC
xorg-x11-server-1.9.0-13.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/xorg-x11-server-1.9.0-13.fc14

Comment 42 Frank Mehnert 2010-10-05 19:09:24 UTC
The -13.fc14 packages now work fine here when running as VirtualBox guest.

Comment 43 James Laska 2010-10-05 19:19:25 UTC
(In reply to comment #42)
> The -13.fc14 packages now work fine here when running as VirtualBox guest.

Thanks for the feedback, moving to VERIFIED.  Frank, if you haven't already done so, can you supply some karma in the bodhi update (https://admin.fedoraproject.org/updates/xorg-x11-server-1.9.0-13.fc14).  Thanks!

Comment 44 Andre Robatino 2010-10-05 20:07:36 UTC
Works for me with a F14 x86_64 VirtualBox guest. With KVM, the F14 build works, but I had trouble with the Rawhide build - see

https://bugzilla.redhat.com/show_bug.cgi?id=623956#c26

I'm going to hold off testing this on a Rawhide VirtualBox guest until I find out why it doesn't work in KVM. I suspect that it's something other than the Xorg update.

Frank: Your karma is ignored unless you create a Bodhi account (easy to do) and log in - an email address isn't enough.

Comment 45 Fedora Update System 2010-10-05 21:50:20 UTC
xorg-x11-server-1.9.0-13.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update xorg-x11-server'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/xorg-x11-server-1.9.0-13.fc14

Comment 46 Andre Robatino 2010-10-06 01:50:44 UTC
I created a Rawhide VirtualBox guest by cloning my F14 guest and then updating to Rawhide. With the Koji xorg-x11-server packages installed, X works. There are currently 10 packages skipped due to dependencies, including systemd. So it's reasonable to consider this fixed and write off the KVM problem as typical Rawhide breakage.

Comment 47 Andre Robatino 2010-10-06 14:56:16 UTC
I straightened Rawhide out by using yum shell to remove upstart-sysvinit and install systemd-sysvinit, then changed the default runlevel to 5. X still works. So this seems to be completely fixed regarding VirtualBox. I still haven't figured out why my Rawhide KVM guest won't run X, but it's probably not related to the xorg-x11-server update.

Comment 48 Fedora Update System 2010-10-06 20:43:51 UTC
xorg-x11-server-1.9.0-13.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 49 Richard Shaw 2010-10-25 13:13:05 UTC
I can confirm as of F14 RC1 I can now install under VirtualBox 3.2.10 without issue.

Comment 50 Brian Lane 2010-10-26 22:17:26 UTC
*** Bug 646818 has been marked as a duplicate of this bug. ***

Comment 51 Andrey Panasyuk 2010-10-28 06:54:46 UTC
F14 RC1 netinst works fine for me also in VirtualBox.


Note You need to log in before you can comment on or make changes to this bug.