[Etherboot-developers] http protocol and a unknown image type causes a reboot
Brought to you by:
marty_connor,
stefanhajnoczi
From: Santiago G. M. <lis...@ma...> - 2005-08-27 10:08:29
|
Hi! 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. 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. I'm using gcc 3.3 to compile my images in a Debian environment in case that matters. 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. If you prefer me to post a bug at sourceforge or something, just tell me. Regards... -- Manty/BestiaTester -> http://manty.net |