Custom Kernel Questions
-
When I rebuilt my kernel, I chose to use the core.config from FOG, remove a few things I didn’t need and added a few things I did, including new source files for the ASIX usb networking drivers.
Compiling a custom kernel doesn’t take long once you’ve got the source files downloaded and the workstation configured. If the kernel for one of the newer ubuntu versions work, see if you can zcat /proc/config.gz to get the config out of it. You can also lsmod to see what modules are loaded so you know what you need to have selected when you compile your kernel.
-
[quote=“chad-bisd, post: 10833, member: 18”]When I rebuilt my kernel, I chose to use the core.config from FOG, remove a few things I didn’t need and added a few things I did, including new source files for the ASIX usb networking drivers.
Compiling a custom kernel doesn’t take long once you’ve got the source files downloaded and the workstation configured. If the kernel for one of the newer ubuntu versions work, see if you can zcat /proc/config.gz to get the config out of it. You can also lsmod to see what modules are loaded so you know what you need to have selected when you compile your kernel.[/quote]
You can find the .config files in the /boot directory, I’m building now as we speak, I used their config and just turned of the makke modules option so it compiles with the drivers, we will see if it works or not…
-
Well the ubuntu .config witht the latest linux sources did not work either, however I do know that Ubuntu boots fine on the computer so it must be a driver conflict since most of its drivers are modules (ubuntu that is) and only load when needed vs loading all of them in the kernel.
My next plan of action is to figure out which modules I need for the 3010 and the other opti’s that I have and see if I can get something that works for all of them, at least try, otherwise I will have to have 2 kernels.
-
[quote=“chad-bisd, post: 10833, member: 18”]When I rebuilt my kernel, I chose to use the core.config from FOG, remove a few things I didn’t need and added a few things I did, including new source files for the ASIX usb networking drivers.
Compiling a custom kernel doesn’t take long once you’ve got the source files downloaded and the workstation configured. If the kernel for one of the newer ubuntu versions work, see if you can zcat /proc/config.gz to get the config out of it. You can also lsmod to see what modules are loaded so you know what you need to have selected when you compile your kernel.[/quote]
Not sure if anyone is aware of this but the current freeghost/kerne/core.config file has some extraneous HTML code appended to it - apparently inserted by Adblock all on one line - adding 73,883 bytes of crap to the core.config.
The end of the core.config file looks like this:
[code]# CONFIG_AVERAGE is not set
CONFIG_CORDIC is not set
</pre></body><style type=“text/css” style="display: none !important; ">/This block of style rules is inserted by AdBlock/#FFN_Banner_Holder,#FFN_imBox_Container,#RadAd_Skyscraper,#ab_pointer,#adxLeaderboard
…snip…
],a[href^="http://www.adbrite.com/mb/commerce/purchase_form.php?"],a[href^="http://www.firstload.de/affiliate/"],a[href^=“http://www.friendlyduck.com/AF_”],a[href^=“http://www.google.com/aclk?”],a[href^=“http://www.liutilities.com/aff"],a[href^=“http://www.liutilities.com/products/campaigns/adv/”],a[href^=“http://www.my-dirty-hobby.com/?sub=”],a[href^="http://www.ringtonematcher.com/”],#cnt #center_col > #res > #topstuff > .ts:only-child,#mbEnd[cellspacing=“0”][cellpadding=“0”],#mclip_container:last-child,#mn #center_col > div > h2.spon:first-child,#mn #center_col > div > h2.spon:first-child + ol:last-child,#ssmiwdiv[jsdisplay],#tads.c,#tadsb.c,#tadsto.c,.ch[onclick=“ga(this,event)”],.ra[align=“left”][width=“30%”],.ra[align=“right”][width=“30%”],#center > .dose > .dosesingle.float { display:none !important; }</style></html>
[/code]And of course when running a make using it,
[code]
make all
scripts/kconfig/conf --silentoldconfig Kconfig
.config:2:warning: unexpected data
.config:3:warning: unexpected data
.config:3332:warning: unexpected data
.config:3333:warning: unexpected data
[/code]editing the core.config file and stripping off that one line reduces the core.config file to 79,521 bytes and it works without causing make to complain.
-
It also appears to have some extra lines near the top.
-
[quote=“chad-bisd, post: 10876, member: 18”]It also appears to have some extra lines near the top.[/quote]
Heh… Didn’t think to look there once I saw the bottom.
Either way, figured I’d post the info here so the official core.config could be cleaned up for future downloaders.
Thanks!
-
[quote=“chad-bisd, post: 10833, member: 18”]When I rebuilt my kernel, I chose to use the core.config from FOG, remove a few things I didn’t need and added a few things I did, including new source files for the ASIX usb networking drivers.
Compiling a custom kernel doesn’t take long once you’ve got the source files downloaded and the workstation configured. If the kernel for one of the newer ubuntu versions work, see if you can zcat /proc/config.gz to get the config out of it. You can also lsmod to see what modules are loaded so you know what you need to have selected when you compile your kernel.[/quote]
Chad,
I have good kernels that will boot the 3010, what I would like to know is what are the required kernel .config variables that I need to add. Looking at the core.configs I know I need nfs support and probably ntfs support but what are the other variables that I need to have loaded in order for everything to work.
I have looked and search but it does not appear to be listed, as for what are the minimum required .config variables that you need to have. I would assume a developer would be able to answer this quickly but not sure the best place to post…thanks.
-
It’s at the root of the xconfig screen. You select the top most option on the left, and on the right panel, it’s somewhere down a bit. It will say something about kernel config and give you the option to include it in the kernel and/or make it available via /proc/config.gz
-
Update, I have a newer kernel that appears to be working for the Dell 3010’s, I thought I had already posted this but it appears not. Took me a long time to get it to working and so far it is also working for my other Dell opti’s. If anyone is in the need of the custom kernel shoot me a PM.
The only thing that is still odd is that on the 3010 when it boots it gets to one point and pauses (about a minute) or times out before carrying on, not sure what is the issue but it does work, but for now just happy to be getting images of all of the desktops.
-
@bishoptf - are you using the chainloading solution on the 3010s, or can you get successful pxe boot without that?
Thanks, Pat
-
[quote=“PatinMT, post: 12136, member: 913”]@bishoptf - are you using the chainloading solution on the 3010s, or can you get successful pxe boot without that?
Thanks, Pat[/quote]
Yeah I have been using chainloading for sometime, I was having issues with some vostros, even now though sometimes it doesn’t always want to boot off of the Hard drive sometimes, but a reboot usually corrects that. I am also using SSD’s so that may add to what I am seeing. The other thing to note is that I do not have mine always boot through the FOG loader on startup, I use it more of a backup and imaging tool so I usually only boot into fog from a wol wakeup, so that way most users never see the fog screen. Although the new Dell bios with the 3010 seems to boot whatever you did the last time even though it is not selected. -
Thanks for the help bishoptf.
The key to this for us on these 3010 was getting the GPT partition table switched to MSDOS using gparted. With that, I captured the image on both a 0.32 test fog server with bishops kernel, but also on our production 0.27 install (we still have 0.27 as we have it set up with a multi-subnet distributed fog storage config - there is some 0.31 component patched in, but I can’t remember what)…anyhow…the kernel on the 0.27 is an “older one” not sure what version. Kernel size is 4,606,848.
The 3010 Windows 8 image we’re deploying is ~30GB and the upload took just under 30 minutes on a 100 mbps switch.
Pat
-
Should have posted my notes to the bios as it took me a while to figure out how to switch the bios to legacy mode on the Opti 3010:
Secure Boot > Disable, Apply
General > Advanced Boot Options > Enable Legacy
Exit, Restart, Re-Enter Bios
Boot Sequence > Switch to Legacy > Move NIC to top.Pat
-
[SIZE=3][FONT=arial][COLOR=#222222]Missed a Step:[/COLOR][/FONT][/SIZE]
[SIZE=3][FONT=arial][COLOR=#222222][FONT=Tahoma][COLOR=#141414][SIZE=13px]Secure Boot > Disable, Apply[/SIZE][/COLOR][/FONT]
[FONT=Tahoma][COLOR=#141414][SIZE=13px]General > Advanced Boot Options > Enable Legacy[/SIZE][/COLOR][/FONT]
[FONT=Tahoma][COLOR=#141414][SIZE=13px]Exit, Restart, Re-Enter Bios[/SIZE][/COLOR][/FONT]
[FONT=Tahoma][COLOR=#141414][SIZE=13px]Boot Sequence > Switch to Legacy > Move NIC to top.[/SIZE][/COLOR][/FONT][/COLOR][/FONT][/SIZE]
[SIZE=3][FONT=arial][COLOR=#222222][FONT=Tahoma][COLOR=#141414][SIZE=13px]***System Configuration > Integrated NIC > Enabled with PXE[/SIZE][/COLOR][/FONT][/COLOR][/FONT][/SIZE] -
This post is deleted!