Our website requires you install or enable flash player for full experience, you can download flash player by clicking here.
Make sure you also have javascript enabled so that flash player & menus work correctly.

Get Adobe Flash player

What would you like to monitor?

For when WebSpyrians have something to say.

OpenBSD 4.6 on XenServer 5

Posted by Luke Arnold on March 12th, 2010


I’ve just been trying to set up an OpenBSD 4.6 VM on one of our XenServer machines, and found that it kept shutting itself down during boot after showing the message “nvram: invalid checksum”. After digging around online, I found a fix.

As the VM starts, it will present a boot prompt. At this prompt, type

boot> boot -c

This will boot you into  “User Kernel Config”. Once in there, type the following commands;

UKC> disable uhci
UKC> quit

This will exit User Kernel Config, and continue a normal boot. The “nvram: invalid checksum” error still appears, but the OpenBSD VM should now boot correctly. However, it will fail again on next reboot of the VM, so to make the change permanent, log in to the VM as root and enter the following commands;

# config -e -f /bsd
ukc> disable uhci
ukc> quit

Now the change is permanent, and the OpenBSD VM will boot correctly in future.

I posted this because I was unable to find any English information on how to fix this problem. I got the solution from an article written in Japanese.


Related Articles


Leave a Comment

Spam protection by WP Captcha-Free


13 Comments to “OpenBSD 4.6 on XenServer 5”

  1. Nico says:

    Hey Luke,

    Nice blog, it worked for me! thx.

  2. Thx a bunch, Luke.

    Was setting up OpenBSD 4.7 and it kept dying. The fix works in 4.7 aswell.

  3. Zuev Vladimir says:

    Oh! Thanks! This tip will help. I have OBSD mail server as virtual on VmWare server.

  4. Alex says:

    I confirm, this fix works in OpenBSD 4.7 and Citrix XenServer 5.6. Good things, thanks Luke!

  5. Dule Mars says:

    Thanks, I’ve been looking for solution on this problem a long time…

    Now, does anybody know how to fix “re0:watchdog timeout” error and enable networking properly :(

    I’ve tried disabling Realtek driver, but kernel didn’t switch on any other one, so system remained network-less.

  6. bal0n says:

    Worked like a charm! :) Thx!

    @Dule Mars: try changing vif model (“model=ne2k_pci” worked for me, I had same problem)

    this can also be helpful:
    http://wiki.stocksy.co.uk/wiki/OpenBSD_as_a_Xen_domU

  7. Mike says:

    Hi,

    This is a nice fix, I got the same error seting up a Xen DomU, in my case I’m using Open Source Xen on a netbsd Dom0 but the problem is the same!

    This fixed it :)

    I was also getting a lot of watchdog timeouts in “re0″ interface, but a change to the config file also solve this.

    If anyone gets that error, change the vif line in the configuration, add –> model=ne2k_pci

  8. Mike says:

    Ops … I see now that the watchdog timeout problem was already discussed in the comments!

    Sorry…

    But thanks for this nice post anyway ;)

  9. Mike says:

    Tks a lot

  10. Chris says:

    So I’m running into the same issue with Allardsoft’s transfer appliance, which I’ve moved to a Xen system. It boots fine in install, and then the vmram error on first boot.

    I can’t stop the system while it’s booting (OpenBSD newbie). Is there a way to apply your fix to this install?

    I’m about to create an ESX vm, put the vm appliance in the ESX vm, and then apply your fix, then transfer out.

    I’d prefer not to do that.

  11. Chris says:

    dev figured it out

    mount /dev/wd0a /mnt
    /mnt/usr/sbin/chroot /mnt
    config -e -f /bsd
    ukc> disable uhci
    ukc> quit
    exit
    reboot

  12. Cheikh says:

    Thanks a bunch dude I tried installing openBSD 4.9 on Xen 5.6 and 6.0 but the boot would never give me login prompt. Recently I tried openBSD 5.0 on xen 6.0 with the same result. Tonight I apply this fix and it has worked beautifully thanks a lot.