As of svn 3013 i get input\output pxe error. does that mean i need to flash my pxe ?
-
I get error [url]http://ipxe.org/1d0c6139[/url] on laptops that used to pxe just fine few releases ago ,
now they don’t boot
how do i fix this ?
thanks -
As you probably found out already this error means: ‘Unrecognised HTTP response code’. iPXE is being loaded via TFTP and then tries to load the boot menu or the kernel/init.xz (if a task is scheduled for this host). This obviously fails. What do you get browsing this URL: [url]http://<fog-server-ip>/fog/service/ipxe/boot.php[/url]
And please check your apache log files to see if any errors occour: /var/log/apache2/error.log or /var/log/httpd/error_log
[url]http://fogproject.org/forum/threads/ipxe-error-1d0c6139.11529/[/url]
-
thanks for the guidenss , here is what i got so far :
this line constatly repeated in the apache error log :
PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 143
[Sun Feb 15 09:33:33.095571 2015] [:error]this is line 143 from bootmenu.class.php
‘mac’ => $Host->get(‘mac’),i have attached boot.php for reference, but it seams fine for the untrained eye.
thoughts ?
[url=“/_imported_xf_attachments/1/1687_boot.php?:”]boot.php[/url]
-
Downgrade back to 3012 with svn up -r 3012
-
Hello,
yesterday I found the same problem while trying to quick register a laptop booting from the network. If I tried network boot with an already registered laptop, everything worked fine. I had r3016 (clean install) on Ubuntu 14.04 (64 bits). After reading this post, I downgraded to r3012 and faced the same problem. So I clean installed r3016 again, and took a look at /var/www/fog/lib/fog/BootMenu.class.php, and changed some lines:
Where it was:
[PHP]
$iPXE = new iPXE(array(
‘product’ => $_REQUEST[‘product’],
‘manufacturer’ => $_REQUEST[‘manufacturer’],
‘mac’ => $Host->get(‘mac’),
‘success’ => 1,
‘file’ => $_REQUEST[‘filename’],
‘version’ => $_REQUEST[‘ipxever’],
));
[/PHP]I changed it to:
[PHP]
if ($Host && $Host->isValid())
{
$iPXE = new iPXE(array(
‘product’ => $_REQUEST[‘product’],
‘manufacturer’ => $_REQUEST[‘manufacturer’],
‘mac’ => $Host->get(‘mac’),
‘success’ => 1,
‘file’ => $_REQUEST[‘filename’],
‘version’ => $_REQUEST[‘ipxever’],
));
}
else
{
$iPXE = new iPXE(array(
‘product’ => $_REQUEST[‘product’],
‘manufacturer’ => $_REQUEST[‘manufacturer’],
//‘mac’ => $Host->get(‘mac’),
‘success’ => 1,
‘file’ => $_REQUEST[‘filename’],
‘version’ => $_REQUEST[‘ipxever’],
));
}
[/PHP]The only thing I do is to check “$Host” before calling “get(‘mac’)”. Now I can register, upload, and deploy images from/to this laptop without any problem.
I hope it helps someone else.
Regards!
Rafa. -
it did help get pass that error i was having , but something else is wrong i cant register, quick or full , after bzimage is loaded i get three very quick lines that says something … not found… cant read it it disappeared fast.
so thank you for the code, but something else is broken. -
Maybe try hitting the ‘PAUSE’ key just at the right moment or take a video with your smartphone or camera might help…