From: Kip Macy <kmacy@fsmware.com>
To: Hidetoshi Shimokawa <simokawa@FreeBSD.org>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: Re: Where to get FreeBSD port for Xen
Date: Mon, 24 Jan 2005 20:40:58 -0800 (PST) [thread overview]
Message-ID: <20050124203849.J26130@demos.bsdclusters.com> (raw)
In-Reply-To: <86u0p6us1p.wl@maru5.nunu.org>
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
prev parent reply other threads:[~2005-01-25 4:40 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050124203849.J26130@demos.bsdclusters.com \
--to=kmacy@fsmware.com \
--cc=simokawa@FreeBSD.org \
--cc=xen-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.