From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Paul Drynoff <pauldrynoff@gmail.com>
Cc: Andrew Morton <akpm@osdl.org>,
Jeremy Fitzhardinge <jeremy@xensource.com>,
linux-kernel@vger.kernel.org, Zachary Amsden <zach@vmware.com>
Subject: Re: [BUG] Can not boot linux-2.6.18-rc4-mm2
Date: Tue, 22 Aug 2006 14:54:53 -0700 [thread overview]
Message-ID: <44EB7D2D.7000006@goop.org> (raw)
In-Reply-To: <36e6b2150608221413h3b6baf24lf670a2aed61c0c57@mail.gmail.com>
Paul Drynoff wrote:
> I made bisection, here is results:
>
> add-efi-e820-memory-mapping-on-x86.patch - GOOD
> #
> i386-adds-smp_call_function_single-fix.patch
> fix-boot-on-efi-32-bit-machines.patch - GOOD
> kill-default_ldt.patch - BAD
>
> Wihtout last patch all works ok.
Hm. Try this:
From: Zachary Amsden <zach@vmware.com>
Fix kill-default_ldt.patch
--- a/arch/i386/kernel/paravirt.c
+++ b/arch/i386/kernel/paravirt.c
@@ -262,7 +262,7 @@ static fastcall void native_set_ldt(cons
u32 low, high;
pack_descriptor(&low, &high, (unsigned long)addr,
- entries * sizeof(struct desc_struct) - 1,
+ entries * sizeof(struct desc_struct),
DESCTYPE_LDT, 0);
write_gdt_entry(get_cpu_gdt_table(cpu), GDT_ENTRY_LDT, low, high);
===================================================================
--- a/include/asm-i386/desc.h
+++ b/include/asm-i386/desc.h
@@ -97,7 +97,7 @@ static inline void set_ldt(const void *a
__u32 low, high;
pack_descriptor(&low, &high, (unsigned long)addr,
- entries * sizeof(struct desc_struct) - 1,
+ entries * sizeof(struct desc_struct),
DESCTYPE_LDT, 0);
write_gdt_entry(get_cpu_gdt_table(cpu), GDT_ENTRY_LDT, low, high);
next prev parent reply other threads:[~2006-08-22 21:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-22 8:51 [BUG] Can not boot linux-2.6.18-rc4-mm2 Paul Drynoff
2006-08-22 16:50 ` Paul Drynoff
2006-08-22 21:14 ` Frederik Deweerdt
2006-08-22 21:14 ` Paul Drynoff
2006-08-22 19:38 ` Andrew Morton
2006-08-22 21:13 ` Paul Drynoff
2006-08-22 21:54 ` Jeremy Fitzhardinge [this message]
2006-08-23 4:27 ` Paul Drynoff
2006-08-23 15:07 ` Jeremy Fitzhardinge
2006-08-23 4:36 ` Paul Drynoff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44EB7D2D.7000006@goop.org \
--to=jeremy@goop.org \
--cc=akpm@osdl.org \
--cc=jeremy@xensource.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pauldrynoff@gmail.com \
--cc=zach@vmware.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox