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

[email protected] (Geert Stappers) Mon, 29 Aug 2005 22:45:51 +0200
Newsgroups gmane.network.etherboot.devel
Message-ID <[email protected]>
On Mon, Aug 29, 2005 at 12:23:07AM +0200, Santiago Garcia Mantinan wrote:
> > <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> 
> 
> Yes, this is a good rephrase, just a little note: this is when trying to
> boot a file of unknown type, for example, pxelinux.0.


That is an interresting note that you add.



> 
> > And now in a single line  (-:
> > 
> >   It seems that download by Hyper Text Transfer Protocol is broken.
> 
> Yes, that is what looks like to me.

And meanwhile I think it is only unproper behaviour.

Would it make more sense when the "unable to load file" message
is replaced by "can't handle this file, rebooting" ???



> > Manty:
> >  Post the etherboot config file with your changes
> >  (or just the unified diff )
> 
> This is it:
> 
> --- Config.orig	2005-08-28 19:22:08.000000000 +0200
> +++ Config	2005-08-29 00:20:40.000000000 +0200
> @@ -398,7 +398,7 @@
>  # Change download protocol to NFS, default is TFTP
>  # CFLAGS+=	-DDOWNLOAD_PROTO_NFS
>  # Change download protocol to HTTP, default is TFTP
> -# CFLAGS+=	-DDOWNLOAD_PROTO_HTTP
> +CFLAGS+=	-DDOWNLOAD_PROTO_HTTP
>  # Change default protocol to NFS
>  # CFLAGS+=	-DDEFAULT_PROTO_NFS
>  # Support to resolve hostnames in boot filename
> @@ -408,7 +408,7 @@
>  # CFLAGS+=	-DALLMULTI -DMULTICAST_LEVEL1 -DMULTICAST_LEVEL2 -DDOWNLOAD_PROTO_TFTM
>  
>  # Etherboot as a PXE network protocol ROM
> -CFLAGS+=	-DPXE_IMAGE -DPXE_EXPORT
> +# CFLAGS+=	-DPXE_IMAGE -DPXE_EXPORT
>  # Etherboot stricter as a PXE network protocol ROM
>  # CFLAGS+=	-DPXE_DHCP_STRICT
>  
>  
> Hope that helps, tell me if you are not able to reproduce it.

Due time constrains I'm unable to reproduced it,


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

iD8DBQFDE3P/OSINbgwa/7sRAiSHAJ4wOYzGmy2ZVAqVLPt7XLm4aicMEgCdHz23
wJIVlt76KMyDBrus9G1lXrc=
=L6nW
-----END PGP SIGNATURE-----