This Time Self-Hosted
dark mode light mode Search

Miracle on the nth try: OpenSolaris on KVM

So after my previous post about virtualisation software I decided to spend some extra time on trying out KVM, manually. Having to manually set the macaddress every time is a bit obnoxious but thanks to alias I can do that at least somewhat fine.

KVM is also tremendously faster compared with QEmu 0.10 using kqemu; I’m curious to see how the thing will change with the new 2.6.29 kernel where QEmu will be able to use the KVM device itself. At any rate, the speed of FreeBSD in the KVM virtual system is almost native and worked quite nicely. It also doesn’t hog the CPU when it’s idling, which is quite fine too.

As I’ve written, though, OpenSolaris also refused to start; after thinking a bit around, I thought about the amount of memory and… that was it. With the default 128MB of RAM provided by KVM and QEmu, OpenSolaris cannot even start the text-mode installation. Giving it 1 GB of memory actually made it work. Fun.

As Pavel points out in the previous post, though, the default QEmu network card will blatantly fail to work with OpenSolaris; Jürgen is right when he says that OpenSolaris is quite picky with its hardware. At any rate the default network card for KVM (RTL8169) seems to work just fine. And networking is not lagged like it is on VirtualBox, at all.

I’ve now been working on getting Gentoo Prefix on it already, and then I’ll probably resume my work on getting FFmpeg to build, since I need that to work on lscube . For now, though, it’s more a matter to have it installed.

Later this week I’ll probably also make use of its availability to work on Ruby-Elf more and in particular on the two scripts I want to write to help identify ABI changes and symbol collisions inside a given executable, that I promised in the other previous post .

Comments 3
  1. kindly post them when you’ve got them working- I’ve been after an opensolaris (pre prefix preferably) image for a while, and a prefixed version also.

  2. Speaking about FFmpeg: –extra-ldflags=-mimpure-text is required only with –enable-shared on x86_32, –enable-cross-compile may be necessary if ksh93 crashes during check_exec(). The rest seems good enough. Currently FATE shows 252/253, exactly the same happens on DragonFly.

  3. Were putting together an appliance directory for kvm images and i was wondering if youd be willing to share your opensolaris build. If youve got a few minutes let me know. I see quite a bit of demand out there for these builds.-Trevor

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.