[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] FreeBSD DomU over Netbsd Dom0

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Gaurang Pandya <gaubrig@xxxxxxxxx>
  • Date: Tue, 11 Jan 2011 20:49:46 -0800 (PST)
  • Delivery-date: Tue, 11 Jan 2011 20:50:59 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=vCthJ6vpzuwwxwYxpWNm1Gk3np1R9ymoytxWrYF9l9loMgdXuk/b3Kv6mihMWD/TCdjbpL0+nrWkgyPrSWKw58Z5Cac1wCV45QL26lZ4lyuuMTZCnJTGmQjg017kqC2EqS2y4kN/9KJ5d+WXwAy1NfPmBS8hmXtF/UFagvUpN7Q=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


Has anyone managed to get FreeBSD DomU working over NetBSD Dom0, I am having 
real hard time with it. I had created an image as given in 
http://forums.freebsd.org/showthread.php?t=10268 , the same image works well 
under CentOS 5.5 Dom0, but under NetBSD 5.1 with PAE DOM0 kernel (with some 
customizations to allow PF and ALTQ) , and Xen 3.3.2, its showing following 

1. FreeBSD DOMU fails to boot and ends up with following error message.

start_init: trying /sbin/init
g_vfs_done():ad0s1a[READ(offset=263159808, length=2048)]error = 5
Jan 6 13:56:20 init: can't exec /bin/sh for /etc/rc: Input/output error
Enter full pathname of shell or RETURN for /bin/sh:

2. I am frequently getting following message on console
[XEN] hypervisor wallclock nudged; nudging TOD.

Now I see a solution for second problem but thats for Linux no where I got info
to fix it under NetBSD.

Here is content of my DomU config file.

kernel = "/virt/freebsd-kernel"
memory = 164
name = "freebsd"
disk = [ 'file:/virt/freebsd-fst-ad0s1a-rc-conf.img,hda1,w' ]
extra = "boot_verbose=1"
extra += ",vfs.root.mountfrom=ufs:/dev/ad0s1a"
extra += ",kern.hz=100"

I also get this message during DomU boot up, just in case if it helps..

lo0: bpf attached
xbd0: 250MB <Virtual Block Device> at device/vbd/769 on xenbus0
xbd0: attaching as ad0
GEOM: new disk ad0
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from ufs:/dev/ad0s1a

Can any one help me fix these..

Thanks & Regards,



Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.