> On Fri, 29 Aug 2008, Rafa=C5=82 Mi=C5=82ecki wrote:
Not quite the output we were expecting! I've not got around to trying
it yet, so beware, but I think Jeremy's patch needs the following on top.
Or you may prefer to wait until one of us reports that it is now working
as intended.
--- a/arch/x86/kernel/setup.c=092008-08-29 11:17:16.000000000 +0100
+++ b/arch/x86/kernel/setup.c=092008-08-29 11:19:24.000000000 +0100
@@ -636,11 +636,12 @@ void check_for_bios_corruption(void)
=09=09unsigned long *addr =3D __va(scan_areas[i].addr);
=09=09unsigned long size =3D scan_areas[i].size;
=20
-=09=09for(; size; addr++, size--) {
+=09=09for(; size; addr++, size -=3D sizeof(unsigned long)) {
=09=09=09if (!*addr)
=09=09=09=09continue;
=09=09=09printk(KERN_ERR "Corrupted low memory at %p (%lx phys) =3D %08lx\=
n",
=09=09=09 addr, __pa(addr), *addr);
+=09=09=09*addr =3D 0;
=09=09=09corruption =3D 1;
=09=09}
=09}