Re: How to debug boot sequence?

David Woodhouse (Dave@imladris.demon.co.uk)
Mon, 13 Apr 1998 11:40:43 +0200


> > 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.

In "system/boot/ethernet" on your local Sunsite mirror, you'll find the
"netboot" package, which contains...

MKNBI-LINUX(8) MKNBI-LINUX(8)

NAME
mknbi-linux - MaKe NetBoot Image for Linux kernel

SYNOPSIS
mknbi-linux [-x] [-d rom|ram|kernel|<path>] [-i rom|ker-
nel|<client:server:gateway:netmask:hostname>] [-a
<append>] [-s <max command line size>] [-l
auto|eom|<address>] [-r <ramdisk>] [[-k] <image>] [-o]
<output>

mknbi-linux -h

mknbi-linux -v

DESCRIPTION
mknbi-linux is a program to convert a Linux kernel image
into a file suitable for loading by diskless systems using
a Boot-Rom.

---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
Dave@imladris.demon.co.uk http://www.imladris.demon.co.uk
finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.

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