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] Virtual SCSI

To: Paolo Rivetti <natecult@xxxxxx>
Subject: Re: [Xen-users] Virtual SCSI
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Sun, 14 Mar 2010 20:46:26 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 14 Mar 2010 11:47:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2332F3A1-B39C-407B-98E0-A97FE7658A3F@xxxxxx>
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>
References: <135398.18084.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <2332F3A1-B39C-407B-98E0-A97FE7658A3F@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Sun, Mar 14, 2010 at 04:58:06PM +0100, Paolo Rivetti wrote:
>    I just updated my Xen host to version 3.4.2 through gitco.de /repo
>    Starting a virtual machine I have the following error, anyone know what
>    this is?

Well now your Xen hypervisor and xen tools have PVSCSI support, 
but your dom0 and domU kernels still lack support (drivers)!

-- Pasi

>    xm create -c / etc/xen/tb0
>    Using config file "/etc/xen/tb0.
>    Error: Boot loader did not return any data!
>    My configuration uses this parameter: bootloader = "/usr/bin/pygrub"
>    On Mar 14, 2010, at 3:24 PM, Boris Derzhavets wrote:
> 
>      Xen Hypervisor on CentOS 5.X  may be upgraded to 3.4.2 via
>      [1]http://gitco.com/repo
>      Xenified kernel will stay matching current status in repos
>      2.6.18-128el5xen or something
>      like that.
> 
>      Boris.
> 
>      --- On Sun, 3/14/10, Pasi Kärkkäinen <[2]pasik@xxxxxx> wrote:
> 
>        From: Pasi Kärkkäinen <[3]pasik@xxxxxx>
>        Subject: Re: [Xen-users] Virtual SCSI
>        To: "Paolo Rivetti" <[4]natecult@xxxxxx>
>        Cc: "James Harper" <[5]james.harper@xxxxxxxxxxxxxxxx>,
>        [6]xen-users@xxxxxxxxxxxxxxxxxxx
>        Date: Sunday, March 14, 2010, 10:10 AM
> 
>        On Sun, Mar 14, 2010 at 02:30:58PM +0100, Paolo Rivetti wrote:
>        >        I'm trying to assign 2 SATA devices to a PV guest.
>        >
>        >        Command lsscsi:
>        >
>        >        [0:0:0:0] disk ATA WDC WD3200AAJS-0 12.0 / dev / sda
>        >
>        >        [2:0:0:0] disk ATA WDC WD10EADS-00L 01.0 / dev / sdb
>        >
>        >        [3:0:0:0] disk ATA WDC WD10EADS-00L 01.0 / dev / sdc
>        >
>        >        Therefore my configuration:
>        >
>        >        vscsi = [ '/ dev / sdb, 2:0:0:0', '/ dev / sdc, 3:0:0:0']
>        >
>        >        The PV guest starts correctly but there are no disks sdb and
>        sdc.
>        >
>        >        Where am I wrong? Thanks
>        >
>        >      There shouldn't be spaces between the '/'s. Are they just an
>        artefact of
>        >      the cut & paste to email?
>        >
>        >    It was only a mistake of copy pasting. This is my configuration:
>        >    name = "of0"
>        >    memory = "512"
>        >    disk = [ 'phy:/dev/vg1/of0,xvda,w' ]
>        >    #, 'phy:/dev/sdb,xvdb,w', 'phy:/dev/sdc,xvdc,w' ]
>        >    vif = [ 'mac=00:01:4F:FC:00:00,bridge=xenbr0' ]
>        >    bootloader="/usr/bin/pygrub"
>        >    vcpus=2
>        >    on_reboot = 'restart'
>        >    on_crash = 'restart'
>        >    kernel="/boot/vmlinuz-2.6.18-164.el5xen"
>        >    root ="/dev/xvda ro"
>        >    vscsi = [ '/dev/sdb, 2:0:0:0', '/dev/sdc, 3:0:0:0' ]
>        >
>        >      Other things to consider:
>        >      1. is the pvscsi module loaded? Is it definitely supported by
>        your
>        >      version of xen? The fact that it silently doesn't do anything
>        is
>        >      suspicious
>        >
>        >    What is the module to load? With the command "dmesg | grep
>        pvscsi" prompt
>        >    returns nothing. How can I check if the version of Xen supports
>        this
>        >    module? My version is this:
>        >    xen-3.0.3-94.el5
>        >    xen-libs-3.0.3-94.el5
>        >    kernel-xen-2.6.18-164.el5
>        >
> 
>        I don't think RHEL5 version of Xen has PVSCSI support.
> 
>        You need to have the pvscsi backend driver (scsiback) in dom0 kernel,
>        and the pvscsi frontend driver (scsifront) in the domU kernel.
> 
>        Also Xen tools in dom0 need to have the support for handling PVSCSI.
>        iirc PVSCSI first appeared on Xen 3.3.0.
> 
>        -- Pasi
> 
>        _______________________________________________
>        Xen-users mailing list
>        [7]Xen-users@xxxxxxxxxxxxxxxxxxx
>        [8]http://lists.xensource.com/xen-users
> 
> References
> 
>    Visible links
>    1. http://gitco.com/repo
>    2. mailto:pasik@xxxxxx
>    3. mailto:pasik@xxxxxx
>    4. mailto:natecult@xxxxxx
>    5. mailto:james.harper@xxxxxxxxxxxxxxxx
>    6. mailto:xen-users@xxxxxxxxxxxxxxxxxxx
>    7. file:///mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx
>    8. http://lists.xensource.com/xen-users

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