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

    Upgrade to Trunk, Kernel Panic

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    44
    17.7k
    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.
    • Q
      Quazz Moderator @SaxxAppeal
      last edited by

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

      SaxxAppealS 1 Reply Last reply Reply Quote 0
      • SaxxAppealS
        SaxxAppeal @Quazz
        last edited by SaxxAppeal

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

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

          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

          SaxxAppealS 1 Reply Last reply Reply Quote 0
          • SaxxAppealS
            SaxxAppeal @Tom Elliott
            last edited by

            @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
            • Tom ElliottT
              Tom Elliott
              last edited by

              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

              SaxxAppealS 1 Reply Last reply Reply Quote 0
              • SaxxAppealS
                SaxxAppeal @Tom Elliott
                last edited by

                @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
                • george1421G
                  george1421 Moderator
                  last edited by

                  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!

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

                    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

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

                      So I’m currently 100% updated. 7853.

                      I’m doing the most complicated form of imaging (multicast cause I like to torture myself) and it booted everything, with no issues.

                      This is making me wonder if it could be related to UEFI booting?

                      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
                      • george1421G
                        george1421 Moderator @SaxxAppeal
                        last edited by george1421

                        @SaxxAppeal said:

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

                        Tom, I thought that initially too. It was the handoff between ipxe and bzImage under a uefi system. But the 2 of the 3 systems the OP mentioned don’t know uefi. UEFI wasn’t supported in the OptiPlex line until 790/390 generation. These two dells are bios only.

                        We have seen this error before, but mainly with uefi systems, that I agree.

                        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
                          Sebastian Roth Moderator
                          last edited by Sebastian Roth

                          @SaxxAppeal said:

                          bzImage: x86 boot sector

                          A while back already I noticed that the file command does not output all the valuable information on all distros. What it does is kind of simple. It reads the first couple of bytes of a file and compares it to known signatures (https://en.wikipedia.org/wiki/List_of_file_signatures). Seems like the ubuntu file command does detect the kernel as simple x86 boot sector and therefore does not print out the kernel version. Very sad because I really love that little tool. So maybe I have to get around this by pointing people to check the kernel version via the web gui - although this only works when the kernel image is in place but nor for checking the version of any bzImage you have lying around.

                          @george1421 said:

                          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.

                          Although the file command is powerful (e.g. even prints the partition table if you run file d1.mbr) is does not distinguish between 32 or 64 bit kernel. I don’t know the kernel binary structure enough but I guess detecting a 64 bit bzImage from a 32 bit one is beyond the capability of a simple tool like file which just compares a few byte ranges…

                          Ok, back to the initial question. George is right that the kernel panic essentially means that the kernel was not able to find it’s root device (which we have packed completely into the init(_32).xz file!). This can be caused by different reasons:

                          • init(_32).xz missing / wrong filename - in the output you posted I see init_32.xz.1, sure you have the file named like that? Shouldn’t hurt I suppose but maybe try re-naming/-configuring it to init_32_1.xz to see if it makes a difference
                          • using the old pxelinux.0 for PXE booting (although I still haven’t had the time to find out why that is!) - use ipxe binaries for PXE booting, e.g. undionly.kpxe
                          • init(_32).xz corrupt - broken download (shouldn’t happen with FOG trunk anymore)
                          • 32/64 bit mixed, e.g. bzImage32 / init.xz or vice versa
                          • Missing initrd=init.. kernel command line parameter
                          • bzImage32 / init_32.xz booted on a 64 bit architecture (although this usually yields in a different error from what I know)

                          Possibly something else I missed!? Please add other things you know so I can add this to the wiki soon!

                          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

                          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                          • SaxxAppealS
                            SaxxAppeal
                            last edited by

                            Thanks for the suggestions, everyone.

                            In the original post I didn’t mention that I am using dnsmasq in my setup (always have), and it seems like it isn’t the issue because I get an IP from the FOG server, boot into the FOG splash screen, and am able to choose Full Host Reg/watch the bzImage and init files download to the client… Then I get the kernel panic.

                            Today I’ve tried setting up another virtual machine from scratch with Ubuntu 14, and just FOG with dnsmasq; same result.

                            Any other thoughts?

                            george1421G 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @SaxxAppeal
                              last edited by george1421

                              @SaxxAppeal That does add a new dimension to this issue.

                              For dnsmasq to work you need pxelinux.0. How did you create this? Copy undionly.kpxe or create a symbolic link to it?

                              I CAN see dnsmasq being an issue with uefi systems (which the dells you mentioned are bios only).

                              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!

                              SaxxAppealS Q 2 Replies Last reply Reply Quote 0
                              • SaxxAppealS
                                SaxxAppeal @george1421
                                last edited by

                                @george1421 After I installed FOG and dnsmasq, the /tftpboot directory has pxelinux.0 and pxelinux.0.old
                                undionly.kpxe is also present in the directory. My dnsmasq tsp.conf file points to /tftpboot as the directory to get everything from.

                                george1421G 2 Replies Last reply Reply Quote 0
                                • george1421G
                                  george1421 Moderator @SaxxAppeal
                                  last edited by george1421

                                  @SaxxAppeal I don’t have a fog system in front of me, but can you confirm by the file date that pxelinux.0 has a similar date to undionly.kpxe? At one time the devs were not delivering that driver, they may have started again. If this is something supplied by dnsmasq then I can understand why things are not working.

                                  It may also be interesting to rename this pxelinux.0 file to something and then create a symbolic link between undionly.kpxe and pxelinix.0 and then see what happens. Understand I’m just grabbing at straws here. But an old version of pxelinux.0 would create the error you are reporting because the inits would be held differently in memory.

                                  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!

                                  SaxxAppealS 1 Reply Last reply Reply Quote 0
                                  • Q
                                    Quazz Moderator @george1421
                                    last edited by

                                    @george1421 He doesn’t need pxelinux.0, undionly.0 works fine.

                                    1 Reply Last reply Reply Quote 0
                                    • george1421G
                                      george1421 Moderator @SaxxAppeal
                                      last edited by

                                      @SaxxAppeal Would you post the complete line from your dnsmasq for this prefix: pxe-service=X86PC

                                      @Quazz I may have been reading more into what the OP didn’t say than reality.

                                      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!

                                      SaxxAppealS 1 Reply Last reply Reply Quote 0
                                      • SaxxAppealS
                                        SaxxAppeal @george1421
                                        last edited by

                                        @george1421 said in Upgrade to Trunk, Kernel Panic:

                                        @SaxxAppeal Would you post the complete line from your dnsmasq for this prefix: pxe-service=X86PC

                                        @Quazz I may have been reading more into what the OP didn’t say than reality.

                                        The line you requested is as follows:

                                        pxe-service=X86PC, "Boot from network", pxelinux
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • SaxxAppealS
                                          SaxxAppeal @george1421
                                          last edited by

                                          @george1421 THIS WORKED!!!

                                          I renamed the pxelinux.0 file to something else, and created the sym link… Booted right in!

                                          I’ll continue to test with some other machines, if anyone else has any other tidbits to contribute please let me know!

                                          1 Reply Last reply Reply Quote 2
                                          • S
                                            Sebastian Roth Moderator
                                            last edited by Sebastian Roth

                                            Good to know. So my list of suggestions was spot on!

                                            @SaxxAppeal Can you please try booting the Dell Optiplex 745 as well. We have another user having trouble with just that machine model!

                                            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

                                            SaxxAppealS 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            155

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project