[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: XEN Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>, Fabian Flägel <fabigant@xxxxxxxxxxxxxx>
  • 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
  • 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=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.