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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > 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? ThanksThere shouldn''t be spaces between the ''/''s. Are they just an artefact of the cut & paste to email? 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 2. does xenstore-ls /local/domain/<domid>/device show anything scsi? 3. is the module definitely loaded in the front end? 4. I can''t get it working at the moment with anything other than /dev/sgX. /dev/nstX etc doesn''t work for me. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>> 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 > suspiciousWhat 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> 2. does xenstore-ls /local/domain/<domid>/device show anything scsi?This is the result: xenstore-ls /local/domain/26/device vbd = "" 51712 = "" virtual-device = "51712" device-type = "disk" protocol = "x86_64-abi" backend-id = "0" state = "4" backend = "/local/domain/0/backend/vbd/26/51712" ring-ref = "8" event-channel = "9" vif = "" 0 = "" mac = "00:01:4F:FC:00:00" handle = "0" protocol = "x86_64-abi" backend-id = "0" state = "4" backend = "/local/domain/0/backend/vif/26/0" tx-ring-ref = "768" rx-ring-ref = "769" event-channel = "10" request-rx-copy = "0" feature-rx-notify = "1" feature-sg = "1" feature-gso-tcpv4 = "1"> 3. is the module definitely loaded in the front end? > 4. I can''t get it working at the moment with anything other than > /dev/sgX. /dev/nstX etc doesn''t work for me.I tried to change my configuration in this way, but the result is vain! from: vscsi = [ ''/dev/sdb, 2:0:0:0'', ''/dev/sdc, 3:0:0:0'' ] to: vscsi = [ ''/dev/sgb, 2:0:0:0'', ''/dev/sgc, 3:0:0:0'' ] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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 Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Xen Hypervisor on CentOS 5.X may be upgraded to 3.4.2 via 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 <pasik@iki.fi> wrote: From: Pasi Kärkkäinen <pasik@iki.fi> Subject: Re: [Xen-users] Virtual SCSI To: "Paolo Rivetti" <natecult@me.com> Cc: "James Harper" <james.harper@bendigoit.com.au>, xen-users@lists.xensource.com 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 Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tankyou Pasi, so I need to change platform. My requirements is to assign 2 SATA device to PV guest. On Mar 14, 2010, at 3:10 PM, Pasi Kärkkäinen wrote:> 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 Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sorry, http://gitco.de/repo --- On Sun, 3/14/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Virtual SCSI To: "Paolo Rivetti" <natecult@me.com>, "Pasi Kärkkäinen" <pasik@iki.fi> Cc: "James Harper" <james.harper@bendigoit.com.au>, xen-users@lists.xensource.com Date: Sunday, March 14, 2010, 10:24 AM Xen Hypervisor on CentOS 5.X may be upgraded to 3.4.2 via 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 <pasik@iki.fi> wrote: From: Pasi Kärkkäinen <pasik@iki.fi> Subject: Re: [Xen-users] Virtual SCSI To: "Paolo Rivetti" <natecult@me.com> Cc: "James Harper" <james.harper@bendigoit.com.au>, xen-users@lists.xensource.com 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 | greppvscsi" 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 Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sorry , http://www.gitco.de/repo --- On Sun, 3/14/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Virtual SCSI To: "Paolo Rivetti" <natecult@me.com>, "Pasi Kärkkäinen" <pasik@iki.fi> Cc: "James Harper" <james.harper@bendigoit.com.au>, xen-users@lists.xensource.com Date: Sunday, March 14, 2010, 10:31 AM Sorry, http://gitco.de/repo --- On Sun, 3/14/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Virtual SCSI To: "Paolo Rivetti" <natecult@me.com>, "Pasi Kärkkäinen" <pasik@iki.fi> Cc: "James Harper" <james.harper@bendigoit.com.au>, xen-users@lists.xensource.com Date: Sunday, March 14, 2010, 10:24 AM Xen Hypervisor on CentOS 5.X may be upgraded to 3.4.2 via 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 <pasik@iki.fi> wrote: From: Pasi Kärkkäinen <pasik@iki.fi> Subject: Re: [Xen-users] Virtual SCSI To: "Paolo Rivetti" <natecult@me.com> Cc: "James Harper" <james.harper@bendigoit.com.au>, xen-users@lists.xensource.com 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 | greppvscsi" 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 Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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? 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 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 <pasik@iki.fi> wrote: > > From: Pasi Kärkkäinen <pasik@iki.fi> > Subject: Re: [Xen-users] Virtual SCSI > To: "Paolo Rivetti" <natecult@me.com> > Cc: "James Harper" <james.harper@bendigoit.com.au>, xen-users@lists.xensource.com > 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 > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@iki.fi> wrote: > > From: Pasi Kärkkäinen <[3]pasik@iki.fi> > Subject: Re: [Xen-users] Virtual SCSI > To: "Paolo Rivetti" <[4]natecult@me.com> > Cc: "James Harper" <[5]james.harper@bendigoit.com.au>, > [6]xen-users@lists.xensource.com > 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@lists.xensource.com > [8]http://lists.xensource.com/xen-users > > References > > Visible links > 1. http://gitco.com/repo > 2. mailto:pasik@iki.fi > 3. mailto:pasik@iki.fi > 4. mailto:natecult@me.com > 5. mailto:james.harper@bendigoit.com.au > 6. mailto:xen-users@lists.xensource.com > 7. file:///mc/compose?to=Xen-users@lists.xensource.com > 8. http://lists.xensource.com/xen-users> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Well now your Xen hypervisor and xen tools have PVSCSI support, > but your dom0 and domU kernels still lack support (drivers)!1. Port to clean CentOS 5.X Xen 3.3.1 from xensource 2.6.18 kernel been built via xensource, per Pasi previous statement should have have required drivers. Work without Libvirt is hard, but quite possible. 2. Xen 3.4.3-rc3 ( 2.6.32.9 pvops) on top F12 - hard for newcomer but Libvirt is there. Boris. --- On Sun, 3/14/10, Pasi Kärkkäinen <pasik@iki.fi> wrote: From: Pasi Kärkkäinen <pasik@iki.fi> Subject: Re: [Xen-users] Virtual SCSI To: "Paolo Rivetti" <natecult@me.com> Cc: xen-users@lists.xensource.com Date: Sunday, March 14, 2010, 2:46 PM 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@iki.fi> wrote: > > From: Pasi Kärkkäinen <[3]pasik@iki.fi> > Subject: Re: [Xen-users] Virtual SCSI > To: "Paolo Rivetti" <[4]natecult@me.com> > Cc: "James Harper" <[5]james.harper@bendigoit.com.au>, > [6]xen-users@lists.xensource.com > 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@lists.xensource.com > [8]http://lists.xensource.com/xen-users > > References > > Visible links > 1. http://gitco.com/repo > 2. mailto:pasik@iki.fi > 3. mailto:pasik@iki.fi > 4. mailto:natecult@me.com > 5. mailto:james.harper@bendigoit.com.au > 6. mailto:xen-users@lists.xensource.com > 7. file:///mc/compose?to=Xen-users@lists.xensource.com > 8. http://lists.xensource.com/xen-users> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> 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? ThanksI know there''s been lots of discussion already on how to accomplish this, but I have a question about your need for this configuration. Why do you want to attach to a PV guest via PV SCSI? Why not just attach the physical devices using the traditional method: disk=[ ''file:/path/to/orig/disk,xvda,w'', ''phy:/dev/sdb,xvdb,w'', ''phy:/dev/sdc,xvdc,w'' ] ?? Is there some particular reason that you need pvscsi access over the xenblk devices? -Nick -------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users