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

Lenovo Yoga 12 Issues

Scheduled Pinned Locked Moved
Hardware Compatibility
3
7
777
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.
  • T
    TBCS
    last edited by Jul 11, 2019, 5:58 PM

    When On UEFI, fog will be unable to mount the file system if a task is created.

    photo_2019-07-09_10-33-08.jpg

    When on BIOS, if a task is created, it hangs on init.xz.

    1 Reply Last reply Reply Quote 0
    • T
      TBCS
      last edited by Jul 11, 2019, 6:06 PM

      To add a little bit more detail, we’ve imaged hundreds of machines and have only had this error on these.

      I guess they’re technically Thinkpad Yoga 12s. We have to use an official lenovo ethernet adapter to image them.

      G 1 Reply Last reply Jul 11, 2019, 7:14 PM Reply Quote 0
      • G
        george1421 Moderator @TBCS
        last edited by Jul 11, 2019, 7:14 PM

        @TBCS Are you running FOG v1.5.6 too? I have seen this “unable to mount images folder” in several posts lately. Its strange that its only happening on these Yoga 12s.

        If you schedule unicast imaging does it work correctly?

        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 Jul 11, 2019, 7:17 PM Reply Quote 0
        • T
          TBCS @george1421
          last edited by Jul 11, 2019, 7:17 PM

          @george1421 No we are running 1.5.5. Unicast images fail most of the time, on some yogas it seems like it works sometimes but in general they fail all in the same way.

          G 2 Replies Last reply Jul 11, 2019, 7:21 PM Reply Quote 0
          • G
            george1421 Moderator @TBCS
            last edited by Jul 11, 2019, 7:21 PM

            @TBCS Interesting. Let me do a little research. I’m wondering if a slow response from the FOG server is causing the target to throw this error. The slow response could be coming from the target computer too. Let me see what generates that error message first.

            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 @TBCS
              last edited by george1421 Jul 11, 2019, 1:45 PM Jul 11, 2019, 7:28 PM

              @TBCS

              For reference this is the section of code responsible for throwing that error message

              case $type in
                  up)
                      mount -o nolock,proto=tcp,rsize=32768,wsize=32768,intr,noatime "$storage" /images >/tmp/mount-output 2>&1
                      ;;
                  down)
                      mount -o nolock,proto=tcp,rsize=32768,intr,noatime "$storage" /images >/tmp/mount-output 2>&1
                      ;;
              esac
              case $? in
                  0)
                      echo "Done"
                      debugPause
                      ;;
                  *)
                      echo "Failed"
                      debugPause
                      handleError "Could not mount images folder ($0)\n   Args Passed: $*\n    Reason: $(cat /tmp/mount-output | tr -d \\0)"
                      ;;
              esac
              

              So here is what I want you to do. It will help to debug if you have a computer that is consistently failing to image. If its not broken, its hard to fix the issue.

              1. Schedule a unicast deployment to that computer, but before you hit the schedule button tick the debug checkbox.
              2. PXE boot the computer.
              3. After a few enter key presses you will be dropped to the FOS Linux command prompt.
              4. At the FOS Linux command prompt key in these commands.
              mkdir /testfs
              mount -o nolock,proto=tcp,rsize=32768,intr,noatime 10.10.1.93:/images /testfs
              

              That should hopefully mount the FOG server’s /images to FOS’ testfs directory. You can confirm it works by keying in ls -la /testfs If it returns files and directories then its working.

              ref: https://www.tldp.org/LDP/nag2/x-087-2-nfs.mountd.html

              timeo=n
              
                  This sets the time (in tenths of a second) the NFS client will wait for a request to complete. The default value is 7 (0.7 seconds). What happens after a timeout depends on whether you use the hard or soft option.
              

              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 Jul 13, 2019, 4:27 PM

                @TBCS Are all the Yogas in a specific part of your network (one switch/room/subnet)? It’s kind of unlikely this is caused by the Yogas being UEFI systems. What could be the case is that the network driver for the NIC used (probably an external adapter, right?) is kind of buggy and not allowing for a proper NFS connection. But as we check network connection on bootup it’s also very unlikely.

                I guess George is on the right track here. Your network seems to not handle the default 0.7 second timeout well and therefore you see random failures. Try manual mounting as George suggested a couple of times in a row to see how often it fails.

                mkdir /testfs
                mount -o nolock,proto=tcp,rsize=32768,intr,noatime 10.10.1.93:/images /testfs
                umount /testfs
                mount -o nolock,proto=tcp,rsize=32768,intr,noatime 10.10.1.93:/images /testfs
                umount /testfs
                ...
                

                Then add the timeout option as well and see if it’s doing any better.

                mount -o timeo=10,nolock,proto=tcp,rsize=32768,intr,noatime 10.10.1.93:/images /testfs
                umount /testfs
                mount -o timeo=20,nolock,proto=tcp,rsize=32768,intr,noatime 10.10.1.93:/images /testfs
                umount /testfs
                ...
                

                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 1
                • 1 / 1
                1 / 1
                • First post
                  4/7
                  Last post

                152

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project