Bug 205874

Summary: Bad recovery from an initial X server startup failure during install.
Product: [Fedora] Fedora Reporter: Jeffery M. Chan <jeff_m_chan>
Component: rhpxlAssignee: Chris Lumens <clumens>
Status: CLOSED CURRENTRELEASE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: fc6t3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-19 18:31:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150224    
Attachments:
Description Flags
FC5 /tmp after the two X server startup failures.
none
FC6t2 /tmp after hang
none
Patched FC5 version. Based on rhpxl-0.18 version used in FC5.
none
rhpxl_patch.img.gz: Floppy image with patched xserver.py. For FC5 "linux updates".
none
rhpxl_patch.iso.gz: ISO with patched xserver.py. For FC5 "linux updates". none

Description Jeffery M. Chan 2006-09-09 09:32:07 UTC
Description of problem:

This is about the error recovery after an initial X server failure.

When I try to install FC5 on my machine.  I get the following error messages
on the console.

        Running anaconda, the Fedora Core installer - please wait...
        Probing for video card:   Nvidia / SGS Thomson (Joint Venture) Riva128
        Probing for monitor type:   Unknown monitor
        Attempting to start native X server
        Waiting for X server to start...log located in /tmp/X.log
        1...2...3...4...5....X SERVER FAILEDAttempting to start VESA driver X server
        Waiting for X server to start...log located in /tmp/X.log
        1...2...3...4...5....X SERVER FAILED X startup failed, falling back to
text mode

After this, I get the text mode version of the "Welcome to Fedora Core" message.

With FC6t2, the error message is different.

        Running anaconda, the Fedora Core system installer - please wait...
        Probing for video card:  Nvidia / SGS Thomson (Joint Venture) Riva128
        Attempting to start native X server
        Waiting for X server to start...log located in /tmp/ramfs/X.log
        1...2...3...4...5... X server started successfully.
        _X11TransSocketINETConnect() can't get address for localhost:6001:
Temporary failure in name resolution

        (mini-wm:504): Gtk-WARNING **: cannot open display: :1

And the system hangs at this point.

In both cases, I'm unable to run the graphical installer.

Why the X server failed initially?  This will be logged in a separate
bug report.  In a nutshell, the /tmp/XConfig.test uses a
depth that doesn't work with the RIVA128 card.

I hit alt-F2 and got to a root console.  From this I was able to tar
the /tmp directory and copy it to a floppy.  I've attached the following
tar files: fc5_tmp.tar.gz and fc6t2_tmp.tar.gz.


With FC4, I was able to successfully run the graphical installer.  I suspect
the native X server failed initially, but the VESA driver X server startup
was successful.

With the FC5 install, it looks like you try the native X server (nv driver),
and then try to start the VESA driver X server.  But all the X.log files
from the fc5_tmp.tar.gz shows that you try to startup the X server using
the nv driver.

With the FC6t2 install, there's an obvious error message but it looks like
the anaconda script believes that the server has started up successfully.
From the alt-F2 root console, doing an ps shows that both xorg and mini-wm
are defunct.

In both cases, some work is needed in the error recovery from a X server
failure.

-Jeff Chan


Version-Release number of selected component (if applicable):
        anaconda-11.1.0.77-1.i386

How reproducible:
        Install FC5/FC6t2 with a RIVA128 video card.
        I suspect you might also be able to reproduce this by altering
        anaconda to start X with an illegal depth using --bpp.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:
        Be able to do a grapical install.

Additional info:

Comment 1 Jeffery M. Chan 2006-09-09 09:32:07 UTC
Created attachment 135899 [details]
FC5 /tmp after the two X server startup failures.

Comment 2 Jeffery M. Chan 2006-09-09 09:34:43 UTC
Created attachment 135900 [details]
FC6t2 /tmp after hang

Comment 3 Chris Lumens 2006-09-11 21:48:04 UTC
This should be better in test 3.

Comment 4 Jeffery M. Chan 2006-09-21 05:49:36 UTC
Created attachment 136817 [details]
Patched FC5 version.  Based on rhpxl-0.18 version used in FC5.

Comment 5 Jeffery M. Chan 2006-09-21 05:51:44 UTC
Created attachment 136818 [details]
rhpxl_patch.img.gz: Floppy image with patched xserver.py.  For FC5 "linux updates".

Comment 6 Jeffery M. Chan 2006-09-21 05:52:35 UTC
Created attachment 136819 [details]
rhpxl_patch.iso.gz: ISO with patched xserver.py.  For FC5 "linux updates".

Comment 7 Jeffery M. Chan 2006-09-21 06:12:26 UTC
I'll confirm that FC6t3 works.  Thanks.


I've looked through the rhpxl code and have come up with a patched
version of xserver.py.  Only two lines are affected.

This should allow people to get the GUI install on FC5 with the RIVA128 card.

Use the floppy image if you have the floppy drive: download, un-gzip and
dd to create floppy (see http://rhlinux.redhat.com/anaconda/updatedisks.html).

If you have a second CD drive, you can burn the ISO file.

To use, enter "linux updates" on the boot prompt.  FC5 will eventually
ask which drive the patch is located (fd0, hdb, hdc, hdd, etc.).

You should be able to get the GUI after this.

At this point, though, I suppose only the impatient can use this.

-Jeff Chan