million12 / linodeapi

Deploy CoreOS on Linode.
https://registry.hub.docker.com/u/million12/linode-coreos-api/
36 stars 9 forks source link

Compile custom kernel for Linode #19

Closed stevesmename closed 9 years ago

stevesmename commented 9 years ago

It's my understanding that the loaded kernel is default configurations from CoreOS, ignoring Xen optimizations defined by Linode.

Your kernel must be properly configured to run under our environment. Some required configuration options may include:

  • CONFIG_PARAVIRT=y
  • CONFIG_PARAVIRT_GUEST=y
  • CONFIG_PARAVIRT_CLOCK=y
  • CONFIG_XEN=y
  • CONFIG_XEN_BLKDEV_FRONTEND=y
  • CONFIG_XEN_NETDEV_FRONTEND=y
  • CONFIG_XEN_SCRUB_PAGES=y
  • CONFIG_HVC_XEN=y

https://github.com/coreos/linux https://www.linode.com/docs/tools-reference/custom-kernels-distros/run-a-custom-compiled-kernel-with-pvgrub/

pozgo commented 9 years ago

Hi, No we are not doing anything with the image that is downloaded through official CoreOS install script. But as far as I remember CoreOS was Xen ready and all kernel flags were set there already. But again I might be wrong. We were using CoreOS on Linode for over a year and all seems ok so far.

If you are sure it's not there please feel free to add it and send us PR. I'm quite busy at the moment and wouldn't be possible for me to find some spare time to check that in detail and implement if needed be. Sorry.

stevesmename commented 9 years ago

I can't really confirm this being an issue either. I think it might be better to not be on a custom kernel (if possible) for support issues.