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

    rcu_sched self detected stall on CPU when Deploying

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    19
    1.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.
    • george1421G
      george1421 Moderator @Wolfbane8653
      last edited by

      @Wolfbane8653 Also make sure the firmware is updated on this target computer.

      We just ran through debugging this issue with a new intel platinum processor. That processor had an issue with the number of cores being capped at 8. In this case the processor is old so we should not be hitting that bug here.

      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
      • Q
        Quazz Moderator @Wolfbane8653
        last edited by

        @Wolfbane8653 A BIOS update may be required.

        Other than that, trying out this kernel here might be interesting: https://drive.google.com/open?id=1ZiRWrrN3dv26bLwW8GAEdLtzGw5xkyQI

        1 Reply Last reply Reply Quote 0
        • W
          Wolfbane8653 Developer
          last edited by

          BIOS updated to v1.35 (Latest)
          Kernal 4.19.64 still does not work.

          Custom Kernal still does not work
          32de5071-ae8c-4d5e-8605-b933e9487a51-image.png

          Q george1421G 2 Replies Last reply Reply Quote 0
          • Q
            Quazz Moderator @Wolfbane8653
            last edited by Quazz

            @Wolfbane8653 Please try kernel argument tsc=unstable

            Then try kernel argument clocksource=hpet

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

              @Wolfbane8653 I’m currently building a FOS Linux kernel without acpi support to see if we can get past the rcu_sched issue. I can say tracking down this type of issue does take time because its hardware/model specific. If you can get one of the kernel parameters that Quazz mentioned to work is the preferable route. I’ll post a link to the noacpi generated kernel when its done building.

              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!

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

                Here is a test kernel with no acpi functions supported: https://drive.google.com/open?id=1siERUC9h8MfQIXbqrQShKOHc55h5xK3q

                Download it as bzImageNoACPI and move it to /var/www/html/fog/service/ipxe directory on your fog server. Then go into the host definition for this specific host with the rcu_sched error and enter bzImageNoACPI (watch the case) into the kernel field and save the host configuration. Then pxe boot the target computer into imaging to see if we can get past the cpu stall.

                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
                • W
                  Wolfbane8653 Developer @george1421
                  last edited by Wolfbane8653

                  @Quazz

                  • tsc=unstable – works with Kernel 4.19.64
                  • clocksource=hpet – works with Kernel 4.19.64

                  So both of these commands work!

                  @george1421 – bzImageNoACPI creates a kernal panic. IDE is turned on in the BIOS. I do not use the RAID function for these machines.
                  8db818e6-c69c-48eb-b6dc-307b5f989e36-image.png

                  george1421G 1 Reply Last reply Reply Quote 0
                  • Q
                    Quazz Moderator
                    last edited by

                    I’m glad those commands worked.

                    So this is a problem that I think was introduced in the Spectre/Meltdown patches and only affects Core 2 CPUs.

                    I thought it was supposed to be fixed in Kernel 4.19, but apparently not.

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

                      @Wolfbane8653 said in rcu_sched self detected stall on CPU when Deploying:

                      tsc=unstable – works with Kernel 4.19.64
                      clocksource=hpet – works with Kernel 4.19.64

                      Great on fixing it with the timing source. That is the solution. As for my noacpi I figured that would happen because I also removed the acpi boot device drivers too. It was a risk, but the right answer is with the kernel parameters with the stock kernel. Well done!

                      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!

                      W 1 Reply Last reply Reply Quote 0
                      • W
                        Wolfbane8653 Developer @george1421
                        last edited by

                        So I’m guessing I’m going to need to edit all 100 of my units to have this argument? Or are you working on having a new bzImage for me to test?

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

                          @Wolfbane8653 You can safely set this globally, unless you have even older CPUs

                          W 1 Reply Last reply Reply Quote 1
                          • W
                            Wolfbane8653 Developer @Quazz
                            last edited by

                            Current Solution set Kernel to 4.19.64 and set global option in Fog Configuration–> FOG Settings --> General Settings --> Kernel ARGS to tsc=unstable

                            Luckly this is the last year for these machines.

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

                            219

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project