Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg broken with new kernel compiled by gcc 3.3.5
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
earnoth
n00b
n00b


Joined: 30 Jul 2004
Posts: 10

PostPosted: Sun Feb 06, 2005 2:09 am    Post subject: xorg broken with new kernel compiled by gcc 3.3.5 Reply with quote

A few weeks ago I did an `emerge -uDav world`, during which gcc was upgraded from 3.3.4 to 3.3.5. After that upgrade, I attempted to ugrade from my current kernel (linux-2.4.26-gentoo-r6) from to a more current kernel (linux-2.4.26-gentoo-r14) compiled with gcc v3.3.5. After rebooting to that kernel, I could not start Xorg, using nvidia-kernel as my display driver. What I experienced was a complete lockup of my system, where the nvidia splash screen became very distorted.

I've attempted several remedies, though I'm not entirely sure what the problem is. I take it to be a problem with the difference in gcc versions. Each of the following attempted solutions to run Xorg on the 2.4.26-gentoo-r14 failed with the same result as described above.

    * On the thought of the gcc version being the issue, I booted to the new kernel, re-emeged Xorg, nvidia-kernel, and nvidia-glx with gcc 3.3.5.
    * Having read that the current versions of nvidia are buggy, I unmerged nvidia-kernel and nvidia-glx, masked the current versions and re-emerged to the 6.1111 versions.
    * Having read that some of the modules for nvidia-kernel were troublesome, I I attempted to start X with those modules commented out - dri, speedo, first individually then together.


Here's all my relevant software versions:
Code:
media-video/nvidia-kernel     1.0.6629-r1
media-video/nvidia-glx        1.0.6629-r1
media-video/nvidia-settings   1.0.6629
x11-base/xorg-x11             6.8.0-r4
sys-devel/gcc                 3.3.5-r1



Here's my xorg.conf:
Code:
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/Speedo/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "xtrap"
        Load  "type1"
        Load  "speedo"
        Load  "synaptics"
        Load  "v41"
        #Load  "xf86Wacom.so"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option "CoreKeyboard"
        Option "AutoRepeat" "500 30"
        Option      "XdbDisable"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "CorePointer"
        Option      "Protocol" "ImPS/2"
        Option      "Device" "/dev/input/mouse0"
        Option      "Emulate3Buttons" "true"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        #HorizSync    28-60
        #VertRefresh  43-72
        HorizSync    30-60
        VertRefresh  50-70
        Option       "DPMS"
        Option       "NoDCC" "1"
   # 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
   Modeline "1280x1024_100.00"  190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync
        #VendorName   "Monitor Vendor"
        #ModelName    "Monitor Model"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        Option     "FlatPanel"                  "True"
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        Identifier  "Card0"
        #Driver      "nv"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV17 [GeForce4 440 Go]"
        BusID       "PCI:1:0:0"
        Option      "NvAGP" "3"
        # Using TFT together with the commercial Nvidia drivers
        Option      "GenerateRTList"    "0"
        Option      "OverridePolarity"  "1"
        # Apparently DDC doesn't work on Toshiba.
        Option      "NoDDC" "1"
        Option      "IgnoreEDID" "1"
EndSection

Section "Screen"
        Identifier        "Screen0"
        Device            "Card0"
        Monitor           "Monitor0"
        DefaultDepth      24
        Option            "NoDCC" "1"
        Option            "NvAgp" "1"
        #SubSection "Display"
        #       Depth     8
        #       Modes     "1024x768"
        #EndSubSection
        #SubSection "Display"
        #       Depth     15
        #       Modes     "1024x768"
        #EndSubSection
        #SubSection "Display"
        #       Depth     16
        #       Modes     "1024x768"
        #EndSubSection
        SubSection "Display"
                Depth     24
                #Modes     "1024x768"
                #Modes     "1280x1024"
                Modes      "1280x1024_100.00"
        EndSubSection
EndSection


I can't find anything in /var/log/Xorg.0.log or /var/log/Xorg.0.log.old files that would appear to have anything to do with this.

If anyone could please help, it'd be greatly appreciated.
_________________
Eric I. Arnoth, CISSP, GCIH
earnoth@gmail.com
http://www.arnoth.net
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Sun Feb 06, 2005 8:46 am    Post subject: Reply with quote

Try commenting the reference to the speedo fonts in your Xorg.conf file as well as the line with "dri". Also, in the nvidia section, comment everything but the Driver, NvAGP, and FlatPanel lines. You also don't need the BusID section I believe.
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Sun Feb 06, 2005 11:04 am    Post subject: Reply with quote

Have you run fix_libtool_files.sh 3.3.4 ?
Back to top
View user's profile Send private message
earnoth
n00b
n00b


Joined: 30 Jul 2004
Posts: 10

PostPosted: Sun Feb 13, 2005 5:25 pm    Post subject: Reply with quote

nxsty wrote:
Have you run fix_libtool_files.sh 3.3.4 ?


I have not. I just looked at the script, and the awk script it references, /lib/rcscripts/awk/fixlafiles.awk. I really can't make heads or tails of what that awk file is going to do. What will be the impact if I run this? I'm afraid it might not fix my problem and after running it I would be unable to run X with the older kernel.
_________________
Eric I. Arnoth, CISSP, GCIH
earnoth@gmail.com
http://www.arnoth.net
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Mon Feb 14, 2005 9:00 am    Post subject: Reply with quote

You should try updating Xorg since a new version came out a few days ago in portage (6.8.2). I'm not sure if a relevant issue has been solved, but this is still worth trying...

Also, could you run gcc-config -l and paste the printout here?
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Mon Feb 14, 2005 9:14 am    Post subject: Reply with quote

You should always run fix_libtool_files.sh after upgrading gcc - or you'll have problems with compiling stuff. See the different threads here (search for fix_libtool_files.sh).

PS Sorry for my english - I have slept only several hours today, so it's very hard to think.
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum