Suggestion below has been used to load Dom0 via grub entry:
menuentry "Xen 3.4 / Ubuntu 9.10 kernel 2.6.31" { insmod ext2 set root=(hd0,13) multiboot (hd0,13)/xen-3.4.gz module (hd0,13)/vmlinuz-2.6.31 module (hd0,13)/initrd-2.6.31.img }
Dom0 was loaded OK. However, /etc/init.d/xend start generates xend.log :-
[2009-09-12 17:57:48 3372] INFO (SrvDaemon:336) Xend changeset: unavailable. [2009-09-12 17:57:49 3372] ERROR (SrvDaemon:349) Exception starting xend ((111, 'Connection refused')) Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 341, in run servers = SrvServer.create() File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py", line 251, in create
root.putChild('xend', SrvRoot()) File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ self.get(name) File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 84, in get val = val..getobj() File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvNode.py", line 30, in __init__ self.xn = XendNode.instance() File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 949, in instance inst.save() File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 484, in save self.save_networks() File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 499, in
save_networks for network_uuid in XendNetwork.get_all()]) File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendBase.py", line 102, in get_record for key in keys]) File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNetwork.py", line 196, in get_VIFs vms = XendDomain.instance().get_all_vms() File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line 1736, in instance inst.init() File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line 113, in init xstransact.Mkdir(XS_VMROOT) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 355, in Mkdir complete(path, lambda t: t.mkdir(*args)) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 361, in
complete t = xstransact(path) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 29, in __init__ self.transaction = xshandle().transaction_start() File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xsutil.py", line 18, in xshandle xs_handle = xen.lowlevel.xs.xs() Error: (111, 'Connection refused') [2009-09-12 17:57:49 3371] INFO (SrvDaemon:220) Xend exited with status 1.
Boris.
--- On Fri, 9/11/09, Keir Fraser <keir.fraser@xxxxxxxxxxxxxx> wrote:
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx> Subject: Re: [Xen-devel] How to build xen.gz with static built-in command line dom0_mem=1024M ? To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>,
"xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> Date: Friday, September 11, 2009, 7:30 AM
There is no supported way, as we expect to have a sane bootloader that can parse boot args. If youw ant to hack it in, edit the line 'cmdline = cmdline_cook(...' in arch/x86/setup.c to read 'cmdline = "my args go here";' instead. -- Keir On 11/09/2009 10:00, "Boris Derzhavets" < bderzhavets@xxxxxxxxx> wrote: > > > > > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxhttp://lists.xensource.com/xen-devel
|
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|