Kernel Update and different Hardware
-
Hello
I have setup Fog .32 with the default kernel which I believe should be the 3.2.4, then I ran into this issue with our Dell optiplex 780 machines not being able to PIXEboot.
I found out that Kernel 2.6.35.7KS is compatible with Dell 780, so I installed that Kernek over the top and 780 machines started to work.
But our Dell E6420 stopped working because they don’t like the kernel I put into the FOG.
My question is, what would someone in my situation do if they have different hardware?
should I install different FOG server with different kernel or I can have one server that will work with my hardwar?
I even looked at making custom kernel, but that was way too complicated for me since I have no knowladge of linux.
Please help
Thanks -
I recently made my own Kernel as a proof of concept. Its based of the Linux 3.3 Kernel and it resolved a lot of problems for me. Its attached in my post here. Be sure to backup any of your existing Kernels in /tftpboot/fog/kernel/
Let me know if it works for you.
-
[quote=“Eric, post: 2657, member: 83”]I recently made my own Kernel as a proof of concept. Its based of the Linux 3.3 Kernel and it resolved a lot of problems for me. Its attached in my post here. Be sure to backup any of your existing Kernels in /tftpboot/fog/kernel/
Let me know if it works for you.
[url]http://scatteredspace.com/Fog/bzImage.zip[/url][/quote]
I was going to build 3.3 kernel tomorrow, thanks for posting
[url]http://www.fogproject.org/wiki/index.php?title=Building_a_Custom_Kernel[/url]
-
Thanks for the kernel, but I keep getting permission denied when I try to copy it to tftpboot/fog/kernel folder.
I use winscp and log on to server with admin account.
any Idea?
thanks -
[quote=“sid, post: 2680, member: 558”]Thanks for the kernel, but I keep getting permission denied when I try to copy it to tftpboot/fog/kernel folder.
I use winscp and log on to server with admin account.
any Idea?
thanks[/quote]I’m not sure… It could be because the folder only has root access. In Winscp I would check the Kernel’s folder permissions to make sure you have write access to it.
-
[quote=“Eric, post: 2657, member: 83”]I recently made my own Kernel as a proof of concept. Its based of the Linux 3.3 Kernel and it resolved a lot of problems for me. Its attached in my post here. Be sure to backup any of your existing Kernels in /tftpboot/fog/kernel/
Let me know if it works for you.
[url]http://scatteredspace.com/Fog/bzImage.zip[/url][/quote]
What hardware models does this kernel support?
-
You can point computers to different kernels. In the general tab of the host properties add the Kernel location in ‘Host Kernel:’ for example:- Host Kernel: fog/kernel/backup/bzimage2012
This will solve the problem while you find a kernel that will work on both sets of computers. -
[quote=“The Dealman, post: 2684, member: 53”]What hardware models does this kernel support?[/quote]
I work for a school district that primarily uses Dell PCs these days. I recently ran into a few video problems which were annoying.
The first problem occurred when imaging Dell Optiplex 745’s. 745’s have an on board VGA port and a DVI riser card. When imaging these machines I would get a “Resolution out of range” message on the monitors.
The second problem occurred on any machine using an ATI/AMD video card. I would typically get what people call on here the “snow/ scrambled” screen. While the PCs still imaged with both of these problems, I could not tell how the progress of the image was going by looking directly at the PC.
By creating my custom Kernel I told it to include all ATI, Intel, and Misc graphics drivers. It appears to resolve both of my major problems, however, I am not sure if it is because I included these drivers or because the linux kernel is newer.
I have tested my Kernel on the following models of PCs:
Dell Optiplex
380, 390, 745, 755, 760, 790Dell Latitude (netbooks)
2100, 2110, 2120 -
Raff
could you be more specefic, what do you mean by Host Kernel?
I don’t see any Host kernek under Fog settings if that’s where I should look
Thanks -
Eric
Winscp can’t edit permission on tftpboot folder, It gets permission denied
Looks like my only luck is updating kernel through kernel update in Fog which is limited to only existing Kernels.
Thanks -
something that I just did.
I logged into ubunto, my fog server, and tried to read the permission on the tftpboot folder.
it shows that Fog is the owner and doesn’t let me do anything -
[quote=“sid, post: 2694, member: 558”]something that I just did.
I logged into ubunto, my fog server, and tried to read the permission on the tftpboot folder.
it shows that Fog is the owner and doesn’t let me do anything[/quote]My guess is that you would need to open up Terminal on your Ubuntu hosting fog. From there you would need to use sudo to copy the bzImage over so that you have elevated privages. Example:
sudo cp /media/C810-83C8/bzImage /tftpboot/fog/kernel/bzImage
/media/C810-83C8/bzImage <-- Being my flash drive and /tftpboot/fog/kernel/bzImage <-- Being the location where kernel needs to go.
-
Eric
Here is what I did:
Since I could not get ubunto to see my USB drive that was attached to ESX host, I downloaded the Kernel from your link and then used the sudo cp command to copy it over to existing kernel.
I tested 4 of our Dell machines, Dell E6410, E6420, Dell 760 and Dell 780, with success.
I should say I did system compatiblity test in system information from PXEBott Menu and they all passed.the only problem I have is the with Dell 780 which is stuck in uploading the image eventhough I removed it from hosts list on Fog server , it still upload the image to Fog no matter what.
I need to figure out where it’s Mac address has got stuck I think.
Thanks for the working Kernel you sent, you are awesome.
Thanks again -
I was right, the mac address of that machine was in the following folder:
/tftpboot/pxelinux.cfg , which I was able to delete by using the command: sudo rm { Mac Address} -
On the general tab for any host there is an option to point to a different kernel. Find a host, then look in general options and point to different kernel thats stored in your fog server.
Look at the properties for any host you will see the Host Kernel field.
-
Anyone have any luck with Dell Poweredge Servers? I compiled my own kernel 3 times now to include the RAID drivers yet it still seems to not accept it.
Specifically LSI RAID Drivers.
Dell Poweredge 1850,1950, 2850,2950 are the ones I have attempted and failed.::FOG CANNOT IMAGE SERVERS:: until proven otherwise.
-
Joshua, try looking for the article about installing Linux on the PowerEdge 2650 server, which has a PERC4 raid controller. It may lead you to the answer eventually, I hope.
Sid, the custom kernel options are per HOST, or per GROUP and ONLY apply to tasks created for the host or group through the Web UI. If you boot to the fog menu and choose any of those options, it ignores your kernel settings for the host because the kernel to use is hard-coded into the menu file.
To clarify: If you can register and inventory with the default kernel (bzImage), you are good to specify a different kernel or kernel parameters for upload/download tasks. If you can’t register or inventory some machines with the default kernel, you’ll need to kernel swap or compile a custom kernel.
Being a long time Linux user but new to kernel compiling, I took this challenge a few months ago and documented it well on the old forums and copied it to the new forums.
-
[quote=“Eric, post: 2657, member: 83”]I recently made my own Kernel as a proof of concept. Its based of the Linux 3.3 Kernel and it resolved a lot of problems for me. Its attached in my post here. Be sure to backup any of your existing Kernels in /tftpboot/fog/kernel/
Let me know if it works for you.
[url]http://scatteredspace.com/Fog/bzImage.zip[/url][/quote]
Thanks for sharing, Eric. Works like a charm on all the problem Dells we had (760, 755, 740, GX620). Much appreciated -
thank[quote=“Eric, post: 2657, member: 83”]I recently made my own Kernel as a proof of concept. Its based of the Linux 3.3 Kernel and it resolved a lot of problems for me. Its attached in my post here. Be sure to backup any of your existing Kernels in /tftpboot/fog/kernel/
Let me know if it works for you.
[url]http://scatteredspace.com/Fog/bzImage.zip[/url][/quote]
This kernel worked for me. Thank yo so much eric. I made it the default kernel and my new machines and old machines boot.
-