Bug 232748
| Summary: | X crashes during logout on x86_64 system with i945 graphics and XD disabled | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Jay Lee <jlee> |
| Component: | kernel | Assignee: | Jarod Wilson <jarod> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Jenner <mjenner> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.0 | CC: | ajax, ddomingo, dzickus, jarod |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| URL: | https://bugs.freedesktop.org/show_bug.cgi?id=5085 | ||
| Whiteboard: | |||
| Fixed In Version: | RHBA-2008-0314 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-05-21 14:41:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 391221, 425461 | ||
|
Description
Jay Lee
2007-03-17 02:30:37 UTC
OK, I have recompiled 2.6.18-8.1.1.el5.x86_64 with the patch from: http://lkml.org/lkml/2006/10/18/68 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 2.6.20.3 kernel and found that the one line patch has been added to the official kernel. 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. Jay 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). 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). 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. 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 release. in 2.6.18-58.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5 this bug has been tagged for inclusion in the RHEl5.2 release notes. please post the necessary content for it. thanks! relnote content: x86_64 systems with Intel graphics and XD (execute disable) protection disabled no longer crash upon exiting an X session. thanks Jarod, adding to RHEL5.2 release notes under "Resolved Issues": <quote> (x86_64) Systems equipped with Intel graphics cards that have the XD (execute disable) option disabled no longer crash upon exiting an X session. </quote> please advise if any further revisions are required. Hi, 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: http://intranet.corp.redhat.com/ic/intranet/RHEL5u2relnotesmockup.html 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. Cheers, Don 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. http://rhn.redhat.com/errata/RHBA-2008-0314.html |