Bug 116893 - yast2 xen modules creates unbootable xen environment
Summary: yast2 xen modules creates unbootable xen environment
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: RC 2
Hardware: x86-64 All
: P5 - None : Normal
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-14 00:09 UTC by Jeff Mahoney
Modified: 2006-02-10 21:52 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
xend.log (10.85 KB, text/plain)
2005-09-14 00:10 UTC, Jeff Mahoney
Details
xend-debug.log (2.14 KB, text/plain)
2005-09-14 00:11 UTC, Jeff Mahoney
Details
y2logs.tgz (155.17 KB, application/x-gtar)
2005-09-14 00:11 UTC, Jeff Mahoney
Details
y2logs after installing xterm (212.16 KB, application/x-gtar)
2005-09-14 14:03 UTC, Jeff Mahoney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Mahoney 2005-09-14 00:09:29 UTC
I must admit I'm somewhat of a newbie to Xen. The Xen entry in grub assigns all
available memory to domain0, which the module complained about. I rebooted with
dom0_mem=256000 to allow other domains some memory.

When I used the yast2 xen module to create an environment, it proceeded in a
manner which i can only assume meant success (there were no errors presented).
When I tried starting the vm with "xm create domain1", the creation appeared to
have succeeded, but domain never actually started.

I'll attach my xend.log and y2logs.tgz
Comment 1 Jeff Mahoney 2005-09-14 00:10:19 UTC
Created attachment 49850 [details]
xend.log
Comment 2 Jeff Mahoney 2005-09-14 00:11:09 UTC
Created attachment 49851 [details]
xend-debug.log
Comment 3 Jeff Mahoney 2005-09-14 00:11:29 UTC
Created attachment 49852 [details]
y2logs.tgz
Comment 4 Ladislav Slezák 2005-09-14 13:22:35 UTC
y2log contain this error message:

xterm command: /usr/bin/xterm -T "XEN - domain1" -e /usr/sbin/xm create -c
/etc/xen/domain1
sh: /usr/bin/xterm: No such file or directory


It seems that xterm package is not installed. Please install xterm package and
try it again. Or you can try to use command '/usr/sbin/xm create -c
/etc/xen/domain1' to start the domain manually from any terminal.

Which package selection did you choose? Or did you manually deselected xterm
package?
Comment 5 Jeff Mahoney 2005-09-14 14:02:22 UTC
I chose "Other->text based system" in the KDE/Gnome/Other graphical selection
window, and then selected "Xen Virtualization", "C/C++ Compiler and Tools", and
"Kernel Development". If there were any dependencies, I allowed them to be met.

When I try "xm create -c /etc/xen/domain1", it starts the domain, but doesn't
give me a console. Instead, it errors with: "xenconsole: xs_get_domain_path():
No such file or directory," with no more information.

After installing xterm, an xterm pops up momentarily during xen setup, but then
disappears. The created domain is likewise unbootable, but for a different
reason: "Error: No kernel specified"

I'll attach the new y2logs
Comment 6 Jeff Mahoney 2005-09-14 14:03:12 UTC
Created attachment 49905 [details]
y2logs after installing xterm
Comment 7 Ralf Müller 2005-10-08 15:47:43 UTC
I have the same problem with SUSE Linux 10.0 final. Is there any progress on this bug?
Comment 8 Charles Coffing 2006-02-10 21:52:08 UTC
Regarding comment #5:  Although it may have appeared to start the domain, it really didn't (as per the xend*.log files).  The loop device was busy; that was probably the problem.  The "no such file or directory" error message is misleading; it comes from xs_talkv() down in xenstore.  So:  what happened is that the domain died, yet something then tried to talk to it via xenstore and of course couldn't find it, hence the later message.

I think this is all fixed now.  Loopback devices are getting properly cleaned up.

Complain if this is still reproducible on a recent SLES 10 beta, otherwise I consider this fixed.......