Fog wont load past kernal_thread_helper+0x6/0x10
-
I just recently updated my fog from 0.32 to 0.33b and I am unfortunately still stuck when I try to upload the image from an hp pro-book 450G1. I’ve tried registering both through a quick register and manually by inputting the mac address selecting the image and uploading. Both seem to stop at the 5.731830 kernel_thread_helper.
-
Are you sure you’re using the correct bzImage and init.xz pair? A 32 bit bzImage needs the 32 bit init_32.xz file. A 64 bit bzImage needs the 64 bit kernel.
As you say you’ve upgraded the fog system (I would typically recommend a fresh install) you likely need to adjust the values in FOG Configuration ( ? ) icon -> FOG Settings -> TFTP Server
Make the following changes to the relevant lines:
FOG_TFTP_PXE_KERNEL = bzImage (Exactly, NOT fog/kernel/bzImage)
FOG_TFTP_PXE_KERNEL_32 = bzImage32 (Should already be set)
If using Debian variant (e.g. Ubuntu, Debian, mint):
FOG_TFTP_PXE_KERNEL_DIR = /var/www/fog/service/ipxe/
If using Redhat Variant (e.g. Redhat, Fedora, CentOS, Scientific Linux)
FOG_TFTP_PXE_KERNEL_DIR = /var/www/html/fog/service/ipxe/
FOG_PXE_BOOT_IMAGE = init.xz (Exactly, NOT fog/images/init.gz)
FOG_PXE_BOOT_IMAGE_32 = init_32.xz -
Ok made the setting changes to the tftp but i am still running into the issue. The G1 is a gen4 i5 processor the first one where we started having issues. Should i make the change to a 64bit kernel instead of a 32? if so how do i go about making this change if necessary
-
When you changed over, are you booting to undionly.kpxe or pxelinux.0?
You need to update (from 0.32 to 0.33 upgrade) the option 67 to point to undionly.kpxe rather than pxelinux.0.
-
Ok i managed to botch something up i was attempting to make sure i had the correct kernel but doing the kernel update from the fog config. Afterwards when i try to create a image on a client i get bad kernel. So i went back to the kernel updater but i noticed that the unpublished is no longer loading on the page. I going to attempt to re-run the last good kernel and then once i’m back up check the dhcp server./
-
My server is down at the moment, due to a kernel panic on my storage server, so I expect it to be down until around 5 pm EDT.
-
ok is that why it gets stuck at moving file to tftp server
-
Ok so i downloaded the kernel earlier from the site is there anyway to copy it to the folder and replace the other kernel? i’ve tried doing it with a click and drag which give me a permission denied.
-
Open a terminal and type in sudo nautilus
That will give you a GUI with copy permissions after entering your password.
otherwise use the copy command
cd /var/www/fog/service/ipxe
mv bzImage bzImage.orig.4-15-2014cp /location/of/your/downloaded/file / /var/www/fog/service/ipxe
-
ok the one i downloaded was named tom.elliot i need to change the name to bzImage first correct?
-
Yes, it needs to be named bzImage
-
Ok used nautilus to change the downloaded tom.elliot.32 to bzImage and copied that file to var/www/fog/service/ipxe renamed the original to bzImage<date> and thats that. however when i attempt an image i am still getting bad kernel image. Do i need to reboot? sorry def noob at this
-
Do you have a specific kernel set under the FOG UI for that host??
Also a recheck of what Tom posted above:
[QUOTE]Are you sure you’re using the correct bzImage and init.xz pair? A 32 bit bzImage needs the 32 bit init_32.xz file. A 64 bit bzImage needs the 64 bit kernel.
As you say you’ve upgraded the fog system (I would typically recommend a fresh install) you likely need to adjust the values in FOG Configuration ( ? ) icon -> FOG Settings -> TFTP Server
Make the following changes to the relevant lines:
FOG_TFTP_PXE_KERNEL = bzImage (Exactly, NOT fog/kernel/bzImage)
FOG_TFTP_PXE_KERNEL_32 = bzImage32 (Should already be set)
If using Debian variant (e.g. Ubuntu, Debian, mint):
FOG_TFTP_PXE_KERNEL_DIR = /var/www/fog/service/ipxe/
If using Redhat Variant (e.g. Redhat, Fedora, CentOS, Scientific Linux)
FOG_TFTP_PXE_KERNEL_DIR = /var/www/html/fog/service/ipxe/
FOG_PXE_BOOT_IMAGE = init.xz (Exactly, NOT fog/images/init.gz)
FOG_PXE_BOOT_IMAGE_32 = init_32.xz [/QUOTE] -
I have the init_32.xzfile and i made the changes specified above. I errored by trying to update the kernel from the updater page. the part im at now is should i name the kernel bzImage or bzImage32? this is with the copy and paste method and if i’m not mistaking it has to go to the ipxe folder correct?
-
That depends on which kernel that tom.elliot is.
If it’s 32 bit then it needs to be bzImage32.
-
Just download both kernels from here, keep them named as they show and copy them to the ipxe directory.
[SIZE=13px][FONT=arial][COLOR=#262626]svn.code.sf.net/p/freeghost/code/trunk/packages/web/service/ipxe/bzImage[/COLOR][/FONT][/SIZE]
[SIZE=13px][FONT=arial][COLOR=#262626]svn.code.sf.net/p/freeghost/code/trunk/packages/web/service/ipxe/bzImage32[/COLOR][/FONT][/SIZE]
[SIZE=13px][FONT=arial][COLOR=#262626][/COLOR][/FONT][/SIZE]
-
ok so i am now able to register it and inventory… the last thing i will need assistance with is this. I set a task to upload an image but when the client pxe boots it doesn’t see it and goes to the fog load page. What am i missing?
-
Can you include a screen shot of the task you created?
Are you sure you created a task for the correct host?
Did you get any errors when creating the task?
-
Screenshot after task
[url=“/_imported_xf_attachments/0/666_Screenshot from 2014-04-15 14:57:17.png?:”]Screenshot from 2014-04-15 14:57:17.png[/url]
-
no errors popped up and yes its the only one like it listed in my inventory. I was able to get it there using the quick inventory function