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

    Strange upload error

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    24
    11.0k
    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.
    • J
      Julianh
      last edited by

      I have fog working perfectly on all my servers, all identical, in the immortal words of Bill and Ted “a most bodacious product”

      However I have one other server, a HP microserver, old box, Dual core 1.3 Ghz CPU no less! It presents an error initially then starts cloning, with speeds of 350-ish MB, and eventually fails.

      The error code is TSC: Fats Calibration failed
      then
      ata2.00: failed to enable AA (error_mask=0x1)
      ata1.00: failed to enable AA (error_mask=0x1)

      There is nothing else on the switch, just a Fog server, this microserver and 2 draytek 2860 routers.

      A picture is worth a thousand wods, so I uploaded the video of it here

      https://youtu.be/Bw8Dq6RJVik

      Does anyone have an idea what it is?

      Thanks

      Julian

      t

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

        While I think this is a kernel/root filesystem issue lets start with the basics.

        What version of FOG are you using? Are you using 1.2.0 or a SVN trunk (beta) version?
        What OS is FOG running under?
        What is the target hardware you are trying to clone (make and manufacturer)

        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
        • J
          Julianh
          last edited by

          Hi George,

          It’s fog 1.20 in unbuntu 14.04.3 the hardware is a HP micriserver N40l. The bios has the controller as IDE, altough it can go to achi.

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

            OK just to restate what I think you said, all of your fog servers are running under ubuntu 14.04 and the version of FOG is 1.2.0 base image. You have not applied any SVN trunk (a.k.a 1.3 beta) images on top of the 1.2.0 base image.

            Now here is where I’m a bit fuzzy. Are you trying to deploy to a HP microserver or is the destination of the captured image the HP microserver? What I’m trying to dig at is of you are on the 1.2.0 base image and you have not updated the kernels since the base image was released (which is separate than applying a SVN upgrade), that kernels from 1.2.0 my not support current hardware.

            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

              @Julianh said:

              failed to enable AA (error_mask=0x1)

              Take a look here for a detailed explanation: https://bugzilla.redhat.com/show_bug.cgi?id=907193#c5

              You can try adding libata.force=noncq as host kernel argument but that’ll probably make things slow as well. But hopefully not break it.

              PS: The first error on ‘calibration’ I see on several of my machines too. Does not do any harm I find.

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

                As you can see in the bug report some hard drives are blacklisted within the libata kernel source code. I thought about suggesting you should try FOG trunk as maybe newer kernel versions have several more drives on the blacklist. But comparing the kernel source code I only see one new hard disk being added as BROKEN_FPDMA_AA. See youself:
                kernel 3.15 (FOG 1.2.0 has 3.15.6): http://lxr.free-electrons.com/source/drivers/ata/libata-core.c?v=3.15#L4150
                kernel 4.3 (FOG trunk): http://lxr.free-electrons.com/source/drivers/ata/libata-core.c#L4143

                Take a look at the source code and see if you can find your specific hard drive. To find out which HD you have in this machine you can boot up any live linux and run hdparm -I /dev/sda. You should see model, serial and firmware information on the first few lines of the output. We might report this to the kernel developers. Or you can just try using a different hard drive in this server.

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

                  @Julianh Any news on this. Did you get this solved?

                  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
                  • J
                    Julianh
                    last edited by

                    Hi Sebastian,

                    I’m working away, so I only had the weekend to try it. I swapped over the hard drive, and then tried the libata.force=noncq option, but unfortunatley it didn’t work.

                    Do you have any suggestions I could try, or options I could enable?

                    I’m back home at the weekend, then at home for a couple of weeks. Hopefully we can find the solution then.

                    Is there ny further information you want?

                    Thanks

                    Julian

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

                      @Julianh said:

                      unfortunatley it didn’t work.

                      What exactly didn’t work? Do you still see the same thing happening? Same messages and failing upload? Do you get an error message when things fail? What happens if you use a different hard drive??

                      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
                      • J
                        Julianh
                        last edited by

                        Hi Sebastian,

                        I swapped the hard drive, and got the exact same error as in the video, I also left it, but at the end of the supposed imaging rocess, it failed.

                        What does the error code mean, I have the controller set to AHCI disks,

                        Thanks

                        Julian

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @Julianh
                          last edited by

                          @Julianh Does the microserver use RAID?

                          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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

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

                            Hi Julian,

                            I have to admit that I haven’t had this error on one of my systems before. So I am just reading up things trying to understand what might be going wrong in your case. So there is a lot of guess work involved and I might be wrong…

                            Have you read through the bug report yet? What exactly do you see when it fails in the end of imaging process? Error messages?

                            What sort of hard drives have you tried so far? Are those Seagate Momentus SpinPoint disks or HP VB0250EAVER (https://lkml.org/lkml/2015/7/1/235)??

                            Please start a debug session for this host or boot a live linux via CD/DVD. Then run hdparm -I /dev/sda to see the model and serial number of the disk. Please let us know. By the way, do you see the same messages when booting a live linux?? dmesg | grep "failed to enable AA"

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

                              I’m very very confused by this.

                              Is there a failure to actually uploading the image? Based on the video, it seems to be doing what it needs to even with all the “errors” on the screen. Of course we only see the point of the first partition calculating the bitmap and uploading the first partition, but does it not go further?

                              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
                              • J
                                Julianh
                                last edited by

                                Thanks you all for getting back to me.

                                I’ve uploaded a slightly longer video to https://youtu.be/cg5tpB3kq9M
                                It shows the imaging start, but at the end it fails. I have to wait 12 hours for that though.

                                Tom, the image continues, as if it were imaging the server, then fails. The imaging will take 12 hours or so it says, it’s 9pm here, so I’ll post the “end” error tomorrow morning.

                                Sebastian, there is no raid in the microserver. The drive is a samsung 1TB green. If I run the image in “upload - debug” mode, can I run the commands in that mode?

                                Thanks again for your help. I’ll post the image tomorrow.

                                Yours

                                Julian

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

                                  @Julianh said:

                                  If I run the image in “upload - debug” mode, can I run the commands in that mode?

                                  Try host -> Basic tasks -> Debug. That should get you to a shell.

                                  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
                                  • J
                                    Julianh
                                    last edited by

                                    0_1449079408761_IMG_0542.JPG

                                    This is the end screen.

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

                                      @Julianh Is it possible there’s an issue with RAM on this device? Or is this what’s happening on ALL devices?

                                      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

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        Julianh
                                        last edited by

                                        This is the result of the hdparm -I /dev/sda command. I didn’t know what you wanted, so here’s the lot.4_1449080658879_IMG_0548.JPG 3_1449080658879_IMG_0547.JPG 2_1449080658879_IMG_0546.JPG 1_1449080658879_IMG_0545.JPG 0_1449080658879_IMG_0544.JPG

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

                                          @Tom-Elliott
                                          Hi Tom, the Machine is behaving perfectly well, I doubt there’s a memory issue, but I’ll run a check on it anyway. THanks for the suggestion.

                                          Julian

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            Julianh @Julianh
                                            last edited by

                                            @Julianh I forgot to say Tom, It’s only this one machine.

                                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            207

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project