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

    IPXE Invalid Arguments

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    8
    5.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.
    • M
      Mark Carrara
      last edited by

      Since September I have been having no issues with FOG until today. When I tried to Fog a client I get an IP address then after some text flashes across the screen I see something to the effect "cannot boot: invalid argument ipxe.org/1c1c2002. At ipxe.org that error is unsurprisingly invalid argument.

      I did some troubleshooting by using some test that Junkhacker recommended in the thread “PXE issues?”

      1. Does default.ipxe exisit in the tftpboot directory? - yes
      2. Does the line chain [url]http://[/url]… look correct? - yes
      3. When you go to the website listed in the chain command what do you see? - I see a php text file. OK that is not what he said to expect.

      Next bit of troubleshooting. I booted from a ipxe live cd. I issued the dhcp command to get an address then the chain command in the default.ipxe file. I got the following error:
      colour:command not found
      could not boot: Exec format error([url]http://ipxe.org/2e022001[/url])

      At ipxe that error is an improper command or argument. Checking the php doc I got in step 3 above I see the command [SIZE=4][COLOR=#000000]colour --rgb 0xff0000 0[/COLOR][/SIZE]

      [SIZE=4][COLOR=#000000]Did something change so the English way of spelling no longer works? How can I correct this issue? Or am I missing something else?[/COLOR][/SIZE]

      [SIZE=4][COLOR=#000000]version 1.20 on ubuntu 12.04.5 LTS server[/COLOR][/SIZE]

      [SIZE=4][COLOR=#000000]Mark[/COLOR][/SIZE]

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        [quote=“Mark Carrara, post: 39605, member: 1363”]Since September I have been having no issues with FOG until today. When I tried to Fog a client I get an IP address then after some text flashes across the screen I see something to the effect "cannot boot: invalid argument ipxe.org/1c1c2002. At ipxe.org that error is unsurprisingly invalid argument.

        I did some troubleshooting by using some test that Junkhacker recommended in the thread “PXE issues?”

        1. Does default.ipxe exisit in the tftpboot directory? - yes[/quote]
          This is good.
          [quote=“Mark Carrara, post: 39605, member: 1363”]
        2. Does the line chain [url]http://[/url]… look correct? - yes
          [/quote]
          This is good.
          [quote=“Mark Carrara, post: 39605, member: 1363”]
        3. When you go to the website listed in the chain command what do you see? - I see a php text file. OK that is not what he said to expect.
          [/quote]
          What do you mean a text file? Is it asking you to download a file or is it displaying text in the browser? Can you give us some of the output?

        [quote=“Mark Carrara, post: 39605, member: 1363”]
        Next bit of troubleshooting. I booted from a ipxe live cd. I issued the dhcp command to get an address then the chain command in the default.ipxe file. I got the following error:
        colour:command not found
        could not boot: Exec format error([url]http://ipxe.org/2e022001[/url])

        At ipxe that error is an improper command or argument. Checking the php doc I got in step 3 above I see the command [SIZE=4][COLOR=#000000]colour --rgb 0xff0000 0[/COLOR][/SIZE][/quote][SIZE=4][COLOR=#000000][/COLOR][/SIZE]
        colour --rgb 0xff0000 0 is the correct syntax

        [quote=“Mark Carrara, post: 39605, member: 1363”]
        [SIZE=4][COLOR=#000000]Did something change so the English way of spelling no longer works? How can I correct this issue? Or am I missing something else?[/COLOR][/SIZE]

        [SIZE=4][COLOR=#000000]version 1.20 on ubuntu 12.04.5 LTS server[/COLOR][/SIZE]

        [SIZE=4][COLOR=#000000]Mark[/COLOR][/SIZE][/quote]

        The english spelling never worked. iPXE was never coded using US English syntax. All the error you’re seeing means is that the ipxe.iso you have does not have the command tools built into it.

        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

        1 Reply Last reply Reply Quote 0
        • M
          Mark Carrara
          last edited by

          When I say the output is a text file, what I meant was that a text file was displayed in the browser window. I copied it:

          [SIZE=4][COLOR=#000000]#!ipxe
          cpuid --ext 29 && set arch x86_64 || set arch i386
          colour --rgb 0xff6600 2
          cpair --foreground 7 --background 2 2
          console --picture [url]http://192.168.1.30/fog/service/ipxe/bg.png[/url] --left 100 --right 80
          :MENU
          menu
          colour --rgb 0xff0000 0
          cpair --foreground 0 3
          item --gap Host is NOT registered!
          item --gap – -------------------------------------
          item fog.local Boot from hard disk
          item fog.memtest Run Memtest86+
          item fog.reginput Perform Full Host Registration and Inventory
          item fog.reg Quick Registration and Inventory
          item fog.sysinfo Client System Information (Compatibility)
          choose --default fog.local --timeout 3000 target && goto ${target}
          :fog.local
          sanboot --no-describe --drive 0x80 || goto MENU
          :fog.memtest
          kernel memdisk iso raw
          initrd memtest.bin
          boot || goto MENU
          :fog.reginput
          kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=192.168.1.30/fog/ consoleblank=0 loglevel=4 mode=manreg
          imgfetch init_32.xz
          boot || goto MENU
          :fog.reg
          kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=192.168.1.30/fog/ consoleblank=0 loglevel=4 mode=autoreg
          imgfetch init_32.xz
          boot || goto MENU
          :fog.sysinfo
          kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=192.168.1.30/fog/ consoleblank=0 loglevel=4 mode=sysinfo
          imgfetch init_32.xz
          boot || goto MENU
          autoboot
          [/COLOR][/SIZE]
          [SIZE=4][COLOR=#000000] [/COLOR][/SIZE]
          [SIZE=4][COLOR=#000000]So if I understand correct when you say:[/COLOR][/SIZE]
          [SIZE=4][COLOR=#000000][SIZE=13px][FONT=Tahoma][COLOR=#141414]All the error you’re seeing means is that the ipxe.iso you have does not have the command tools built into it.[/COLOR][/FONT][/SIZE][/COLOR][/SIZE]
          [SIZE=4][COLOR=#000000][SIZE=13px][FONT=Tahoma][COLOR=#141414]You are talking about the ISO I used on the live CD, which is not the same as the using the ipxe in Fog?[/COLOR][/FONT][/SIZE][/COLOR][/SIZE]
          [SIZE=4][COLOR=#000000][SIZE=13px][FONT=Tahoma][COLOR=#141414][/COLOR][/FONT][/SIZE][/COLOR][/SIZE]
          [FONT=Tahoma]I am doing some more troubleshooting this morning and see if I can narrow down what is happening. One think I will do is try to Fog a client that was Fogged last week.[/FONT]

          1 Reply Last reply Reply Quote 0
          • M
            Mark Carrara
            last edited by

            Here’s and update. It is not the Fog installation because I can Fog other devices. So it must be something specific to the PC. It is an HP Compaq DC7800 small form factor. I will do some research in the forums to see if I can find out what it could be.

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              My guess is it’s dealing with the Console/Frame buffer.

              If you want, you can try SVN directly to see if it will help you out.

              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

              1 Reply Last reply Reply Quote 0
              • M
                Mark Carrara
                last edited by

                Before I try Tom’e suggestion I wanted to update the thread. I found a forum thread about issues with the DC7800 from June, 2014. The solution provided was to replace undionly.kpxe with undionly.kkpxe. It worked for that user and another user stated they had not had issues with DC7800’s. I tried the change and I get the same error as before.

                Tom. the fact you mentioned a frame/console buffer had me check my video of the error messages and I see that there is an error message “Could not configure Console Invalid Argument”. This adds weight to your suggestion. However before I proceed I need to determine how many of these PC’s I have to Fog and if it is a single device causing the error of a whole group. No need to spend hours on one device if that is the only one effected.

                1 Reply Last reply Reply Quote 0
                • JunkhackerJ
                  Junkhacker Developer
                  last edited by

                  the error code you mentioned references a frame buffer console initialization function of the ipxe codebase, so i’d be pretty surprised if Tom was incorrect.

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  1 Reply Last reply Reply Quote 0
                  • A
                    Alexander Kapadia
                    last edited by

                    [quote=“Tom Elliott, post: 39607, member: 7271”]This is good.

                    This is good.

                    What do you mean a text file? Is it asking you to download a file or is it displaying text in the browser? Can you give us some of the output?

                    colour --rgb 0xff0000 0 is the correct syntax

                    The english spelling never worked. iPXE was never coded using US English syntax. All the error you’re seeing means is that the ipxe.iso you have does not have the command tools built into it.[/quote]

                    I’m running into the same error. I’m using a website, [url]https://rom-o-matic.eu[/url] , to build my ipxe.iso.
                    I’m guessing that I’m missing some build options that deal with the command tools.
                    Have any of you used this site before to build your ISO? If so can you tell me what option(s) I must select in order to rectify this issue?

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

                    254

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project