• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

KVM Proxmox VM getting stuck / crashing on PXE boot.

Scheduled Pinned Locked Moved Solved
FOG Problems
4
12
6.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    Kaeltis
    last edited by Kaeltis Jul 21, 2016, 5:45 AM Jul 21, 2016, 11:27 AM

    Hey,

    I’ve just set up my FOG server using CentOS 7 on ProxMox KVM and tried PXE booting another VM on the same host, connected via bridge.

    However no matter what I do (trying different virtual network cards: e1000e, virtio, realtek, CPUs, …), the VM always get’s stuck at the same stage in PXE boot, Proxmox/KVM just shows the VM’s state as “internal-error”.

    This is where it get’s stuck:
    alt text

    Edit:
    If I use pxelinux.0 it shows some boot menu for about half a second and then only shows a black screen with an underscore at the top and get’s stuck in the same internal-error state.

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Jul 21, 2016, 12:35 PM

      Three questions

      1. Is this vm uefi or bios (legacy) mode?
      2. What are your values for dhcp options 66 and 67
      3. What version of FOG are you using

      It almost looks like this vm target is using iPXE to emulate the PXE rom before it downloads FOG’s version of iPXE (where its stops).

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      T 1 Reply Last reply Jul 21, 2016, 12:38 PM Reply Quote 0
      • T
        Tom Elliott @george1421
        last edited by Jul 21, 2016, 12:38 PM

        @george1421 This is indeed the issue.

        @Kaeltis You may need to look into using Proxmox NIC iPXE ROM from ipxe. Meaning, instead of having the nic use the Proxmox supplied rom file for the nic, have it use a Pure iPXE ROM.

        I don’t know the exact steps to do this, but this should at least get you to a starting point.,
        http://ipxe.org/howto/vmware

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        K 1 Reply Last reply Jul 26, 2016, 1:19 PM Reply Quote 0
        • K
          Kaeltis
          last edited by Jul 21, 2016, 4:13 PM

          Thanks for your help, much appreciated 🙂

          I followed this https://gist.github.com/papamoose/e0b18d002f8686aaf767 and replaced all three roms, however nothing (not even the version number) has changed, still stuck - maybe they were already up to date?

          For the questions:

          1. Legacy
          2. 66 - 192.168.162.55 (FOGs IP), 67 - undionly.kpxe
          3. I followed the CentOS 7 guide from the Wiki, so I’m using the Git trunk.
          1 Reply Last reply Reply Quote 0
          • K
            Kaeltis @Tom Elliott
            last edited by Jul 26, 2016, 1:19 PM

            @Tom-Elliott @george1421

            Even tried it on different hardware and with the latest proxmox update now, still no luck.
            Any ideas how to get it working?

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Jul 26, 2016, 1:23 PM

              I’m fairly sure 4e03a is not the current files.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              K 2 Replies Last reply Jul 26, 2016, 1:52 PM Reply Quote 0
              • K
                Kaeltis @Tom Elliott
                last edited by Kaeltis Jul 26, 2016, 8:09 AM Jul 26, 2016, 1:52 PM

                @Tom-Elliott

                The guide i followed was wrong, the files are called efi-XXX.rom, not pxe-XXX.rom.

                I updated iPXE and, after that failed, also tried using the updated roms and seabios from qemu’s git repo.
                With both attempts however, it get’s stuck at a way earlier stage.

                Is there a way to avoid the more recent iPXE versions?

                alt text

                1 Reply Last reply Reply Quote 0
                • K
                  Kaeltis @Tom Elliott
                  last edited by Jul 26, 2016, 2:18 PM

                  @Tom-Elliott

                  Okay, it’s a hardware problem. It’s working fine on a proxmox server with a Xeon L5640 but not on one with a L5420.
                  No clue what do do now, since the working one is in use for something different.

                  T 1 Reply Last reply Jul 26, 2016, 2:18 PM Reply Quote 0
                  • T
                    Tom Elliott @Kaeltis
                    last edited by Jul 26, 2016, 2:18 PM

                    @Kaeltis THere’s not much I’m going to be able to do.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    K 1 Reply Last reply Jul 26, 2016, 3:15 PM Reply Quote 0
                    • K
                      Kaeltis @Tom Elliott
                      last edited by Jul 26, 2016, 3:15 PM

                      @Tom-Elliott I guess I have to use one of the physical machines as my master then until the new server arrives.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Jul 27, 2016, 3:37 PM

                        @Kaeltis So should we mark this solved?

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • K
                          Kaeltis
                          last edited by Jul 27, 2016, 4:35 PM

                          Since this issue isn’t really related to FOG, I’ll mark it as solved.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          1 / 1
                          • First post
                            1/12
                            Last post

                          150

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project