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>
Subject: RE: [Xen-devel] xen 4.2 unstable; HVM; 2.6.39.3; HD/Network card error
From: "Walter Robert Ditzler" <ditwal001@xxxxxxxxx>
Date: Wed, 20 Jul 2011 14:08:44 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx, konrad.wilk@xxxxxxxxxx
Delivery-date: Wed, 20 Jul 2011 05:09:43 -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:content-transfer-encoding:x-priority :x-msmail-priority:x-mailer:thread-index:content-language:importance :disposition-notification-to; bh=j1lq13LO07GwcxZ4yfySLLj9bUInNJe2PgVYOsDkpRQ=; b=rOVj+rLEWcyxH2EfrvEs9rAua5IVPKm+cmaraFLDnhqfP7IGRqvtFAkQP6eCXvHLNC w7Dok6j8z6YH5WIbCnxCGYdX9Nlxxdmk69M9yp5upxhrTcH8BFcsYLvLn17YHtdbbWPL aku+rF4B/a0Bl4xNvzMvb1yjmAIQggirlPI+4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: High
In-reply-to: <alpine.DEB.2.00.1107201238440.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> <!&!AAAAAAAAAAAYAAAAAAAAAOJK0u4CH31Kl5v1RPAzyrZCgQAAEAAAAE0cphS4zTVFjzXOjWNB7uwBAAAAAA==@xxxxxxxxx> <alpine.DEB.2.00.1107201238440.12963@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AQHH/bXqApTxEHwcPVpfM3PaXxWbrQKYkeK3AZ4m11UCyTBAqJTFqyOg
stefano,

i found the problem, if it is really a one! I will explain it step by step
what solved my problem which works for both, win7 and debian squeeze
guest's:

network card / network
**********************
the guest network works brilliant only with that configuration:

auto brX
iface brX inet static
        address         10.41.10.42
        netmask         255.255.255.0
        network         10.41.10.0
        broadcast       10.41.10.255
        gateway         10.41.10.1
        bridge_ports    eth0
        bridge_stp      on
        bridge_maxwait  0

vif             = [ 'bridge=brX,mac=xx:xx:xx:xx:xx:xx' ]


strange is that I now have to configure a bridge interface. with older xen
version it was enough to setup "bridge=eth0". now I had to setup
"bridge=brX"!


disk controller
***************
for a windows 7 x64 guest system I got it running with:
disk            = [
'phy:/dev/vgmain/lv_server01,hda,w','file:/var/xen/win7.iso,hdc:cdrom,r' ]

for a debian squeeze guest system I needed to change it into:
disk            = [
'phy:/dev/vgmain/lv_server01,sda,w','file:/var/xen/debian-6.0.1a-amd64-netin
st.iso,hdc:cdrom,r' ]


even here is strange that debian squeeze guest's now see the qemu disk as a
"SDA". squeeze used to see qemu disk in older xen versions (< 4.2) as "HDA"
and that definitely doesn't work anymore.

I found that out having a deeper look at the debian installer log.


guy's, thank you very much for your help, had become a lot of new input's. I
hope I could give some useful feedback back to you too.

finally I only would like to know, if this SDA-behavior is now a new
behavior of xen 4.2 ++?

thanks a lot, walter



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

vif             = [ 'bridge=eth0,mac=00:16:3e:1a:b3:4b' ]
#vfb            = [ 'type=vnc,vnclisten=0.0.0.0,vncunused=0,vncdisplay=1' ]

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

boot            = 'dc'
usbdevice       = 'tablet'

sdl             = 0

stdvga          = 1
serial          = 'pty'

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

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




-----Original Message-----
From: Stefano Stabellini [mailto:stefano.stabellini@xxxxxxxxxxxxx] 
Sent: Mittwoch, 20. Juli 2011 13:40
To: Walter Robert Ditzler
Cc: Stefano Stabellini; konrad.wilk@xxxxxxxxxx;
xen-devel@xxxxxxxxxxxxxxxxxxx; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] xen 4.2 unstable; HVM; 2.6.39.3; HD/Network card
error

On Tue, 19 Jul 2011, Walter Robert Ditzler wrote:
> 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?

What exactly are the network card and disk controller that you are seeing in
your guests?


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