Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xen 4.5.0 packages available



I've updated my NetBSD recently from 6.1.5 to 7.0_BETA and I decide giving this a shot (btw thanks for the work Manuel)

The patch for the MAP_ANONMOUS define is also needed in 7.0 BETA ofc, and all installed well

However trying to start a (freebsd hvm) domain that was working fine on xen42 gives me this error:

libxl: error: libxl_dm.c:1482:device_model_spawn_outcome: domain 8 device model: spawn failed (rc=-3)
libxl: error: libxl_create.c:1319:domcreate_devmodel_started: device model did not start: -3
libxl: error: libxl_dm.c:1586:kill_device_model: Device Model already exited


Any idea why?

Thanks


Melhores Cumprimentos // Best Regards
-----------------------------------------------
Miguel Clara
IT - Sys Admin & Developer
E-mail:    miguelmclara%gmail.com@localhost
         www.linkedin.com/in/miguelmclara/

On Wed, Jan 21, 2015 at 9:50 PM, Eric Schnoebelen <schnoebe%netbsd.org@localhost> wrote:
Manuel Bouyer writes:
- I just added xen{kernel,tools}45 packages to pkgsrc, for Xen 4.5.0
- I quickly tested NetBSD PV guests, and NetBSD and WinXP PV guests, at
- last booted, disk and network works.

Yay,  I'd been working on 4.4 (starting just before 4.5
released, apparently) but hadn't made sufficient progress.

I've installed  the 4.5 packages on a NetBSD/amd64 7.99.4 host,
and needed to modify
patches/patch-qemu-xen-traditional_configure to conditionalize
the alias of MAP_ANONYMOUS to MAP_ANON (since <sys/mman.h> on
-current now includes such an alias)

Attached is the updated patch file (complete with comments to
quiet pkglint. :D)

- More tests is welcome, of course :)

I'm spinning up a couple of guests now to see how it goes..

--
Eric Schnoebelen                eric%cirr.com@localhost           http://www.cirr.com
    "I am sorry to say that at the moment I am so busy as to be convinced
    that life has no meaning what so ever" -- Bertrand Russell, June 1931

$NetBSD$

Don't build documents.

Change the man page prefix for pkgsrc.

Define various pkgsrc centric install macros.

Only conditionally define MAP_ANONYMOUS (on NetBSD 7.99.*, MAP_ANONYMOUS
is aliased to MAP_ANON.)

--- qemu-xen-traditional/configure.orig 2014-10-06 15:50:24.000000000 +0000
+++ qemu-xen-traditional/configure
@@ -1089,7 +1089,7 @@ fi
 # Check if tools are available to build documentation.
 if [ -x "`which texi2html 2>/dev/null`" ] && \
    [ -x "`which pod2man 2>/dev/null`" ]; then
-  build_docs="yes"
+#  build_docs="yes"
 fi

 ##########################################
@@ -1124,7 +1124,7 @@ else
   if test -z "$prefix" ; then
       prefix="/usr/local"
   fi
-  mansuffix="/share/man"
+  mansuffix="/man"
   datasuffix="/share/qemu"
   docsuffix="/share/doc/qemu"
   binsuffix="/bin"
@@ -1216,6 +1216,8 @@ echo "#define CONFIG_QEMU_SHAREDIR \"$pr
 echo "MAKE=$make" >> $config_mak
 echo "INSTALL=$install" >> $config_mak
 echo "INSTALL_PROG=$install -m 0755" >> $config_mak
+echo "INSTALL_DATA=$install -m0644" >> $config_mak
+echo "INSTALL_DIR=$install -d -m0755 -p" >> $config_mak
 echo "CC=$cc" >> $config_mak
 echo "HOST_CC=$host_cc" >> $config_mak
 echo "AR=$ar" >> $config_mak
@@ -1493,7 +1495,9 @@ fi
 # XXX: suppress that
 if [ "$bsd" = "yes" ] ; then
   echo "#define O_LARGEFILE 0" >> $config_h
+  echo "#if !defined(MAP_ANONYMOUS)" >> $config_h
   echo "#define MAP_ANONYMOUS MAP_ANON" >> $config_h
+  echo "#endif /* !defined(MAP_ANONYMOUS) */" >> $config_h
   echo "#define _BSD 1" >> $config_h
 fi





Home | Main Index | Thread Index | Old Index