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

    Deployment hangs at 0% after restore of 45,07 MB

    Linux Problems
    3
    16
    4458
    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.
    • A
      Andyal15 last edited by

      [FONT=Tahoma][COLOR=#141414]Hi All,[/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]we’ve got brand New Machines from Lenovo (M73) with a brand New Intel Network Card I217-V.[/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]Therefore i’ve changed der Kernel on FOG Server 0.32 to different Versions[/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]Kernel 3.8.8 hangs[/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]Kernel 3.3.3 hangs[/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]Kernel 2.6.39 hangs[/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]Inventory is working !![/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]Wipe Disk Fast is also working !![/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]Debug Mode is working ![/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]Partimage manually is also working…. [/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]First (100MB) Windows Partition restores correctly. [/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]Second Partion (17GB) hangs (dev/sda2) on 0% 45,07 MB restored.[/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]Tried on different Hardware (HP / Lenovo) on both Systems same Problem.[/COLOR][/FONT]

      Back on Kernel 3.2.4 restoring same Image is working on HP (NOT on LENOVO…).

      [FONT=Tahoma][COLOR=#141414]I’ve also compiled a brand New Kernel 3.13.7 … same Problem.[/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]Any Ideas ??[/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]I’m a little bit confused on that.[/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414]Thanks – [/COLOR][/FONT][FONT=Tahoma][COLOR=#141414]Andyal15[/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT]

      [FONT=Tahoma][COLOR=#141414] [/COLOR][/FONT]

      [SIZE=3][FONT=Calibri][COLOR=#000000] [/COLOR][/FONT][/SIZE]

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

        This is part of the /bin/fog script.

        Within the init.gz

        On your FOG Server as root extract and mount the init file:
        [code]cd /tftpboot/fog/images
        mkdir tmp
        gunzip init.gz
        mount -o loop init tmp
        vi tmp/bin/fog
        [/code]

        Make the changes needed then save and close then run the following commands:
        [code]cd /tftpboot/fog/images
        umount tmp
        gzip -9 init
        rm -rf tmp
        [/code]

        That’s 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
        • F
          Fred last edited by

          [quote=“Andyal15, post: 24814, member: 23241”]PROBLEM FIXED !!!
          I’ve changed the mount point entry in tge fog script.
          from
          mount -o nolock,proto=tcp …
          to
          mount -o nolock …

          Deployment ist now running on all my machines (HP / Lenovo…)
          Thanks TOM !!!
          Andyal15[/quote]

          Where is this script located?

          1 Reply Last reply Reply Quote 0
          • A
            Andyal15 last edited by

            PROBLEM FIXED !!!
            I’ve changed the mount point entry in tge fog script.
            from
            mount -o nolock,proto=tcp …
            to
            mount -o nolock …

            Deployment ist now running on all my machines (HP / Lenovo…)
            Thanks TOM !!!
            Andyal15

            1 Reply Last reply Reply Quote 0
            • A
              Andyal15 last edited by

              Tom, i’ve added Deployment-debug and then i’ve started fog from commandline …
              Exact the same Problem stops after 45MB of data transered.
              Then I’ve seen at 3rd screen … NFS Server IP-Address not responding. trying again

              So, the problem is maybe the nfs version ??
              Any hints ?
              Best regards
              Andyal15

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

                Create the task as advanced as either download-debug or upload-debug.

                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
                • A
                  Andyal15 last edited by

                  Hello,
                  Tom, is there a way to exit the fog script on Deployment.
                  I’ve tried to change the init.gz fog script with a read line (Stop script).
                  But It does not exit to the shell … it reboots the machine.
                  Is there a better way to test the restore process with all the neccessary variables (fog ip/ mac/ imagename) and so on.
                  Thanks
                  Andyal15

                  1 Reply Last reply Reply Quote 0
                  • A
                    Andyal15 last edited by

                    Update:
                    I’ve installed Kernel 3.3.17
                    Then i’ve bootet the Client (Lenovo) to Debug Mode (NetworController loaded)
                    Next i’ve mounted the Image Volume
                    The I’ve done three steps: ([url]http://www.fogproject.org/wiki/index.php/Troubleshooting_an_image_push_to_a_client[/url])
                    dd if=d1.mbr of=/dev/sda1 bs=512 count=1
                    partimage restore /dev/sda1 d1p1.img [B]-f3 -b[/B]
                    partimage restore /dev/sda2 d1p2.img [B]-f3 -b[/B]

                    Restore without a Problem !!!
                    Reboot and the Windows Setup Process works …

                    So, that can’t be a kernel Problem maybe a Problem with the Fog Script ??
                    Best regards
                    Andyal15

                    1 Reply Last reply Reply Quote 0
                    • A
                      Andyal15 last edited by

                      Tom, thats the screen shot.
                      [ATTACH]621[/ATTACH]
                      Andyal15

                      [url=“/_imported_xf_attachments/0/621_IMG_20140326_160144.jpg?:”]IMG_20140326_160144.jpg[/url]

                      1 Reply Last reply Reply Quote 0
                      • A
                        Andyal15 last edited by

                        Tom, there’s no error on the Partimage Screen !
                        I’m running a Upload on the HP Machine right now … Upload is also working.
                        Ping on host is also ok when Screen hang (NetworkInterface is respondig).
                        Starange…
                        Regards
                        Andy

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

                          Weird that it’s missing from 3.13.7. I’ll take a look at the build, maybe it got deselected on accident?

                          That still doesn’t explain the hanging at all. Does it spit an error on the partimage screen? The kernel is unlikely to be the direct cause of the issue though.

                          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
                          • A
                            Andyal15 last edited by

                            HP Intel Network Card e1000e: Driver (DebugMode on 3.2.4 Kernel).
                            Lenovo uses a Intel I217-V Card (Debug Mode on Kernel 3.13.5 shows also e1000e:)
                            Regards
                            Andyal15

                            1 Reply Last reply Reply Quote 0
                            • A
                              Andyal15 last edited by

                              Thats all what i get…
                              Andyal15

                              [url=“/_imported_xf_attachments/0/619_IMG_20140326_160144.jpg?:”]IMG_20140326_160144.jpg[/url]

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

                                What kind of driver does the system use?

                                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
                                • A
                                  Andyal15 last edited by

                                  Thanks Tom … same Problem.
                                  HP DC7800 hangs
                                  LENOVO M73 Network not initialized (Driver missing)
                                  Regards
                                  Andyal15

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

                                    try my kernel:

                                    open terminal type these commands
                                    [code]sudo su -
                                    cd /tftpboot/fog/kernel
                                    mv bzImage bzImage.orig.26MAR2014
                                    wget -O bzImage --no-check-certificate https://mastacontrola.com/fogboot/kernel/bzImage32[/code]

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

                                    137
                                    Online

                                    10.4k
                                    Users

                                    16.4k
                                    Topics

                                    150.5k
                                    Posts

                                    Copyright © 2012-2023 FOG Project