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

    Getting a boot error. Kernel panic for block (0,0)

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    16
    702
    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.
    • george1421G
      george1421 Moderator @gribbler
      last edited by

      @gribbler While I understand where its failing in the linux kernel booting process, I’ve never see the FOS Linux kernel do that. Just for clarity is this the target OS booting creating this message or is it happening when you begin to capture/deploy an image?

      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
        gribbler
        last edited by

        This is as the fos kernel boots, shortly after the bzImage and init.xz have downloaded and the boot process had started. Before it, there’s a screen or two of the boot process though it’s a bit too quick to give details but I’m not seeing anything that stands out in the bits I get to read

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

          @gribbler Something is telling me the bzImage and init.xz files are out of sync or init.xz is damage in some way.

          Looking at your OP and the screen cap I still can’t believe that this is FOS linux starting up. Especially this part:

          fstab on host
          /dev/mapper/rl-root / xfs defaults 0 0
          UUID=811b72e5-eba6-446a-b8f7-90cbc88c6d08 /boot xfs defaults 0 0
          UUID=E788-250F /boot/efi vfat umask=0077,shortname=winnt 0 2
          /dev/mapper/rl-home /home xfs defaults 0 0
          /dev/mapper/rl-swap none swap defaults 0 0

          The xfs file system and the second partition having a short name of winnt that’s not FOS Linux. The fos linux filesystem in init.xz is ext2 or ext3, I can’t remember, but its surely not xfs. This makes me think its the target computer’s OS for some reason.

          Working with the understanding that this is truly a FOS linux boot, lets have you reinstall FOG. Simply rerun the installfog.sh installer. It will take all of your previous settings and won’t touch the database, but it will reset all of the files in the fog server. Once that is done then use the web ui fog configuration->kernel update to bring the kernel up to 6.6.x. Don’t do anything by hand in the fog server host computer’s file system. This should restore the files back to a known state.

          I didn’t happen to ask you what version of FOG you are using, hopefully is 5.10.x

          Lastly about your ahci question, yes that driver has always been in the fog kernel. But if you want to look the kernel configs are located here: https://github.com/FOGProject/fos/tree/master/configs

          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!

          G 1 Reply Last reply Reply Quote 0
          • G
            gribbler
            last edited by

            Thank you, that’s helpful for my understanding of a few things. My guess was that the FOS was booting and then trying to load the system ssd drive, and crapping out there. I will get a further look at it tomorrow at the office. It’s odd that shortname is there, this was a new ssd pulled out about 3 weeks ago as far as i know and for sure only has had rocky9 workstation installed on it. I had rebuilt the fog server from scratch earlier this week on a new vm just to make sure I was starting from fresh after screwing around with building my own init.xz and bzImage - after struggling for a while with what I thought was a different IPXE problem, when it turns out it was a bug in the switch firmware that was turning the network port off on some reboots unless it was set to 1g b(from 10gb).

            I can recreate the server, and reinstall the OS on the workstation on the driver after i delete all the partitions just to get things as simple as possible. Thanks again.

            1 Reply Last reply Reply Quote 0
            • G
              gribbler @george1421
              last edited by

              @george1421 Thanks again for your reply.

              I rebuilt the server, though I need to use an updated ipxe.efi to support the network card (Marvell AQC107).

              This gets me to the exact same place I was with the kernel panic.

              Just to be clear - is my assumption correct? it seems like in the ipxe boot process, the fog kernel is crashing when trying to mount the local host OS drive. I have to step away for a few hours and perhaps not get back to it until tomorrow.

              thanks.

              1 Reply Last reply Reply Quote 0
              • G
                gribbler @gribbler
                last edited by

                @gribbler I’ve rebuilt the workstation a couple times, once with defaults for the system drive and the other with manually settings ext3 partitioning, and still getting the same failure.

                I’m stumped as to why this system is not booting. I’ll see if I can steal a system from someone else and try theirs, it might be something odd about the hardware.

                JJ FullmerJ 1 Reply Last reply Reply Quote 0
                • G
                  gribbler
                  last edited by

                  Bump for some love…

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

                    @gribbler Based on what I can only guess is a question unrelated to FOS itself:

                    FOG doesn’t do anything related to fstab on any host.

                    So this tells me what you’re seeing is completely seperate and most likely the drive booting into normal operating system of which is using xfs filesystm.

                    Please make a backup of your init.xz/bzImage files and download these specific files:

                    cp /var/www/fog/service/ipxe/bzImage{,_backup}
                    cp /var/www/fog/service/ipxe/init.xz{,_backup}
                    wget -O /var/www/fog/service/ipxe/bzImage https://github.com/fogproject/fos/releases/latest/download/bzImage
                    wget -O /var/www/fog/service/ipxe/init.xz https://github.com/fogproject/fos/releases/latest/download/init.xz
                    

                    Then try loading fog?

                    If you can also capture a video of the whole process and post it somewhere we can try to get to 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
                    • JJ FullmerJ
                      JJ Fullmer Testers @gribbler
                      last edited by

                      @gribbler Are you able to get to the fog pxe boot menu on this host?
                      If so can you try the Client System Information (Compatability) option?
                      Mainly want to see option 4 (check fog compatibility) passes (Doing this after what @Tom-Elliott suggested)

                      Also, if you’re building a custom ipxe.efi file to support the Marvell card, do you happen to have any other cards on this machine that you could try with the default ipxe.efi file?
                      Do you maybe have the FOG_KERNEL_LOGLEVEL fog setting (in fog configuration->fog settings) up higher than 4? That might explain the extra output you’re seeing

                      Have you tried the FogApi powershell module? It's pretty cool IMHO
                      https://github.com/darksidemilk/FogApi
                      https://fogapi.readthedocs.io/en/latest/
                      https://www.powershellgallery.com/packages/FogApi
                      https://forums.fogproject.org/topic/12026/powershell-api-module

                      1 Reply Last reply Reply Quote 0
                      • G
                        gribbler @gribbler
                        last edited by

                        @gribbler Thanks to @JJ-Fullmer and @Tom-Elliott for some direction.

                        We’ve just moved buildings over the weekend and I’ve not had a chance to get the proxmox servers back online, gotta get people working was the first priority. I will have a look in the next couple days and for sure no later than early next week.

                        Thanks again.

                        1 Reply Last reply Reply Quote 0
                        • G
                          gribbler @gribbler
                          last edited by

                          @gribbler Move to the new building is over, had a chance today to try and get our proxmox server back online, but alas a drive was dead so I used a different server, and what may have been key is a different workstation to try to boot. I had to use the newer built ipxe.efi as pxe boots, hands off to ipxe and then it just can’t do anything. Gets an IP address but can’t see shit.

                          I was able to get FOG working without much hassle, I do have workstations with LVMs with XFS on them which seems to be a problem for FOG . It did say I could try to not do it as a resizable image but that I assume would then be the same size as the drive? Much too big. In doing some digging I found an option is to boot off a live CD, use partclone and I was able to clone the /home and / partitions which I can import into FOG. Further thoughts I had on the way home was that I must try to just image a partition and see if that works, and a few other ways I could try to skin the cat so to speak… It seems like I have a few directions I could head, so any advice you have that would be appreciated and might save me some trial and error.

                          I am pretty sure there was something up with that workstation I was trying before, I will try to image it again sometime next week I hope.

                          Thank you to @george1421 @JJ-Fullmer @Tom-Elliott for your guidance. It is really appreciated.

                          1 Reply Last reply Reply Quote 0
                          • G
                            gribbler
                            last edited by

                            Biggest thing I found from this for future searches of answers…

                            F*CK UEFI. Legacy FTW.

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

                            155

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project