1

I want to work with low level system programming and virtualization for my research. I tried Ubuntu 10.04 + Xen 4.0.0 but they weren't going quite well right from the installation. One of my friends suggested to take up Gentoo. Any more suggestions?

Srujan
  • 75
  • 2
  • 10

4 Answers4

1

You're going to find the greatest of success with Debian or Gentoo. Debian, while primarily a binary release, has packages available that turns your system into more of a developer-based system. Gentoo compiles everything by default, so all the developer tools will already be in-place.

If you go with Debian, consider running Sid, their constantly-evolving, "experimental" branch. This will put you right around the same/similar package versions as Gentoo. Otherwise, at least use Squeeze, the next -stable release (a.k.a., Debian 6.0). Lenny's a bit old in the tooth, and uses the older, pre-2.6.30 Xen stuff (~3.2, I believe). Which might be too old for your needs.

In a pinch, you can see if one of the BSDs will work for you as well, like FreeBSD. I doubt its support for virtualization w/ Xen is at the same level as Linux (Xen was basically built around Linux, then ported to other platforms), but it's another option to consider. If you do, like with Debian's Sid, go with FreeBSD's -CURRENT branch for the latest & greatest.

As usual, read the manuals, and look on help sites for tips. For Gentoo, the forums at forums.gentoo.org are an invaluable resource after the manuals. Debian has their mailing list archives and some good documentation as well. Ditto for *BSD. You can also check in on IRC in #gentoo or #debian on FreeNode if you're really in a bind (Debian might be on OFTC, though, I don't remember). Be warned, though, you will be one voice among many in those channels (expect ~600+ users at the same time).

Kumba
  • 2,390
  • 3
  • 33
  • 60
  • Hi, That's quite *informative*. I started of using Debian as I can't spend time learning Gentoo right away. Planning to move to Gentoo ASAP. Thanks for the info. – Srujan Nov 12 '10 at 17:37
  • No problem! I run Gentoo mostly (disclaimer: I'm a developer for them), but I've worked with Debian before, too. Both are good distros for teaching you how the system plugs together. Gentoo's perk is that all the core development packages are essentially preloaded, and you gain intimate control over many aspects of the system. Equally, that can be daunting for some as well. – Kumba Nov 13 '10 at 05:50
0

If a working Xen is the main requirement, see this question's answers.

Community
  • 1
  • 1
timday
  • 24,582
  • 12
  • 83
  • 135
  • In those use-cases Xen is used right away. I need to compile xen from sources and recompile it. Thanks for the links. I will give one more try with Ubuntu/Debian. – Srujan Aug 28 '10 at 20:59
  • Depends what you mean "from source". e.g The Debian source package http://packages.debian.org/source/lenny/xen-3 is the so-called pristine sources plus 52kB of patches (compressed). That's a bunch of patches Debian developers have found necessary to make Xen work in Debian. If you go off and download Xen sources from xen.org, and try and build/run them without those patches (or at least understanding what those patches are)... well you'd expect to have some problems. – timday Aug 28 '10 at 23:17
  • In Ubuntu I had all the dependencies. But there is some problem with grub2 configuration it seems. Tried a bit of Googling but that didn't help much. Anyways will give one more try and see. Thanks for the link again. – Srujan Aug 29 '10 at 03:16
0

can you specify more in which area you want to work on in low level.If you want to work on kernel,i don't think there is any dependency on the destro,but if you want to work on other areas like compiler,graphics managers,network managers etc then suggestion can be made.But you have to provide some more details for that. And you said ubuntu + xen is not working quite well,what problem are you facing ??

Anil Vishnoi
  • 1,352
  • 3
  • 18
  • 25
  • I will be extending Xen to build a tool. It would involve building xen from sources and re-compiling Xen. A little more to do with kernel and compilers. – Srujan Aug 28 '10 at 20:58
0

In our cluster, we use Fedora 12 Dom0 and DomU with xenified Dom0 kernel and pv_ops kernel in Fedora 12. That is we use the Fedora 12 DomU as it is. For Dom0, we install xen and Xenified kernel by ourselves.

This solution is tested to be stable. We run distributed parallel experiments on it (usually 7 DomUs on one physical machine) and it works well for us.

The "recommended" ones in http://fclose.com/b/2367/xen-solutions/ is our solution by now. Xen 3.4.3 + xenified kernel 2.6.32.13 is quite solid in our servers:

ericzma
  • 763
  • 3
  • 9
  • 23