Bug 531311
Summary: | 2.6.32 boot fails as Xen PV guest with stackprotector | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrew Jones <drjones> | ||||
Component: | kernel | Assignee: | Justin M. Forbes <jforbes> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 12 | CC: | dougsland, gansalmon, itamar, jforbes, kernel-maint, markmc, pbonzini, virt-maint, xen-maint | ||||
Target Milestone: | --- | Keywords: | Triaged | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 531313 (view as bug list) | Environment: | |||||
Last Closed: | 2010-02-11 16:01:47 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: | 514890, 531313 | ||||||
Attachments: |
|
Description
Andrew Jones
2009-10-27 17:26:27 UTC
Adding Paolo to CC since he's currently working on bisecting this from the last bootable rev (upstream stable 2.6.31.5). I have this (partial) result so far: bad 78f28b7 good 3240a77 I played with this a bit and found that if I turned off CONFIG_CC_STACKPROTECTOR, and also completely remove the xen_setup_stackprotector() call from xen_start_kernel(), then I can boot with as little as 135 MB, then jump up to 1024 MB, and also back down to whatever allocation I want. Less than 135 MB panics due to being out of memory. So in other words, removing stackprotector seems to "fix" this problem. We need to investigate how to get stackprotector working for Xen PV guests. Created attachment 366730 [details]
Set up mmu_ops before setting up gdt
This should fix it.
Makes a lot of sense, considering that the two patches adding xen_init_mmu_ops and xen_setup_stackprotector were very close in time: - 6b18ae3 (x86: Move memory_setup to x86_init_ops, 2009-08-20) - 577eebe (xen: make -fstack-protector work under Xen, 2009-08-27) and they were conflicting. They were merged with 577eebe first and 6b18ae3 second; you're patch is "simply" ordering them in the other way. Committed upstream as 973df35 I tested latest upstream (v2.6.32-rc5-338-g2e2ec95) and it's good to go. Reassigning to Justin for Fedora integ/test. This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |