Re: http protocol and a unknown image type causes a reboot
[email protected] (Geert Stappers) Sat, 27 Aug 2005 18:47:53 +0200
| Newsgroups | gmane.network.etherboot.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Aug 27, 2005 at 12:08:05PM +0200, Santiago Garcia Mantinan wrote: > Hi! Hi Manty, Hi Mailing list, > Yesterday I hitted a bug that I have reproduced using cvs's etherboot-5.4 > and I thought I could report it now that you are working on 5.4.1. > > What I changed on the default config was to remove PXE support and to add > HTTP, then I told it to download an unknown image type from http (this was a > mistake I did :-) and the machine rebooted after stating that the image type > was unknown. And that goes into a loop? (reboot, http fetch, reboot, http fetch, reboot) > For what I read in the source code, after saying "error: not a valid image" > at load_block we should return back to http and then to loadkernel and to > eth_load where we should get the "Unable to load file." message. The thing > is that we are not getting this message, and I still get dots like if it was > downloading the image after the "error: not a valid image" message. > > The same etherboot image downloading the same unkown image via tftp works ok > (giving the errors it must and getting back as it should, it seems a problem > just with http and unknown images, http otherwise seems to work ok. MMmmmmm "unknown image" Could you elaborate "unknown" image? What qualifies an image working with TFTP into "unknown" when using HTTP? > 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 ;-) > Well, I don't know what else to say, if somebody tries to reproduce this and > he is not able, or you need some other info, just let me know and I'll try > to give more info. 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. > If you prefer me to post a bug at sourceforge or something, just tell me. > > Regards... > -- > Manty/BestiaTester -> http://manty.net Cheers Geert Stappers
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFDEJk5OSINbgwa/7sRAl5XAKDEBt8jk8JpusbW21AaomwxtmW/gACgmsr0 0++seXFjiEm+eA3/NzqFZ2c= =oqFK -----END PGP SIGNATURE-----