Bug 694760

Summary: The the screen of RHEL6.1 PV DomU's GUI installer can't be displayed entirely
Product: Red Hat Enterprise Linux 6 Reporter: Qixiang Wan <qwan>
Component: anacondaAssignee: David Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 6.1CC: atodorov, dcantrell, drjones, imammedo, leiwang, pbonzini, tburke, yuzhang, yuzhou
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-13.21.114-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 12:40:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 663411    
Bug Blocks:    
Attachments:
Description Flags
RHEL6.1 PV DomU screenshot
none
bz694760.img
none
bz694760.img
none
bz694760.img none

Description Qixiang Wan 2011-04-08 10:20:12 UTC
Description of problem:
While installing RHEL6.1 (i386 or x86_64) as PV DomU over xen hypervisor, the screen can't be displayed entirely in VNC session. Please refer to the attachment for the screenshot, this could be inconvenient for users to play RHEL6.1 PV on xen.


Version-Release number of selected component (if applicable):
host : RHEL5.6 or RHEL5.6 with the lastest xen : xen-3.0.3-127.el5
guest: RHEL6.1-20110406.0

How reproducible:
100%

Steps to Reproduce:
1. download the kernel and ramdisk from latest RHEL6.1 snapshot
$ wget http://download.devel.redhat.com/rel-eng/RHEL6.1-20110406.0/6.1/Server/x86_64/os/isolinux/vmlinuz -O /tmp/vmlinuz
$ wget http://download.devel.redhat.com/rel-eng/RHEL6.1-20110406.0/6.1/Server/x86_64/os/isolinux/initrd.img -O /tmp/initrd.img

2. Boot up RHEL6.1 PV guest.
$ dd if=/dev/zero of=/tmp/test.img bs=512 count=1 seek=$((12*1024*1024))

$ cat rhel61-64pv.cfg
name = "rhel61x64pv"
maxmem = 1024
memory = 1024
vcpus = 1
kernel = "/boot/vmlinuz"
ramdisk = "/boot/initrd.img"
extra = "method=http://download.englab.nay.redhat.com/pub/rhel/rel-eng/RHEL6.1-20110406.0/6.1/Server/x86_64/os"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
vfb = [ 'type=vnc,vncunused=1,keymap=en-us,vnclisten=0.0.0.0' ]
disk = [ "tap:aio:/tmp/test.img,xvda,w" ]
vif = [ "mac=00:00:36:63:25:02,bridge=xenbr0,script=vif-bridge" ]

$ xm create rhel61-64pv.cfg

3. connect to guest via VNC session, step by step until get the GUI installer screen
  
Actual results:
The the screen of RHEL6.1 PV DomU's GUI installer can't be displayed entirely

Expected results:
The screen of RHEL6.1 installer should be displayed entirely

Additional info:
[1] there is no such defect with RHEL6.0
[2] there is no such defect with RHEL6.1 HVM guest 
[3] can reproduce with old RHEL6.1 snapshots like RHEL6.1-20110224.2
[3] '-std-vga' doesn't help with the issue:
$ mv /usr/lib64/xen/bin/qemu-dm /usr/lib64/xen/bin/xen-qemu-dm
$ echo '/usr/lib64/xen/bin/xen-qemu-dm "$@" -std-vga' > /usr/lib64/xen/bin/qemu-dm
$ chmod +x /usr/lib64/xen/bin/qemu-dm
then start guest:
$ ps aux | grep qemu-dm | grep -v grep
root      9173  0.7  0.2  92184  6712 ?        Sl   05:04   0:00 /usr/lib64/xen/bin/xen-qemu-dm -M xenpv -d 212 -domain-name rhel61x64pv -vnc 0.0.0.0:0 -vncunused -k en-us -std-vga

Comment 1 Qixiang Wan 2011-04-08 10:21:22 UTC
Created attachment 490753 [details]
RHEL6.1 PV DomU screenshot

Comment 4 Andrew Jones 2011-04-08 10:38:43 UTC
How does the screen look with a RHEL 6.0 GA install? How does it look with a
6.0 GA install but with the kernel updated to 6.1-beta? I'm asking because I'm
wondering if it's an Xorg issue.

Comment 5 Paolo Bonzini 2011-04-08 10:41:53 UTC
It works with RHEL6.0 GA.  Also, -std-vga works.

I'm trying to bisect it on the kernel now.

Comment 6 Paolo Bonzini 2011-04-08 17:32:22 UTC
It also fails with RHEL6.1 kernel/initrd and RHEL6 install.img, so the component is correct.

Comment 7 Paolo Bonzini 2011-04-11 11:33:35 UTC
Oops, sorry, Andrew's comment was right.  It _works_ with kernel 2.6.32-130.el6 and RHEL6 (GA) install image.

working X version: xorg-x11-server-1.7.7-26.el6, pixman 0.16.6
failing X version: xorg-x11-server-1.7.7-28.el6, pixman 0.18.4

Comment 8 Paolo Bonzini 2011-04-11 14:39:54 UTC
Trying the X server inside a RHEL6 installation works.  Also, for both "working" and "failing" installation, the configuration from "xrandr -d :1 -q" is the same:

Screen 0: minimum 800 x 600, current 800 x 600, maximum 800 x 600
default connected 800x600+0+0 0mm x 0mm
   800x600         0.0*

This seems to rule out a relationship with bug 638234.

So moving to the next possible culprit, anaconda.

Comment 10 David Cantrell 2011-04-13 14:23:02 UTC

*** This bug has been marked as a duplicate of bug 663411 ***

Comment 11 Paolo Bonzini 2011-04-13 15:23:15 UTC
Reopening as TestOnly so that virt-qe tracks it.

Comment 12 David Cantrell 2011-04-13 19:08:07 UTC
Created attachment 491862 [details]
bz694760.img

Can someone try this updates.img file and see if it solves the problem?

Comment 13 RHEL Program Management 2011-04-13 19:19:45 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 14 Qixiang Wan 2011-04-14 07:30:43 UTC
(In reply to comment #12)
> Created attachment 491862 [details]
> bz694760.img
> 
> Can someone try this updates.img file and see if it solves the problem?

the update image doesn't help on the issue, still get the same screen as the attachment in comment 1 with the updated image:
$ cat test.cfg
...
extra = "updates=http://10.66.8.1/bz694760.img repo=http://download.englab.nay.redhat.com/pub/rhel/rel-eng/RHEL6.1-20110406.0/6.1/Server/i386/os"
...

Comment 15 Paolo Bonzini 2011-04-14 09:46:25 UTC
Same here, I dropped it into a directory with the RHEL6.1 install.img and product.img, but I don't see any difference.

Comment 17 David Cantrell 2011-04-14 21:11:41 UTC
Created attachment 492232 [details]
bz694760.img

Here's a revised updates.img.  Please let me know if this one solves the problem you are seeing.

Comment 18 Qixiang Wan 2011-04-15 02:53:06 UTC
(In reply to comment #17)
> Created attachment 492232 [details]
> bz694760.img
> 
> Here's a revised updates.img.  Please let me know if this one solves the
> problem you are seeing.

this updated image still doesn't resolve the problem.

Comment 19 David Cantrell 2011-04-15 20:43:11 UTC
Created attachment 492501 [details]
bz694760.img

Third time's a charm.  How about this new updates.img?

Comment 20 Paolo Bonzini 2011-04-15 21:13:40 UTC
Works here, thanks!

Comment 22 David Cantrell 2011-04-18 19:44:06 UTC
*** Bug 663411 has been marked as a duplicate of this bug. ***

Comment 24 Alexander Todorov 2011-04-20 14:54:12 UTC
Reproduce with snap #4 and virt-manager. Tested and verified with 0420.n.0.

Comment 25 Yuyu Zhou 2011-04-25 02:42:26 UTC
Also verified this bug on latest RHEL6.1 snapshot(RHL6.1-2011-0420.0).
The screen of the latest RHEL6.1 PV DomU's GUI installer can be displayed entirely for all combinational conditions(32 on 32, 32 on 64 and 64 on 64).

Comment 26 errata-xmlrpc 2011-05-19 12:40:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0530.html