How To Customize The Linux Kernel

The post title begs the question: Why should you customize the Linux kernel? There are three main reasons why you might want to do this:

  • Performance: by removing unnecessary features and by tuning the kernel to work on your particular machine, you could make your machine more performant;
  • Patching: rather than waiting for an official updated of the kernel, you can apply any patches you are interested in anytime;
  • Additional features: not everything is compiled into the kernel by default, mostly to keep it as lean as possible. If there is something you really use, however, you can add it to your kernel so the features are built in.

Perhaps surprisingly, building your own Linux kernel is far from a complicated thing. You just need a lot of patience as the build process can last quite a bit. Having said this, let’s take a look at how you can customize your Linux kernel.

Continue reading

How To Configure FreeNAS To Successfully Boot In XenServer

From the FreeNAS documentation page on VMware ESXi:

If you are running ESX 5.0, Workstation 8.0, or Fusion 4.0 or higher, additional configuration is needed so that the virtual HPET setting does not prevent the virtual machine from booting.

I have found that this holds true for Citrix XenServer as well. If you don’t touch the HPET setting, FreeNAS 9.3 will fail to boot on XenServer 6.5

I have also found this bug report against FreeNAS 9.3 and XenServer 6.2, which is currently in resolved status. However, since I have experienced this same issue on XenServer 6.5, I have decided to put together some screenshots and instructions on how to solve this issue and allow FreeNAS 9.3 to boot successfully on XenServer 6.5.

There are two different phases to allow this to work:

  1. Disable HPET from GRUB to allow FreeNAS to boot successfully the first time
  2. Disable HPET within FreeNAS to avoid stumbling upon the same issue on following reboots

Continue reading

© 2018 Daniel's TechBlog

Theme by Anders NorénUp ↑

%d bloggers like this: