Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 232748 - X crashes during logout on x86_64 system with i945 graphics and XD disabled
Summary: X crashes during logout on x86_64 system with i945 graphics and XD disabled
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.0
Hardware: x86_64
OS: Linux
Target Milestone: ---
: ---
Assignee: Jarod Wilson
QA Contact: Martin Jenner
Depends On:
Blocks: RHEL5u2_relnotes 425461
TreeView+ depends on / blocked
Reported: 2007-03-17 02:30 UTC by Jay Lee
Modified: 2008-05-21 14:41 UTC (History)
4 users (show)

Fixed In Version: RHBA-2008-0314
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-05-21 14:41:57 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated (Old) 5085 None None None Never
Red Hat Product Errata RHBA-2008:0314 normal SHIPPED_LIVE Updated kernel packages for Red Hat Enterprise Linux 5.2 2008-05-20 18:43:34 UTC

Description Jay Lee 2007-03-17 02:30:37 UTC
Description of problem:
X crashes on logout/restart when running x86_64 arch, i945 graphics and XD bit
capability is disabled

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.  System with x86_64 processor but "Execute Disable" feature is off in BIOS
(or no option to turn on in BIOS).  System is a Toshiba Satellite A105-S4334
with Core 2 Duo T5500.  XD feature is disabled and cannot be set in the BIOS.
2.  RHEL 5 x86_64 Desktop installed
3.  If system is booted with rhgb option then system will crash after rhgb exits
and gdm should be loading.  If rhgb is removed from grub.conf then user can
login but CTRL+ALT+Backspace will result in a crash.
Actual results:

System crashes when X is unloaded.

Expected results:
System should not crash.

Additional info:
I am relatively certain I am running against the bug described at:

I am testing the 1 liner patch from:

and will report back on whether or not that fixed the issue once I get a custom
kernel compiled.

Comment 1 Jay Lee 2007-03-17 03:33:25 UTC
OK, I have recompiled 2.6.18-8.1.1.el5.x86_64 with the patch from:

and can confirm that it fixes the problem.  I can now successfully boot with
rhgb and can exit/restart X without any crashes.

I also checked the vanilla kernel and found that the one line patch has
been added to the official kernel.

Comment 2 Jay Lee 2007-07-30 23:01:01 UTC
It would be nice to see this in 5.1.  I know that many laptops and desktops
still ship with XD disabled by default and the solution is by no means obvious.


Comment 4 Jarod Wilson 2007-10-08 15:54:42 UTC
Unfortunately, this slipped through the cracks and missed the 5.1 deadline, but I'm getting it posted for 
review for 5.2 (shouldn't have a problem getting in).

Comment 5 Jarod Wilson 2007-10-26 13:54:40 UTC
During review, the question as to whether or not this is also a problem under a
xen kernel came up. I don't have any reproducing hardware of my own readily
available, so I was hoping perhaps you could verify whether or not this problem
also occurs if you're booted on a xen kernel. (Because xen is xen, we have to
patch yet another file to fix this if its a problem w/the xen kernel too).

Comment 6 Jay Lee 2007-10-29 14:28:44 UTC
  I have not had to deal with this bug in a while because Toshiba finally
enabled an XD setting in the BIOS of the A105 and I've upgraded to a newer
Toshiba laptop which has XD and VT.  However, I'd still recommend fixing this as
there are still machines out there w/o a BIOS option nor is it obvious that
turning on XD in the BIOS will resolve the issue.

  I borrowed back the A105 system and disabled XD in the BIOS, I found that
while I could reproduce the problem with the original x86-64 kernel for RHEL5
and the latest kernel from yum, I could not reproduce the problem using the
original RHEL5 xen kernel or the latest xen kernel from yum.  Note that I did
not test stability under Xen extensively though so I am not 100% sure it doesn't
have issues but I could CTRL+ALT+Backspace the X under the xen kernels and X
would restart unlike the non-xen kernels which would crash at that point.

Comment 7 RHEL Product and Program Management 2007-11-01 23:55:32 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update

Comment 9 Don Zickus 2007-11-29 17:07:07 UTC
in 2.6.18-58.el5
You can download this test kernel from

Comment 11 Don Domingo 2008-02-07 05:07:11 UTC
this bug has been tagged for inclusion in the RHEl5.2 release notes. please post
the necessary content for it. thanks!

Comment 12 Jarod Wilson 2008-02-18 20:34:29 UTC
relnote content:

x86_64 systems with Intel graphics and XD (execute disable) protection disabled
no longer crash upon exiting an X session.

Comment 13 Don Domingo 2008-02-18 23:24:28 UTC
thanks Jarod, adding to RHEL5.2 release notes under "Resolved Issues":

(x86_64) Systems equipped with Intel graphics cards that have the XD (execute
disable) option disabled no longer crash upon exiting an X session.

please advise if any further revisions are required.

Comment 14 Don Domingo 2008-04-02 02:14:44 UTC
the RHEL5.2 release notes will be dropped to translation on April 15, 2008, at
which point no further additions or revisions will be entertained.

a mockup of the RHEL5.2 release notes can be viewed at the following link:

please use the aforementioned link to verify if your bugzilla is already in the
release notes (if it needs to be). each item in the release notes contains a
link to its original bug; as such, you can search through the release notes by
bug number.


Comment 16 errata-xmlrpc 2008-05-21 14:41:57 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

Note You need to log in before you can comment on or make changes to this bug.