* [Patch][2.4] Oops if limit of memory via 'mem=123' failed.
@ 2003-05-28 13:39 Peter Seiderer
0 siblings, 0 replies; only message in thread
From: Peter Seiderer @ 2003-05-28 13:39 UTC (permalink / raw)
To: linux-kernel
Hello,
the following patch would have saved me some time in wondering about the
'mem=XXX' kernel-parameter (more specific that initrd failed if mem=XXX is
greater than the available physical memory size).
Please apply if you think it would be helpful to other.
Peter
--- linux-2.4.20/arch/i386/kernel/setup.c_orig 2003-05-28
12:57:39.000000000 +0200
+++ linux-2.4.20/arch/i386/kernel/setup.c 2003-05-28
13:07:21.000000000 +0200
@@ -433,6 +433,7 @@
}
}
}
+ printk(KERN_ERR "Ooops! Limit of memory to %016Lx failed!\n", size);
}
static void __init add_memory_region(unsigned long long start,
unsigned long long size, int type)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-28 14:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-28 13:39 [Patch][2.4] Oops if limit of memory via 'mem=123' failed Peter Seiderer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®