login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
29
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 32-bit
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Mark McLoughlin
Subject:
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 32-bit
Date: Friday, February 29, 2008 - 3:06 pm
On Fri, 2008-02-29 at 19:38 +0100, Alexander van Heukelum wrote:
quoted text
> On Fri, 29 Feb 2008 17:14:07 +0000, "Mark McLoughlin" > <markmc@redhat.com> said: > > > I haven't investigated in any detail, but with 2.6.25-rc3 and your > > patch I'm seeing a Xen guest hit this BUG: > > > > void __init smp_alloc_memory(void) > > { > > trampoline_base = alloc_bootmem_low_pages(PAGE_SIZE); > > /* > > * Has to be in very low memory so we can execute > > * real-mode AP code. > > */ > > if (__pa(trampoline_base) >= 0x9F000) > > BUG(); > > } > > > > Stack looks like: > > > > [<c137ef97>] smp_alloc_memory+0x25 <-- > > [<c137ef97>] smp_alloc_memory+0x25 > > [<c137a500>] setup_arch+0x28e > > [<c13735f7>] start_kernel+0x7a > > [<c1379240>] xen_start_kernel+0x300 > > Ouch. > > My first guess is that the BIOS data area is completely non-existent for > Xen. > Is it guaranteed that the memory is zeroed out on boot?
Yep, that seems to be the case
quoted text
> In that case we can special-case it easily: > > change: > /* Paranoia: should never happen, but... */ > if (lowmem >= 0x100000) > lowmem = 0xa0000; > > into: > /* Strange case, like Xen ;) */ > if (lowmem == 0 || lowmem >= 0x100000) > lowmem = 0x9f000; > > Can you test that?
Yes, that fixes boot for me. Thanks, Mark. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] Fix alignment of early reservation for EBDA
, Alexander van Heukelum
, (Sun Feb 24, 10:46 am)
Re: [PATCH] Fix alignment of early reservation for EBDA
, Andi Kleen
, (Sun Feb 24, 12:27 pm)
Re: [PATCH] Fix alignment of early reservation for EBDA
, Ingo Molnar
, (Sun Feb 24, 12:41 pm)
Re: [PATCH] Fix alignment of early reservation for EBDA
, Alexander van Heukelum
, (Sun Feb 24, 1:53 pm)
Re: [PATCH] Fix alignment of early reservation for EBDA
, H. Peter Anvin
, (Sun Feb 24, 7:18 pm)
Re: [PATCH] Fix alignment of early reservation for EBDA
, Alexander van Heukelum
, (Mon Feb 25, 9:54 am)
Re: [PATCH] Fix alignment of early reservation for EBDA
, Ingo Molnar
, (Mon Feb 25, 10:01 am)
[PATCH] reserve_early end-of-conventional-memory to 1MB
, Alexander van Heukelum
, (Mon Feb 25, 11:07 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1MB
, H. Peter Anvin
, (Mon Feb 25, 11:13 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1MB
, Alexander van Heukelum
, (Mon Feb 25, 12:46 pm)
Re: [PATCH] reserve_early end-of-conventional-memory to 1MB
, H. Peter Anvin
, (Mon Feb 25, 2:17 pm)
Re: [PATCH] reserve_early end-of-conventional-memory to 1MB
, Ingo Molnar
, (Tue Feb 26, 2:30 am)
Re: [PATCH] Fix alignment of early reservation for EBDA
, Andi Kleen
, (Wed Feb 27, 7:25 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1MB
, Andi Kleen
, (Wed Feb 27, 7:26 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1M ...
, Andi Kleen
, (Wed Feb 27, 7:38 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1M ...
, H. Peter Anvin
, (Wed Feb 27, 9:44 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1M ...
, Alexander van Heukelum
, (Wed Feb 27, 1:01 pm)
[PATCH] reserve end-of-conventional-memory to 1MB on 32-bit
, Alexander van Heukelum
, (Thu Feb 28, 6:13 am)
[RFC] use realmode code to reserve end-of-conventional-mem ...
, Alexander van Heukelum
, (Thu Feb 28, 6:28 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Ian Campbell
, (Thu Feb 28, 2:09 pm)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ian Campbell
, (Thu Feb 28, 2:12 pm)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, H. Peter Anvin
, (Thu Feb 28, 2:14 pm)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ian Campbell
, (Thu Feb 28, 4:16 pm)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Fri Feb 29, 4:49 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Mark McLoughlin
, (Fri Feb 29, 10:14 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Fri Feb 29, 11:38 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, H. Peter Anvin
, (Fri Feb 29, 11:44 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Fri Feb 29, 11:56 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ingo Molnar
, (Fri Feb 29, 1:00 pm)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Mark McLoughlin
, (Fri Feb 29, 3:06 pm)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Fri Feb 29, 3:26 pm)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Sat Mar 1, 9:09 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 6 ...
, Alexander van Heukelum
, (Sat Mar 1, 9:12 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Mark McLoughlin
, (Tue Mar 4, 4:41 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Mark McLoughlin
, (Tue Mar 4, 4:44 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Tue Mar 4, 6:31 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ingo Molnar
, (Tue Mar 4, 7:33 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Ingo Molnar
, (Tue Mar 4, 7:49 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ian Campbell
, (Tue Mar 4, 8:12 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Jeremy Fitzhardinge
, (Tue Mar 4, 8:13 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Mark McLoughlin
, (Tue Mar 4, 8:16 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Jeremy Fitzhardinge
, (Tue Mar 4, 8:18 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Ingo Molnar
, (Tue Mar 4, 8:24 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ingo Molnar
, (Tue Mar 4, 8:25 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Jeremy Fitzhardinge
, (Tue Mar 4, 9:02 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ingo Molnar
, (Tue Mar 4, 9:15 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Mark McLoughlin
, (Tue Mar 4, 9:15 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ingo Molnar
, (Tue Mar 4, 9:23 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Tue Mar 4, 9:51 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, H. Peter Anvin
, (Tue Mar 4, 10:05 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Jeremy Fitzhardinge
, (Tue Mar 4, 10:11 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Jeremy Fitzhardinge
, (Tue Mar 4, 10:44 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB, 32- ...
, Alexander van Heukelum
, (Tue Mar 4, 11:57 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB, 64- ...
, Alexander van Heukelum
, (Tue Mar 4, 12:12 pm)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Eduardo Habkost
, (Wed Mar 5, 8:59 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, H. Peter Anvin
, (Wed Mar 5, 9:08 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Jeremy Fitzhardinge
, (Wed Mar 5, 9:38 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Eduardo Habkost
, (Wed Mar 5, 9:53 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, H. Peter Anvin
, (Wed Mar 5, 10:27 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Jeremy Fitzhardinge
, (Wed Mar 5, 10:28 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, H. Peter Anvin
, (Wed Mar 5, 10:28 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, H. Peter Anvin
, (Wed Mar 5, 10:38 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Dave Jones
Re: OT: character encodings (was: Linux 2.6.20-rc4)
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Dan Chokola
Re: how do you "force a pull"?
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
linux-netdev
:
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
git-commits-head
:
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Linux Kernel Mailing List
KVM: VMX: Clear CR4.VMXE in hardware_disable
Linux Kernel Mailing List
USB-serial: pl2303: fix baud rate handling in case of unsupported values
openbsd-misc
:
Claudio Jeker
Re: Vlan Tag on Vlan Tag (l2tunneling)
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Tomas Bodzar
bsd: uvm_mapent_alloc: out of static map entries
Community First Financial
Teacher A+ Loan
Colocation donated by:
Syndicate