Summary: | app-emulation/xen[-tools]-4.1.1: switch back from xl to xm | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sven <sven.koehler> |
Component: | New packages | Assignee: | Gentoo Xen Devs <xen> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=365453 https://bugs.gentoo.org/show_bug.cgi?id=380343 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sven
2011-08-01 12:37:15 UTC
(repost of original comment, but with most language mistakes fixed) So here's a clear mistake from the /etc/init.d/xend script: It uses the command "xl shutdown --all --wait". This command is not supported. xl complains that the options "-", "a", "l", etc. are not supported. "xm shutdown --all --wait" works fine though. Shutting down the domain before a reboot is pretty essential. Second, the /etc/init.d/xendomains script swiched from xm to xl. But xl can't start any of my domains while xm works just fine. xl seems to have serious troubles with my config files. My config file is as simple as this: (see initial comment) First xl complains that it cannot stat md2. So I changed "phy:md2" to "phy:/dev/md2" and xl can apperently stat that. However, now xl was returning another error. xm works just fine with the very same config file. I don't think that xl is ready yet. I should probably report those errors on the xen mailing list. But I'd like to see init.d scripts based on the more solid xm instead of the problematic xl. as far as I can tell the init scripts are installed & replaced by the source package. That is by all appearances an upstream issue, not a local one (In reply to comment #2) > as far as I can tell the init scripts are installed & replaced by the source > package. That is by all appearances an upstream issue, not a local one The init.d scripts are gentoo specific: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/ But xl can't start any of my domains while xm works just fine. xl seems to have serious troubles with my config files. I just figure it out. And it wasn't easy since xl appears to have no documentation. Here is the culprit /etc/xen/xl.conf It has 3 settings, all of which by default are commented out. The plan is to rewrite the scripts towards fitting xl, not reverting to xm. UNCOMMENT THE SETTINGS AND TRY AGAIN. "xl shutdown --all --wait" doesn't work, no matter whether the settings in /etc/xen/xl.conf are commented or not. You shouldn't close this bug unless the init script has been fixed. (I'm afraid, xl doesn't support anything similar to xm shutdown --all --wait yet.) xl cannot handle the config file I posted in the initial comment (cannot stat md2) no matter whether the settings in /etc/xen/xl.conf are commented or not. I'd really love to know how to resolve that. I will ask on the xen mailing lists, why that is failing. I will report back, whether this is a bug in xl or not. (However, not sure why you want to continue moving towards buggy xl instead of keeping stable xm). Didn't notice the links to the other bugs report. Will close this bug again. sven; perhaps I rushed closing it, but today I now re-write the init scripts. I only added the links yesterday . However, not sure why you want to continue moving towards buggy xl instead of keeping stable xm. Decision made by one higher, mainly looking to the future seeing xl to superceede xm. |