|
List Info
Thread: Xen3/NetBSD dom0 progress
|
|
| Xen3/NetBSD dom0 progress |

|
2006-05-07 22:01:58 |
Hi,
this evening I booted a netbsd-INSTALL_XEN3_U kernel into
sysinst from
a XEN3_0 kernel. The missing bits are now "just"
the block and network
backend drivers, and this shouldn't be the harder part (oh,
and once this is
done, we'll have PCI support in domU, suspend/resume,
x86_64 support, etc ...
to keep me busy
I have a package for xentools30, which I've not commited
yet.
I'll let it stabilize a bit before commit, but if anyone
wants a copy
just ask.
--
Manuel Bouyer <bouyer antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la
difference
--
|
|
| Xen3/NetBSD dom0 progress |

|
2006-05-07 22:04:43 |
On Mon, 8 May 2006 00:01:58 +0200
Manuel Bouyer <bouyer antioche.eu.org> wrote:
> Hi,
> this evening I booted a netbsd-INSTALL_XEN3_U kernel
into sysinst from
> a XEN3_0 kernel. The missing bits are now
"just" the block and network
> backend drivers, and this shouldn't be the harder part
(oh, and once this is
> done, we'll have PCI support in domU, suspend/resume,
x86_64 support, etc ...
> to keep me busy
>
> I have a package for xentools30, which I've not
commited yet.
> I'll let it stabilize a bit before commit, but if
anyone wants a copy
> just ask.
Manuel, please put it somewhere and we'll try to fix
build/install problems
(if there's any).
Thanks for your work!
|
|
| Xen3/NetBSD dom0 progress |

|
2006-05-07 22:04:43 |
On Mon, 8 May 2006 00:01:58 +0200
Manuel Bouyer <bouyer antioche.eu.org> wrote:
> Hi,
> this evening I booted a netbsd-INSTALL_XEN3_U kernel
into sysinst from
> a XEN3_0 kernel. The missing bits are now
"just" the block and network
> backend drivers, and this shouldn't be the harder part
(oh, and once this is
> done, we'll have PCI support in domU, suspend/resume,
x86_64 support, etc ...
> to keep me busy
>
> I have a package for xentools30, which I've not
commited yet.
> I'll let it stabilize a bit before commit, but if
anyone wants a copy
> just ask.
Manuel, please put it somewhere and we'll try to fix
build/install problems
(if there's any).
Thanks for your work!
|
|
| Xen3/NetBSD dom0 progress |

|
2006-05-07 22:22:53 |
On Mon, May 08, 2006 at 12:04:43AM +0200, Juan RP wrote:
> On Mon, 8 May 2006 00:01:58 +0200
> Manuel Bouyer <bouyer antioche.eu.org> wrote:
>
> > Hi,
> > this evening I booted a netbsd-INSTALL_XEN3_U
kernel into sysinst from
> > a XEN3_0 kernel. The missing bits are now
"just" the block and network
> > backend drivers, and this shouldn't be the harder
part (oh, and once this is
> > done, we'll have PCI support in domU,
suspend/resume, x86_64 support, etc ...
> > to keep me busy
> >
> > I have a package for xentools30, which I've not
commited yet.
> > I'll let it stabilize a bit before commit, but if
anyone wants a copy
> > just ask.
>
> Manuel, please put it somewhere
OK: ftp://asim.lip6.fr/outgoing/xentools30.tgz
> and we'll try to fix build/install problems
> (if there's any).
There shouldn't be much, it install and deinstall cleanly
(but I'd appreciate
a review, though . But it
may need more patches to properly support NetBSD
dom0 (there's already 55, sigh :(
--
Manuel Bouyer <bouyer antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la
difference
--
|
|
| Xen3/NetBSD dom0 progress |

|
2006-05-07 22:22:53 |
On Mon, May 08, 2006 at 12:04:43AM +0200, Juan RP wrote:
> On Mon, 8 May 2006 00:01:58 +0200
> Manuel Bouyer <bouyer antioche.eu.org> wrote:
>
> > Hi,
> > this evening I booted a netbsd-INSTALL_XEN3_U
kernel into sysinst from
> > a XEN3_0 kernel. The missing bits are now
"just" the block and network
> > backend drivers, and this shouldn't be the harder
part (oh, and once this is
> > done, we'll have PCI support in domU,
suspend/resume, x86_64 support, etc ...
> > to keep me busy
> >
> > I have a package for xentools30, which I've not
commited yet.
> > I'll let it stabilize a bit before commit, but if
anyone wants a copy
> > just ask.
>
> Manuel, please put it somewhere
OK: ftp://asim.lip6.fr/outgoing/xentools30.tgz
> and we'll try to fix build/install problems
> (if there's any).
There shouldn't be much, it install and deinstall cleanly
(but I'd appreciate
a review, though . But it
may need more patches to properly support NetBSD
dom0 (there's already 55, sigh :(
--
Manuel Bouyer <bouyer antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la
difference
--
|
|
| Xen3/NetBSD dom0 progress |

|
2006-05-08 02:37:38 |
Hello.
Thank you for your work.
Manuel Bouyer wrote:
>>> I have a package for xentools30, which I've
not commited yet.
>>> I'll let it stabilize a bit before commit, but
if anyone wants a copy
>>> just ask.
>> Manuel, please put it somewhere
>
> OK: ftp://asim.lip6.fr/outgoing/xentools30.tgz
I tried to make it.
># make install
[snip]
>===> Registering installation for xentools30-3.0.2.2
>xentools30-3.0.2.2 requires installed package
python24-2.4.3nb2
>/usr/pkg/bin/cpuperf-xen: -lxenctrl.3.0 => not
found
>*** The above programs/libs will not find the listed
shared libraries
> at runtime. Please fix the package (add
-Wl,-R.../lib in the right places)!
>*** Error code 1
I think that the following patch will fix this problem.
(It contains codes to fix some pkglint errors.)
Regards,
--
Yoshito Komatsu <ykomatsu akaumigame.org>
diff -uNr xentools30.orig/Makefile xentools30/Makefile
--- xentools30.orig/Makefile 2006-05-08 09:38:49.000000000
+0900
+++ xentools30/Makefile 2006-05-08 10:02:14.000000000 +0900
 -23,7
+23,7 
WRKSRC= $/xen-3.0.2-2/tools
EGDIR= $/share/examples/xen
-MESSAGE_SUBST= EGDIR=$
+MESSAGE_SUBST+= EGDIR=$
USE_TOOLS+= gmake
MAKE_ENV+= EGDIR=${EGDIR:Q}
 -57,7
+57,7 
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= ioemu/vl.c
SUBST_SED.paths= -e
"s|/usr/sbin|$/sbin|g"
-SUBST_MESSAGE.paths= "Fixing hardcoded
paths."
+SUBST_MESSAGE.paths= Fixing hardcoded paths.
SUBST_STAGE.py= pre-configure
SUBST_FILES.py= pygrub/Makefile
 -139,7
+139,7 
.for s in $
$ $/examples/$ $/$
.endfor
- rm
-rf $/lib/xen
+ $ -rf $/lib/xen
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
diff -uNr xentools30.orig/PLIST xentools30/PLIST
--- xentools30.orig/PLIST 2006-05-08 09:38:49.000000000
+0900
+++ xentools30/PLIST 2006-05-08 09:41:20.000000000 +0900
 -244,8
+244,6 
share/examples/xen/xmexample1
share/examples/xen/xmexample2
share/examples/xen/xmexample3
-
-
dirrm share/examples/xen
dirrm $/xen/xm/tests
dirrm $/xen/xm
diff -uNr xentools30.orig/distinfo xentools30/distinfo
--- xentools30.orig/distinfo 2006-05-08 09:38:49.000000000
+0900
+++ xentools30/distinfo 2006-05-08 10:42:34.000000000 +0900
 -25,7
+25,7 
SHA1 (patch-au) = a992f922bdd2966c42e71202bb0499b2fbaec5c9
SHA1 (patch-av) = feb46154a7ff886a480f4089304c29189e4e5f15
SHA1 (patch-aw) = 92107acf79bcd65330f279d409e8318f7f2f88c5
-SHA1 (patch-ax) = bfb0446c02f72fcff863dd4afd373848ea6038c5
+SHA1 (patch-ax) = bba82ce8f8dcae534241525711ad24c7828cb64c
SHA1 (patch-ay) = d731e9b53a4d4e47bf254d35578cf0267f124b8d
SHA1 (patch-az) = 5bb357f715f1244b080929cd8bec3bd3b9993cc8
SHA1 (patch-ba) = e82485eecbc1d7686193df960f136b7357f7a26a
diff -uNr xentools30.orig/patches/patch-ax
xentools30/patches/patch-ax
--- xentools30.orig/patches/patch-ax 2006-05-08
09:38:49.000000000 +0900
+++ xentools30/patches/patch-ax 2006-05-08
10:40:22.000000000 +0900
 -1,8
+1,15 
$NetBSD$
---- misc/cpuperf/Makefile.orig 2006-01-31
17:09:21.000000000 +0100
+--- misc/cpuperf/Makefile.orig 2006-04-14
02:48:38.000000000 +0900
+++ misc/cpuperf/Makefile
- -44,5 +44,5  cpuperf-perfcntr: cpuperf.c $(HDRS) Make
+ -36,5 +36,5  clean:
+
+ cpuperf-xen: cpuperf.c $(HDRS) Makefile
+- $(CC) $(CFLAGS) -I $(XEN_LIBXC) -L$(XEN_LIBXC) -lxenctrl
-DXENO -o $ $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -I$(XEN_LIBXC) -L$(XEN_LIBXC)
-lxenctrl -DXENO -o $ $<
+
+ cpuperf-perfcntr: cpuperf.c $(HDRS) Makefile
+ -42,5 +42,5  cpuperf-perfcntr: cpuperf.c $(HDRS) Make
install: all
- $(INSTALL_PROG) $(INSTALL_BIN) $(DESTDIR)/usr/bin
|
|
| Xen3/NetBSD dom0 progress |

|
2006-05-08 04:44:31 |
> OK: ftp://asim.lip6.fr/outgoing/xentools30.tgz
What about importing this into pkgsrc-wip?
Martti
|
|
| Xen3/NetBSD dom0 progress |

|
2006-05-08 04:44:31 |
> OK: ftp://asim.lip6.fr/outgoing/xentools30.tgz
What about importing this into pkgsrc-wip?
Martti
|
|
| Xen3/NetBSD dom0 progress |

|
2006-05-08 02:37:38 |
Hello.
Thank you for your work.
Manuel Bouyer wrote:
>>> I have a package for xentools30, which I've
not commited yet.
>>> I'll let it stabilize a bit before commit, but
if anyone wants a copy
>>> just ask.
>> Manuel, please put it somewhere
>
> OK: ftp://asim.lip6.fr/outgoing/xentools30.tgz
I tried to make it.
># make install
[snip]
>===> Registering installation for xentools30-3.0.2.2
>xentools30-3.0.2.2 requires installed package
python24-2.4.3nb2
>/usr/pkg/bin/cpuperf-xen: -lxenctrl.3.0 => not
found
>*** The above programs/libs will not find the listed
shared libraries
> at runtime. Please fix the package (add
-Wl,-R.../lib in the right places)!
>*** Error code 1
I think that the following patch will fix this problem.
(It contains codes to fix some pkglint errors.)
Regards,
--
Yoshito Komatsu <ykomatsu akaumigame.org>
diff -uNr xentools30.orig/Makefile xentools30/Makefile
--- xentools30.orig/Makefile 2006-05-08 09:38:49.000000000
+0900
+++ xentools30/Makefile 2006-05-08 10:02:14.000000000 +0900
 -23,7
+23,7 
WRKSRC= $/xen-3.0.2-2/tools
EGDIR= $/share/examples/xen
-MESSAGE_SUBST= EGDIR=$
+MESSAGE_SUBST+= EGDIR=$
USE_TOOLS+= gmake
MAKE_ENV+= EGDIR=${EGDIR:Q}
 -57,7
+57,7 
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= ioemu/vl.c
SUBST_SED.paths= -e
"s|/usr/sbin|$/sbin|g"
-SUBST_MESSAGE.paths= "Fixing hardcoded
paths."
+SUBST_MESSAGE.paths= Fixing hardcoded paths.
SUBST_STAGE.py= pre-configure
SUBST_FILES.py= pygrub/Makefile
 -139,7
+139,7 
.for s in $
$ $/examples/$ $/$
.endfor
- rm
-rf $/lib/xen
+ $ -rf $/lib/xen
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
diff -uNr xentools30.orig/PLIST xentools30/PLIST
--- xentools30.orig/PLIST 2006-05-08 09:38:49.000000000
+0900
+++ xentools30/PLIST 2006-05-08 09:41:20.000000000 +0900
 -244,8
+244,6 
share/examples/xen/xmexample1
share/examples/xen/xmexample2
share/examples/xen/xmexample3
-
-
dirrm share/examples/xen
dirrm $/xen/xm/tests
dirrm $/xen/xm
diff -uNr xentools30.orig/distinfo xentools30/distinfo
--- xentools30.orig/distinfo 2006-05-08 09:38:49.000000000
+0900
+++ xentools30/distinfo 2006-05-08 10:42:34.000000000 +0900
 -25,7
+25,7 
SHA1 (patch-au) = a992f922bdd2966c42e71202bb0499b2fbaec5c9
SHA1 (patch-av) = feb46154a7ff886a480f4089304c29189e4e5f15
SHA1 (patch-aw) = 92107acf79bcd65330f279d409e8318f7f2f88c5
-SHA1 (patch-ax) = bfb0446c02f72fcff863dd4afd373848ea6038c5
+SHA1 (patch-ax) = bba82ce8f8dcae534241525711ad24c7828cb64c
SHA1 (patch-ay) = d731e9b53a4d4e47bf254d35578cf0267f124b8d
SHA1 (patch-az) = 5bb357f715f1244b080929cd8bec3bd3b9993cc8
SHA1 (patch-ba) = e82485eecbc1d7686193df960f136b7357f7a26a
diff -uNr xentools30.orig/patches/patch-ax
xentools30/patches/patch-ax
--- xentools30.orig/patches/patch-ax 2006-05-08
09:38:49.000000000 +0900
+++ xentools30/patches/patch-ax 2006-05-08
10:40:22.000000000 +0900
 -1,8
+1,15 
$NetBSD$
---- misc/cpuperf/Makefile.orig 2006-01-31
17:09:21.000000000 +0100
+--- misc/cpuperf/Makefile.orig 2006-04-14
02:48:38.000000000 +0900
+++ misc/cpuperf/Makefile
- -44,5 +44,5  cpuperf-perfcntr: cpuperf.c $(HDRS) Make
+ -36,5 +36,5  clean:
+
+ cpuperf-xen: cpuperf.c $(HDRS) Makefile
+- $(CC) $(CFLAGS) -I $(XEN_LIBXC) -L$(XEN_LIBXC) -lxenctrl
-DXENO -o $ $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -I$(XEN_LIBXC) -L$(XEN_LIBXC)
-lxenctrl -DXENO -o $ $<
+
+ cpuperf-perfcntr: cpuperf.c $(HDRS) Makefile
+ -42,5 +42,5  cpuperf-perfcntr: cpuperf.c $(HDRS) Make
install: all
- $(INSTALL_PROG) $(INSTALL_BIN) $(DESTDIR)/usr/bin
|
|
[1-9]
|
|