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-users

[Xen-users] Re: debian lenny domU installation

To: Ferenc Wagner <wferi@xxxxxxx>
Subject: [Xen-users] Re: debian lenny domU installation
From: Wei Jiang <talk90091e@xxxxxxxxx>
Date: Tue, 21 Jul 2009 09:30:14 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 20 Jul 2009 18:18:27 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=g+ingzhhMXBIhCniw3BBFJcTspxQUbj7ibcnXBVDj30=; b=IXAd0xaNiQlbAOmTf7gecVjp8b7W6Ypo9SqfDZ6u/esmlEVwUdkevWST1ZM0w9w34T gfKS+tK5G6gSVedi5tEwv4OQMwe2HrWkCMWbSQch9bemFYwcJF3TkBelUOO1PB86DNUi SDgm10KwVfq6QGj6m7mO/Iee/TpZx+DmfJXJE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=H9Y2It98SEvVpYrnVbyCujnl04Llnph4oyH1DeIOc8ebdBwjYdB5SkIeW3TvP0lq9i e8DCbK1fPJTaEK6LTOmMXs3FC/hThRDGJ93caxl0enChHouHwTCsosq86XJvhYzMFfK1 YXa3c1yY2c8wkwG/Rw1wTQZdENRrZLhlUySm8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <878wijbk4r.fsf@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <651850.9240.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <24384542.post@xxxxxxxxxxxxxxx> <87my72c2yp.fsf@xxxxxxxxxxxxx> <20090720030445.GA4513@catbot-desktop> <878wijbk4r.fsf@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Jul 20, 2009 at 02:43:00PM +0200, Ferenc Wagner wrote:
> Wei Jiang <talk90091e@xxxxxxxxx> writes:
> 
> >>> xm create -c xm-debian.cfg install=true
> >>> install-mirror=ftp://ftp.XX.debian.org/debian
> >>>
> >>> I got a kernel BUG
> >>> ---------------------
> >>> Installer: http://people.debian.org/~joeyh/d-i/images/daily
> >> 
> >> You're trying the daily snapshot of the installer, not the official
> >> Lenny one.
> >
> > The offical Lenny has the same problem. Details as below:
> >
> > # xm create -c xm-debian.cfg install=true 
> > install-mirror=ftp://ftp.uk.debian.org/debian
> > Using config file "./xm-debian.cfg".
> > Install Mirror: ftp://ftp.uk.debian.org/debian
> > Install Suite: lenny
> > Installer: 
> > ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images
> >
> > WARNING: Installer kernel and ramdisk are not authenticated.
> >
> > Fetching 
> > ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/vmlinuz
> > Fetching 
> > ftp://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/initrd.gz
> > command line is "debian-installer/exit/always_halt=true -- quiet 
> > console=hvc0"
> > Started domain ExampleDomain
> > [    0.004000] 1 multicall(s) failed: cpu 0
> > [    0.004000] ------------[ cut here ]------------
> > [    0.004000] kernel BUG at arch/x86/xen/multicalls.c:103!
> > [    0.004000] EIP is at xen_mc_flush+0x131/0x13b
> > [    0.004000] EAX: 00000001 EBX: c262ea60 ECX: 00000000 EDX: 00000000
> > [    0.004000] ESI: 00000000 EDI: 00000001 EBP: c262e060 ESP: c0391f78
> > [    0.004000]  DS: e021 ES: e021 FS: 00d8 GS: 0000 SS: e021
> > [    0.004000] Process swapper (pid: 0, ti=c0390000 task=c0361300 
> > task.ti=c0390000)
> > [    0.004000] Stack: 00000000 00381000 00000000 30023001 00000000 c010577d 
> > 3007b000 00000000
> > [    0.004000]        30023001 00000000 30023001 00000000 00000000 c0381000 
> > c011aaa6 c03a77cc
> > [    0.004000]        30023001 00000000 00000020 c0391fe4 00000000 00000000 
> > c03977be c03bbc80
> > [    0.004000] Call Trace:
> > [    0.004000]  [<c010577d>] xen_set_pud_hyper+0x8e/0xa6
> > [    0.004000]  [<c011aaa6>] zap_low_mappings+0x46/0x60
> > [    0.004000]  [<c03a77cc>] mem_init+0x324/0x340
> > [    0.004000]  [<c03977be>] start_kernel+0x22f/0x2d7
> > [    0.004000]  [<c039cd64>] xen_start_kernel+0x276/0x27c
> > [    0.004000]  =======================
> > [    0.004000] Code: 5a 59 31 f6 8d 9d 00 0a 00 00 eb 09 8b 43 04 46 ff 13 
> > 83 c3 08 3b b5 08 0b 00 00 72 ef 85 ff c7 85 08 0b00 00 00 00 00 00 74 04 
> > <0f> 0b eb fe 5b 5b 5e 5f 5d c3 57 89 d7 56 89 c6 53 b8 60 e0 3c
> > [    0.004000] EIP: [<c0104de7>] xen_mc_flush+0x131/0x13b SS:ESP 
> > e021:c0391f78
> > [    0.004000] ---[ end trace 4eaa2a86a8e2da22 ]---
> > [    0.004000] Kernel panic - not syncing: Attempted to kill the idle task!
> 
> That's most interesting.  Precisely what kernel/hypervisor/xen-tools
> version is this?  On what type of machine?  I never had such problems.

My box is run CentOS 5.3 on x86_64, the xen is 3.1.2. I did some
changes from original xm-debian.cfg, which replace the original disk
with a specified file.

[root@jzhu debian]# diff -up xm-debian.cfg.orig xm-debian.cfg
--- xm-debian.cfg.orig  2009-07-02 11:45:20.000000000 +0800
+++ xm-debian.cfg       2009-07-02 11:47:08.000000000 +0800
@@ -72,7 +72,8 @@ vif = ['']
 #
 # NB: Only xvd devices are supported by the kernel in Debian Lenny
 and later.

-disk = ['phy:hda1,xvda,w']
+#disk = ['phy:hda1,xvda,w']
+disk = ['file:/workspace/vms/tvb.img,xvda,w']

 #----------------------------------------------------------------------------
 # Define frame buffer device.


[root@jzhu debian]# cat /etc/redhat-release
CentOS release 5.3 (Final)
[root@jzhu debian]# uname -r -m
2.6.18-128.el5xen x86_64
[root@jzhu debian]# xm info
host                   : mybox
release                : 2.6.18-128.el5xen
version                : #1 SMP Wed Jan 21 11:12:42 EST 2009
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2793
hw_caps                : 
bfebfbff:20100800:00000000:00000180:0000e49d:00000000:00000001
total_memory           : 1015
free_memory            : 0
node_to_cpu            : node0:0-1
xen_major              : 3
xen_minor              : 1
xen_extra              : .2-128.el5
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
cc_compile_by          : mockbuild
cc_compile_domain      : centos.org
cc_compile_date        : Wed Jan 21 10:33:49 EST 2009
xend_config_format     : 2

> -- 
> Feri.

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