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: XEN Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>, Fabian Flägel <fabigant@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] HVM Linux DomU doesn't start
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Wed, 25 Feb 2009 09:18:44 -0800 (PST)
Cc:
Delivery-date: Wed, 25 Feb 2009 09:19:28 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1235582324; bh=Iuk9d26fMW0wK6xADWgU5TpfiNFwaP67NGrvRg1hTkg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=evjxQZK7yNaNbog1x6IN2tFF1R8x4AZjDQUK69n01L4qFFC4X3/ItvFoXG90lnLbMNWO6MBw5ccp3Re3ZxOf9qwafg8zdgEMVwJ2OLwKy/7pbkIB262py2JuPwwiwo//HKHZzkOXSvgp40dnstHvG9xrm+/YLdYz9l5qubN25LY=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ZkASaUYzdlEj9HWD1qY3GIXWAmZw9xn2wNM31f5ICXZb2D95IGitMv03pNcqE0YW/6JizPiFXvAzz/CRn40yvjTNCuPAsdOFhwSssfibXf1lX7lSyQ8Vj+JhWFtRWAoldqaLzZld12rT5gj9zzWwstSfmGk6K3Cd3skq5PjxaZg=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <38600a10902250855n2dbe7050s82bbf137480ef917@xxxxxxxxxxxxxx>
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>
Reply-to: bderzhavets@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


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