Re: How to debug boot sequence?

H. Peter Anvin (hpa@transmeta.com)
10 Apr 1998 12:42:19 GMT


Followup to: <19980410130257.44042@atrey.karlin.mff.cuni.cz>
By author: Martin Mares <mj@atrey.karlin.mff.cuni.cz>
In newsgroup: linux.dev.kernel
>
> Hi,
>
> > I have a problem with a diskless, remote booted machine whose
> > BIOS supports BOOTP.
> > With nearly all Kernels, booting gets to the 'Loading Linux........'
> > stage and then instantly rebooting the System (looping forever).
> > Exceptions are 2.0.31 and 2.1.93 (the only tested 2.1.x kernel) which
> > get to 'Uncompressing Linux...' and halting with
> > 'Invalid compressed format (err=1)'
> > How can I debug this things further? I looked at lib/inflate.c, where
> > this message comes from, but no clue what happens. Even
> > arch/i386/boot/compress/misc.c doesn't tell me much.
>
> It seems the kernel image gets corrupted. Try booting the same image
> from a floppy.
>

Invalid compressed format sounds like the protected-mode kernel
doesn't end up where it should, or isn't intact. It is hard without
knowing more about your software setup (boot loaders, etc; just how
exactly is the BIOS loading the kernel anyway) what's going on.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu