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

Upgrade to Trunk, Kernel Panic

Scheduled Pinned Locked Moved
FOG Problems
6
44
17.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.
  • S
    SaxxAppeal
    last edited by May 25, 2016, 3:02 PM

    Correct, I am using undionly.kpxe

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by May 25, 2016, 3:10 PM

      ok on the fog server console I need you to navigate to

      /var/www/html/fog/service/ipxe or /var/www/html/fog/service/ipxe depending on your distro and confirm that you have the bzImage (should since you are getting the sync error) and the init.xz and init32.xz files there.

      Also when you are pxe booting are there any other warning messages? You should see it download bzImage and init.xz during the booting process.

      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!

      S 1 Reply Last reply May 25, 2016, 3:14 PM Reply Quote 0
      • S
        SaxxAppeal @george1421
        last edited by SaxxAppeal May 25, 2016, 9:15 AM May 25, 2016, 3:14 PM

        @george1421 No other warning messages, just an immediate kernel panic with the included text (after watching the bzImage and init files download)

        I am on Ubuntu 14 server.

        Checked the location you provided (it’s the same location twice btw), I am familiar with the directory as it is where the kernels download. All necessary files are accounted for…

        1 Reply Last reply Reply Quote 0
        • G
          george1421 Moderator
          last edited by george1421 May 25, 2016, 9:17 AM May 25, 2016, 3:16 PM

          on the bzImage files from that directory what do you get when you run file bzImage

          I would expect it to look something like:

          bzImage: Linux kernel x86 boot executable bzImage, version 4.5.3 (root@debian64) #1 SMP Mon May 9 05:44:34 EDT 2016, RO-rootFS, swap_dev 0x6, Normal VGA
          

          It is important that the bzImage and init.xz versions match. You can use newer kerenels with older inits but you can use an old kernel with the newer inits.

          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!

          1 Reply Last reply Reply Quote 0
          • S
            SaxxAppeal
            last edited by May 25, 2016, 3:24 PM

            When I run “file bzImage”, my output is:

            bzImage: x86 boot sector

            So it seems the bzImage file in place is the wrong architecture, if I’m not mistaken??

            I wonder how that happened. If I am right, how can I obtain a new x64 version?

            G 1 Reply Last reply May 25, 2016, 3:27 PM Reply Quote 0
            • G
              george1421 Moderator @SaxxAppeal
              last edited by george1421 May 25, 2016, 9:29 AM May 25, 2016, 3:27 PM

              @SaxxAppeal Ok you futz with the images/inits. Let me get the stuff you need. Give me a minute.

              [edit]
              Navigate to the ipxe directory again and run these commands to download the current stuff.

              sudo wget https://fogproject.org/inits/init.xz
              sudo wget https://fogproject.org/inits/init_32.xz
              sudo wget https://fogproject.org/kernels/bzImage
              sudo wget https://fogproject.org/kernels/bzImage32

              Then repeat the file command.

              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!

              1 Reply Last reply Reply Quote 0
              • G
                george1421 Moderator
                last edited by george1421 May 25, 2016, 9:33 AM May 25, 2016, 3:30 PM

                OK, now I’m confused because I just reread my output and my says x86 boot image too. I need to check something.

                [edit] Strange on my prod server and dev box they both say x86, not sure if that is a type-o or what. I can see from an ls command that bzImage IS larger so that is probably the x64 image.

                [root@localhost ipxe]# file bzImage
                bzImage: Linux kernel x86 boot executable bzImage, version 4.5.3 (root@debian64) #1 SMP Mon May 9 05:44:34 EDT 2016, RO-rootFS, swap_dev 0x6, Normal VGA
                [root@localhost ipxe]# file bzImage32
                bzImage32: Linux kernel x86 boot executable bzImage, version 4.5.3 (root@debian64) #1 SMP Mon May 9 05:45:31 EDT 2016, RO-rootFS, swap_dev 0x6, Normal VGA
                

                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!

                S 1 Reply Last reply May 25, 2016, 3:32 PM Reply Quote 0
                • S
                  SaxxAppeal @george1421
                  last edited by May 25, 2016, 3:32 PM

                  @george1421 Okay, no problem, thanks for the help.

                  FWIW, I ran wget and pulled fresh files. Same result when I run the file command, same result when the client tries to load the kernel.

                  1 Reply Last reply Reply Quote 0
                  • G
                    george1421 Moderator
                    last edited by May 25, 2016, 3:35 PM

                    I just checked and I can pxe boot one of my (vmware) mdt vms without issue.

                    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!

                    S 1 Reply Last reply May 25, 2016, 3:41 PM Reply Quote 0
                    • S
                      SaxxAppeal @george1421
                      last edited by May 25, 2016, 3:41 PM

                      @george1421 I just tried again. Full error text:

                      "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(1,0)
                      Kernel Offset: disabled
                      —[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

                      G 1 Reply Last reply May 25, 2016, 3:43 PM Reply Quote 0
                      • G
                        george1421 Moderator @SaxxAppeal
                        last edited by May 25, 2016, 3:43 PM

                        @SaxxAppeal the message is saying that the init is damaged. I guess we need to wait for one of the devs to chime in here since this is a bit beyond what we’ve done so far.

                        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!

                        S 1 Reply Last reply May 25, 2016, 3:46 PM Reply Quote 0
                        • S
                          SaxxAppeal @george1421
                          last edited by May 25, 2016, 3:46 PM

                          @george1421 I see. Thanks for the help so far! I hope someone else can shed some light, I’ve been pulling my hair out for 2 days with this one.

                          Q 1 Reply Last reply May 25, 2016, 3:46 PM Reply Quote 0
                          • Q
                            Quazz Moderator @SaxxAppeal
                            last edited by May 25, 2016, 3:46 PM

                            @SaxxAppeal Is it possible to test this on yet another machine (preferably different hardware entirely) in the mean time? Just to rule out a few things.

                            S 1 Reply Last reply May 25, 2016, 3:48 PM Reply Quote 0
                            • S
                              SaxxAppeal @Quazz
                              last edited by SaxxAppeal May 25, 2016, 9:49 AM May 25, 2016, 3:48 PM

                              @Quazz I’ve tested it so far with a physical Dell 745 as the server, and a VirtualBox machine as the server.

                              I’ve tried with a Dell 745 client, Dell 760 client, Lenovo T430 client…

                              Not sure if I have any other hardware available that is vastly different from the ones I’ve mentioned.

                              G 1 Reply Last reply May 25, 2016, 10:24 PM Reply Quote 0
                              • T
                                Tom Elliott
                                last edited by May 25, 2016, 3:54 PM

                                What’s output in the browser?

                                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

                                S 1 Reply Last reply May 25, 2016, 4:07 PM Reply Quote 0
                                • S
                                  SaxxAppeal @Tom Elliott
                                  last edited by May 25, 2016, 4:07 PM

                                  @Tom-Elliott Hi Tom!! What do you mean by browser output? The GUI loads and operates perfectly, not sure if you’re asking something else.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tom Elliott
                                    last edited by May 25, 2016, 4:07 PM

                                    http://<ip>/fog/service/ipxe/boot.php?mac=<macofhost>

                                    That’s the link you should go to (making relevant changes)

                                    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

                                    S 1 Reply Last reply May 25, 2016, 5:50 PM Reply Quote 0
                                    • S
                                      SaxxAppeal @Tom Elliott
                                      last edited by May 25, 2016, 5:50 PM

                                      @Tom-Elliott said in Upgrade to Trunk, Kernel Panic:

                                      http://<ip>/fog/service/ipxe/boot.php?mac=<macofhost>

                                      Sorry for the delay.

                                      Here is the output:

                                      #!ipxe
                                      set fog-ip 10.1.0.154
                                      set fog-webroot fog
                                      set boot-url http://${fog-ip}/${fog-webroot}
                                      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://10.1.0.154/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.reginput Perform Full Host Registration and Inventory
                                      item fog.reg Quick Registration and Inventory
                                      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.1 loglevel=4 initrd=init_32.xz.1 root=/dev/ram0 rw ramdisk_size=127000 keymap= web=10.1.0.154/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=manreg
                                      imgfetch init_32.xz.1
                                      boot || goto MENU
                                      :fog.reg
                                      kernel bzImage32.1 loglevel=4 initrd=init_32.xz.1 root=/dev/ram0 rw ramdisk_size=127000 keymap= web=10.1.0.154/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=autoreg
                                      imgfetch init_32.xz.1
                                      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.1 loglevel=4 initrd=init_32.xz.1 root=/dev/ram0 rw ramdisk_size=127000 keymap= web=10.1.0.154/fog/ consoleblank=0 rootfstype=ext4 loglevel=4 mode=sysinfo
                                      imgfetch init_32.xz.1
                                      boot || goto MENU
                                      :bootme
                                      chain -ar http://10.1.0.154/fog/service/ipxe/boot.php##params ||
                                      goto MENU
                                      autoboot```
                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        george1421 Moderator
                                        last edited by May 25, 2016, 8:55 PM

                                        Cross link duplicate issue
                                        https://forums.fogproject.org/topic/7566/kernel-panic-not-syncing-vfs

                                        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 May 25, 2016, 9:50 PM Reply Quote 0
                                        • T
                                          Tom Elliott @george1421
                                          last edited by May 25, 2016, 9:50 PM

                                          This seems, at least initially, unrelated.

                                          I’m taking a look just to be on the safe side though. I’m probably still an idiot. Should be relatively simple to correct for.

                                          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

                                          T 1 Reply Last reply May 25, 2016, 9:52 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          1 / 3
                                          • First post
                                            12/44
                                            Last post

                                          271

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project