Port-xen archive

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

Re: xen 4.5.0 packages available




On Wed, Feb 4, 2015 at 1:48 PM, John Nemeth <jnemeth%cue.bc.ca@localhost> wrote:
On Jan 22,  9:28pm, Miguel Clara wrote:
} On Thu, Jan 22, 2015 at 8:58 PM, Miguel Clara <miguelmclara%gmail.com@localhost> wrote:
}
} > 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
} >
}
} Also, and if relevant:
} # sudo /etc/rc.d/xencommons restart

     You can't restart xenstored (which is part of xencommons) as
it will lose communication with the kernel.  Once xenstored gets
stopped, the only way to make things work again is to reboot dom0.

}-- End of excerpt from Miguel Clara

I think the relevant part there was the error on xendomains restart, but it interesting you mentioned it, cause at this time restarting xencommons is restarting (trying) xenstored... maybe it shouldn't, an instead warn the user that xenstored is not going to be stoped.

FreeBSD init script does that....

maybe this for the stop (using the exact same message I see on a testing freebsd-11 dom0:

 diff -u  xencommons.sh.orig xencommons.sh
--- xencommons.sh.orig  2015-02-04 14:42:55.000000000 +0000
+++ xencommons.sh       2015-02-04 14:53:46.000000000 +0000
@@ -55,12 +55,11 @@
 xen_stop()
 {
        pids=""
-       printf "Stopping xencommons"
+       printf "Stopping xencommons\n"
+       printf "WARNING: Not stopping xenstored, as it cannot be restarted.\n"
 
        rc_pid=$(check_pidfile ${XENCONSOLED_PIDFILE} ${SBINDIR}/xenconsoled)
        pids="$pids $rc_pid"
-       rc_pid=$(check_pidfile ${XENSTORED_PIDFILE} ${SBINDIR}/xenstored)
-       pids="$pids $rc_pid"
 
        kill -${sig_stop:-TERM} $pids
        wait_for_pids $pids

But start also needs to be handled ofc.


Home | Main Index | Thread Index | Old Index