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

[Xen-devel] Porting 2.0.7 to newer linux kernel

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Porting 2.0.7 to newer linux kernel
From: Michal Ludvig <michal@xxxxxxxx>
Date: Tue, 28 Feb 2006 23:24:19 +1300
Delivery-date: Tue, 28 Feb 2006 16:57:53 +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
User-agent: Thunderbird 1.5 (X11/20051201)
Hi there,

I'm trying to port Xen 2.0.7 to a more recent kernels than the last supported 2.6.12. Why? Because my server is far far away and I'm not going to remotely upgrade Xen 2.0 to Xen 3.0 and then fly over there to fix it. And after all it's a good coding excercise ;-)

Anyway, going in small steps, thus doing 2.6.13 first. After half a day of work it finally compiles but an attempt to create domain with this kernel ends up with "Error: Error creating domain: (0, 'Error')" and the domain is still present in xm list:

# xm create -c bobek-x2
Using config file "bobek-x2".
Error: Error creating domain: (0, 'Error')
# xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      251    0  r----    145.4
Domain-2           2      128    0  --p--      0.0

Where can I get more info on what goes wrong? Can I run the kernel or hypervisor in some verbose or debug mode? So far I only got some info from xm log, but not too useful:

[2006-02-28 23:14:35 xend] DEBUG (XendDomainInfo:720) init_domain> Created domain=2 name=bobek-x2 memory=128 [2006-02-28 23:14:35 xend] INFO (console:94) Created console id=12 domain=2 port=9602 [2006-02-28 23:14:36 xend] ERROR (SrvBase:162) op=create: Error creating domain: (0, 'Error')
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvBase.py", line 107, in _perform
    val = op_method(op, req)
File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDomainDir.py", line 71, in op_create
    raise XendError("Error creating domain: " + str(ex))
XendError: Error creating domain: (0, 'Error')
[2006-02-28 23:14:36 xend] INFO (XendRoot:116) EVENT> xend.console.create [12, 2, 9602] [2006-02-28 23:14:52 xend] INFO (XendRoot:116) EVENT> xend.domain.create ['Domain-2', '2']

Thanks for any hints!

Michal Ludvig

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Porting 2.0.7 to newer linux kernel, Michal Ludvig <=