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

Santiago Garcia Mantinan <[email protected]> Mon, 29 Aug 2005 00:23:07 +0200
Newsgroups gmane.network.etherboot.devel
Message-ID <[email protected]>
> <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.

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

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

Regards...
-- 
Manty/BestiaTester -> http://manty.net


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf