[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#505975: ASUS P5QL Pro: Early kernel exception in dmi_table



Package: linux-2.6
Version: 2.6.26-8
Severity: |important
Tags: patch |fixed-upstream
|
|Directly after boot the kernel crashes.
This bug seems to only affect systems that use the motherboard ASUS P5QL Pro,
but may also affect some other motherboards.

For more information:
Upstream bug report: http://bugzilla.kernel.org/show_bug.cgi?id=11693
Ubuntu bug report: https://bugs.edge.launchpad.net/linux/+bug/263543

This has been fixed in 2.6.26.7

Upstream patch:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git;a=commitdiff;h=6cb603ed02a891b965dc2fc50a39bff131829a54

diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c
index d1b8671..035752d 100644
--- a/arch/x86/mm/ioremap.c
+++ b/arch/x86/mm/ioremap.c
@@ -582,7 +582,7 @@ void __init *early_ioremap(unsigned long phys_addr, unsigned long size)
 	 */
 	offset = phys_addr & ~PAGE_MASK;
 	phys_addr &= PAGE_MASK;
-	size = PAGE_ALIGN(last_addr) - phys_addr;
+	size = PAGE_ALIGN(last_addr + 1) - phys_addr;
 
 	/*
 	 * Mappings have to fit in the FIX_BTMAP area.





Reply to: