Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into per cpu area

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Eric W. Biederman <ebiederm@...>
Cc: Mike Travis <travis@...>, H. Peter Anvin <hpa@...>, Christoph Lameter <clameter@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Monday, June 30, 2008 - 5:08 pm

Eric W. Biederman wrote:

No, the original crash being discussed was a GP fault in head_64.S as it 
tries to initialize the kernel segments.  The cause was that the 
prototype GDT is all zero, even though it's an initialized variable, and 
inspection of vmlinux shows that it has the right contents.  But somehow 
it's either 1) getting zeroed on load, or 2) is loaded to the wrong place.

The zero-based PDA mechanism requires the introduction of a new ELF 
segment based at vaddr 0 which is sufficiently unusual that it wouldn't 
surprise me if its triggering some toolchain bug.

Mike: what would happen if the PDA were based at 4k rather than 0?  The 
stack canary would still be at its small offset (0x20?), but it doesn't 
need to be initialized.  I'm not sure if doing so would fix anything, 
however.

    J
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Fri Jun 20, 1:25 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Christoph Lameter, (Fri Jun 20, 1:48 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Fri Jun 20, 2:37 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Fri Jun 20, 4:25 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Mon Jun 30, 1:43 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Mon Jun 30, 4:50 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Mon Jun 30, 5:08 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Tue Jul 1, 1:26 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Tue Jul 1, 5:10 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Tue Jul 1, 11:08 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Tue Jul 1, 5:52 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Thu Jul 3, 12:34 am)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Tue Jul 8, 7:49 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Fri Jul 25, 4:12 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Fri Jul 25, 4:43 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Tue Jul 1, 10:50 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Tue Jul 1, 12:27 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Mon Jun 23, 1:33 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Mon Jun 23, 3:41 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Christoph Lameter, (Fri Jun 20, 4:55 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Christoph Lameter, (Fri Jun 20, 2:51 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Fri Jun 20, 3:04 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Eric W. Biederman, (Fri Jun 20, 3:43 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Christoph Lameter, (Fri Jun 20, 4:37 pm)
Re: [crash, bisected] Re: [PATCH 3/4] x86_64: Fold pda into ..., Jeremy Fitzhardinge, (Fri Jun 20, 2:40 pm)