Bug 45544

Summary: Failure to start X on a Toshiba Tecra 8000
Product: [Retired] Red Hat Linux Reporter: David Lawrence <dkl>
Component: anacondaAssignee: Michael Fulbright <msf>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: mdrew
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-26 13:12:59 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:

Description David Lawrence 2001-06-22 16:17:46 UTC
Description of Problem:
Graphical install failes on Toshiba Tecra 8000 laptop with Neomagic 256V
chipset. Works
fine with 7.1.

How Reproducible:
Always

Steps to Reproduce:
1. use pcmcia.img and pcmciadd.img to boot into installer
2. choose NFS install
3. watch it try to initialize X

Actual Results:

WAiting for X server to start...log located in /tmp/X.log
...X server started successfully
Traceback (innermost last)
	File "/usr/lib/anaconda", line 394 in ?
		from gui import display_splash_screen
	File "/usr/lib/anaconda/gui.py", line 6, in ?
		from gtk import *
	File "/usr/lib/python1.5/site-packages/gtk.py", line 29, in ?
		_gtk.gtk_init()
RuntimeError: cannot open display
install exited abnormally

On VC# 3 the following appears at the bottom:
ERROR - trying to run fbconProbe w/o knowing fb device!!

On VC# 4 the following appears at the bottom:
<3>Vesafb does not support changing the video mode


Expected Results:
Graphical install for 7.1 worked fine on this laptop

Additional Information:

Comment 1 David Lawrence 2001-06-22 16:28:41 UTC
When running with the nofb option I get the following on VC# 1

Probing for video card:	Neomagic 256 (laptop/notebook)
Probing for monitor type:	Unable to probe
Probing for mouse type: 	Generic - 3 button mouse (PS/2)
Traceback ( innermost last )
	File "/usr/lib/anaconda", line 378, in ?
		mousehw)
	File "/usr/lib/anaconda/xserver.py", line 117, in startX
		x.getVideoCard().setXServer(probedServer)
AttributeError: getVideoCard
install exited abnormally


Comment 2 Brent Fox 2001-06-26 18:10:46 UTC
I fixed the problem with nofb mode last night, so that fix should appear in a
tree soon.

Comment 3 Michael Fulbright 2001-06-27 18:30:13 UTC
What was the fix?

Don't commit it before we ship off beta 1.

Comment 4 David Lawrence 2001-06-27 18:44:23 UTC
Using tree /mnt/redhat/test/beta1/i386 I was able to run the graphical installer
with the 'nofb' option but it still fails with a traceback when not using the
option. Wierd because the kernel is obviously running in frame buffer mode since
I get the penguin graphic.

Comment 5 Brent Fox 2001-06-27 18:47:10 UTC
This was committed on Monday.  I tested it and it works.  You can revert it if
you want to, but the old code was broken.  There is no 'x.getVideoCard()', so
going into nofb mode used to crash everytime.


Date: Mon, 25 Jun 2001 18:41:58 -0400
From: Brent Fox <bfox>
Subject: anaconda xserver.py,1.80,1.81
To: anaconda-commits-list

Update of /mnt/devel/CVS/anaconda
In directory devserv.devel.redhat.com:/tmp/cvs-serv28454

Modified Files:
        xserver.py
Log Message:
nofb mode didn't work...now it does

Index: xserver.py
===================================================================
RCS file: /mnt/devel/CVS/anaconda/xserver.py,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- xserver.py  2001/06/22 23:56:28     1.80
+++ xserver.py  2001/06/25 22:41:56     1.81
@@ -128,9 +128,9 @@
         if not probedServer:
             print "Unknown card"
             raise RuntimeError, "Unable to start X for unknown card"
-
-        x.getVideoCard().setXServer(probedServer)
-        serverPath = '/usr/X11R6/bin/' + x.getVideoCard().getXServer()
+
+        video.primaryCard().setXServer(probedServer)
+        serverPath = '/usr/X11R6/bin/' + video.primaryCard().getXServer()

        # if this fails, we want the exception to go back to anaconda to
        # it knows that this didn't work


Comment 6 Brent Fox 2001-07-02 15:10:46 UTC
*** Bug 46879 has been marked as a duplicate of this bug. ***

Comment 7 Leonid Kanter 2001-07-02 21:48:21 UTC
*** Bug 47063 has been marked as a duplicate of this bug. ***

Comment 8 Brent Fox 2001-07-06 05:05:27 UTC
So dave, when you try nofb mode, do you get the original traceback that you saw
(the gtk_init() problem) or the second traceback?

Comment 9 Brent Fox 2001-07-10 05:15:21 UTC
*** Bug 47530 has been marked as a duplicate of this bug. ***

Comment 10 Brent Fox 2001-07-10 05:16:00 UTC
*** Bug 48103 has been marked as a duplicate of this bug. ***

Comment 11 David Lawrence 2001-07-10 16:20:46 UTC
Using the nofb option, I am able to get a graphical install to work on the
Toshiba laptop using qa0709.3/i386 tree. Still fails when not using the nofb
option with the first traceback I added to this bug report.

Comment 12 Jeremy Katz 2001-07-10 23:05:02 UTC
Could you retest with a tree on July 11th?

Comment 13 David Lawrence 2001-07-11 20:10:16 UTC
Graphical install still works properly with the nofb option but still fails with
a traceback when not using nofb using qa0711.0/i386. I will try it once more
just to make sure the tracebacks are exactly the same since I didnt read it last
time.

Comment 14 Panic 2001-07-11 20:45:01 UTC
Satellite Pro 480CDT also fails on PCMCIA graphical network install, qa0711.0,
same place.  Traceback looks like this:

Probing for video card: Chips & Technologies CT65555
Probing for monitor type: Unable to probe
Probing for mouse type: Generic - 3 Button Mouse (PS/2)
Waiting for X server to start...log located in /tmp/X.log
...X SERVER FAILEDWaiting for X server to start...log located in /tmp/X.log
. X server started successfully.
Traceback (innermost last):
  File "/usr/bin/anaconda", line 438, in ?
    from splashscreen import splashScreenShow
  File "/usr/lib/anaconda/splashcreen.py", line 21, in ?
    from gtk import *
  File "/usr/lib/python1.5/site-packages/gtk.py", line 29, in ?
    _gtk.gtk_init()
RuntimeError: cannot open display
install exited abnormally
...

**********

With the "nofb" option, I get this:

Probing for video card: Chips & Technologies CT6555
Probing for monitor type: Unable to probe
Probing for mouse type:  Generic - 3 Button Mouse (PS/2)
Waiting for X server to start...log located in /tmp/X.log
...X SERVER FAILED X startup failed, falling back to text mode
Traceback (innermost last):
  File "/usr/bin/anaconda", line 559, in ?
    instClass.setKeyboard(id, keymap)
  File "/usr/lib/anaconda/installclass.py", line 171, in setKeyboard
    apply(id.xconfig.setKeyboard, xkb)
AttributeError: 'None' object has no attribute 'setKeyboard'
install exited abnormally
...

*********

Text installation works from qa0711.0, via PCMCIA boot disks.

Comment 15 Michael Fulbright 2001-07-18 20:39:55 UTC
Try beta 3 is should handle this better.

Comment 16 Leonid Kanter 2001-07-24 14:01:57 UTC
I got this on beta2 and satellite pro 440 cdt. fb or nofb - no difference.

Probing for video card: Chips & Technologies CT65554
Probing for monitor type: Unable to probe
Probing for mouse type: Generic - 3 Button Mouse (PS/2)
Waiting for X server to start...log located in /tmp/X.log
...X SERVER FAILEDWaiting for X server to start...log located in /tmp/X.log
. X server started successfully.
Traceback (innermost last):
  File "/usr/bin/anaconda", line 438, in ?
    from splashscreen import splashScreenShow
  File "/usr/lib/anaconda/splashcreen.py", line 21, in ?
    from gtk import *
  File "/usr/lib/python1.5/site-packages/gtk.py", line 29, in ?
    _gtk.gtk_init()
RuntimeError: cannot open display
install exited abnormally



Comment 17 Leonid Kanter 2001-07-25 07:31:06 UTC
I got this on beta2 and satellite pro 440 cdt. fb or nofb - no difference.

Probing for video card: Chips & Technologies CT65554
Probing for monitor type: Unable to probe
Probing for mouse type: Generic - 3 Button Mouse (PS/2)
Waiting for X server to start...log located in /tmp/X.log
...X SERVER FAILEDWaiting for X server to start...log located in /tmp/X.log
. X server started successfully.
Traceback (innermost last):
  File "/usr/bin/anaconda", line 438, in ?
    from splashscreen import splashScreenShow
  File "/usr/lib/anaconda/splashcreen.py", line 21, in ?
    from gtk import *
  File "/usr/lib/python1.5/site-packages/gtk.py", line 29, in ?
    _gtk.gtk_init()
RuntimeError: cannot open display
install exited abnormally

Comment 18 Michael Fulbright 2001-07-25 21:44:20 UTC
Please report your luck with beta 3.

Comment 19 Panic 2001-07-26 13:12:52 UTC
Works correctly with beta3 on the Toshiba Satellite 480CDT.

Comment 20 David Lawrence 2001-07-27 21:16:52 UTC
Works correctly on the Toshiba Tecra 8000 with the qa0727.2/i386 tree. Closing.