Comment 22 for bug 162757

Revision history for this message
Azurit3 (azurit3) wrote :

I have a laptop(Compaq 1201EA) that had XP installed until today, running with no problem.

As I'm using mainly Ubuntu 8.04 in my Desktop since it came out, and I'm enjoying it, so I decided to install it in the laptop too.

I tried to install Ubuntu 8.04 with the x86 live CD,

but found the laptop monitor will hang.

Hoping in text mode the problem didn't exist, I downloaded the x86 alternate desktop CD to install in text mode, and installed Ubuntu without any problem.

The fist time my computer was booting the newly installed Ubuntu installation, the same problem occurred. The monitor hangs while starting Ubuntu, and it doesn't react to Ctr+Alt+F1 or Ctr+Alt+Backspace

to be able to start a session without gdm to crash I disable it, by booting in safe mode and:
update-rc.d -f gdm remove

after that I installed ssh server so I could login through my Desktop:
sudo apt-get install openssh-server

In my Desktop:
ssh 192.168.1.2
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install xresprobe
sudo apt-get install discover1
sudo apt-get install xserver-xorg-core-dbg
( tried to find xserver-xorg-video-trident-dbg but didn't found any. )
sudo update-rc.d -f gdm remove
sudo reboot

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_bak

sudo nano /etc/X11/xorg.conf
-----------------------
>Section "ServerFlags"
> Option "NoTrapSignals" "true"
>EndSection
-----------------------

sudo gdb /usr/bin/Xorg
(gdb) run -keeptty -dumbSched
-----------------------
Starting program: /usr/bin/Xorg -keeptty -dumbSched

[Thread debugging using libthread_db enabled]

This is a pre-release version of the X server from The X.Org Foundation.

It is not supported in any way.

Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.

Select the "xorg" product for bugs you find in this release.

Before reporting bugs in pre-release versions please check the

latest version in the X.Org Foundation git repository.

See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.0.90

Release Date: 5 September 2007

X Protocol Version 11, Revision 0

Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080131-1ubuntu9)

Current Operating System: Linux laptop 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686

Build Date: 15 April 2008 05:26:17PM

 Before reporting problems, check http://wiki.x.org

 to make sure that you have the latest version.

Module Loader present

Markers: (--) probed, (**) from config file, (==) default setting,

 (++) from command line, (!!) notice, (II) informational,

 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

(==) Log file: "/var/log/Xorg.0.log", Time: Mon May 19 17:08:59 2008

(==) Using config file: "/etc/X11/xorg.conf"

[New Thread 0xb7c0b6b0 (LWP 5256)]

(II) Module "ramdac" already built-in

(II) Module "i2c" already built-in

(II) Module "ddc" already built-in

-----------------------

the last output was "ddc", It seems to get stuck in it
When I Ctr+C
-----------------------
Program received signal SIGINT, Interrupt.

[Switching to Thread 0xb7c0b6b0 (LWP 5256)]

0xb7acf3a6 in mmioReadST01 (hwp=0x821aa60) at ../../../../hw/xfree86/vgahw/vgaHW.c:419

419 ../../../../hw/xfree86/vgahw/vgaHW.c: No such file or directory.

 in ../../../../hw/xfree86/vgahw/vgaHW.c

-----------------------

(gdb) backtrace full
-----------------------
#0 0xb7acf3a6 in mmioReadST01 (hwp=0x821aa60) at ../../../../hw/xfree86/vgahw/vgaHW.c:419

No locals.

#1 0xb7afbc98 in ?? () from /usr/lib/xorg/modules/drivers//trident_drv.so

No symbol table info available.

#2 0x0821aa60 in ?? ()

No symbol table info available.

#3 0x0821dca8 in ?? ()

No symbol table info available.

#4 0x00000007 in ?? ()

No symbol table info available.

#5 0x080d13e2 in xf86ErrorFVerb (verb=-1214303270, format=0x821e500 "") at ../../../../hw/xfree86/common/xf86Helper.c:1382

 ap = 0x20 <Address 0x20 out of bounds>

#6 0x08073d9c in AddScreen (pfnInit=0xb7afbb50, argc=3, argv=0xbf84a8b4) at ../../dix/main.c:769

 i = 0

 scanlinepad = <value optimized out>

 depth = <value optimized out>

 bitsPerPixel = 136430456

 k = 2

 pScreen = <value optimized out>

#7 0x080a9c4e in InitOutput (pScreenInfo=0x8209620, argc=3, argv=0xbf84a8b4)

    at ../../../../hw/xfree86/common/xf86Init.c:850

 i = 0

 j = <value optimized out>

 k = <value optimized out>

 scr_index = 136353312

 modulelist = <value optimized out>

 optionlist = (pointer *) 0x82173d8

 layout = <value optimized out>

 screenpix24 = <value optimized out>

 pix24 = Pix24Use32

 pix24From = X_PROBED

 autoconfig = <value optimized out>

 generation = 1

#8 0x08074526 in main (argc=3, argv=0xbf84a8b4, envp=0xbf84a8c4) at ../../dix/main.c:369

 i = <value optimized out>

 error = 136163204

 xauthfile = <value optimized out>

 alwaysCheckForInput = {0, 1}

-----------------------

Some commands I runned:

uname -a

-----------------------
Linux laptop 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux

-----------------------

lspci -vvnn
-----------------------
01:00.0 VGA compatible controller [0300]: Trident Microsystems CyberBlade i1 [1023:8520] (rev 6a) (prog-if 00 [VGA controller])

 Subsystem: Compaq Computer Corporation CyberBlade i1 AGP [0e11:b16e]

 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B+

 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-

 Latency: 64

 Interrupt: pin A routed to IRQ 9

 Region 0: Memory at f5000000 (32-bit, non-prefetchable) [size=8M]

 Region 1: Memory at f4100000 (32-bit, non-prefetchable) [size=128K]

 Region 2: Memory at f4800000 (32-bit, non-prefetchable) [size=8M]

 [virtual] Expansion ROM at 28000000 [disabled] [size=64K]

 Capabilities: <access denied>

-----------------------

sudo discover --disable=parallel,serial,usb,ide,scsi,pcmcia --format="%M\t%S\t%D\t%i\n" video

-----------------------
CyberBlade i1 XFree86 trident 10238520

-----------------------

sudo xresprobe trident

-----------------------
id:

res: 1024x768

freq:

disptype: lcd/lvds

-----------------------

sudo ddcprobe

-----------------------
vbe: VESA 1.2 detected.

oem: Copyright 1998 TRIDENT MICROSYSTEMS INC.

memory: 2048kb

mode: 640x480x16m

mode: 800x600x16m

mode: 1024x768x32k

mode: 1024x768x64k

mode: 800x600x32k

mode: 800x600x64k

mode: 640x480x32k

mode: 640x480x64k

mode: 1024x768x256

mode: 640x400x256

mode: 640x480x256

mode: 800x600x256

mode: 1024x768x16

mode: 800x600x16

edid:

edidfail

-----------------------

I got edidfail, so I edit xorg.conf
sudo nano /etc/X11/xorg.conf
---------
Section "Monitor"

        Identifier "Configured Monitor"

> HorizSync 36-52

> VertRefresh 36-60
EndSection

------------
Section "Screen"

        Identifier "Default Screen"

        Monitor "Configured Monitor"

        Device "Configured Video Device"

> Option "NoDDC"
> Option "IgnoreEDID"
EndSection

-----------------

After this I tried to start x but with the same luck.

regards azurit3