Deployment hangs at 0% after restore of 45,07 MB
-
[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]
-
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] -
Thanks Tom … same Problem.
HP DC7800 hangs
LENOVO M73 Network not initialized (Driver missing)
Regards
Andyal15 -
What kind of driver does the system use?
-
Thats all what i get…
Andyal15[url=“/_imported_xf_attachments/0/619_IMG_20140326_160144.jpg?:”]IMG_20140326_160144.jpg[/url]
-
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 -
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.
-
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 -
Tom, thats the screen shot.
[ATTACH]621[/ATTACH]
Andyal15[url=“/_imported_xf_attachments/0/621_IMG_20140326_160144.jpg?:”]IMG_20140326_160144.jpg[/url]
-
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 -
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 -
Create the task as advanced as either download-debug or upload-debug.
-
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 againSo, the problem is maybe the nfs version ??
Any hints ?
Best regards
Andyal15 -
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=“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?
-
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.