Bug 9498

Summary: X hangs on logout
Product: xorg Reporter: Karthik <karthik>
Component: Driver/intelAssignee: Alan Hourihane <alanh>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: highest CC: dgra1233, rcarter
Version: 7.2 (2007.02)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.conf file
none
Log file
none
Xorg Log files none

Description Karthik 2006-12-31 10:44:48 UTC
X works good all the time except for when i reboot/shutdown  or logout of a
session it hangs and the system freezes . The  chipset is 865 .I tried with the
latest intel drivers from the git repository , but no luck .  I have tried
installing an Nvidia 
AGP card and it worked well with the  Nvidia Graphic drivers .I did a bug search
for all/open and did not find any report like this so I wanted to post it.
Comment 1 Karthik 2006-12-31 10:51:08 UTC
Created attachment 8254 [details]
xorg.conf file
Comment 2 Alan Hourihane 2007-01-01 01:37:10 UTC
Please upload log files.
Comment 3 Karthik 2007-01-01 01:49:03 UTC
Created attachment 8255 [details]
Log file
Comment 4 Alan Hourihane 2007-01-01 02:06:16 UTC
This log file just captures X starting up, I need the logfile of when you
logout, so you might need to look for the .old version of the log file depending
on your setup.
Comment 5 Karthik 2007-01-01 02:19:13 UTC
Created attachment 8256 [details]
Xorg Log files
Comment 6 Alan Hourihane 2007-01-01 02:25:41 UTC
Unfortunalely, none of these show X logging out.

So can you disable your login manager, and start X manually (probably from a
network connection), and logout.

The attach a copy of Xorg.0.log, you might also be able to get a gdb backtrace
via a network connection if you really think X is hanging on logout.
Comment 7 Karthik 2007-01-01 02:31:59 UTC
(In reply to comment #6)
> Unfortunalely, none of these show X logging out.
> 
> So can you disable your login manager, and start X manually (probably from a
> network connection), and logout.
> 
> The attach a copy of Xorg.0.log, you might also be able to get a gdb backtrace
> via a network connection if you really think X is hanging on logout.

Alan , i tried all the above said ways .
When i tried running Xorg -configure , i only get a blank screen and system 
freezes so its being disconnected from the network .Also startx is just giving a
blank screen and when i try to kill it by 
ALT+CTRL+Backspace ,the system hangs .  

X also hangs when i try to attach it to GDB .  
Comment 8 Alan Hourihane 2007-01-01 02:47:56 UTC
Why are you running X -configure ?? I thought you said it's a logout issue ??

If things are hanging with the network connection, try a serial connection.

Without a decent logfile I've got absolutely no idea where it could be
crashing/hanging.
Comment 9 Karthik 2007-01-05 01:48:01 UTC
(In reply to comment #8)
> Why are you running X -configure ?? I thought you said it's a logout issue ??
> 
> If things are hanging with the network connection, try a serial connection.
> 
> Without a decent logfile I've got absolutely no idea where it could be
> crashing/hanging.

I tried using serial connection , but again i could not get any logs. 
Until now i have been using Suse 10.2 X86_64 on my PC , but just yesterday i
have installed Suse 10.2 32 bit OS  as my processor is of EM64T type .(Intel's
64 bit version) and I noticed that everything works fine with X now .X never
crashes now . So ,looks like there is an issue with i810 driver complied for 64
bit architecture. 

Comment 10 Alan Hourihane 2007-01-09 02:38:35 UTC
*** Bug 9305 has been marked as a duplicate of this bug. ***
Comment 11 Doug 2007-01-27 11:19:15 UTC
I have exactly this problem - it is a real problem.

I run FC5, whenever X is reset - bam - nothing after that.  No log shows any fault just a complete lock up of the system.

System runs perfectly except for this problem. I have resigned myself to never resetting the X server, ie never logging out from a session.

The simplest method to reproduce the fault is to bring the system up in level 3, login and enter xinit. When I exit from the xterm - lock up occurs.... so it is not the WM or any other application.  xterm runs fine if started from within a a WM.

I have wasted days looking for any clues in logs etc, and trying all manner of options for the xorg.config annd kernel.

The following may be relevant or related
http://sw.sbay.org/fc5/i810-video-workaround-20060320/

I will help if I can, but I will need explicit instructions.

BTW I am running x86_64

Doug
Comment 12 Doug 2007-01-30 02:30:59 UTC
More details:
1. i810 driver works running i386 kernel (puppy live CD linux), problem may be related to x86_64 only.
2. Logs show nothing prior to the crash. (dmesg, messages, Xorg)
3. vega driver (in x86_64) resets ok.  vesa is tediously slow, I cannot play a DVD with the vega driver.  power off does not work either.

Doug
Comment 13 Karthik 2007-02-10 00:28:00 UTC
(In reply to comment #12)
> More details:
> 1. i810 driver works running i386 kernel (puppy live CD linux), problem may be
> related to x86_64 only.
> 2. Logs show nothing prior to the crash. (dmesg, messages, Xorg)
> 3. vega driver (in x86_64) resets ok.  vesa is tediously slow, I cannot play a
> DVD with the vega driver.  power off does not work either.
> 
> Doug
> 





(In reply to comment #12)
> More details:
> 1. i810 driver works running i386 kernel (puppy live CD linux), problem may be
> related to x86_64 only.
> 2. Logs show nothing prior to the crash. (dmesg, messages, Xorg)
> 3. vega driver (in x86_64) resets ok.  vesa is tediously slow, I cannot play a
> DVD with the vega driver.  power off does not work either.
> 
> Doug
> 

At last i am relieved from this problem . I simply compiled kernel 2.6.20 for 64 bit architecture and booted it and my X server never hangs on logout. I still did not understand the cause for the problem. 


Comment 14 Doug 2007-02-17 04:39:26 UTC
I just installed the newly released FC5 kernel update via yum, details (uname -u):
...2.6.19-1.2288.fc5 #1 SMP Sat Feb 10 14:59:35 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
For the first time in nearly a year I can logout of the wm without crashing the system....
Comment 15 Alan Hourihane 2007-02-26 04:02:03 UTC
Kernel bug. Closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.