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

Boot menu and Kernel panic

Scheduled Pinned Locked Moved Solved
FOG Problems
3
14
4.9k
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.
  • C
    ch3i Moderator
    last edited by Nov 16, 2015, 10:59 AM

    Hi,

    I’ve some problems with FOG, I think it’s a mismatch in my configuration (I’m on Debian 7 and FOG 5360).

    First, I’ve not all items in PXE menu, like quick registration and full host registration :

    Below my boot menu
    0_1447671124466_upload-a0450207-5817-4cb0-b363-2a32fe88b3eb

    And my configuration
    0_1447671084845_upload-6cb8cb0d-576f-4832-8435-1e2f8b4fccd4

    The other problem is a kernel panic after select a quick image task :

    Below the error
    0_1447671405866_upload-8f4fa603-b875-4d3b-a1bd-50a272f73561

    Ipxe folder content

    -rw-r--r-- 1 fog www-data    1372 nov.  16 10:04 advanced.php
    -rw-r--r-- 1 fog www-data   21280 nov.  16 10:04 bg.png
    -rw-r--r-- 1 fog www-data     679 nov.  16 10:04 boot.php
    -rw-r--r-- 1 fog www-data 6837408 nov.  16 11:27 bzImage
    -rw-r--r-- 1 fog www-data 6609104 nov.  16 11:23 bzImage32
    -rw-r--r-- 1 fog www-data  234697 nov.  16 10:04 grub.exe
    -rw-r--r-- 1 fog www-data 9175040 nov.  16 10:06 init_32.xz
    -rw-r--r-- 1 fog www-data 7553024 nov.  16 10:06 init.xz
    -rw-r--r-- 1 fog www-data   25340 nov.  16 10:04 memdisk
    -rw-r--r-- 1 fog www-data 1839104 nov.  16 10:04 memtest.bin
    -rw-r--r-- 1 fog www-data   20933 nov.  16 10:04 refind.conf
    -rw-r--r-- 1 fog www-data  205192 nov.  16 10:04 refind.efi
    

    Please help 😢

    Thank’s in advance.

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Nov 16, 2015, 6:33 AM Nov 16, 2015, 12:32 PM

      Not sure about the menu but I think your init.xz/init_32.xz are way to small. Mine are about 1.5 times bigger (roughly 15 MB). Incomplete download of those files would explain the error you see I reckon.

      cd /var/www/fog/service/ipxe
      rm init.xz init_32.xz
      wget -O init.xz "http://sourceforge.net/projects/freeghost/files/InitList/init.xz/download"
      wget -O init_32.xz "http://sourceforge.net/projects/freeghost/files/InitList/init_32.xz/download"
      chown www-data:www-data init*
      

      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

      C 1 Reply Last reply Nov 16, 2015, 1:50 PM Reply Quote 2
      • T
        Tom Elliott
        last edited by Nov 16, 2015, 12:35 PM

        I didn’t even see that, but I have now added the init=/sbin/init to the kernel args list for kernel bootup in an attempt to hopefully ensure we always use the proper file.

        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
        • C
          ch3i Moderator @Sebastian Roth
          last edited by Nov 16, 2015, 1:50 PM

          @Sebastian-Roth OK it’s solved my problem for the kernel panic. Menu always bugged 😉

          T 1 Reply Last reply Nov 16, 2015, 6:17 PM Reply Quote 0
          • T
            Tom Elliott @ch3i
            last edited by Nov 16, 2015, 6:17 PM

            @ch3i Do you have anything in the apache error logs when you try to load the boot menu?

            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

            C 1 Reply Last reply Nov 17, 2015, 7:38 AM Reply Quote 0
            • C
              ch3i Moderator @Tom Elliott
              last edited by Nov 17, 2015, 7:38 AM

              @Tom-Elliott Hi Tom, I’ve nothing in error.log

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth Nov 17, 2015, 2:18 AM Nov 17, 2015, 8:18 AM

                @ch3i Please try accessing the bootmenu URL from a browser and see what you get: http://ip.or.fog.srv/fog/service/ipxe/boot.php

                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

                C 1 Reply Last reply Nov 17, 2015, 9:45 AM Reply Quote 0
                • C
                  ch3i Moderator @Sebastian Roth
                  last edited by Nov 17, 2015, 9:45 AM

                  @Sebastian-Roth said:

                  http://ip.or.fog.srv/fog/service/ipxe/boot.php

                  #!ipxe
                  set fog-ip 172.20.0.4
                  set fog-webroot fog
                  set boot-url http://${fog-ip}/${fog-webroot}
                  #!ipxe
                  cpuid --ext 29 && set arch x86_64 || set arch i386
                  goto get_console
                  :console_set
                  colour --rgb 0x00567a 1 && colour --rgb 0x00567a 2 && colour --rgb 0x00567a 4 ||
                  cpair --foreground 7 --background 2 2 ||
                  goto MENU
                  :alt_console
                  cpair --background 0 1 && cpair --background 1 2 ||
                  goto MENU
                  :get_console
                  console --picture http://172.20.0.4/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
                  :MENU
                  menu
                  colour --rgb 0xff0000 0 ||
                  cpair --foreground 1 1 ||
                  cpair --foreground 0 3 ||
                  cpair --foreground 4 4 ||
                  item --gap Host is NOT registered!
                  item --gap -- -------------------------------------
                  item fog.local Boot from hard disk
                  item fog.memtest Run Memtest86+
                  item fog.quickimage Quick Image
                  item fog.multijoin Join Multicast Session
                  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 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.20.0.4/fog/ consoleblank=0 loglevel=4 mode=manreg
                  imgfetch init_32.xz
                  boot || goto MENU
                  :fog.reg
                  kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.20.0.4/fog/ consoleblank=0 loglevel=4 mode=autoreg
                  imgfetch init_32.xz
                  boot || goto MENU
                  :fog.quickimage
                  login
                  params
                  param mac0 ${net0/mac}
                  param arch ${arch}
                  param username ${username}
                  param password ${password}
                  param qihost 1
                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                  :fog.multijoin
                  login
                  params
                  param mac0 ${net0/mac}
                  param arch ${arch}
                  param username ${username}
                  param password ${password}
                  param sessionJoin 1
                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                  :fog.sysinfo
                  kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.20.0.4/fog/ consoleblank=0 loglevel=4 mode=sysinfo
                  imgfetch init_32.xz
                  boot || goto MENU
                  :bootme
                  chain -ar http://172.20.0.4/fog/service/ipxe/boot.php##params ||
                  goto MENU
                  autoboot
                  
                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Nov 17, 2015, 4:28 PM

                    Interesting as :fog.reginput and :fog.reg are available but not listed as an item in the menu section… Are you sure you don’t have any related messages in your apache error log??

                    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

                    C 1 Reply Last reply Nov 17, 2015, 4:32 PM Reply Quote 0
                    • C
                      ch3i Moderator @Sebastian Roth
                      last edited by Nov 17, 2015, 4:32 PM

                      @Sebastian-Roth

                      No error, but can’t post the log >> Antispam xD

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Nov 17, 2015, 4:34 PM

                        Looking at the source code I think I found the “issue”. Didn’t know that there is a new option called FOG_REGISTRATION_ENABLED in FOG Settings… Check the settings in your web interface…

                        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

                        C 1 Reply Last reply Nov 17, 2015, 4:36 PM Reply Quote 0
                        • C
                          ch3i Moderator @Sebastian Roth
                          last edited by Nov 17, 2015, 4:36 PM

                          @Sebastian-Roth said:

                          Looking at the source code I think I found the “issue”. Didn’t know that there is a new option called FOG_REGISTRATION_ENABLED in FOG Settings… Check the settings in your web interface…

                          \o/ Solved ! Thx

                          T 1 Reply Last reply Nov 17, 2015, 5:25 PM Reply Quote 0
                          • T
                            Tom Elliott @ch3i
                            last edited by Nov 17, 2015, 5:25 PM

                            @ch3i Believe it or not, this option isn’t really new. It’s been there for a while.

                            It’s what enables registering or not, so you have control over whether or not you want to allow systems to register. It’s kind of a security feature.

                            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

                            C 1 Reply Last reply Nov 18, 2015, 7:42 AM Reply Quote 0
                            • C
                              ch3i Moderator @Tom Elliott
                              last edited by Nov 18, 2015, 7:42 AM

                              @Tom-Elliott Hi Tom, I’ve updated my old server during few month, and never seen that option. I’m on a fresh install, and I’ve not checked that 😛

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

                              214

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project