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

Re: [Xen-users] HVM Linux DomU doesn't start

To: bderzhavets@xxxxxxxxx
Subject: Re: [Xen-users] HVM Linux DomU doesn't start
From: Fabian Flägel <fabigant@xxxxxxxxxxxxxx>
Date: Thu, 26 Feb 2009 12:58:00 +0100
Cc: XEN Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 26 Feb 2009 03:59:11 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=nGlcSmpior8M1iyVFmhb5hu64X4OYVtM5j3S99beKMQ=; b=wDWbZ7e0iTMo9yHmV4uIKfeQufG6pAzYZdQvrP2jUipkV2DVomLJstuhHTIbmquTb3 LzGs4/nZCVdR2FaY19r0QrtU/ZJpfMG2JlyFLma4JcgVtP/q2Zj0KEXaqFCYzRkyzzKl wv1RpBW1L4WaEZ9IRoPqyfaA/ksUdBSxFbUwo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lP+gT4zMIcMokFJ0PXD/JZ73uypUj2TUbK1E3bvXy0ulFkeNk3Tcp5nVJ8l27Gl1Dl MCpsNvHSuXhe/CuOxWlw5m6AkPMBhPyj8foOkXRyI5KcoBHT19MiSs8cQvpX7g+jx90D Y6ZgdzC5mfJuJz1qkYBgImHHP3t6APqXUeLNQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <723981.37496.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <38600a10902250855n2dbe7050s82bbf137480ef917@xxxxxxxxxxxxxx> <723981.37496.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Boris,

your suggestion worked. We were able to boot an installation CD and it saw the disk and installed. But then we stuck on the same problem again with using the disk-image. We tried the following lines:

#disk=['phy:/dev/loop0,hdc:cdrom,r','phy:/dev/loop1,sda,w'] (worked for installation, but not for boot)
disk=['phy:/dev/loop0,hdc:cdrom,r','file:/var/xen/domains/hvmtest/disk.img,ioemu:hda,w']

No we are stuck again. Tap:aio doesn't work, file: seems to be broken, at least in our installation, if not in ubuntu 8.04 completely.

Any further ideas anyone?

regards,
Fabian



2009/2/25 Boris Derzhavets <bderzhavets@xxxxxxxxx>


--- On Wed, 2/25/09, Fabian Flägel <fabigant@xxxxxxxxxxxxxx> wrote:
From: Fabian Flägel <fabigant@xxxxxxxxxxxxxx>
Subject: [Xen-users] HVM Linux DomU doesn't start
To: "XEN Mailing List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Date: Wednesday, February 25, 2009, 11:55 AM

Hi all,

we are running two servers with Ubuntu 8.04 LTS Server with Xen 3.2 and two dual-core CPUs:

processor    : {0-3}
vendor_id    : AuthenticAMD
cpu family    : 15
model        : 65
model name    : Dual-Core AMD Opteron(tm) Processor 2218 HE
stepping    : 3
cpu MHz        : 2613.394
cache size    : 1024 KB
physical id    : 0
siblings    : 1
core id        : 0
cpu cores    : 1
fpu        : yes
fpu_exception    : yes
cpuid level    : 1
wp        : yes
flags        : fpu de tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips    : 5227.99
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

As we can see, svm is available and hvm should be possible. See also this:
# cat /sys/hypervisor/properties/capabilities
xen-3.0-x86\_64 xen-3.0-x86\_32p hvm-3.0-x86\_32 /
hvm-3.0-x86\_32p hvm-3.0-x86\_64

We are trying to build a HVM Linux with a handmade 2.6.16.5 Kernel which includes some unknown changes. This Kernel is a requirement and there are no xen PV-patches for a kernel that old. We try to boot a CD-ROM iso first, but even this doesn't work.
*********************************************************
# losetup  -f   /var/xen/ubuntu-6.06.2-server-i386.iso
# losetup -a
**********************************************************



This is our Config:

name='hvmtest'
memory      = '1024'
vcpus       = 1
kernel= "/usr/lib/xen/boot/hvmloader"
builder = "hvm"
# disk        = [   'file:/var/xen/ubuntu-6.06.2-server-i386.iso,hdc:cdrom,r']
######################################
disk=[phy:/dev/loop0,hdc:cdrom,r',phy:/dev/sdaX,hda,w']
######################################

device_model = "/usr/lib/xen/bin/qemu-dm"
boot='dc'
vnc=1
vnclisten='0.0.0.0'
vif  = [ 'type=ioemu,bridge=br-core-road','type=ioemu,bridge=br-mgnt' ]
> on_reboot   = 'restart'
on_crash    = 'preserve'

Hvmloader and qemu-dm exists, but xm create fails with:

Using config file "/var/xen/domains/hvmtest/hvmtest.cfg".
Error: Device 2080 (vbd) could not be connected. losetup -r /dev/loop1 /var/xen/ubuntu-6.06.2-server-i386.iso failed

but:
# losetup -a
/dev/loop0: [0901]:278531 (/var/xen/ubuntu-6.06.2-server-i386.iso)

I am a bit confused now. What are we doing wrong?

Best regards,
Fabian

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


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>