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

RE: [Xen-devel] xen 4.2 unstable; HVM; 2.6.39.3; HD/Network card error

To: "'Stefano Stabellini'" <stefano.stabellini@xxxxxxxxxxxxx>, <konrad.wilk@xxxxxxxxxx>
Subject: RE: [Xen-devel] xen 4.2 unstable; HVM; 2.6.39.3; HD/Network card error
From: "Walter Robert Ditzler" <ditwal001@xxxxxxxxx>
Date: Tue, 19 Jul 2011 20:56:49 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 19 Jul 2011 11:59:40 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:x-priority:x-msmail-priority:x-mailer :thread-index:content-language:importance :disposition-notification-to; bh=YzVUQCHHEbaUM2aRByiEL4byDv7ml33nkbhJHVOJNrU=; b=OPdQk1Z3mi/e8fQ+yvQnD0x3iJpwW/y+1Y2V/2SSP/5JeHPzJ6nYmJJahWilZ/nKt8 YksKV52+va+SCI1bY49bYtBU6EGufgjjnryKqPvLzA6FWyK8ypnFxhDBWDg0ELDXq2hE p0+5XJgCmkKLK9cDLJrW/QH+FEOKJgzJEoP9I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: High
In-reply-to: <alpine.DEB.2.00.1107181242270.12963@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <!&!AAAAAAAAAAAYAAAAAAAAAOJK0u4CH31Kl5v1RPAzyrZCgQAAEAAAAI32k8eIVQhMgLM5AGCb128BAAAAAA==@xxxxxxxxx> <alpine.DEB.2.00.1107181242270.12963@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AQHH/bXqApTxEHwcPVpfM3PaXxWbrQKYkeK3lOfG/EA=
hi stefano,
hi konrad,

thanks for replying :-) i followed your suggestions and changed the guest
config file. I have now the following test szenario:

server01 > should be a debian squeeze 6.0.1a amd64 netinst installation
server02 > is a successfully installed windows 7 x64 installation

bellow I paste the both config files. as you can see from the screen shots:

server01 installation
*********************
sh11: server01_debian-installer-1.JPG
sh12: server01_debian-installer-2.JPG
sh13: server01_debian-installer-3.JPG

the debian installation has some difficulties to find a harddisk. strange
is, that the networkcard was found straight away and I became a dhcp lease
from my infrastructure.

server02 installation
*********************
sh21: server02_xen_win7.JPG

the windows has been successfully installed onto my xen guest, but!!!!!


Q U E S T I O N S
*****************
- why do I see my server HP DL320G5 network card and disk controller?
- I thought, HVM means fully virtualized?! I expected to see something like
qemu/xen harddrive and qemu/xen network card!?
- Is here my xen really doing HVM
- how can I do HVM, I need my guests to be transferred to any different hw
boxes without need to deal with guest disk and network card drivers?




many thanks, walter




server01
********
name            = 'server01'
kernel          = 'hvmloader'
builder         = 'hvm'
device_model    = 'qemu-dm'
maxmem          = 1024
memory          = 1024
vcpus           = 1
acpi            = 1
apic            = 1

vif             = [ 'bridge=eth0' ]
disk            = [
'phy:/dev/vgmain/lv_server01,hda,w','file:/var/xen/debian-6.0.1a-amd64-netin
st.iso,hdc:cdrom,r' ]

boot            = 'cd'
usbdevice       = 'tablet'

sdl             = 0

stdvga          = 1
serial          = 'pty'
ne2000          = 1

on_poweroff     = 'destroy'
on_reboot       = 'restart'
on_crash        = 'restart'

vnc             = 1
vnclisten       = '0.0.0.0'
vncviewer       = 1
***


server02
********
name            = 'server02'
kernel          = 'hvmloader'
builder         = 'hvm'
device_model    = 'qemu-dm'
maxmem          = 1024
memory          = 1024
vcpus           = 1
acpi            = 1
apic            = 1

vif             = [ 'bridge=eth0' ]

disk            = [
'phy:/dev/vgmain/lv_server02,hda,w','file:/var/xen/win7.iso,hdc:cdrom,r' ]

boot            = 'cd'
usbdevice       = 'tablet'

sdl             = 0

stdvga          = 1
serial          = 'pty'

on_poweroff     = 'destroy'
on_reboot       = 'restart'
on_crash        = 'restart'

vnc             = 1
#vncunused      = 0
vnclisten       = '0.0.0.0'
#vncdisplay     = 2
#vncconsole     = 1
#vncpasswd      = '123456'
vncviewer       = 1

ne2000          = 1
***



-----Original Message-----
From: Stefano Stabellini [mailto:stefano.stabellini@xxxxxxxxxxxxx] 
Sent: Montag, 18. Juli 2011 13:48
To: Walter Robert Ditzler
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] xen 4.2 unstable; HVM; 2.6.39.3; HD/Network card
error

On Sun, 17 Jul 2011, Walter Robert Ditzler wrote:
> hi folks,
> 
> after long trying i need some help from the big world :-)
> 
> question
> ********
> when I boot a guest system, tried debian 6.0.2 amd64 firmware, I get 
> errors
> like:
> 
> 1) after click install on debian 6.0.2 installer [0.642450] vbd 
> vbd-5632: 19 xenbus_dev_probe on device/vbd/5632 [0.642911] vbd 
> vbd-5632: failed to write error node for device/vbd/5632 (19 
> xenbus_dev_probe on device/vbd/5632)
> 
> 2) network
> no dhcp server found, ask me to setup ip manually, cause no network 
> card found
> 
> 3) disk
> stops at the disk detection, no appropriate driver found
> 
> also no hw stuff found while trying to install windows 7 x64.
> 
> I have a 4.0.1 on squeeze running and productive, I am not a newbe, 
> but at the end with my latin.
> 
> can anyone help me out here?
> 
> below my system info's!
> attached some more system info like:
> 
> /var/log/xen
> - xl-server02.log
> - qemu-dm-server02.log
> - xen-hotplug.log
> 
> console
> - dmesg
> - lspci
> - xl dmesg
> 
> thanks a lot, walter
> 
> 
> guest config
> ************
> 
> ***
> name            = 'server02'
> kernel          = '/usr/lib64/xen/boot/hvmloader'
> builder         = 'hvm'
> device_model    = '/usr/lib64/xen/bin/qemu-dm'
> maxmem          = 1024
> memory          = 1024
> vcpus           = 1
> acpi            = 0
> #apic            = 1
> 
> vif             = ['bridge=eth0']
> disk            =
> ['phy:/dev/vgmain/lv_server02,xvda,w','phy:/var/xen/firmware-6.0.2.1-a
> md64-n
> etinst.iso,hdc:cdrom,r']

Considering that this is an hvm guest and that you only have one disk, it
should be hda rather than xvda.
Also it is probably not a good idea to disable acpi.


> boot            = 'cd'
> usbdevice       = 'tablet'
> 
> extra           = 'swiotlb=force iommu=soft'

this is an hvm guest so extra is not going to do much, you need to pass
these parameters directly to the guest kernel from grub if you want them.


Attachment: server01_debian-installer-1.JPG
Description: JPEG image

Attachment: server01_debian-installer-2.JPG
Description: JPEG image

Attachment: server01_debian-installer-3.JPG
Description: JPEG image

Attachment: server02_xen_win7.JPG
Description: JPEG image

Attachment: qemu-dm-server01.log
Description: Binary data

Attachment: qemu-dm-server02.log
Description: Binary data

Attachment: xl-server01.log
Description: Binary data

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