WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Mini-os on x86_64 Xen

To: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Mini-os on x86_64 Xen
From: "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>
Date: Thu, 16 Feb 2006 16:35:39 -0500
Delivery-date: Thu, 16 Feb 2006 21:48:13 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYxpiKvqqJT7xHVQtGz8G/5tYgpiwA2yGCQAAClyPAALV924A==
Thread-topic: [Xen-devel] Mini-os on x86_64 Xen
Yes, the event handling code is missing. I am also seeing that page
tables are not being built for x86_64. 

This takes me to a few questions about hypercalls. The i386 hypercalls
in minios seem to be working. But they are not using the hypercall_page
as in xenlinux. So when I am updating the hypercalls for x86_64 in
minios should I look into implementing a hypercall_page or should I just
use syscalls?

Thanks,
Aravindh

> -----Original Message-----
> From: Nakajima, Jun [mailto:jun.nakajima@xxxxxxxxx]
> Sent: Wednesday, February 15, 2006 6:04 PM
> To: Puthiyaparambil, Aravindh; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-devel] Mini-os on x86_64 Xen
> 
> It's also missing event handling code. The one used for xenlinux
should
> be helpful.
> 
> Jun
> ---
> Intel Open Source Technology Center
> 
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Puthiyaparambil, Aravindh
> Sent: Wednesday, February 15, 2006 2:46 PM
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-devel] Mini-os on x86_64 Xen
> 
> I found out that the __xen_guest section was not setup correct. That
was
> why minios did not load. Now moving on to really getting to work ;-)
> 
> Aravindh
> 
> > -----Original Message-----
> > From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> > bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Puthiyaparambil, Aravindh
> > Sent: Tuesday, February 14, 2006 3:35 PM
> > To: xen-devel@xxxxxxxxxxxxxxxxxxx
> > Subject: [Xen-devel] Mini-os on x86_64 Xen
> >
> > I am trying to get Mini-os working on x86_64 Xen. I hacked in some
of
> > the x86_64 hypecalls to get it compile and build. But when I try to
> load
> > the mini-os domain I get the following error. Any idea what is going
> on?
> > I have a feeling that something going wrong in xc_linux_build() is
> > returning an error. Is there anything wrong with the elf image
itself?
> >
> > Thanks,
> > Aravindh Puthiyaparambil
> > Unisys, Tredyffrin PA
> > E-Mail:  aravindh.puthiyaparambil@xxxxxxxxxx
> >
> >
> > [2006-02-14 08:39:54 xend.XendDomainInfo] DEBUG (XendDomainInfo:177)
> > XendDomainInfo.create(['vm', ['name', 'Mini-OS'], ['memory', '32'],
> > ['vcpus', '1'], ['image', ['linux', ['kernel',
> > '/root/xen/xen-unstable.hg/extras/mini-os/mini-os.elf']]]])
> > [2006-02-14 08:39:54 xend.XendDomainInfo] DEBUG (XendDomainInfo:283)
> > parseConfig: config is ['vm', ['name', 'Mini-OS'], ['memory', '32'],
> > ['vcpus', '1'], ['image', ['linux', ['kernel',
> > '/root/xen/xen-unstable.hg/extras/mini-os/mini-os.elf']]]]
> > [2006-02-14 08:39:54 xend.XendDomainInfo] DEBUG (XendDomainInfo:379)
> > parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash':
> None,
> > 'on_reboot': None, 'image': ['linux', ['kernel',
> > '/root/xen/xen-unstable.hg/extras/mini-os/mini-os.elf']],
> 'on_poweroff':
> > None, 'cpus': None, 'name': 'Mini-OS', 'backend': [], 'vcpus': 1,
> > 'cpu_weight': None, 'vcpu_avail': None, 'memory': 32, 'device': [],
> > 'bootloader': None, 'cpu': None, 'maxmem': None}
> > [2006-02-14 08:39:54 xend.XendDomainInfo] DEBUG
(XendDomainInfo:1142)
> > XendDomainInfo.construct: None 0
> > [2006-02-14 08:39:54 xend.XendDomainInfo] DEBUG
(XendDomainInfo:1174)
> > XendDomainInfo.initDomain: 1 1.0
> > [2006-02-14 08:39:54 xend] DEBUG (balloon:84) Balloon: free 3695;
need
> > 33; done.
> > [2006-02-14 08:39:54 xend] INFO (image:133) buildDomain os=linux
dom=1
> > vcpus=1
> > [2006-02-14 08:39:54 xend] DEBUG (image:171) dom            = 1
> > [2006-02-14 08:39:54 xend] DEBUG (image:172) image          =
> > /root/xen/xen-unstable.hg/extras/mini-os/mini-os.elf
> > [2006-02-14 08:39:54 xend] DEBUG (image:173) store_evtchn   = 1
> > [2006-02-14 08:39:54 xend] DEBUG (image:174) console_evtchn = 2
> > [2006-02-14 08:39:54 xend] DEBUG (image:175) cmdline        =
> > [2006-02-14 08:39:54 xend] DEBUG (image:176) ramdisk        =
> > [2006-02-14 08:39:54 xend] DEBUG (image:177) vcpus          = 1
> > [2006-02-14 08:39:54 xend.XendDomainInfo] ERROR (XendDomainInfo:189)
> > Domain construction failed
> > Traceback (most recent call last):
> >   File
> >
>
"/root/xen/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/XendDo
> > mainInfo.py", line 182, in create
> >     vm.initDomain()
> >   File
> >
>
"/root/xen/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/XendDo
> > mainInfo.py", line 1203, in initDomain
> >     channel_details = self.image.createImage()
> >   File
> >
>
"/root/xen/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/image.
> > py", line 116, in createImage
> >     return self.createDomain()
> >   File
> >
>
"/root/xen/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/image.
> > py", line 135, in createDomain
> >     result = self.buildDomain()
> >   File
> >
>
"/root/xen/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/image.
> > py", line 184, in buildDomain
> >     ramdisk        = self.ramdisk)
> > error: (0, 'Error')
> > [2006-02-14 08:39:54 xend.XendDomainInfo] DEBUG
(XendDomainInfo:1284)
> > XendDomainInfo.destroy: domid=1
> > [2006-02-14 08:39:54 xend.XendDomainInfo] DEBUG
(XendDomainInfo:1292)
> > XendDomainInfo.destroyDomain(1)
> > [2006-02-14 08:39:54 xend] ERROR (SrvBase:87) Request create failed.
> > Traceback (most recent call last):
> >   File
> >
>
"/root/xen/xen-unstable.hg/dist/install/usr/lib64/python/xen/web/SrvBase
> > .py", line 85, in perform
> >     return op_method(op, req)
> >   File
> >
>
"/root/xen/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/server
> > /SrvDomainDir.py", line 82, in op_create
> >     raise XendError("Error creating domain: " + str(ex))
> > XendError: Error creating domain: (0, 'Error')
> >
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>