Re: http protocol and a unknown image type causes a reboot

[email protected] (Geert Stappers) Sun, 28 Aug 2005 23:22:25 +0200
Newsgroups gmane.network.etherboot.devel
Message-ID <[email protected]>
On Sat, Aug 27, 2005 at 11:43:03PM +0200, Santiago Garcia Mantinan wrote:
> > And that goes into a loop? (reboot, http fetch, reboot, http fetch, reboot)
> 
> Yes, the reboot is physical, not a call to the bootstrap again, and it
> happens always the same way, so it is a loop, yes.
> 
> >    MMmmmmm    "unknown image"
> > 
> > Could you elaborate "unknown" image? What qualifies an image working
> > with TFTP into "unknown" when using HTTP?
> 
> Unknown image is an image of a type not know for etherboot, for example a
> tar.gz or even a nbi if you don't have nbi support compiled in.
> 
> The images don't work in http or tftp, but tftp does the correct thing,
> which is printing the "Unable to load file." message and retrying the load
> again, on http it doesn't print this message, even though it prints the
> "error: not a valid image" one, and then the machine reboots.
> 
> > > I'm using gcc 3.3 to compile my images in a Debian environment in case that
> > > matters.
> > 
> > I assume you refereer to Etherboot image now. ( Where you previous were
                                             ^^^              ^^^^^^^^
> > refering to payload images ( pxelinux.0 or kernel images )
> > Please confirm (or deny ;-)
> 
> Yes, sorry for not being more explicit.
> 
> > I willing to analyze a sniffed session stored in libpcap format (
> > tcpdump / ethereal ).  Put it on a server and post the URL to the ML.
> 
> I think that if you try to compile etherboot with http support and without
> pxe support and tell it to boot pxelinux.0, for example (I know this is not
> going to work), you'll get the reboot, if you cannot get it, just tell me
> and I'll do the capture.


I gonna try to rephrase the problem as I understand the problem.


<problem point_of_view="manty" as_seen_by="stappers">

  "image" means "the etherboot executable, the boot client code"

  I did compile the image my self, it is not from rom-o-matic.
  The image works fine when using the defaults.

  When pxe support is replaced by http support,
  then there is "unable to load file" message and a reboot.

</problem> 


And now in a single line  (-:

  It seems that download by Hyper Text Transfer Protocol is broken.






Martin:
 Hold Your Horses, don't ship 5.4.1 yet!


Manty:
 Post the etherboot config file with your changes
 (or just the unified diff )



Stappers
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFDEisROSINbgwa/7sRAoLIAKCfOPxScfb2Yt4PzCDqGCgcObICwgCeMIfE
xWSt610ILl2dnKL+Y2Wd374=
=2hNU
-----END PGP SIGNATURE-----