LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-14-2004, 08:32 PM   #1
todd_seiler
LQ Newbie
 
Registered: Feb 2004
Posts: 16

Rep: Reputation: 0
x11 hangs on shutdown


OS: Fedora
Kernel: 2.6.8
500 Mhz Athlon w/ IronGate chipset
512 MB RAM

I just recompiled my kernel to version 2.6.8 and every time I load Gnome everything is fine... but if I go to log out, restart, or shutdown my computer, x11 or Gnome or w/e hangs. The only way I can get out of it is to press ^F2, then ^F1, then ^C. Which brings me back to my bash prompt. If I use kernel version 2.4.22, it doesn't hang at all.

How do I diagnose this problem? I've looked through the logs, but I don't know what to look for, or even if I'm looking in the right place.

-Todd
 
Old 10-17-2004, 06:11 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
It would help to know the graphics chipset and driver
you use in assessing that ...



Cheers,
Tink
 
Old 10-17-2004, 06:47 PM   #3
todd_seiler
LQ Newbie
 
Registered: Feb 2004
Posts: 16

Original Poster
Rep: Reputation: 0
oh yea, sorry... here is my XF86Config file....
I have narrowed a few things down...

1) If i only use a single monitor, I can shutdown normally, and everything is ok... (swap XF86Config files)
2) If I enable xinierama using all 3 monitors a few things happen when I shutdown and/or startup into Gnome...
3) Periodically x will start and I will see my cursor, and it won't finish loading...
4) If I am in Gnome working, and I "logout,", on my left most monitor (my TNT card) there appears a blinking cursor
almost randomly placed on the screen. If i hit ^C it exits XServer, I'm assuming, and no text appears on the screen but
the cursor moves to a different location. If I logout blindly or I type "su" and log in as root, it will "refresh" the screen and everything
seems to be ok... Here's where I'm confused though.

When I start up my computer all the boot messages appear on my right most monitor (Savage IX card) because I have that
monitor set as my primary graphics adapter in the BIOS because it doesn't play nice with other cards. I login and do a "startx" to load X... when I go to log out, I have to blindly log out (see above) but it is on the wrong monitor.... The TNT monitor isn't the primary monitor.... It's almost like it's getting confused or something.....

A few other things I've noticed about my system...
1) The tri-monitor setup works fine with my old kernel....
2) using the new kernel (2.6.8), when I boot up into X, all I get is a cursor sometimes (this happens randomly, most of the time it's fine)..
3) When I click on the lower left menu button (red hat), and click log out, sometimes the dialog box shows up to allow me to log off sometimes it doesn't.... If it doesn't show up, I have to hit the "reset" button.. What i have noticed with this is that this problem also co-insides with another problem.... On my desktop there is a "home" icon where I can double click to open up the nautilus file manager thing to browse my files... This icon always works. But sometimes, if I click on the "red hat" icon on my "task bar" and then click "home folder" which usually brings up the same thing, it doesn't work.

If I notice that the "home folder" icon under the "red hat" icon doesn't work, the log off dialog box will not show up.
If the logoff dialog box doesn't show up, everything appears to freeze, except the mouse. (have to hit reset button)
BUT the "home" icon on my desktop will always work.

I can't tell if these problems are related or not.... What's your take on this ?

Code:
Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "MiddleScreen" 0 0
	Screen      1  "LeftScreen" LeftOf "MiddleScreen"
	Screen      2  "RightScreen" RightOf "MiddleScreen"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

Section "Module"
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "xtrap"
	Load  "vnc"
	Load  "speedo"
	Load  "type1"
EndSection

Section "ServerFlags"
	Option	    "Xinerama" "true"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/psaux"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "Monitor"

	#DisplaySize	  270   200	# mm
	Identifier   "RightMonitor"
	VendorName   "EPI"
	ModelName    "Envision D356"
	Option	    "DPMS"
EndSection

Section "Monitor"
	Identifier   "LeftMonitor"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"

	#DisplaySize	  360   270	# mm
	Identifier   "MiddleMonitor"
	VendorName   "MAG"
	ModelName    "MAG 800V"
	Option	    "DPMS"
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     "NoAccel"            	# [<bool>]
        #Option     "HWCursor"           	# [<bool>]
        #Option     "SWCursor"           	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "UseBIOS"            	# [<bool>]
        #Option     "LCDClock"           	# <freq>
        #Option     "ShadowStatus"       	# [<bool>]
        #Option     "VideoRAM"           	# <i>
        #Option     "CrtOnly"            	# [<bool>]
        #Option     "TvOn"               	# [<bool>]
        #Option     "PAL"                	# [<bool>]
        #Option     "ForceInit"          	# [<bool>]
	Identifier  "SavageCard"
	Driver      "savage"
	VendorName  "S3 Inc."
	BoardName   "86C270-294 Savage/IX"
	BusID       "PCI:0:14:0"
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     "FPDither"           	# [<bool>]
        #Option     "CrtcNumber"         	# <i>
	Identifier  "TntCard"
	Driver      "nv"
	VendorName  "nVidia Corporation"
	BoardName   "NV4 [RIVA TNT]"
	BusID       "PCI:0:15:0"
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     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "ForcePCIMode"       	# [<bool>]
        #Option     "CPPIOMode"          	# [<bool>]
        #Option     "CPusecTimeout"      	# <i>
        #Option     "AGPMode"            	# <i>
        #Option     "AGPFastWrite"       	# [<bool>]
        #Option     "AGPSize"            	# <i>
        #Option     "RingSize"           	# <i>
        #Option     "BufferSize"         	# <i>
        #Option     "EnableDepthMoves"   	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "NoBackBuffer"       	# [<bool>]
        #Option     "PanelOff"           	# [<bool>]
        #Option     "DDCMode"            	# [<bool>]
        #Option     "MonitorLayout"      	# [<str>]
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "OverlayOnCRTC2"     	# [<bool>]
        #Option     "CloneMode"          	# [<str>]
        #Option     "CloneHSync"         	# [<str>]
        #Option     "CloneVRefresh"      	# [<str>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "ForceLegacyCRT"     	# <i>
	Identifier  "RadeonCard"
	Driver      "ati"
	VendorName  "ATI Technologies Inc"
	BoardName   "Radeon R100 QD [Radeon 7200]"
	BusID       "PCI:1:5:0"
EndSection

Section "Screen"
	Identifier "RightScreen"
	Device     "SavageCard"
	Monitor    "RightMonitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "800x600"
	EndSubSection
EndSection

Section "Screen"
	Identifier "LeftScreen"
	Device     "TntCard"
	Monitor    "LeftMonitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1024x768"
	EndSubSection
EndSection

Section "Screen"
	Identifier "MiddleScreen"
	Device     "RadeonCard"
	Monitor    "MiddleMonitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1152x864"
	EndSubSection
EndSection
Contents of lspci:

Code:
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 23)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 01)
00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 1b)
00:04.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 0e)
00:04.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 0e)
00:04.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 20)
00:04.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 21)
00:0e.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX (rev 13)
00:0f.0 VGA compatible controller: nVidia Corporation NV4 [RIVA TNT] (rev 04)
00:10.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet 10/100 model NC100 (rev 11)
00:11.0 Unknown mass storage controller: Promise Technology, Inc. 20267 (rev 02)
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon R100 QD [Radeon 7200]
Thanks in advance,
-Todd
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrakelinux 10.1 Hangs on Shutdown dqualls Linux - Newbie 3 02-08-2005 08:29 PM
shutdown hangs in SLES8, 9 Yozzi Linux - Newbie 0 10-27-2004 11:50 AM
10.0 hangs on shutdown riseringseeker Mandriva 5 09-22-2004 03:42 PM
FC 2 Hangs On Shutdown sandgroper Fedora 5 07-06-2004 11:32 AM
shutdown command -> x11 error Rudebr00d Linux - Newbie 6 08-06-2003 09:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration