This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] FreeBSD DomU over Netbsd Dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] FreeBSD DomU over Netbsd Dom0
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1294807786; bh=E7fz3Qo4wxk6a63Qd0Y+5RoZEzTx3akoqb8CH8e/9qc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=HsPecmsmsZHQ0HKocdfjg0S0nzJ160C10V9EShlXrjGi2cSeyNY2TmD1txISwhcZQGDPRlo+1K5X9bdklEvqce2jhxvPOyQwbNWj1Tmg3sB2T5OVSc0YAvSFpBsBlwunSj4K0UYqotw4CPtZ7mE5fKUCX1pK6vKcJqMyUPRWLMA=
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=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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

<Prev in Thread] Current Thread [Next in Thread>