All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Where to get FreeBSD port for Xen
       [not found] <200501191606.22899.mparem@cisco.com>
@ 2005-01-19 23:18 ` Kip Macy
  2005-01-20 17:00   ` Mikhail V.Paremski
  2005-01-24  0:39   ` Derrik Pates
  0 siblings, 2 replies; 27+ messages in thread
From: Kip Macy @ 2005-01-19 23:18 UTC (permalink / raw)
  To: Mikhail V.Paremski; +Cc: xen-devel

It looks like apache had gone out to lunch. I just restarted it and it
is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what
is there right now.


			-Kip




On Wed, 19 Jan 2005, Mikhail V.Paremski wrote:

> Dear Kip,
>
> Recently I've tried to access to www.fsmware.com/xenofreebsd and
> www.bsdclusters.com/xenofreebsd pages. Noone is responding. Is there any way
> to get FreeBSD for Xen?
>
> Best regards,
> Mikahil.
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-19 23:18 ` Where to get FreeBSD port for Xen Kip Macy
@ 2005-01-20 17:00   ` Mikhail V.Paremski
  2005-01-20 21:52     ` Kip Macy
  2005-01-24  0:39   ` Derrik Pates
  1 sibling, 1 reply; 27+ messages in thread
From: Mikhail V.Paremski @ 2005-01-20 17:00 UTC (permalink / raw)
  To: xen-devel; +Cc: Kip Macy

Thanks Kip,

I'll wait.
BTW. Do Ypu hane any plans to run FreeBAD on dom0?

Cheers,
Mikhail.

On Wednesday 19 January 2005 03:18 pm, Kip Macy wrote:
> It looks like apache had gone out to lunch. I just restarted it and it
> is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what
> is there right now.
>
>
> 			-Kip
>
> On Wed, 19 Jan 2005, Mikhail V.Paremski wrote:
> > Dear Kip,
> >
> > Recently I've tried to access to www.fsmware.com/xenofreebsd and
> > www.bsdclusters.com/xenofreebsd pages. Noone is responding. Is there any
> > way to get FreeBSD for Xen?
> >
> > Best regards,
> > Mikahil.
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-20 17:00   ` Mikhail V.Paremski
@ 2005-01-20 21:52     ` Kip Macy
  2005-01-21  0:18       ` David Rhodus
  0 siblings, 1 reply; 27+ messages in thread
From: Kip Macy @ 2005-01-20 21:52 UTC (permalink / raw)
  To: Mikhail V.Paremski; +Cc: xen-devel

Long term, yes. But unless someone else decides to help out, it probably
won't be this year.


					-Kip

On Thu, 20 Jan 2005, Mikhail V.Paremski wrote:

> Thanks Kip,
>
> I'll wait.
> BTW. Do Ypu hane any plans to run FreeBAD on dom0?
>
> Cheers,
> Mikhail.
>
> On Wednesday 19 January 2005 03:18 pm, Kip Macy wrote:
> > It looks like apache had gone out to lunch. I just restarted it and it
> > is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what
> > is there right now.
> >
> >
> > 			-Kip
> >
> > On Wed, 19 Jan 2005, Mikhail V.Paremski wrote:
> > > Dear Kip,
> > >
> > > Recently I've tried to access to www.fsmware.com/xenofreebsd and
> > > www.bsdclusters.com/xenofreebsd pages. Noone is responding. Is there any
> > > way to get FreeBSD for Xen?
> > >
> > > Best regards,
> > > Mikahil.
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> > Tool for open source databases. Create drag-&-drop reports. Save time
> > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-20 21:52     ` Kip Macy
@ 2005-01-21  0:18       ` David Rhodus
  2005-01-21 22:23         ` Kip Macy
  0 siblings, 1 reply; 27+ messages in thread
From: David Rhodus @ 2005-01-21  0:18 UTC (permalink / raw)
  To: Kip Macy; +Cc: Mikhail V.Paremski, xen-devel

On Thu, 20 Jan 2005 13:52:37 -0800 (PST), Kip Macy <kmacy@fsmware.com> wrote:
> Long term, yes. But unless someone else decides to help out, it probably
> won't be this year.
> 
>                                         -Kip
> 
> On Thu, 20 Jan 2005, Mikhail V.Paremski wrote:
> 
> > Thanks Kip,
> >
> > I'll wait.
> > BTW. Do Ypu hane any plans to run FreeBAD on dom0?
> >
> > Cheers,
> > Mikhail.
> >

So right now your running FreeBSD in a virtual machine like state on a
Linux machine ?

-- 
                                            -David
                                            Steven David Rhodus
                                            <drhodus@machdep.com>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-21  0:18       ` David Rhodus
@ 2005-01-21 22:23         ` Kip Macy
  0 siblings, 0 replies; 27+ messages in thread
From: Kip Macy @ 2005-01-21 22:23 UTC (permalink / raw)
  To: drhodus; +Cc: Mikhail V.Paremski, xen-devel

Correct.


				-Kip



On Fri, 21 Jan 2005, David Rhodus wrote:

> On Thu, 20 Jan 2005 13:52:37 -0800 (PST), Kip Macy <kmacy@fsmware.com> wrote:
> > Long term, yes. But unless someone else decides to help out, it probably
> > won't be this year.
> >
> >                                         -Kip
> >
> > On Thu, 20 Jan 2005, Mikhail V.Paremski wrote:
> >
> > > Thanks Kip,
> > >
> > > I'll wait.
> > > BTW. Do Ypu hane any plans to run FreeBAD on dom0?
> > >
> > > Cheers,
> > > Mikhail.
> > >
>
> So right now your running FreeBSD in a virtual machine like state on a
> Linux machine ?
>
> --
>                                             -David
>                                             Steven David Rhodus
>                                             <drhodus@machdep.com>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-19 23:18 ` Where to get FreeBSD port for Xen Kip Macy
  2005-01-20 17:00   ` Mikhail V.Paremski
@ 2005-01-24  0:39   ` Derrik Pates
  2005-01-24  0:44     ` Kip Macy
                       ` (2 more replies)
  1 sibling, 3 replies; 27+ messages in thread
From: Derrik Pates @ 2005-01-24  0:39 UTC (permalink / raw)
  To: Kip Macy; +Cc: xen-devel

Kip Macy wrote:
> It looks like apache had gone out to lunch. I just restarted it and it
> is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what
> is there right now.

Kip:

Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set 
up a Xen box for internal use with Debian and FreeBSD on it, and I'm 
hoping to get FreeBSD 5.3 on there. Also, were you able to figure out 
the blocking stuff in the scheduling code?

-- 
Derrik Pates
demon@devrandom.net


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24  0:39   ` Derrik Pates
@ 2005-01-24  0:44     ` Kip Macy
  2005-01-24  1:31     ` Kip Macy
  2005-01-24  2:25     ` Kip Macy
  2 siblings, 0 replies; 27+ messages in thread
From: Kip Macy @ 2005-01-24  0:44 UTC (permalink / raw)
  To: Derrik Pates; +Cc: xen-devel

>
> Kip:
>
> Any luck with that FreeBSD 5.3 kernel?

It is up and working I just wanted to create a smaller loopback root and
do some more xen work before posting. I guess I can post it in an hour
or so.

> Our network engineer wants to set
> up a Xen box for internal use with Debian and FreeBSD on it, and I'm
> hoping to get FreeBSD 5.3 on there. Also, were you able to figure out
> the blocking stuff in the scheduling code?


Yeah, I was just hoping for a more attractive interface to managing
that.


			-Kip


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24  0:39   ` Derrik Pates
  2005-01-24  0:44     ` Kip Macy
@ 2005-01-24  1:31     ` Kip Macy
  2005-01-24  5:04       ` Derrik Pates
  2005-01-24  2:25     ` Kip Macy
  2 siblings, 1 reply; 27+ messages in thread
From: Kip Macy @ 2005-01-24  1:31 UTC (permalink / raw)
  To: Derrik Pates; +Cc: xen-devel

Okie Dokie. Check out:
http://www.fsmware.com/xenofreebsd/5.3/
It only has the kernel, a compressed mdroot, and the config scripts
that I use. The blocking issue discussed previously has not been fixed.
I intend to fix it, but there are some infrastructure bits that take
priority for me.

Let me know how this works for you as soon as you try it out.

				-Kip


> Kip:
>
> Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set
> up a Xen box for internal use with Debian and FreeBSD on it, and I'm
> hoping to get FreeBSD 5.3 on there. Also, were you able to figure out
> the blocking stuff in the scheduling code?
>
> --
> Derrik Pates
> demon@devrandom.net
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24  0:39   ` Derrik Pates
  2005-01-24  0:44     ` Kip Macy
  2005-01-24  1:31     ` Kip Macy
@ 2005-01-24  2:25     ` Kip Macy
  2005-01-24  9:01       ` Hidetoshi Shimokawa
  2 siblings, 1 reply; 27+ messages in thread
From: Kip Macy @ 2005-01-24  2:25 UTC (permalink / raw)
  To: Derrik Pates; +Cc: xen-devel

For those interested I've uploaded a source tarball and copied in
updated directions.


					-Kip



On Sun, 23 Jan 2005, Derrik Pates wrote:

> Kip Macy wrote:
> > It looks like apache had gone out to lunch. I just restarted it and it
> > is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what
> > is there right now.
>
> Kip:
>
> Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set
> up a Xen box for internal use with Debian and FreeBSD on it, and I'm
> hoping to get FreeBSD 5.3 on there. Also, were you able to figure out
> the blocking stuff in the scheduling code?
>
> --
> Derrik Pates
> demon@devrandom.net
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24  1:31     ` Kip Macy
@ 2005-01-24  5:04       ` Derrik Pates
  2005-01-24  6:15         ` Kip Macy
  0 siblings, 1 reply; 27+ messages in thread
From: Derrik Pates @ 2005-01-24  5:04 UTC (permalink / raw)
  To: Kip Macy; +Cc: xen-devel

Kip:

> It only has the kernel, a compressed mdroot, and the config scripts
> that I use. The blocking issue discussed previously has not been fixed.
> I intend to fix it, but there are some infrastructure bits that take
> priority for me.
> 
> Let me know how this works for you as soon as you try it out.

Bad news, I'm afraid; the 5.3 kernel and mdroot doesn't successfully 
boot for me. I'm using the same args that happily boot the 5.2.1 kernel, 
but it simply stops once it reaches a certain point. The boot messages 
are as follows:

--- start boot messages ---
WARNING: loader(8) metadata is missing!
start_info 0xc0295000
start_info->nr_pages 32768
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #31: Thu Jan 20 11:37:43 PST 2005
 
mowat@bldf1.eng.netapp.com:/t/niners/users/xen/bsd/sys-5.3/i386-xeno.tot/compile/XENCONF
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
Timecounter "ixen" frequency 1593088000 Hz quality 0
CPU: AMD Opteron(tm) Processor 242 (1593.09-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0xf58  Stepping = 8
 
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
   AMD Features=0xe0500000<NX,AMIE,LM,DSP,3DNow!>
Data TLB: 32 entries, fully associative
Instruction TLB: 32 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way 
associative
L2 internal cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 8-way 
associative
real memory  = 131354624 (125 MB)
Physical memory chunk(s):
0x00000000002bb000 - 0x0000000007aecfff, 126033920 bytes (30770 pages)
avail memory = 125120512 (119 MB)
WARNING: driver "evtchn" used unreserved major device number 140
null: <null device, zero device>
random: <entropy source, Software, Yarrow>
cpu0 on motherboard
Device configuration finished.
procfs registered
Timecounters tick every 10.000 msec
xc0: <Xen Console> on motherboard
WARNING: driver "xc" used unreserved major device number 12
xn0: bpf attached
xn0: Ethernet address: aa:00:00:00:00:28
--- end boot messages ---

At that point, it just doesn't go any further; 'xm list' shows it as in 
run state, not crashed, but it just never goes any further. Any thoughts?

-- 
Derrik Pates
demon@devrandom.net


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24  5:04       ` Derrik Pates
@ 2005-01-24  6:15         ` Kip Macy
  2005-01-24  6:18           ` Derrik Pates
  0 siblings, 1 reply; 27+ messages in thread
From: Kip Macy @ 2005-01-24  6:15 UTC (permalink / raw)
  To: Derrik Pates; +Cc: xen-devel

Please send me your config file so I can try and reproduce.
Are you using your own root?


			-Kip


On Mon, 24 Jan 2005, Derrik Pates wrote:

> Kip:
>
> > It only has the kernel, a compressed mdroot, and the config scripts
> > that I use. The blocking issue discussed previously has not been fixed.
> > I intend to fix it, but there are some infrastructure bits that take
> > priority for me.
> >
> > Let me know how this works for you as soon as you try it out.
>
> Bad news, I'm afraid; the 5.3 kernel and mdroot doesn't successfully
> boot for me. I'm using the same args that happily boot the 5.2.1 kernel,
> but it simply stops once it reaches a certain point. The boot messages
> are as follows:
>
> --- start boot messages ---
> WARNING: loader(8) metadata is missing!
> start_info 0xc0295000
> start_info->nr_pages 32768
> Copyright (c) 1992-2004 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>          The Regents of the University of California. All rights reserved.
> FreeBSD 5.3-RELEASE #31: Thu Jan 20 11:37:43 PST 2005
>
> mowat@bldf1.eng.netapp.com:/t/niners/users/xen/bsd/sys-5.3/i386-xeno.tot/compile/XENCONF
> WARNING: DIAGNOSTIC option enabled, expect reduced performance.
> Timecounter "ixen" frequency 1593088000 Hz quality 0
> CPU: AMD Opteron(tm) Processor 242 (1593.09-MHz 686-class CPU)
>    Origin = "AuthenticAMD"  Id = 0xf58  Stepping = 8
>
> Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
>    AMD Features=0xe0500000<NX,AMIE,LM,DSP,3DNow!>
> Data TLB: 32 entries, fully associative
> Instruction TLB: 32 entries, fully associative
> L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
> L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way
> associative
> L2 internal cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 8-way
> associative
> real memory  = 131354624 (125 MB)
> Physical memory chunk(s):
> 0x00000000002bb000 - 0x0000000007aecfff, 126033920 bytes (30770 pages)
> avail memory = 125120512 (119 MB)
> WARNING: driver "evtchn" used unreserved major device number 140
> null: <null device, zero device>
> random: <entropy source, Software, Yarrow>
> cpu0 on motherboard
> Device configuration finished.
> procfs registered
> Timecounters tick every 10.000 msec
> xc0: <Xen Console> on motherboard
> WARNING: driver "xc" used unreserved major device number 12
> xn0: bpf attached
> xn0: Ethernet address: aa:00:00:00:00:28
> --- end boot messages ---
>
> At that point, it just doesn't go any further; 'xm list' shows it as in
> run state, not crashed, but it just never goes any further. Any thoughts?
>
> --
> Derrik Pates
> demon@devrandom.net
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24  6:15         ` Kip Macy
@ 2005-01-24  6:18           ` Derrik Pates
  2005-01-24  6:47             ` Kip Macy
  0 siblings, 1 reply; 27+ messages in thread
From: Derrik Pates @ 2005-01-24  6:18 UTC (permalink / raw)
  To: Kip Macy; +Cc: xen-devel

Kip Macy wrote:
> Please send me your config file so I can try and reproduce.
> Are you using your own root?

I'm using the following config:

kernel = "/boot/freebsd-5.3-xenU"
memory = 128
cpu = -1
name = "freebsd"
nics = 1
vif = [ 'mac=aa:00:00:00:00:28,bridge=xen-br0' ]
disk = [ 'file:/var/local/freebsd.image,loop0,w' ]
extra = "boot.netif.ip=192.168.0.33"
extra += ",boot.netif.netmask=255.255.255.0"
extra += ",boot.netif.gateway=192.168.0.1"
extra += ",vfs.root.mountfrom=ufs:/dev/xbd0a"
extra += ",boot_verbose=yes"

And I am using the 'mdroot' that you posted with the kernel; however, 
based on the boot messages, it doesn't even look like it's getting far 
enough for that to be an issue. I was also able to build a FreeBSD/Xen 
5.3 kernel, but I'm encountering the same issue, at the same point in 
the boot process.

-- 
Derrik Pates
demon@devrandom.net


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24  6:18           ` Derrik Pates
@ 2005-01-24  6:47             ` Kip Macy
  2005-01-24 22:57               ` Derrik Pates
  0 siblings, 1 reply; 27+ messages in thread
From: Kip Macy @ 2005-01-24  6:47 UTC (permalink / raw)
  To: Derrik Pates; +Cc: xen-devel

It is getting late and the 2.0-testing snapshot I'm running just locked
up on me. I'll look at it further tomorrow.

Could you try looking at my freebsd config file? I didn't partition this
mdroot the same way as I did the previous one. That may somehow be
giving you grief.


					-Kip

On Mon, 24 Jan 2005, Derrik Pates wrote:

> Kip Macy wrote:
> > Please send me your config file so I can try and reproduce.
> > Are you using your own root?
>
> I'm using the following config:
>
> kernel = "/boot/freebsd-5.3-xenU"
> memory = 128
> cpu = -1
> name = "freebsd"
> nics = 1
> vif = [ 'mac=aa:00:00:00:00:28,bridge=xen-br0' ]
> disk = [ 'file:/var/local/freebsd.image,loop0,w' ]
> extra = "boot.netif.ip=192.168.0.33"
> extra += ",boot.netif.netmask=255.255.255.0"
> extra += ",boot.netif.gateway=192.168.0.1"
> extra += ",vfs.root.mountfrom=ufs:/dev/xbd0a"
> extra += ",boot_verbose=yes"
>
> And I am using the 'mdroot' that you posted with the kernel; however,
> based on the boot messages, it doesn't even look like it's getting far
> enough for that to be an issue. I was also able to build a FreeBSD/Xen
> 5.3 kernel, but I'm encountering the same issue, at the same point in
> the boot process.
>
> --
> Derrik Pates
> demon@devrandom.net
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24  2:25     ` Kip Macy
@ 2005-01-24  9:01       ` Hidetoshi Shimokawa
  2005-01-24 21:29         ` Kip Macy
  0 siblings, 1 reply; 27+ messages in thread
From: Hidetoshi Shimokawa @ 2005-01-24  9:01 UTC (permalink / raw)
  To: Kip Macy; +Cc: xen-devel

Thank you very much for your work, Kip.

I successfully booted xenofreebsd from your source.
The following patch(obtained from NetBSD) seems to
fix the scheduling problem.

/\ Hidetoshi Shimokawa
\/  simokawa@FreeBSD.org

diff -u -r /home/simokawa/xen/i386-xeno/i386-xeno/clock.c i386-xeno/i386-xeno/clock.c
--- /home/simokawa/xen/i386-xeno/i386-xeno/clock.c	Mon Jan 24 10:36:19 2005
+++ i386-xeno/i386-xeno/clock.c	Mon Jan 24 16:58:31 2005
@@ -502,3 +502,10 @@
 	/* our adjusted time offset in microseconds */
 	return edx;
 }
+
+void
+idle_block(void)
+{
+	if (HYPERVISOR_set_timer_op(processed_system_time + NS_PER_TICK) == 0)
+		HYPERVISOR_block();
+}
diff -u -r /home/simokawa/xen/i386-xeno/i386-xeno/machdep.c i386-xeno/i386-xeno/machdep.c
--- /home/simokawa/xen/i386-xeno/i386-xeno/machdep.c	Mon Jan 24 10:36:19 2005
+++ i386-xeno/i386-xeno/machdep.c	Mon Jan 24 17:50:25 2005
@@ -140,6 +140,7 @@
 #include <machine/hypervisor.h>
 #include <machine/xenfunc.h>
 #include <machine/xenvar.h>
+#include <machine/xen_intr.h>
 
 void Xhypervisor_callback(void);
 void failsafe_callback(void);
@@ -903,8 +904,13 @@
 	 */
 	__asm __volatile("sti; hlt");
 #endif
+#if 0
 	enable_intr();
 	HYPERVISOR_yield();
+#else
+	idle_block();
+	enable_intr();
+#endif
 }
 
 /*
diff -u -r /home/simokawa/xen/i386-xeno/include/xen_intr.h i386-xeno/include/xen_intr.h
--- /home/simokawa/xen/i386-xeno/include/xen_intr.h	Mon Jan 24 10:36:19 2005
+++ i386-xeno/include/xen_intr.h	Mon Jan 24 17:48:55 2005
@@ -44,6 +44,7 @@
 extern void irq_suspend(void);
 extern void irq_resume(void);
 
+extern void idle_block(void);
 
 
 #endif /* _XEN_INTR_H_ */


At Sun, 23 Jan 2005 18:25:25 -0800 (PST),
Kip Macy wrote:
> 
> For those interested I've uploaded a source tarball and copied in
> updated directions.
> 
> 
> 					-Kip
> 
> 
> 
> On Sun, 23 Jan 2005, Derrik Pates wrote:
> 
> > Kip Macy wrote:
> > > It looks like apache had gone out to lunch. I just restarted it and it
> > > is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what
> > > is there right now.
> >
> > Kip:
> >
> > Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set
> > up a Xen box for internal use with Debian and FreeBSD on it, and I'm
> > hoping to get FreeBSD 5.3 on there. Also, were you able to figure out
> > the blocking stuff in the scheduling code?
> >
> > --
> > Derrik Pates
> > demon@devrandom.net
> >
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24  9:01       ` Hidetoshi Shimokawa
@ 2005-01-24 21:29         ` Kip Macy
  2005-01-25  3:05           ` Hidetoshi Shimokawa
  0 siblings, 1 reply; 27+ messages in thread
From: Kip Macy @ 2005-01-24 21:29 UTC (permalink / raw)
  To: Hidetoshi Shimokawa; +Cc: xen-devel

Thanks for patch and the heads up on the successful boot.

I'll apply the patch and update the posted tarball and kernel tonight.



					-Kip

On Mon, 24 Jan 2005, Hidetoshi Shimokawa wrote:

> Thank you very much for your work, Kip.
>
> I successfully booted xenofreebsd from your source.
> The following patch(obtained from NetBSD) seems to
> fix the scheduling problem.
>
> /\ Hidetoshi Shimokawa
> \/  simokawa@FreeBSD.org
>
> diff -u -r /home/simokawa/xen/i386-xeno/i386-xeno/clock.c i386-xeno/i386-xeno/clock.c
> --- /home/simokawa/xen/i386-xeno/i386-xeno/clock.c	Mon Jan 24 10:36:19 2005
> +++ i386-xeno/i386-xeno/clock.c	Mon Jan 24 16:58:31 2005
> @@ -502,3 +502,10 @@
>  	/* our adjusted time offset in microseconds */
>  	return edx;
>  }
> +
> +void
> +idle_block(void)
> +{
> +	if (HYPERVISOR_set_timer_op(processed_system_time + NS_PER_TICK) == 0)
> +		HYPERVISOR_block();
> +}
> diff -u -r /home/simokawa/xen/i386-xeno/i386-xeno/machdep.c i386-xeno/i386-xeno/machdep.c
> --- /home/simokawa/xen/i386-xeno/i386-xeno/machdep.c	Mon Jan 24 10:36:19 2005
> +++ i386-xeno/i386-xeno/machdep.c	Mon Jan 24 17:50:25 2005
> @@ -140,6 +140,7 @@
>  #include <machine/hypervisor.h>
>  #include <machine/xenfunc.h>
>  #include <machine/xenvar.h>
> +#include <machine/xen_intr.h>
>
>  void Xhypervisor_callback(void);
>  void failsafe_callback(void);
> @@ -903,8 +904,13 @@
>  	 */
>  	__asm __volatile("sti; hlt");
>  #endif
> +#if 0
>  	enable_intr();
>  	HYPERVISOR_yield();
> +#else
> +	idle_block();
> +	enable_intr();
> +#endif
>  }
>
>  /*
> diff -u -r /home/simokawa/xen/i386-xeno/include/xen_intr.h i386-xeno/include/xen_intr.h
> --- /home/simokawa/xen/i386-xeno/include/xen_intr.h	Mon Jan 24 10:36:19 2005
> +++ i386-xeno/include/xen_intr.h	Mon Jan 24 17:48:55 2005
> @@ -44,6 +44,7 @@
>  extern void irq_suspend(void);
>  extern void irq_resume(void);
>
> +extern void idle_block(void);
>
>
>  #endif /* _XEN_INTR_H_ */
>
>
> At Sun, 23 Jan 2005 18:25:25 -0800 (PST),
> Kip Macy wrote:
> >
> > For those interested I've uploaded a source tarball and copied in
> > updated directions.
> >
> >
> > 					-Kip
> >
> >
> >
> > On Sun, 23 Jan 2005, Derrik Pates wrote:
> >
> > > Kip Macy wrote:
> > > > It looks like apache had gone out to lunch. I just restarted it and it
> > > > is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what
> > > > is there right now.
> > >
> > > Kip:
> > >
> > > Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set
> > > up a Xen box for internal use with Debian and FreeBSD on it, and I'm
> > > hoping to get FreeBSD 5.3 on there. Also, were you able to figure out
> > > the blocking stuff in the scheduling code?
> > >
> > > --
> > > Derrik Pates
> > > demon@devrandom.net
> > >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> > Tool for open source databases. Create drag-&-drop reports. Save time
> > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24  6:47             ` Kip Macy
@ 2005-01-24 22:57               ` Derrik Pates
  2005-01-24 23:03                 ` Kip Macy
  2005-01-24 23:50                 ` Kip Macy
  0 siblings, 2 replies; 27+ messages in thread
From: Derrik Pates @ 2005-01-24 22:57 UTC (permalink / raw)
  To: Kip Macy; +Cc: xen-devel

Kip Macy wrote:
> It is getting late and the 2.0-testing snapshot I'm running just locked
> up on me. I'll look at it further tomorrow.
> 
> Could you try looking at my freebsd config file? I didn't partition this
> mdroot the same way as I did the previous one. That may somehow be
> giving you grief.

It seems to be related to the host system. I tried booting your FreeBSD 
5.3 kernel and mdroot on a P4 Celeron system here in my office running 
Xen (2.0.1, fyi); the kernel fired right up, mounted root, and came to a 
login: prompt. The system that was having problems is a dual Opteron 242 
with 1 GB of RAM (it's an HP DL145, specifically).

If you'd like to log into the machine directly and see if you can figure 
anything out, please contact me off-list, and we'll make arrangements; 
I'd like to see this work, but obviously the not-booting thing is kind 
of a downer. :)

-- 
Derrik Pates
demon@devrandom.net


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24 22:57               ` Derrik Pates
@ 2005-01-24 23:03                 ` Kip Macy
  2005-01-24 23:50                 ` Kip Macy
  1 sibling, 0 replies; 27+ messages in thread
From: Kip Macy @ 2005-01-24 23:03 UTC (permalink / raw)
  To: Derrik Pates; +Cc: xen-devel

>
> It seems to be related to the host system. I tried booting your FreeBSD
> 5.3 kernel and mdroot on a P4 Celeron system here in my office running
> Xen (2.0.1, fyi); the kernel fired right up, mounted root, and came to a
> login: prompt. The system that was having problems is a dual Opteron 242
> with 1 GB of RAM (it's an HP DL145, specifically).

Interesting. My test machines are all, with the exception of an old dual
PIII from Dell, dual Opteron 242s from Penguin Computing.

Will follow up.


			-Kip


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24 22:57               ` Derrik Pates
  2005-01-24 23:03                 ` Kip Macy
@ 2005-01-24 23:50                 ` Kip Macy
  2005-01-25  0:27                   ` OpenBSD " Dave Feustel
  2005-01-25  0:53                   ` Re: Where to get FreeBSD " Derrik Pates
  1 sibling, 2 replies; 27+ messages in thread
From: Kip Macy @ 2005-01-24 23:50 UTC (permalink / raw)
  To: Derrik Pates; +Cc: xen-devel

Well dandy. I've modified my config to mirror yours _exactly_ and it
boots just fine. So make sure you're running the latest 2.0-testing
snapshot follow up with me when you the chance.


				-Kip


> It seems to be related to the host system. I tried booting your FreeBSD
> 5.3 kernel and mdroot on a P4 Celeron system here in my office running
> Xen (2.0.1, fyi); the kernel fired right up, mounted root, and came to a
> login: prompt. The system that was having problems is a dual Opteron 242
> with 1 GB of RAM (it's an HP DL145, specifically).
>
> If you'd like to log into the machine directly and see if you can figure
> anything out, please contact me off-list, and we'll make arrangements;
> I'd like to see this work, but obviously the not-booting thing is kind
> of a downer. :)
>
> --
> Derrik Pates
> demon@devrandom.net
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* OpenBSD port for Xen
  2005-01-24 23:50                 ` Kip Macy
@ 2005-01-25  0:27                   ` Dave Feustel
  2005-01-25  0:38                     ` Kip Macy
  2005-01-25  0:53                   ` Re: Where to get FreeBSD " Derrik Pates
  1 sibling, 1 reply; 27+ messages in thread
From: Dave Feustel @ 2005-01-25  0:27 UTC (permalink / raw)
  To: xen-devel; +Cc: Kip Macy, Derrik Pates

Is there any chance of this or should I just wait for
Intel's Vanderpool or AMD's equivalent?


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: OpenBSD port for Xen
  2005-01-25  0:27                   ` OpenBSD " Dave Feustel
@ 2005-01-25  0:38                     ` Kip Macy
  2005-01-25  1:02                       ` Dave Feustel
  2005-01-25 22:04                       ` Scott Parish
  0 siblings, 2 replies; 27+ messages in thread
From: Kip Macy @ 2005-01-25  0:38 UTC (permalink / raw)
  To: Dave Feustel; +Cc: xen-devel

It is a chunk of work. You have to heavily modify pmap.c, replace all
privileged operations with the corresponding xen operations, and port
over the clock, block, and network device drivers.


				-Kip



On Mon, 24 Jan 2005, Dave Feustel wrote:

> Is there any chance of this or should I just wait for
> Intel's Vanderpool or AMD's equivalent?
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24 23:50                 ` Kip Macy
  2005-01-25  0:27                   ` OpenBSD " Dave Feustel
@ 2005-01-25  0:53                   ` Derrik Pates
  1 sibling, 0 replies; 27+ messages in thread
From: Derrik Pates @ 2005-01-25  0:53 UTC (permalink / raw)
  To: Kip Macy; +Cc: xen-devel

Kip Macy wrote:
> Well dandy. I've modified my config to mirror yours _exactly_ and it
> boots just fine. So make sure you're running the latest 2.0-testing
> snapshot follow up with me when you the chance.

I just went ahead and got the xen-2.0-testing tarball, and build the 
hypervisor and userspace utilities. After restarting, I tried starting 
the FreeBSD kernel inside a Xen domain; the result is currently the 
same. I'll check the BIOS settings and see if, perhaps, there's 
something relevant, but at this point, I'm still guessing it's something 
about this machine. I'm not sure what though.

-- 
Derrik Pates
demon@devrandom.net


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: OpenBSD port for Xen
  2005-01-25  0:38                     ` Kip Macy
@ 2005-01-25  1:02                       ` Dave Feustel
  2005-01-25  1:05                         ` Kip Macy
  2005-01-25 22:04                       ` Scott Parish
  1 sibling, 1 reply; 27+ messages in thread
From: Dave Feustel @ 2005-01-25  1:02 UTC (permalink / raw)
  To: Kip Macy; +Cc: xen-devel

On Monday 24 January 2005 19:38, Kip Macy wrote:
> It is a chunk of work. You have to heavily modify pmap.c, replace all
> privileged operations with the corresponding xen operations, and port
> over the clock, block, and network device drivers.
> 
In other words, I should wait for full virtualization.
 
> 				-Kip
> 
> 
> 
> On Mon, 24 Jan 2005, Dave Feustel wrote:
> 
> > Is there any chance of this or should I just wait for
> > Intel's Vanderpool or AMD's equivalent?
> >
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: OpenBSD port for Xen
  2005-01-25  1:02                       ` Dave Feustel
@ 2005-01-25  1:05                         ` Kip Macy
  0 siblings, 0 replies; 27+ messages in thread
From: Kip Macy @ 2005-01-25  1:05 UTC (permalink / raw)
  To: Dave Feustel; +Cc: xen-devel

It would be an educational experience.

		-Kip


> In other words, I should wait for full virtualization.
>
> > 				-Kip
> >
> >
> >
> > On Mon, 24 Jan 2005, Dave Feustel wrote:
> >
> > > Is there any chance of this or should I just wait for
> > > Intel's Vanderpool or AMD's equivalent?
> > >
> >
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-24 21:29         ` Kip Macy
@ 2005-01-25  3:05           ` Hidetoshi Shimokawa
  2005-01-25  4:09             ` Kip Macy
  2005-01-25  4:40             ` Kip Macy
  0 siblings, 2 replies; 27+ messages in thread
From: Hidetoshi Shimokawa @ 2005-01-25  3:05 UTC (permalink / raw)
  To: Kip Macy; +Cc: xen-devel

I have experianced strange lockups sometimes.
In that case, 'xm list' shows no state for freebsd.
(usually it is blocked)

Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       59    0  r----    990.1        
freebsd.sample     2       64    0  -----    547.6    9602

I'd like to analyze this problem using debugger.
I found gdbserver binary in your web site but it seems old and
to require old libraries. Can I get the gdbserver source?

Thanks,

/\ Hidetoshi Shimokawa
\/  simokawa@FreeBSD.org


At Mon, 24 Jan 2005 13:29:38 -0800 (PST),
Kip Macy wrote:
> 
> Thanks for patch and the heads up on the successful boot.
> 
> I'll apply the patch and update the posted tarball and kernel tonight.
> 
> 
> 
> 					-Kip
> 
> On Mon, 24 Jan 2005, Hidetoshi Shimokawa wrote:
> 
> > Thank you very much for your work, Kip.
> >
> > I successfully booted xenofreebsd from your source.
> > The following patch(obtained from NetBSD) seems to
> > fix the scheduling problem.
> >
> > /\ Hidetoshi Shimokawa
> > \/  simokawa@FreeBSD.org
> >
> > diff -u -r /home/simokawa/xen/i386-xeno/i386-xeno/clock.c i386-xeno/i386-xeno/clock.c
> > --- /home/simokawa/xen/i386-xeno/i386-xeno/clock.c	Mon Jan 24 10:36:19 2005
> > +++ i386-xeno/i386-xeno/clock.c	Mon Jan 24 16:58:31 2005
> > @@ -502,3 +502,10 @@
> >  	/* our adjusted time offset in microseconds */
> >  	return edx;
> >  }
> > +
> > +void
> > +idle_block(void)
> > +{
> > +	if (HYPERVISOR_set_timer_op(processed_system_time + NS_PER_TICK) == 0)
> > +		HYPERVISOR_block();
> > +}
> > diff -u -r /home/simokawa/xen/i386-xeno/i386-xeno/machdep.c i386-xeno/i386-xeno/machdep.c
> > --- /home/simokawa/xen/i386-xeno/i386-xeno/machdep.c	Mon Jan 24 10:36:19 2005
> > +++ i386-xeno/i386-xeno/machdep.c	Mon Jan 24 17:50:25 2005
> > @@ -140,6 +140,7 @@
> >  #include <machine/hypervisor.h>
> >  #include <machine/xenfunc.h>
> >  #include <machine/xenvar.h>
> > +#include <machine/xen_intr.h>
> >
> >  void Xhypervisor_callback(void);
> >  void failsafe_callback(void);
> > @@ -903,8 +904,13 @@
> >  	 */
> >  	__asm __volatile("sti; hlt");
> >  #endif
> > +#if 0
> >  	enable_intr();
> >  	HYPERVISOR_yield();
> > +#else
> > +	idle_block();
> > +	enable_intr();
> > +#endif
> >  }
> >
> >  /*
> > diff -u -r /home/simokawa/xen/i386-xeno/include/xen_intr.h i386-xeno/include/xen_intr.h
> > --- /home/simokawa/xen/i386-xeno/include/xen_intr.h	Mon Jan 24 10:36:19 2005
> > +++ i386-xeno/include/xen_intr.h	Mon Jan 24 17:48:55 2005
> > @@ -44,6 +44,7 @@
> >  extern void irq_suspend(void);
> >  extern void irq_resume(void);
> >
> > +extern void idle_block(void);
> >
> >
> >  #endif /* _XEN_INTR_H_ */
> >
> >
> > At Sun, 23 Jan 2005 18:25:25 -0800 (PST),
> > Kip Macy wrote:
> > >
> > > For those interested I've uploaded a source tarball and copied in
> > > updated directions.
> > >
> > >
> > > 					-Kip
> > >
> > >
> > >
> > > On Sun, 23 Jan 2005, Derrik Pates wrote:
> > >
> > > > Kip Macy wrote:
> > > > > It looks like apache had gone out to lunch. I just restarted it and it
> > > > > is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what
> > > > > is there right now.
> > > >
> > > > Kip:
> > > >
> > > > Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set
> > > > up a Xen box for internal use with Debian and FreeBSD on it, and I'm
> > > > hoping to get FreeBSD 5.3 on there. Also, were you able to figure out
> > > > the blocking stuff in the scheduling code?
> > > >
> > > > --
> > > > Derrik Pates
> > > > demon@devrandom.net
> > > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> > > Tool for open source databases. Create drag-&-drop reports. Save time
> > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/xen-devel
> >


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-25  3:05           ` Hidetoshi Shimokawa
@ 2005-01-25  4:09             ` Kip Macy
  2005-01-25  4:40             ` Kip Macy
  1 sibling, 0 replies; 27+ messages in thread
From: Kip Macy @ 2005-01-25  4:09 UTC (permalink / raw)
  To: Hidetoshi Shimokawa; +Cc: xen-devel

Funny you should ask. I just updated libxc to work with xen's current
context representation (previously I could just copy cpu_ctxt out and
everything worked, but just prior to the change most of the register
contents were wrong). I'll try to get everything posted within the hour.

One observation - I can't comment on 64MB, but FreeBSD 5.x doesn't do an
adequate job of managing its memory to stay up with 32MB or less.

			-Kip



On Tue, 25 Jan 2005, Hidetoshi Shimokawa wrote:

> I have experianced strange lockups sometimes.
> In that case, 'xm list' shows no state for freebsd.
> (usually it is blocked)
>
> Name              Id  Mem(MB)  CPU  State  Time(s)  Console
> Domain-0           0       59    0  r----    990.1
> freebsd.sample     2       64    0  -----    547.6    9602
>
> I'd like to analyze this problem using debugger.
> I found gdbserver binary in your web site but it seems old and
> to require old libraries. Can I get the gdbserver source?
>
> Thanks,
>
> /\ Hidetoshi Shimokawa
> \/  simokawa@FreeBSD.org
>
>
> At Mon, 24 Jan 2005 13:29:38 -0800 (PST),
> Kip Macy wrote:
> >
> > Thanks for patch and the heads up on the successful boot.
> >
> > I'll apply the patch and update the posted tarball and kernel tonight.
> >
> >
> >
> > 					-Kip
> >
> > On Mon, 24 Jan 2005, Hidetoshi Shimokawa wrote:
> >
> > > Thank you very much for your work, Kip.
> > >
> > > I successfully booted xenofreebsd from your source.
> > > The following patch(obtained from NetBSD) seems to
> > > fix the scheduling problem.
> > >
> > > /\ Hidetoshi Shimokawa
> > > \/  simokawa@FreeBSD.org
> > >
> > > diff -u -r /home/simokawa/xen/i386-xeno/i386-xeno/clock.c i386-xeno/i386-xeno/clock.c
> > > --- /home/simokawa/xen/i386-xeno/i386-xeno/clock.c	Mon Jan 24 10:36:19 2005
> > > +++ i386-xeno/i386-xeno/clock.c	Mon Jan 24 16:58:31 2005
> > > @@ -502,3 +502,10 @@
> > >  	/* our adjusted time offset in microseconds */
> > >  	return edx;
> > >  }
> > > +
> > > +void
> > > +idle_block(void)
> > > +{
> > > +	if (HYPERVISOR_set_timer_op(processed_system_time + NS_PER_TICK) == 0)
> > > +		HYPERVISOR_block();
> > > +}
> > > diff -u -r /home/simokawa/xen/i386-xeno/i386-xeno/machdep.c i386-xeno/i386-xeno/machdep.c
> > > --- /home/simokawa/xen/i386-xeno/i386-xeno/machdep.c	Mon Jan 24 10:36:19 2005
> > > +++ i386-xeno/i386-xeno/machdep.c	Mon Jan 24 17:50:25 2005
> > > @@ -140,6 +140,7 @@
> > >  #include <machine/hypervisor.h>
> > >  #include <machine/xenfunc.h>
> > >  #include <machine/xenvar.h>
> > > +#include <machine/xen_intr.h>
> > >
> > >  void Xhypervisor_callback(void);
> > >  void failsafe_callback(void);
> > > @@ -903,8 +904,13 @@
> > >  	 */
> > >  	__asm __volatile("sti; hlt");
> > >  #endif
> > > +#if 0
> > >  	enable_intr();
> > >  	HYPERVISOR_yield();
> > > +#else
> > > +	idle_block();
> > > +	enable_intr();
> > > +#endif
> > >  }
> > >
> > >  /*
> > > diff -u -r /home/simokawa/xen/i386-xeno/include/xen_intr.h i386-xeno/include/xen_intr.h
> > > --- /home/simokawa/xen/i386-xeno/include/xen_intr.h	Mon Jan 24 10:36:19 2005
> > > +++ i386-xeno/include/xen_intr.h	Mon Jan 24 17:48:55 2005
> > > @@ -44,6 +44,7 @@
> > >  extern void irq_suspend(void);
> > >  extern void irq_resume(void);
> > >
> > > +extern void idle_block(void);
> > >
> > >
> > >  #endif /* _XEN_INTR_H_ */
> > >
> > >
> > > At Sun, 23 Jan 2005 18:25:25 -0800 (PST),
> > > Kip Macy wrote:
> > > >
> > > > For those interested I've uploaded a source tarball and copied in
> > > > updated directions.
> > > >
> > > >
> > > > 					-Kip
> > > >
> > > >
> > > >
> > > > On Sun, 23 Jan 2005, Derrik Pates wrote:
> > > >
> > > > > Kip Macy wrote:
> > > > > > It looks like apache had gone out to lunch. I just restarted it and it
> > > > > > is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what
> > > > > > is there right now.
> > > > >
> > > > > Kip:
> > > > >
> > > > > Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set
> > > > > up a Xen box for internal use with Debian and FreeBSD on it, and I'm
> > > > > hoping to get FreeBSD 5.3 on there. Also, were you able to figure out
> > > > > the blocking stuff in the scheduling code?
> > > > >
> > > > > --
> > > > > Derrik Pates
> > > > > demon@devrandom.net
> > > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> > > > Tool for open source databases. Create drag-&-drop reports. Save time
> > > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > > > _______________________________________________
> > > > Xen-devel mailing list
> > > > Xen-devel@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/xen-devel
> > >
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: Where to get FreeBSD port for Xen
  2005-01-25  3:05           ` Hidetoshi Shimokawa
  2005-01-25  4:09             ` Kip Macy
@ 2005-01-25  4:40             ` Kip Macy
  1 sibling, 0 replies; 27+ messages in thread
From: Kip Macy @ 2005-01-25  4:40 UTC (permalink / raw)
  To: Hidetoshi Shimokawa; +Cc: xen-devel

take a look at:
http://www.fsmware.com/xenofreebsd/gdb/
The gdbserver was built on FC2. If that doesn't work I'll post the
source.

				-Kip


On Tue, 25 Jan 2005, Hidetoshi Shimokawa wrote:

> I have experianced strange lockups sometimes.
> In that case, 'xm list' shows no state for freebsd.
> (usually it is blocked)
>
> Name              Id  Mem(MB)  CPU  State  Time(s)  Console
> Domain-0           0       59    0  r----    990.1
> freebsd.sample     2       64    0  -----    547.6    9602
>
> I'd like to analyze this problem using debugger.
> I found gdbserver binary in your web site but it seems old and
> to require old libraries. Can I get the gdbserver source?
>
> Thanks,
>
> /\ Hidetoshi Shimokawa
> \/  simokawa@FreeBSD.org
>
>
> At Mon, 24 Jan 2005 13:29:38 -0800 (PST),
> Kip Macy wrote:
> >
> > Thanks for patch and the heads up on the successful boot.
> >
> > I'll apply the patch and update the posted tarball and kernel tonight.
> >
> >
> >
> > 					-Kip
> >
> > On Mon, 24 Jan 2005, Hidetoshi Shimokawa wrote:
> >
> > > Thank you very much for your work, Kip.
> > >
> > > I successfully booted xenofreebsd from your source.
> > > The following patch(obtained from NetBSD) seems to
> > > fix the scheduling problem.
> > >
> > > /\ Hidetoshi Shimokawa
> > > \/  simokawa@FreeBSD.org
> > >
> > > diff -u -r /home/simokawa/xen/i386-xeno/i386-xeno/clock.c i386-xeno/i386-xeno/clock.c
> > > --- /home/simokawa/xen/i386-xeno/i386-xeno/clock.c	Mon Jan 24 10:36:19 2005
> > > +++ i386-xeno/i386-xeno/clock.c	Mon Jan 24 16:58:31 2005
> > > @@ -502,3 +502,10 @@
> > >  	/* our adjusted time offset in microseconds */
> > >  	return edx;
> > >  }
> > > +
> > > +void
> > > +idle_block(void)
> > > +{
> > > +	if (HYPERVISOR_set_timer_op(processed_system_time + NS_PER_TICK) == 0)
> > > +		HYPERVISOR_block();
> > > +}
> > > diff -u -r /home/simokawa/xen/i386-xeno/i386-xeno/machdep.c i386-xeno/i386-xeno/machdep.c
> > > --- /home/simokawa/xen/i386-xeno/i386-xeno/machdep.c	Mon Jan 24 10:36:19 2005
> > > +++ i386-xeno/i386-xeno/machdep.c	Mon Jan 24 17:50:25 2005
> > > @@ -140,6 +140,7 @@
> > >  #include <machine/hypervisor.h>
> > >  #include <machine/xenfunc.h>
> > >  #include <machine/xenvar.h>
> > > +#include <machine/xen_intr.h>
> > >
> > >  void Xhypervisor_callback(void);
> > >  void failsafe_callback(void);
> > > @@ -903,8 +904,13 @@
> > >  	 */
> > >  	__asm __volatile("sti; hlt");
> > >  #endif
> > > +#if 0
> > >  	enable_intr();
> > >  	HYPERVISOR_yield();
> > > +#else
> > > +	idle_block();
> > > +	enable_intr();
> > > +#endif
> > >  }
> > >
> > >  /*
> > > diff -u -r /home/simokawa/xen/i386-xeno/include/xen_intr.h i386-xeno/include/xen_intr.h
> > > --- /home/simokawa/xen/i386-xeno/include/xen_intr.h	Mon Jan 24 10:36:19 2005
> > > +++ i386-xeno/include/xen_intr.h	Mon Jan 24 17:48:55 2005
> > > @@ -44,6 +44,7 @@
> > >  extern void irq_suspend(void);
> > >  extern void irq_resume(void);
> > >
> > > +extern void idle_block(void);
> > >
> > >
> > >  #endif /* _XEN_INTR_H_ */
> > >
> > >
> > > At Sun, 23 Jan 2005 18:25:25 -0800 (PST),
> > > Kip Macy wrote:
> > > >
> > > > For those interested I've uploaded a source tarball and copied in
> > > > updated directions.
> > > >
> > > >
> > > > 					-Kip
> > > >
> > > >
> > > >
> > > > On Sun, 23 Jan 2005, Derrik Pates wrote:
> > > >
> > > > > Kip Macy wrote:
> > > > > > It looks like apache had gone out to lunch. I just restarted it and it
> > > > > > is accessible again. If you wait a day I'll have 5.3 up. 5.2.1 is what
> > > > > > is there right now.
> > > > >
> > > > > Kip:
> > > > >
> > > > > Any luck with that FreeBSD 5.3 kernel? Our network engineer wants to set
> > > > > up a Xen box for internal use with Debian and FreeBSD on it, and I'm
> > > > > hoping to get FreeBSD 5.3 on there. Also, were you able to figure out
> > > > > the blocking stuff in the scheduling code?
> > > > >
> > > > > --
> > > > > Derrik Pates
> > > > > demon@devrandom.net
> > > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> > > > Tool for open source databases. Create drag-&-drop reports. Save time
> > > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > > > _______________________________________________
> > > > Xen-devel mailing list
> > > > Xen-devel@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/xen-devel
> > >
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: Re: OpenBSD port for Xen
  2005-01-25  0:38                     ` Kip Macy
  2005-01-25  1:02                       ` Dave Feustel
@ 2005-01-25 22:04                       ` Scott Parish
  1 sibling, 0 replies; 27+ messages in thread
From: Scott Parish @ 2005-01-25 22:04 UTC (permalink / raw)
  To: xen-devel

Looked briefly: openbsd and netbsd have already diverged enough that
applying patches from netbsd xen wasn't going to be quite trivial.

sRp

On Mon, Jan 24, 2005 at 04:38:45PM -0800, Kip Macy wrote:

> It is a chunk of work. You have to heavily modify pmap.c, replace all
> privileged operations with the corresponding xen operations, and port
> over the clock, block, and network device drivers.
> 
> On Mon, 24 Jan 2005, Dave Feustel wrote:
> 
> > Is there any chance of this or should I just wait for
> > Intel's Vanderpool or AMD's equivalent?
> >
> 

-- 
Scott Parish



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2005-01-25 22:04 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200501191606.22899.mparem@cisco.com>
2005-01-19 23:18 ` Where to get FreeBSD port for Xen Kip Macy
2005-01-20 17:00   ` Mikhail V.Paremski
2005-01-20 21:52     ` Kip Macy
2005-01-21  0:18       ` David Rhodus
2005-01-21 22:23         ` Kip Macy
2005-01-24  0:39   ` Derrik Pates
2005-01-24  0:44     ` Kip Macy
2005-01-24  1:31     ` Kip Macy
2005-01-24  5:04       ` Derrik Pates
2005-01-24  6:15         ` Kip Macy
2005-01-24  6:18           ` Derrik Pates
2005-01-24  6:47             ` Kip Macy
2005-01-24 22:57               ` Derrik Pates
2005-01-24 23:03                 ` Kip Macy
2005-01-24 23:50                 ` Kip Macy
2005-01-25  0:27                   ` OpenBSD " Dave Feustel
2005-01-25  0:38                     ` Kip Macy
2005-01-25  1:02                       ` Dave Feustel
2005-01-25  1:05                         ` Kip Macy
2005-01-25 22:04                       ` Scott Parish
2005-01-25  0:53                   ` Re: Where to get FreeBSD " Derrik Pates
2005-01-24  2:25     ` Kip Macy
2005-01-24  9:01       ` Hidetoshi Shimokawa
2005-01-24 21:29         ` Kip Macy
2005-01-25  3:05           ` Hidetoshi Shimokawa
2005-01-25  4:09             ` Kip Macy
2005-01-25  4:40             ` Kip Macy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.