Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
FreeBSD as domU
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
gernot.we...@quantumnet.de  
View profile  
 More options Oct 28 2006, 6:29 pm
From: gernot.we...@quantumnet.de
Date: Sat, 28 Oct 2006 15:29:48 -0700
Local: Sat, Oct 28 2006 6:29 pm
Subject: FreeBSD as domU
Hi,

you did exactly, what I was looking for for a couple of month now - a
FreeBSD kernel as domU for XEN. Great work. Unfortunately I do have
problems to set it up. When I use your xen config file and do a xm
create, I get either the error, that the memory, I specified is to less
for this image (which needs 0xc0c MB - weird size) or - if I set the
memory to something higher that this value, xen tells me, that dom0 is
running ot of memory... Unfortunately I have only 1GB of RAM in this
testing machine...

Any hints? Thanks.

Cheers,

    Gernot


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chad.kitch...@gmail.com  
View profile  
 More options Nov 1 2006, 10:41 pm
From: chad.kitch...@gmail.com
Date: Wed, 01 Nov 2006 19:41:49 -0800
Local: Wed, Nov 1 2006 10:41 pm
Subject: Re: FreeBSD as domU

gernot.we...@quantumnet.de wrote:
> When I use your xen config file and do a xm
> create, I get either the error, that the memory, I specified is to less
> for this image (which needs 0xc0c MB - weird size)

To start with, the FreeBSD XenU kernel does not have an adequate
__xen_guest section for Xen 3.0.3.  I attempted to add the missing
VIRT_BASE in that section by using objcopy, and that let me boot the VM
booting further, but instead of complaining about memory, it just
crashes.

Your choices are to either downgrade Xen to 3.0.2 or actually fix the
bug(s) and recompile the FreeBSD kernel.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gernot.we...@quantumnet.de  
View profile  
 More options Nov 28 2006, 5:26 pm
From: gernot.we...@quantumnet.de
Date: Tue, 28 Nov 2006 14:26:23 -0800
Local: Tues, Nov 28 2006 5:26 pm
Subject: Re: FreeBSD as domU
Hi,

actually I thought I was using 3.0.2. But I have to double-check this,
as I might have updated the system at one point... Or are there already
any bugfixes available?

Cheers,

    Gernot


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luca Lesinigo  
View profile  
 More options Dec 28 2006, 12:54 pm
From: "Luca Lesinigo" <l...@lesinigo.it>
Date: Thu, 28 Dec 2006 09:54:23 -0800
Local: Thurs, Dec 28 2006 12:54 pm
Subject: Re: FreeBSD as domU
Hello there.
I am actually using Xen 3.0.2, with Gentoo Linux as dom0 (and Xen
compiled with Gentoo's Portage), and I'm not able to run Yuan's
freebsd-XENU_INSTALL kernel.
I keep getting "Error: (22, 'Invalid argument')", and I tried with both
a PAE-enabled and a non-PAE Xen 3.0.2 hypervisor.

Any idea?

Yuan, I don't know the details of the SOC, but are you still working on
FreeBSD + Xen ?
Anyway, thank you very much for what you've done.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luca Lesinigo  
View profile  
 More options Dec 28 2006, 9:04 pm
From: "Luca Lesinigo" <l...@lesinigo.it>
Date: Thu, 28 Dec 2006 18:04:43 -0800
Local: Thurs, Dec 28 2006 9:04 pm
Subject: Re: FreeBSD as domU
Luca Lesinigo ha scritto:
> I am actually using Xen 3.0.2, with Gentoo Linux as dom0 (and Xen
> compiled with Gentoo's Portage), and I'm not able to run Yuan's
> freebsd-XENU_INSTALL kernel.
> I keep getting "Error: (22, 'Invalid argument')", and I tried with both
> a PAE-enabled and a non-PAE Xen 3.0.2 hypervisor.

FYI, I just found out that Kip Macy's kernel
(http://www.fsmware.com/xenofreebsd/7.0/) actually does work with my
Xen setup.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chad.kitch...@gmail.com  
View profile  
 More options Dec 29 2006, 10:11 pm
From: chad.kitch...@gmail.com
Date: Fri, 29 Dec 2006 19:11:45 -0800
Local: Fri, Dec 29 2006 10:11 pm
Subject: Re: FreeBSD as domU

Luca Lesinigo wrote:
> FYI, I just found out that Kip Macy's kernel
> (http://www.fsmware.com/xenofreebsd/7.0/) actually does work with my
> Xen setup.

Interesting.  A little shelll script I put together to try and get Xen
working with Yuan Jue's FreeBSD kernels worked on Kip Macy's kernel,
and I can boot it now on Xen 3.0.3.  I didn't even try to think about
trying the older stuff.

For the interested, here's the small script I used that fixes the
__xen_guest section to add the VIRT_BASE that Xen 3.0.3 requires:
----
#!/bin/sh

objcopy $1 -R __xen_guest
echo -n
"LOADER=generic,GUEST_OS=freebsd,GUEST_VER=7.0,XEN_VER=xen-3.0,BSD_SYMTAB,V IRT_BASE=0xC0000000~"
| tr '~' '\000' > __xen_guest
objcopy $1 --add-section __xen_guest=__xen_guest
rm __xen_guest
----

It's a bit of a pity that all interest in Xen on the FreeBSD mailing
lists seems to have died, but many thanks to both Yuan Jue and Kip Macy
for the work they've done.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luca Lesinigo  
View profile  
 More options Jan 8 2007, 2:21 pm
From: "Luca Lesinigo" <l...@lesinigo.it>
Date: Mon, 08 Jan 2007 11:21:09 -0800
Local: Mon, Jan 8 2007 2:21 pm
Subject: Re: FreeBSD as domU
re Kip's kernel, it _boots_, but as I experienced when trying it some
months ago, it 'fall asleep' after some work. It's strange, the system
more or less seems ok (can login, run top, etc...) but for other things
it just stays there forever (eg., I can't make install stuff from
ports). But I guess that's because it was an old kernel.

I'm using gentoo linux for Dom0, so I can get Xen from portage and I
don't have too much to fiddle around. Right now there is Xen 3.0.2 in
portage, and I'd like to run a freebsd DomU on top of that. Not
'production stuff', but at least something working more or less for an
home system. Yuan's kernel should do the job, if I find a way to make
it load and boot in Xen.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »