lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44EB7D2D.7000006@goop.org>
Date:	Tue, 22 Aug 2006 14:54:53 -0700
From:	Jeremy Fitzhardinge <jeremy@...p.org>
To:	Paul Drynoff <pauldrynoff@...il.com>
CC:	Andrew Morton <akpm@...l.org>,
	Jeremy Fitzhardinge <jeremy@...source.com>,
	linux-kernel@...r.kernel.org, Zachary Amsden <zach@...are.com>
Subject: Re: [BUG] Can not boot linux-2.6.18-rc4-mm2

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@...are.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);
 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ