bzImage > 0xefff0 will not boot from floppy

From: Pavel Machek (pavel@suse.cz)
Date: Tue Jun 26 2001 - 11:13:14 EST


Hi!

...it will loop forever. I have fix that allows up-to 0xffff0
bzImages, but it is *ugly*. This seems better; please apply.

                                                                Pavel
Index: build.c
===================================================================
RCS file: /home/cvs/Repository/linux/arch/i386/boot/tools/build.c,v
retrieving revision 1.2
diff -u -u -r1.2 build.c
--- build.c 2001/04/20 00:59:29 1.2
+++ build.c 2001/06/26 15:13:34
@@ -154,7 +154,7 @@
         if (sys_size > (is_big_kernel ? 0x28000 : DEF_SYSSIZE))
                 die("System is too big. Try using %smodules.",
                         is_big_kernel ? "" : "bzImage or ");
- if (sys_size > 0xffff)
+ if (sys_size > 0xefff)
                 fprintf(stderr,"warning: kernel is too big for standalone boot "
                     "from floppy\n");
         while (sz > 0) {

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:20 EST