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] Problem with export of physical devices to domU

To: Jan Marquardt <jm@xxxxxxxxxxx>
Subject: Re: [Xen-users] Problem with export of physical devices to domU
From: Sadique Puthen <sputhenp@xxxxxxxxxx>
Date: Tue, 27 Nov 2007 15:18:16 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 27 Nov 2007 01:49:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <474BDF38.3010201@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <474BDF38.3010201@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070926)
Jan Marquardt wrote:
Hi,

I am trying to get a domU working with pyhsical devices exported from dom0, but the boot of domU always fails with the following message in VNC:

[..]
Booting from Hard Disk...
Boot from Hard Disk failed: could not read the boot disk
FATAL: No bootable device

Xen 3.1.0 was installed from source and is running under Debian Etch. Kernel Version 2.6.18. On the device, which I want to export is also a Debian Etch installed.
The config of the domU looks like the following:

import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024
name = "ExampleHVMDomain"
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'phy:/dev/sdb1,ioemu:sda1,w' ]

I suspect scsi emulation is actually supported. You should have to use IDE emulation.

disk = [ 'phy:/dev/sdb1,ioemu:hda1,w' ]

--Sadique
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="c"
sdl=0
vnc=1
vncpasswd=''
stdvga=0
serial='pty'

I already tried a lot of different values for disk, but each try ends with the same message. Example tries:

disk = [ 'phy:/dev/sdb1,sda1,w' ]
disk = [ 'phy:/dev/sdb,ioemu:sda,w' ]
disk = [ 'phy:/dev/sdb,ioemu:sda,w', 'phy:/dev/sdb1,ioemu:sda1,w'  ]
disk = [ 'phy:sdb1,ioemu:sda1,w' ]

I think I just made a beginner's mistake and I hope someone is able to point me in the right direction. If you need any further information, please let me know.

Thanks in advance.

Jan Marquardt



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