lkml.org 
[lkml]   [1996]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectFIX for bzImage+initrd
Hi,

this fixes a subtle glitch in our bzImage+initrd patch:

-------------------------------------------------------------------
--- linux/arch/i386/boot/compressed/head.S~ Thu Mar 7 13:18:34 1996
+++ linux/arch/i386/boot/compressed/head.S Thu Mar 7 13:18:34 1996
@@ -130,5 +130,11 @@
rep
movsb
xorl %ebx,%ebx
+/*
+ * Well, the kernel relies on %esp pointing into low mem,
+ * with the decompressor loaded high this is no longer true,
+ * so we set esp here.
+ */
+ mov $0x90000,%esp
ljmp $(KERNEL_CS), $0x100000
move_routine_end:
-------------------------------------------------------------------
Well, it is our bug, of course. However, if the kernel had setup its own
stack at startup, this subtle and diabolic bug never would have happend.
It never was reproduceable on my machine, and seemed to disappear
in 1.3.71. Fortunately it happend yesterday on _my_ machine.

A corrected full patch of this amazing bzImage+initrd patch can be found at:

ftp://lrcftp.epfl.ch/pub/people/almesber/lilo/bzImage+initrd-1.3.71a.patch.gz
and
ftp://elserv.ffm.fgan.de/pub/linux/loadlin-1.6/bzImage+initrd-1.3.71a.patch.gz


Hans
<lermen@elserv.ffm.fgan.de>


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.040 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site