As of svn 3013 i get input\output pxe error. does that mean i need to flash my pxe ?



  • I get error http://ipxe.org/1d0c6139 on laptops that used to pxe just fine few releases ago ,

    now they don’t boot

    how do i fix this ?
    thanks


  • Developer

    Maybe try hitting the ‘PAUSE’ key just at the right moment or take a video with your smartphone or camera might help…



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



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


  • Senior Developer

    Downgrade back to 3012 with svn up -r 3012



  • 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
    boot.php


  • Developer

    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: http://<fog-server-ip>/fog/service/ipxe/boot.php

    And please check your apache log files to see if any errors occour: /var/log/apache2/error.log or /var/log/httpd/error_log

    http://fogproject.org/forum/threads/ipxe-error-1d0c6139.11529/


Log in to reply
 

365
Online

38719
Users

10547
Topics

99847
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.